When trying to emerge PHP, apparently pdflib was a dependency, even with removing the PDF use variable, so when it attempted to compile 4.0.3-r1 of pdflib, it failed with this: cd tiff && make cd flate && make make[1]: Entering directory `/var/tmp/portage/pdflib-4.0.3-r1/work/pdflib-4.0.3/tiff' ../libtool --silent --mode=compile gcc -c -I../pdflib -DHAVE_DLFCN_H=1 -march =athlon-tbird -O3 -pipe -fomit-frame-pointer -DPDF_PLATFORM=\""Linux 2.4.21-rc 7-ac1"\" tif_auxx.c make[1]: Entering directory `/var/tmp/portage/pdflib-4.0.3-r1/work/pdflib-4.0.3/flate' ../libtool --silent --mode=compile gcc -c -DHAVE_DLFCN_H=1 -march=athlon-tbird -O3 -pipe -fomit-frame-pointer -DPDF_PLATFORM=\""Linux 2.4.21-rc7-ac1"\" adler32.c gcc: no input files distcc[32463] ERROR: compile on localhost failed with exit code 1 make[1]: *** [adler32.lo] Error 1 make[1]: Leaving directory `/var/tmp/portage/pdflib-4.0.3-r1/work/pdflib-4.0.3/flate' make: *** [libz] Error 2 make: *** Waiting for unfinished jobs.... ../libtool --silent --mode=compile gcc -c -I../pdflib -DHAVE_DLFCN_H=1 -march =athlon-tbird -O3 -pipe -fomit-frame-pointer -DPDF_PLATFORM=\""Linux 2.4.21-rc 7-ac1"\" tif_close.c gcc: no input files distcc[32529] ERROR: compile on localhost failed with exit code 1 make[1]: *** [tif_auxx.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... gcc: no input files distcc[32537] ERROR: compile on localhost failed with exit code 1 make[1]: *** [tif_close.lo] Error 1 make[1]: Leaving directory `/var/tmp/portage/pdflib-4.0.3-r1/work/pdflib-4.0.3/tiff' make: *** [libtiff] Error 2 Reproducible: Always Steps to Reproduce: 1. emerge pdflib 2. 3. Actual Results: sae pdflib # emerge pdflib Calculating dependencies ...done! >>> emerge (1 of 1) media-libs/pdflib-4.0.3-r1 to / >>> md5 src_uri ;-) pdflib-4.0.3.tar.gz >>> md5 src_uri ;-) pdf.c >>> Unpacking source... >>> Unpacking pdflib-4.0.3.tar.gz to /var/tmp/portage/pdflib-4.0.3-r1/work >>> Source unpacked. perl python java creating cache ./config.cache checking host system type... i686-pc-linux-gnu checking MACHDEP... linux2 checking for gcc... gcc checking whether the C compiler (gcc -march=athlon-tbird -O3 -pipe -fomit-frame- pointer ) works... yes checking whether the C compiler (gcc -march=athlon-tbird -O3 -pipe -fomit-frame- pointer ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... no checking how to run the C preprocessor... gcc -E checking for a BSD compatible install... /bin/install -c checking for Cygwin environment... no checking for mingw32 environment... no checking for executable suffix... no checking for object suffix... o checking build system type... i686-pc-linux-gnu checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependant libraries... pass_all checking command to parse /usr/bin/nm -B output... ok checking for dlfcn.h... yes checking for ranlib... ranlib checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... no checking if we can lock with hard links... yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libr aries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no checking whether -lc should be explicitly linked in... no creating libtool checking for Java header files... checking for perl... perl checking for Perl header file... /usr/lib/perl5/5.8.0/i686-linux/CORE/perl.h checking for Python header files... /usr/include/python2.2 checking for python... python checking for Python shared library path... /usr/lib/python2.2/lib-dynload checking whether byte ordering is bigendian... no checking for PDF import library PDI... not found checking for c++... g++ checking whether the C++ compiler (g++ -march=athlon-tbird -O3 -pipe -fomit-fram e-pointer ) works... yes checking whether the C++ compiler (g++ -march=athlon-tbird -O3 -pipe -fomit-fram e-pointer ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether g++ accepts -g... no checking whether the previously found C++ compiler works... yes updating cache ./config.cache creating ./config.status creating bind/java/Makefile creating bind/perl/Makefile creating bind/python/Makefile creating tiff/Makefile creating flate/Makefile creating png/Makefile creating bind/cpp/Makefile creating Makefile creating pdflib-config creating pdflib/Makefile creating test/Makefile creating clients/Makefile creating util/Makefile creating bind/c/Makefile _____________________________________________________________ For your convenience, here's a summary of configure's results: Support for shared libraries: yes C++ language binding for PDFlib: yes Java language binding for PDFlib: yes Perl language binding for PDFlib: yes Python language binding for PDFlib: yes Tcl language binding for PDFlib: no PHP language binding for PDFlib: yes (see bind/php/readme.txt for details) PDF import library (PDI): no Note: if you purchase the additional PDF import library (PDI) you can also manipulate existing PDF documents with PDFlib. See http://www.pdflib.com for details. Please observe the licensing terms for commercial PDFlib usage. PDFlib license agreement and purchase order can be found in the doc directory. cd tiff && make cd flate && make make[1]: Entering directory `/var/tmp/portage/pdflib-4.0.3-r1/work/pdflib-4.0.3/ tiff' ../libtool --silent --mode=compile gcc -c -I../pdflib -DHAVE_DLFCN_H=1 -march =athlon-tbird -O3 -pipe -fomit-frame-pointer -DPDF_PLATFORM=\""Linux 2.4.21-rc 7-ac1"\" tif_auxx.c make[1]: Entering directory `/var/tmp/portage/pdflib-4.0.3-r1/work/pdflib-4.0.3/ flate' ../libtool --silent --mode=compile gcc -c -DHAVE_DLFCN_H=1 -march=athlon-tbird -O3 -pipe -fomit-frame-pointer -DPDF_PLATFORM=\""Linux 2.4.21-rc7-ac1"\" adle r32.c gcc: no input files distcc[32463] ERROR: compile on localhost failed with exit code 1 make[1]: *** [adler32.lo] Error 1 make[1]: Leaving directory `/var/tmp/portage/pdflib-4.0.3-r1/work/pdflib-4.0.3/f late' make: *** [libz] Error 2 make: *** Waiting for unfinished jobs.... ../libtool --silent --mode=compile gcc -c -I../pdflib -DHAVE_DLFCN_H=1 -march =athlon-tbird -O3 -pipe -fomit-frame-pointer -DPDF_PLATFORM=\""Linux 2.4.21-rc 7-ac1"\" tif_close.c gcc: no input files distcc[32529] ERROR: compile on localhost failed with exit code 1 make[1]: *** [tif_auxx.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... gcc: no input files distcc[32537] ERROR: compile on localhost failed with exit code 1 make[1]: *** [tif_close.lo] Error 1 make[1]: Leaving directory `/var/tmp/portage/pdflib-4.0.3-r1/work/pdflib-4.0.3/t iff' make: *** [libtiff] Error 2 !!! ERROR: media-libs/pdflib-4.0.3-r1 failed. !!! Function src_compile, Line 59, Exitcode 2 !!! (no error message) Expected Results: Emerge pdflib successfully. Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.21-rc7-ac1 i686 AMD Athlon(tm) processor GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow apm arts avi crypt cups encode gif jpeg kde libg++ libwww mikmod mmx mpeg ncurses nls pdflib png quicktime sdl spell svga truetype xml2 xmms xv zlib gdbm berkdb slang readline java mysql X gpm tcpd pam ssl perl python esd imlib oggvorbis gtk qt motif opengl ldap doc emacs gamma imap ipv6 kerberos leim matrox mbox samba snmp sse tiff usb xfs xml -gnome" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer" CXXFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox distcc ccache"
does it succeed with distcc turned off?
Indeed it does. I just realized that when working on it. Distcc is not setup to anything but localhost though, so that seems rather strange. Apparently this is a bug specific with Distcc's compilation routines..
Have you had occasion to try and recompile pdflib with a newer version of Distcc? With 2.8-r2 I was able to compile pdflib...
Reopen this if you still have problems. I'll close this (as invalid) in a week or so.
funky zilla