Created attachment 267529 [details] build.log # emerge --update world Calculating dependencies... done! >>> Verifying ebuild manifests >>> Starting parallel fetch >>> Emerging (1 of 3) sys-apps/baselayout-prefix-1.12.5-r9 * baselayout-1.12.5.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * Package: sys-apps/baselayout-prefix-1.12.5-r9 * Repository: gentoo_prefix * Maintainer: prefix@gentoo.org * USE: elibc_SunOS kernel_SunOS prefix userland_GNU x86-solaris * FEATURES: ccache nostrip preserve-libs >>> Unpacking source... [...] >>> Source configured. >>> Compiling source in /opt/gentoo/var/tmp/portage/sys-apps/baselayout-prefix-1.12.5-r9/work/baselayout-1.12.5 ... make: Entering directory `/opt/gentoo/var/tmp/portage/sys-apps/baselayout-prefix-1.12.5-r9/work/baselayout-1.12.5/src' i386-pc-solaris2.10-gcc -O2 -pipe -DLIBDIR=\"lib\" -c -o runscript.o runscript.c runscript.c: In function 'get_whitelist': runscript.c:94: warning: assignment makes pointer from integer without a cast i386-pc-solaris2.10-gcc -O2 -pipe -DLIBDIR=\"lib\" -c -o rs-misc.o core/misc.c core/misc.c: In function 'mktree': core/misc.c:278: warning: assignment makes pointer from integer without a cast core/misc.c:301: warning: assignment makes pointer from integer without a cast core/misc.c: In function 'get_cnf_entry': core/misc.c:501: warning: assignment makes pointer from integer without a cast core/misc.c:512: warning: assignment makes pointer from integer without a cast i386-pc-solaris2.10-gcc -o runscript runscript.o rs-misc.o -ldl runscript.o: In function `get_whitelist': runscript.c:(.text+0x64): undefined reference to `strsep' rs-misc.o: In function `get_cnf_entry': misc.c:(.text+0x1417): undefined reference to `strsep' misc.c:(.text+0x152b): undefined reference to `strsep' rs-misc.o: In function `mktree': misc.c:(.text+0x193e): undefined reference to `strsep' misc.c:(.text+0x19be): undefined reference to `strsep' collect2: ld returned 1 exit status make: *** [runscript] Error 1 make: Leaving directory `/opt/gentoo/var/tmp/portage/sys-apps/baselayout-prefix-1.12.5-r9/work/baselayout-1.12.5/src' * ERROR: sys-apps/baselayout-prefix-1.12.5-r9 failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 62: Called src_compile * environment, line 2195: Called die * The specific snippet of code: * make -C "${S}"/src CC="$(tc-getCC)" LD="$(tc-getCC) ${LDFLAGS}" CFLAGS="${CFLAGS}" LIBDIR="${libdir}" || die * * If you need support, post the output of 'emerge --info =sys-apps/baselayout-prefix-1.12.5-r9', * the complete build log and the output of 'emerge -pqv =sys-apps/baselayout-prefix-1.12.5-r9'. * The complete build log is located at '/opt/gentoo/var/tmp/portage/sys-apps/baselayout-prefix-1.12.5-r9/temp/build.log'. * The ebuild environment file is located at '/opt/gentoo/var/tmp/portage/sys-apps/baselayout-prefix-1.12.5-r9/temp/environment'. * S: '/opt/gentoo/var/tmp/portage/sys-apps/baselayout-prefix-1.12.5-r9/work/baselayout-1.12.5' >>> Failed to emerge sys-apps/baselayout-prefix-1.12.5-r9, Log file: >>> '/opt/gentoo/var/tmp/portage/sys-apps/baselayout-prefix-1.12.5-r9/temp/build.log' * Messages for package sys-apps/baselayout-prefix-1.12.5-r9: * ERROR: sys-apps/baselayout-prefix-1.12.5-r9 failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 62: Called src_compile * environment, line 2195: Called die * The specific snippet of code: * make -C "${S}"/src CC="$(tc-getCC)" LD="$(tc-getCC) ${LDFLAGS}" CFLAGS="${CFLAGS}" LIBDIR="${libdir}" || die * * If you need support, post the output of 'emerge --info =sys-apps/baselayout-prefix-1.12.5-r9', * the complete build log and the output of 'emerge -pqv =sys-apps/baselayout-prefix-1.12.5-r9'. * The complete build log is located at '/opt/gentoo/var/tmp/portage/sys-apps/baselayout-prefix-1.12.5-r9/temp/build.log'. * The ebuild environment file is located at '/opt/gentoo/var/tmp/portage/sys-apps/baselayout-prefix-1.12.5-r9/temp/environment'. * S: '/opt/gentoo/var/tmp/portage/sys-apps/baselayout-prefix-1.12.5-r9/work/baselayout-1.12.5'
# emerge --info Portage 2.2.01.18125-prefix (prefix/sunos/solaris/5.10/x86, gcc-4.2.4, unavailable, 5.10 i86pc) ================================================================= System uname: Solaris-2.10-i86pc-i386-32bit-ELF Timestamp of tree: Mon, 28 Mar 2011 13:08:53 +0000 ccache version 3.1.4 [enabled] app-shells/bash: 4.1_p7 dev-lang/python: 2.7.1-r00.1 dev-util/ccache: 3.1.4 dev-util/cmake: 2.8.4 sys-devel/autoconf: 2.68 sys-devel/automake: 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.2.4-r01.2, 4.5.2-r00.1 sys-devel/gcc-config: 1.4.1-r00.2 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 Repositories: gentoo_prefix extra Installed sets: ACCEPT_KEYWORDS="~x86-solaris" ACCEPT_LICENSE="* -@EULA" CBUILD="i386-pc-solaris2.10" CFLAGS="-O2 -pipe" CHOST="i386-pc-solaris2.10" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/portage /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/opt/gentoo/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs ccache collision-protect distlocks fixlafiles fixpackages news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="" MAKEOPTS="-j4" PKGDIR="/opt/gentoo/usr/portage/packages" PORTAGE_CONFIGROOT="/opt/gentoo/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/opt/gentoo/var/tmp" PORTDIR="/opt/gentoo/usr/portage" PORTDIR_OVERLAY="/opt/gentoo/usr/local/portage/extra" SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix" USE="bzip2 cgi cli cracklib cxx fcgi gnutls modules mysql ncurses nls prefix readline ssl suexec unicode x86-solaris zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="SunOS" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="SunOS" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Inspired by Michael's fixes for AIX, I decided to also fix this, instead of disabling building the start-stop-daemon scripts and co. I just committed the fix, thanks for the report!