After contrib/download_prerequisites and

env CC=/usr/local/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-gcc \
LD=/usr/local/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-ld \
RANLIB=/usr/local/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-ranlib \
AR=/usr/local/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-ar \
CFLAGS="-I/usr/local/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/libc/include-mhard-float-mfpu=vfpv3-d16" \
LDFLAGS="-L/usr/local/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/libc/lib" \
./configure --host=arm-unknown-linux-gnueabi --target=arm-unknown-linux-gnueabi --build=x86_64-pc-linux-gnu --prefix=/usr/local --enable-obsolete --enable-languages=c,c++

in gcc git source root I'm getting make: *** empty variable name. Stop. and cannot remotely figure out why this is the case. I assume that the gcc build system works, but then why does it create an errornous Makefile? See the detailed log at https://travis-ci.org/krichter722/gcc/jobs/203079228.

I checked Makefile error: empty variable name, but it only covers the case when the user is creating the Makefile directly which I'm not doing.

  • You may want to check the following errors/warnings over at your end: "export DEBIAN_FRONTEND=noninteractive W: Failed to fetch ppa.launchpad.net/rwky/redis/ubuntu/dists/precise/main/… 404 Not Found W: Failed to fetch ppa.launchpad.net/rwky/redis/ubuntu/dists/precise/main/… 404 Not Found E: Some index files failed to download. They have been ignored, or old ones used instead." and also this one in particular "/home/travis/build/krichter722/gcc/missing: 81: /home/travis/build/krichter722/gcc/missing: makeinfo: not found" Feb 19, 2017 at 4:40
  • What's your make version? I'm having the same issue with Ubuntu 16.04 with make version 4.1, while other developers on the team are at Ubuntu 14.04 or RHEL 6.8-ish, with make version 3.81 -- and they're not having any issues... I suspect a regression in 4.1.
    – CivFan
    Jun 12, 2017 at 23:09

1 Answer 1


Run your "make" with the following option: --warn-undefined-variables This will let you know which empty variable make is talking of.

  • 1
    It doesn't, unfortunately. Feb 19, 2017 at 4:53
  • Then you have to show the Makefile you are running with. There is a rogue " = " in an environment declaration on the command line where from make is getting invoked internally in the Makefile. Feb 19, 2017 at 5:13
  • The export MAKEFLAGS="-j$((`grep -c ^processor /proc/cpuinfo`*2))" command read export MAKEFLAGS=="-j$((`grep -c ^processor /proc/cpuinfo`*2))" in the .travis.yml (but not in the web frontend) - strangest combination of issues I've seen in a while. Since your comment pointed me to it, I'd like to give you credit. I suggest you just edit the question to contain the described issue and if you don't feel comfortable with it add a hint that it's mine. Thank you! Feb 19, 2017 at 5:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .