Summary: | app-arch/afio-2.4.7 fails to merge | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Wolfram Schlich (RETIRED) <wschlich> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | mr_bones_ |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Please post the output for emerge --info as requested on the bug submission page. Thanks. --8<-- Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22-grsec-1.9.12) ================================================================= System uname: 2.4.22-grsec-1.9.12 i686 AMD Athlon(tm) MP Gentoo Base System version 1.4.3.10p1 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-mp -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/lib/AntiVir/hbedv.key /opt/glftpd/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/afs/C /etc/afs/afsws /etc/env.d" CXXFLAGS="-march=athlon-mp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs sandbox buildpkg ccache distcc userpriv usersandbox digest notitles" GENTOO_MIRRORS="http://gentoo.bla.fasel.org http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://localhost/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 zlib alsa gdbm berkdb readline tetex aalib svga java ruby mysql postgres sdl gpm tcpd pam libwww ssl perl python oggvorbis ldap cdr 3dnow acl afs apache2 autofs curl dedicated dvd expat faad fastcgi fbcon flash gd gd-external geoip imagemagick imap innodb jikes kerberos ltsp mbox mcal memlimit mmx nntp nocardbus odbc pcap pnp ppds prelude samba sasl skey slp smartcard snmp socks5 sse tiff trusted usb v4l wmf X509 xml -arts -gtk -imlib -kde -gnome -libg++ -motif -opengl -qt -slang -X -xmms -xv" --8<-- Can you try it without "userpriv usersandbox" in your FEATURES? Also, try it with MAKEOPTS="-j1" Another thing to try is with CFLAGS="-pipe" You system is not very different from mine and it works fine here. If you attach your config.log I'll compare it to mine to see if anything seems odd. none of your suggestions did help. and besides that, there's no config.log because the afio package doesn't use configure :-) I just unpacked the tarball by hand and tried "make" by hand: --8<-- gcc -Wall -O2 -fomit-frame-pointer -DMEMCPY -DMKDIR -DVOIDFIX -DHAVEFCNTL -DHAVEMEMCMP -DDEFFMTCMD='"fdformat /dev/fd0H1440"' -DPRG_COMPRESS='"gzip"' -DHAVEFNMATCH /local/int -c -o afio.o afio.c gcc: cannot specify -o with -c or -S and multiple compilations make: *** [afio.o] Error 1 --8<-- This is *very* interesting :( Ouch. That's is one ugly Makefile. What's $I set to on your system? Could it be set to "/local/int"? erm sorry, yes, of course, forgot to mention :o) damn, I posted a reply some minutes ago here but it doesn't show up now :( Argh, bugzilla... please see #33119 Once I understood what the problem was, I was able to reproduce the error output you had exactly. The patch I added to CVS fixes the problem. It makes the Makefile even uglier, which I admit was the difficult part. |
--8<-- [wschlich@prometheus(pts/10):wschlich]$ sudo emerge -v afio Calculating dependencies ...done! >>> emerge (1 of 1) app-arch/afio-2.4.7 to / >>> md5 src_uri ;-) afio-2.4.7.tgz >>> Unpacking source... >>> Unpacking afio-2.4.7.tgz to /var/tmp/portage/afio-2.4.7/work >>> Source unpacked. gcc -Wall -O2 -fomit-frame-pointer -DMEMCPY -DMKDIR -DVOIDFIX -DHAVEFCNTL -DHAVEMEMCMP -DDEFFMTCMD='"fdformat /dev/fd0H1440"' -DPRG_COMPRESS='"gzip"' -DHAVEFNMATCH /local/int -c -o afio.o afio.c gcc -Wall -O2 -fomit-frame-pointer -DMEMCPY -DMKDIR -DVOIDFIX -DHAVEFCNTL -DHAVEMEMCMP -DDEFFMTCMD='"fdformat /dev/fd0H1440"' -DPRG_COMPRESS='"gzip"' -DHAVEFNMATCH /local/int -c -o compfile.o compfile.c gcc -Wall -O2 -fomit-frame-pointer -DMEMCPY -DMKDIR -DVOIDFIX -DHAVEFCNTL -DHAVEMEMCMP -DDEFFMTCMD='"fdformat /dev/fd0H1440"' -DPRG_COMPRESS='"gzip"' -DHAVEFNMATCH /local/int -c -o exten.o exten.c gcc -Wall -O2 -fomit-frame-pointer -DMEMCPY -DMKDIR -DVOIDFIX -DHAVEFCNTL -DHAVEMEMCMP -DDEFFMTCMD='"fdformat /dev/fd0H1440"' -DPRG_COMPRESS='"gzip"' -DHAVEFNMATCH /local/int -c -o match.o match.c gcc: /local/int: linker input file unused because linking not done gcc: cannot specify -o with -c or -S and multiple compilations make: *** [exten.o] Error 1 make: *** Waiting for unfinished jobs.... gcc: /local/int: linker input file unused because linking not done gcc: cannot specify -o with -c or -S and multiple compilations make: *** [afio.o] Error 1 gcc: /local/int: linker input file unused because linking not done gcc: cannot specify -o with -c or -S and multiple compilations make: *** [match.o] Error 1 !!! ERROR: app-arch/afio-2.4.7 failed. !!! Function src_compile, Line 17, Exitcode 2 !!! (no error message) gcc: /local/int: linker input file unused because linking not done gcc: cannot specify -o with -c or -S and multiple compilations [wschlich@prometheus(pts/10):wschlich]$ --8<--