Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
After attempting to emerge PHP, then mod_php, I found that pdflib is throwing the same error. Also tried emerging pdflib itself, and it does the same thing. make[2]: [p_basic.lo] Error 1 (ignored) make[2]: Leaving directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lite -5.0.4p1-Unix-src/libs/pdflib' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lite -5.0.4p1-Unix-src/libs' make[1]: Entering directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lit e-5.0.4p1-Unix-src/bind' make[2]: Entering directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lit e-5.0.4p1-Unix-src/bind/pdflib' make[3]: Entering directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lit e-5.0.4p1-Unix-src/bind/pdflib/c' make[3]: *** No rule to make target `../../../libs/pdflib/libpdf.la', needed by `hello'. Stop. make[3]: Leaving directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lite -5.0.4p1-Unix-src/bind/pdflib/c' make[3]: Entering directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lit e-5.0.4p1-Unix-src/bind/pdflib/cpp' make[3]: *** No rule to make target `../../../libs/pdflib/libpdf.la', needed by `hello'. Stop. make[3]: Leaving directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lite -5.0.4p1-Unix-src/bind/pdflib/cpp' make[3]: Entering directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lit e-5.0.4p1-Unix-src/bind/pdflib/java' make[3]: *** No rule to make target `../../../libs/pdflib/libpdf_.la', needed by `libpdf_java.la'. Stop. make[3]: Leaving directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lite -5.0.4p1-Unix-src/bind/pdflib/java' make[3]: Entering directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lit e-5.0.4p1-Unix-src/bind/pdflib/perl' make[3]: *** No rule to make target `../../../libs/pdflib/libpdf_.la', needed by `pdflib_pl.la'. Stop. make[3]: Leaving directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lite -5.0.4p1-Unix-src/bind/pdflib/perl' make[3]: Entering directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lit e-5.0.4p1-Unix-src/bind/pdflib/python' make[3]: *** No rule to make target `../../../libs/pdflib/libpdf_.la', needed by `pdflib_py.la'. Stop. make[3]: Leaving directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lite -5.0.4p1-Unix-src/bind/pdflib/python' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lite -5.0.4p1-Unix-src/bind/pdflib' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lite -5.0.4p1-Unix-src/bind' make[1]: Entering directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lit e-5.0.4p1-Unix-src/progs' make[2]: Entering directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lit e-5.0.4p1-Unix-src/progs/pdflib' make[2]: *** No rule to make target `../../libs/pdflib/libpdf.la', needed by `pd fimpose'. Stop. make[2]: Leaving directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lite -5.0.4p1-Unix-src/progs/pdflib' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lite -5.0.4p1-Unix-src/progs' make: *** [all] Error 2 !!! ERROR: media-libs/pdflib-5.0.4_p1-r1 failed. !!! Function src_compile, Line 50, Exitcode 2 !!! emake failed Reproducible: Always Steps to Reproduce: 1. emerge pdflib or 1. emerge php or 1. emerge mod_php Actual Results: same thing mentioned in the details of the report Expected Results: the software should have installed smoothly, and I should have php and mod_php running without problems
Created an attachment (id=54700) [details] emerge info although it shows a ton of USE flags being set, i changed them in order to see if one of causing my problem and now i have a much smaller set: USE="apache2 php mysql perl gif jpeg png tiff gtk gtk2 xml xml2 imagemagick gd pdflib kde X pam ssl" if there is somewhere other than /etc/make.conf that they're set, then I am unaware
Jacob, don't be alarmed by your larger-than-expected USE string. In fact, the way portage works is the profile sets a base set of USE flags (see /etc/make.profile directory -- this is slightly trickier these days because of cascading profiles, so check each parent directory, and then the base/ directory as well). Those files sum each other up. Then your make.globals may define a USE string as well, which gets appended. Finally, your make.conf defines your personal USE string. OF course, the top level is the environment, allowing you to USE="-my -own strings" emerge blah.
I also have the same error when emerging mod_php: make[2]: *** No rule to make target `../../libs/pdcore/libpdcore.la', needed by `libpdf.la'. Stop. make[2]: *** Waiting for unfinished jobs.... i686-pc-linux-gnu-gcc: no input files make[2]: [p_xgstate.lo] Error 1 (ignored) i686-pc-linux-gnu-gcc: no input files make[2]: [p_basic.lo] Error 1 (ignored) make[2]: Leaving directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lite-5.0.4p1-Unix-src/libs/pdflib' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lite-5.0.4p1-Unix-src/libs' make[1]: Entering directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lite-5.0.4p1-Unix-src/bind' make[2]: Entering directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lite-5.0.4p1-Unix-src/bind/pdflib' make[3]: Entering directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lite-5.0.4p1-Unix-src/bind/pdflib/c' make[3]: *** No rule to make target `../../../libs/pdflib/libpdf.la', needed by `hello'. Stop. make[3]: Leaving directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lite-5.0.4p1-Unix-src/bind/pdflib/c' make[3]: Entering directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lite-5.0.4p1-Unix-src/bind/pdflib/cpp' make[3]: *** No rule to make target `../../../libs/pdflib/libpdf.la', needed by `hello'. Stop. make[3]: Leaving directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lite-5.0.4p1-Unix-src/bind/pdflib/cpp' make[3]: Entering directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lite-5.0.4p1-Unix-src/bind/pdflib/perl' make[3]: *** No rule to make target `../../../libs/pdflib/libpdf_.la', needed by `pdflib_pl.la'. Stop. make[3]: Leaving directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lite-5.0.4p1-Unix-src/bind/pdflib/perl' make[3]: Entering directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lite-5.0.4p1-Unix-src/bind/pdflib/python' make[3]: *** No rule to make target `../../../libs/pdflib/libpdf_.la', needed by `pdflib_py.la'. Stop. make[3]: Leaving directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lite-5.0.4p1-Unix-src/bind/pdflib/python' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lite-5.0.4p1-Unix-src/bind/pdflib' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lite-5.0.4p1-Unix-src/bind' make[1]: Entering directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lite-5.0.4p1-Unix-src/progs' make[2]: Entering directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lite-5.0.4p1-Unix-src/progs/pdflib' make[2]: *** No rule to make target `../../libs/pdflib/libpdf.la', needed by `pdfimpose'. Stop. make[2]: Leaving directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lite-5.0.4p1-Unix-src/progs/pdflib' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/pdflib-5.0.4_p1-r1/work/PDFlib-Lite-5.0.4p1-Unix-src/progs' make: *** [all] Error 2 !!! ERROR: media-libs/pdflib-5.0.4_p1-r1 failed. !!! Function src_compile, Line 50, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. emerge --info: Portage 2.0.51.20-r5 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.9-gentoo-r1 i686) ================================================================= System uname: 2.6.9-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz Gentoo Base System version 1.6.11 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.3 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -pipe -Os -mcpu=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -pipe -Os -mcpu=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.mirror.sdv.fr http://gentoo.tiscali.nl/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo" LANG="en_US.utf8" LC_ALL="en_US.utf8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 alsa apache2 apm bash-completion berkdb bitmap-fonts crypt cups emboss encode foomaticdb fortran gdbm gif gpm hardened imagemagick imlib ipv6 jpeg libg++ libwww mad mikmod motif mp3 mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python readline sasl sdl slang spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts unicode xml2 xmms xv zlib userland_GNU kernel_linux libc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
try to set -j1 as makeopts
MAKEOPTS="-j1" didn't work for me. I got the same error message.
FWIW, I removed -mcpu=i686 from CLAGS in /etc/make.conf as its deprecated anyway and that seemed to work for me. Nes
It doesn't like the -mtune=pentium4 in CFLAGS either. Once removed it compiled fine.
Same here. Error hundreds of error messages like this: i686-pc-linux-gnu-gcc: no input files make[2]: [p_cid.lo] Error 1 (ignored) removing -mtune from /etc/make.conf and emerge is working properly.
Removed -mcpu=i686 from CFLAGS in /etc/make.conf and placed -mtune=1686 now it works. Portage 2.0.54 (hardened/x86/2.6, gcc-3.4.5, glibc-2.3.5-r3, 2.6.14-hardened-r7 i686) ================================================================= System uname: 2.6.14-hardened-r7 i686 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i386-pc-linux-gnu" CFLAGS="-O2 -mtune=i686" CHOST="i386-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mtune=i686" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" PKGDIR="/usr/portage//packages/x86/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage/" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="bash-completion berkdb bzip2 crypt curl dlloader expat gd gmp hardened idn jpeg mysql ncurses nls odbc pam pcre pdflib perl php pic png python readline ssl tcpd truetype udev usb userlocales x86 xml2 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Created an attachment (id=85804) [details] pdflib-6.0.1.ebuild.diff Problem still exists w/ pdflib-6.0.1. -mcpu and -mtune values different than -march trigger this. This patch filters those flags.
@CHTEKK - can you please have a look at this?
Fixed on all PDFlib ebuilds, thanks to Ryan Hill for the patch. Best regards, CHTEKK.