app-misc/iguanaIR fails to compile without swig but the ebuild doesn't depend on it. Merging swig fixes the problem. Reproducible: Always Steps to Reproduce: 1. emerge iguanaIR Actual Results: * Package: app-misc/iguanaIR-0.93 * Repository: gentoo * Maintainer: hd_brummy@gentoo.org media-tv@gentoo.org * USE: amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: sandbox >>> Unpacking source... >>> Unpacking iguanaIR-0.93.tar.bz2 to /tmp/portage/app-misc/iguanaIR-0.93/work * Applying iguanaIR-0.93-gentoo.diff ... [ ok ] * Applying iguanaIR-0.93-asneeded.patch ... [ ok ] >>> Source unpacked in /tmp/portage/app-misc/iguanaIR-0.93/work >>> Compiling source in /tmp/portage/app-misc/iguanaIR-0.93/work/iguanaIR-0.93 ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking for poptGetContext in -lpopt... yes checking for pthread_create in -lpthread... yes checking for clock_gettime in -lrt... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for unistd.h... (cached) yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for mode_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for working volatile... yes checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether lstat accepts an empty string... no checking whether lstat dereferences a symlink specified with a trailing slash... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for working volatile... yes checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether lstat accepts an empty string... no checking whether lstat dereferences a symlink specified with a trailing slash... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking return type of signal handlers... void checking for strftime... yes checking for vprintf... yes checking for _doprnt... no checking for floor... no checking for gettimeofday... yes checking for memset... yes checking for mkdir... yes checking for select... yes checking for socket... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strrchr... yes checking for strspn... yes checking for strstr... yes checking for clock_gettime... yes checking for usb_get_busses in -lusb... yes checking for python... /usr/bin/python checking for a version of Python >= '2.1.0'... yes checking for the distutils Python package... yes checking for Python include path... -I/usr/include/python2.7 checking for Python library path... -L/usr/lib64/python2.7 -lpython2.7 checking for Python site-packages path... /usr/lib64/python2.7/site-packages checking python extra libraries... -lpthread -ldl -lutil checking python extra linking flags... -Xlinker -export-dynamic checking consistency of all components of python development environment... yes configure: creating ./config.status config.status: creating Makefile config.status: creating autoconf/stamp-h config.status: creating config.h make -j5 x86_64-pc-linux-gnu-gcc -c -march=native -mssse3 -O2 -pipe -fPIC -fpic client.c -o client.o x86_64-pc-linux-gnu-gcc -c -march=native -mssse3 -O2 -pipe -fPIC -fpic list.c -o list.o x86_64-pc-linux-gnu-gcc -c -march=native -mssse3 -O2 -pipe -fPIC -fpic iguanaIR.c -o iguanaIR.o x86_64-pc-linux-gnu-gcc -c -march=native -mssse3 -O2 -pipe -fPIC -fpic support.c -o support.o x86_64-pc-linux-gnu-gcc -c -march=native -mssse3 -O2 -pipe -fPIC -fpic dataPackets.c -o dataPackets.o support.c: In function 'makeParentJoin': support.c:175:14: warning: ignoring return value of 'write', declared with attribute warn_unused_result x86_64-pc-linux-gnu-gcc -c -march=native -mssse3 -O2 -pipe -fPIC -fpic pipes.c -o pipes.o x86_64-pc-linux-gnu-gcc -c -march=native -mssse3 -O2 -pipe -fPIC -fpic base.c -o base.o x86_64-pc-linux-gnu-gcc -c -march=native -mssse3 -O2 -pipe -fPIC -fpic daemon.c -o daemon.o x86_64-pc-linux-gnu-gcc -c -march=native -mssse3 -O2 -pipe -fPIC -fpic client-interface.c -o client-interface.o daemon.c: In function 'startListening': daemon.c:357:24: warning: ignoring return value of 'symlink', declared with attribute warn_unused_result daemon.c: In function 'scanHandler': daemon.c:50:14: warning: ignoring return value of 'write', declared with attribute warn_unused_result x86_64-pc-linux-gnu-gcc -c -march=native -mssse3 -O2 -pipe -fPIC -fpic device-interface.c -o device-interface.o x86_64-pc-linux-gnu-gcc -c -march=native -mssse3 -O2 -pipe -fPIC -fpic usbclient.c -o usbclient.o x86_64-pc-linux-gnu-gcc -c -march=native -mssse3 -O2 -pipe -fPIC -fpic compatibility.c -o compatibility.o swig -python iguanaIR.i make: swig: Command not found make: *** [iguanaIR_wrap.c] Error 127 make: *** Waiting for unfinished jobs.... emake failed * ERROR: app-misc/iguanaIR-0.93 failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 75: Called src_compile * environment, line 2399: Called _eapi0_src_compile * phase-helpers.sh, line 537: Called _eapi2_src_compile * phase-helpers.sh, line 577: Called die * The specific snippet of code: * emake || die "emake failed" * * If you need support, post the output of 'emerge --info =app-misc/iguanaIR-0.93', * the complete build log and the output of 'emerge -pqv =app-misc/iguanaIR-0.93'. * The complete build log is located at '/tmp/portage/app-misc/iguanaIR-0.93/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/app-misc/iguanaIR-0.93/temp/environment'. * S: '/tmp/portage/app-misc/iguanaIR-0.93/work/iguanaIR-0.93' Expected Results: Compiles fine once swig is merged in.
0.93 doesn't seem to fail here, but I've fixed the broken SWIG version check & missing dependency for 1.0.1 from bug 308921. Give it a another try.