amazing ~ # emerge x11-misc/videogen Calculating dependencies ...done! >>> emerge (1 of 1) x11-misc/videogen-0.32 to / >>> md5 src_uri ;-) videogen-0.32.tar.gz >>> Unpacking source... >>> Unpacking videogen-0.32.tar.gz to /var/tmp/portage/videogen-0.32/work >>> Source unpacked. march=athlon64 -O2 -pipe -fomit-frame-pointer -D_POSIX_SOURCE -c cfg.yy.c march=athlon64 -O2 -pipe -fomit-frame-pointer -D_POSIX_SOURCE -c cfg.tab.c /bin/sh: -O2: command not found /bin/sh: -O2: command not found make: [cfg.yy.o] ?????? 127 (????????????) make: [cfg.tab.o] ?????? 127 (????????????) march=athlon64 -O2 -pipe -fomit-frame-pointer -D_POSIX_SOURCE -c args.c march=athlon64 -O2 -pipe -fomit-frame-pointer -D_POSIX_SOURCE -c checks.c /bin/sh: -O2: command not found make: [args.o] ?????? 127 (????????????) march=athlon64 -O2 -pipe -fomit-frame-pointer -D_POSIX_SOURCE -c misc.c /bin/sh: -O2: command not found make: [misc.o] ?????? 127 (????????????) march=athlon64 -O2 -pipe -fomit-frame-pointer -D_POSIX_SOURCE -c videogen.c /bin/sh: -O2: command not found make: [checks.o] ?????? 127 (????????????) /bin/sh: -O2: command not found make: [videogen.o] ?????? 127 (????????????) march=athlon64 -O2 -pipe -fomit-frame-pointer -D_POSIX_SOURCE -o videogen cfg.yy.o cfg.tab.o args.o checks.o misc.o videogen.o -lm /bin/sh: -O2: command not found make: [videogen] ?????? 127 (????????????) >>> Test phase [not enabled]: x11-misc/videogen-0.32 >>> Install videogen-0.32 into /var/tmp/portage/videogen-0.32/image/ category x11-misc >>> dobin: making videogen executable... install: ?????????? ????????? stat ??? `videogen': No such file or directory man: prepallstrip: strip: >>> Completed installing into /var/tmp/portage/videogen-0.32/image/ ./ ./usr/ ./usr/bin/ ./usr/X11R6/ ./usr/X11R6/man/ ./usr/X11R6/man/man1/ ./usr/X11R6/man/man1/videogen.1x.gz ./usr/share/ ./usr/share/doc/ ./usr/share/doc/videogen-0.32/ ./usr/share/doc/videogen-0.32/BUGS.gz ./usr/share/doc/videogen-0.32/CHANGES.gz ./usr/share/doc/videogen-0.32/INSTALL.gz ./usr/share/doc/videogen-0.32/README.gz ./usr/share/doc/videogen-0.32/THANKS.gz ./usr/share/doc/videogen-0.32/videogen.sample.gz >>> Done. >>> extracting info >>> extracting videogen-0.32 >>> Merging x11-misc/videogen-0.32 to / --- /usr/ --- /usr/bin/ --- /usr/X11R6/ --- /usr/X11R6/man/ --- /usr/X11R6/man/man1/ >>> /usr/X11R6/man/man1/videogen.1x.gz --- /usr/share/ --- /usr/share/doc/ >>> /usr/share/doc/videogen-0.32/ >>> /usr/share/doc/videogen-0.32/BUGS.gz >>> /usr/share/doc/videogen-0.32/CHANGES.gz >>> /usr/share/doc/videogen-0.32/INSTALL.gz >>> /usr/share/doc/videogen-0.32/README.gz >>> /usr/share/doc/videogen-0.32/THANKS.gz >>> /usr/share/doc/videogen-0.32/videogen.sample.gz >>> Regenerating /etc/ld.so.cache... * Caching service dependencies... >>> x11-misc/videogen-0.32 merged. >>> Recording x11-misc/videogen in "world" favorites file... >>> clean: No packages selected for removal. >>> Auto-cleaning packages ... >>> No outdated packages were found on your system. Reproducible: Always Steps to Reproduce: 1. 2. 3.
what are CC and/or CFLAGS defined as. Attach emerge info. Alexey I'm guessing you have some local setup problem that I haven't quite worked out yet.
with ANY CFLAGS and even w/o even after removing /var/tmp/* and /tmp/* and w/o distcc, ccache etc. all other stuff working fine and compiled fine and my home amd64. try emerge videogen on any box now I have checked at my work box - same result it can't be built emerge info will be attached
Created attachment 42753 [details] emerge log my CFLAGS is CFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr -fomit-frame-point er -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing -args -ffast-math -fprefetch-loop-arrays"
He's using new gcc-config, which doesn't define CC. You'll have to inherit toolchain-funcs and use tc-getCC().
Oops.. guess this is actually my bug. Fixed in CVS.
Fixed