Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33094 - app-arch/afio-2.4.7 fails to merge
Summary: app-arch/afio-2.4.7 fails to merge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-09 12:30 UTC by Wolfram Schlich (RETIRED)
Modified: 2003-11-10 00:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfram Schlich (RETIRED) gentoo-dev 2003-11-09 12:30:17 UTC
--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<--
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2003-11-09 17:35:37 UTC
Please post the output for emerge --info as requested on the bug submission
page.  Thanks.
Comment 2 Wolfram Schlich (RETIRED) gentoo-dev 2003-11-09 22:33:16 UTC
--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<--
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2003-11-09 23:35:01 UTC
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.
Comment 4 Wolfram Schlich (RETIRED) gentoo-dev 2003-11-09 23:50:03 UTC
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 :(
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2003-11-09 23:55:24 UTC
Ouch.  That's is one ugly Makefile.

What's $I set to on your system?  Could it be set to "/local/int"?
Comment 6 Wolfram Schlich (RETIRED) gentoo-dev 2003-11-10 00:05:14 UTC
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 :(
Comment 7 Wolfram Schlich (RETIRED) gentoo-dev 2003-11-10 00:07:54 UTC
Argh, bugzilla... please see #33119
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2003-11-10 00:46:52 UTC
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.