building the gentoo prefix project on Solaris fails at the 'make install' stage of pax-utils. I can see it tries to run 'cc' as C compiler, but I do not have it on my system. I found the below patch to fix the problem: --- /opt/gentoo/usr/portage/app-misc/pax-utils/pax-utils-0.2.1.ebuild.orig Mon Dec 10 14:29:19 2012 +++ /opt/gentoo/usr/portage/app-misc/pax-utils/pax-utils-0.2.1.ebuild Mon Dec 10 14:29:37 2012 @@ -32,6 +32,6 @@ } src_install() { - emake DESTDIR="${D}${EPREFIX}" install || die + emake DESTDIR="${D}${EPREFIX}" CC="$(tc-getCC)" install || die dodoc BUGS README TODO }
Please post the full build.log and your emerge --info.
Created attachment 332032 [details] emerge --info
Created attachment 332056 [details] build.log
*** Bug 447704 has been marked as a duplicate of this bug. ***
src_install shouldn't be trying to compile anything in the first place. setting CC in src_install is thus the wrong way to approach this.
I don't see anything compiled during install on Solaris: >>> Install pax-utils-0.4 into /gentoo/prefix64/var/tmp/portage/app-misc/pax-utils-0.4/image/ category app-misc make -j3 DESTDIR=/gentoo/prefix64/var/tmp/portage/app-misc/pax-utils-0.4/image//gentoo/prefix64 PKGDOCDIR=$(DOCDIR)/pax-utils-0.4 install mkdir -p /gentoo/prefix64/var/tmp/portage/app-misc/pax-utils-0.4/image//gentoo/prefix64/usr/bin/ /gentoo/prefix64/var/tmp/portage/app-misc/pax-utils-0.4/image//gentoo/prefix64/usr/share/man/man1/ /gentoo/prefix64/var/tmp/portage/app-misc/pax-utils-0.4/image//gentoo/prefix64/usr/share/doc/pax-utils-0.4/ for sh in *.sh ; do install -m755 $sh /gentoo/prefix64/var/tmp/portage/app-misc/pax-utils-0.4/image//gentoo/prefix64/usr/bin/${sh%.sh} || exit $? ; done install -m755 scanelf dumpelf scanmacho /gentoo/prefix64/var/tmp/portage/app-misc/pax-utils-0.4/image//gentoo/prefix64/usr/bin/ install -m644 README BUGS TODO /gentoo/prefix64/var/tmp/portage/app-misc/pax-utils-0.4/image//gentoo/prefix64/usr/share/doc/pax-utils-0.4/ install -m644 man/scanelf.1 man/dumpelf.1 man/scanmacho.1 /gentoo/prefix64/var/tmp/portage/app-misc/pax-utils-0.4/image//gentoo/prefix64/usr/share/man/man1/ >>> Completed installing pax-utils-0.4 into /gentoo/prefix64/var/tmp/portage/app-misc/pax-utils-0.4/image/
i think this is obsolete by using a newer version