Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alt
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-alt@g.o
From: Tamás Gérczei <gerczei.tamas@...>
Subject: util-linux in a Solaris x86 prefix - can't emerge - doesn't compile + one minor ebuild-level issue to maybe fix
Date: Tue, 28 Jun 2011 20:17:40 +0200
Hello list,<br><br>I&#39;m having a problem emerging sys-apps/util-linux in my prefix in a Solaris 10 x86 container and I need Your help.<br>The reason I need the package at all is that I need /usr/bin/script - with its &quot;-t&quot; switch. No other functionality would I be interested in. Henceforth I have even tried to reduce the set of USE flags on the package one by one at first, yet nothing delivered. The same holds true for the earlier versions the tree seems to still have - but the 2.17.* versions die on me even in the configure phase complaining about the lack of crypt(). I would be content with either version and yes I know these packages are masked. Still I&#39;m compelled in solving this issue - were it only possible. <br>

<br>Please help me if you can and also forgive my maybe having posted either too little or too many information; it&#39;s my first time asking for &quot;official&quot; help after all.<br><br>s10zone ~ # eix sys-apps/util-linux<br>

* sys-apps/util-linux<br>     Available versions:  (~*)2.17 (**)2.17.2 (~*)2.18-r1 {+cramfs crypt loop-aes nls old-linux perl selinux slang uclibc unicode}<br>     Homepage:            <a href="http://www.kernel.org/pub/linux/utils/util-linux/" target="_blank">http://www.kernel.org/pub/linux/utils/util-linux/</a><br>

(...)<br><br>s10zone ~ # tail -30 /opt/prefix/var/tmp/portage/sys-apps/util-linux-2.18-r1/temp/build.log<br>make[3]: Leaving directory `/opt/prefix/var/tmp/portage/sys-apps/util-linux-2.18-r1/work/util-linux-ng-2.18/shlibs/blkid/src&#39;<br>

make[2]: Leaving directory `/opt/prefix/var/tmp/portage/sys-apps/util-linux-2.18-r1/work/util-linux-ng-2.18/shlibs/blkid/src&#39;<br>Making all in samples<br>make[2]: Entering directory `/opt/prefix/var/tmp/portage/sys-apps/util-linux-2.18-r1/work/util-linux-ng-2.18/shlibs/blkid/samples&#39;<br>

  CC     topology.o<br>  CCLD   topology<br>../../../shlibs/blkid/src/.libs/libblkid.so: undefined reference to `strnlen&#39;<br>collect2: ld returned 1 exit status<br>make[2]: *** [topology] Error 1<br>make[2]: Leaving directory `/opt/prefix/var/tmp/portage/sys-apps/util-linux-2.18-r1/work/util-linux-ng-2.18/shlibs/blkid/samples&#39;<br>

make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/opt/prefix/var/tmp/portage/sys-apps/util-linux-2.18-r1/work/util-linux-ng-2.18/shlibs/blkid&#39;<br>make: *** [all-recursive] Error 1<br>make: Leaving directory `/opt/prefix/var/tmp/portage/sys-apps/util-linux-2.18-r1/work/util-linux-ng-2.18/shlibs&#39;<br>

emake failed<br> * ERROR: sys-apps/util-linux-2.18-r1 failed (compile phase):<br> *   (no error message)<br> * <br> * Call stack:<br> *     ebuild.sh, line  62:  Called call-ebuildshell &#39;src_compile&#39;<br> *   environment, line 603:  Called src_compile<br>

 *   environment, line 3152:  Called die<br> * The specific snippet of code:<br> *           emake -C shlibs || die;<br> * <br> * If you need support, post the output of &#39;emerge --info =sys-apps/util-linux-2.18-r1&#39;,<br>

 * the complete build log and the output of &#39;emerge -pqv =sys-apps/util-linux-2.18-r1&#39;.<br> * The complete build log is located at &#39;/opt/prefix/var/tmp/portage/sys-apps/util-linux-2.18-r1/temp/build.log&#39;.<br>

 * The ebuild environment file is located at &#39;/opt/prefix/var/tmp/portage/sys-apps/util-linux-2.18-r1/temp/environment&#39;.<br> * S: &#39;/opt/prefix/var/tmp/portage/sys-apps/util-linux-2.18-r1/work/util-linux-ng-2.18&#39;<br>

s10zone ~ #<br>s10zone ~ # emerge --info<br>Portage 2.2.01.18826-prefix (prefix/sunos/solaris/5.10/x86, gcc-4.5.2, unavailable, 5.10 i86pc)<br>=================================================================<br>System uname: Solaris-2.10-i86pc-i386-32bit-ELF<br>

Timestamp of tree: Fri, 24 Jun 2011 19:36:05 +0000<br>app-shells/bash:      4.2_p10<br>dev-lang/python:      2.7.1-r1<br>sys-devel/autoconf:   2.68<br>sys-devel/automake:   1.11.1<br>sys-devel/binutils:   2.20.1-r1<br>sys-devel/gcc:        4.5.2-r00.1<br>

sys-devel/gcc-config: 1.4.1-r00.2<br>sys-devel/libtool:    2.4-r01.1<br>sys-devel/make:       3.82<br>Repositories: gentoo_prefix<br>Installed sets: <br>ACCEPT_KEYWORDS=&quot;~x86-solaris&quot;<br>ACCEPT_LICENSE=&quot;* -@EULA&quot;<br>

CBUILD=&quot;i386-pc-solaris2.10&quot;<br>CFLAGS=&quot;-O3 -pipe -fomit-frame-pointer -march=native&quot;<br>CHOST=&quot;i386-pc-solaris2.10&quot;<br>CONFIG_PROTECT=&quot;/etc&quot;<br>CONFIG_PROTECT_MASK=&quot;/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/portage /etc/revdep-rebuild /etc/terminfo&quot;<br>

CXXFLAGS=&quot;-O3 -pipe -fomit-frame-pointer -march=native&quot;<br>DISTDIR=&quot;/opt/prefix/usr/portage/distfiles&quot;<br>FEATURES=&quot;assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles fixpackages news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch&quot;<br>

FFLAGS=&quot;&quot;<br>GENTOO_MIRRORS=&quot;<a href="http://distfiles.gentoo.org" target="_blank">http://distfiles.gentoo.org</a>&quot;<br>LDFLAGS=&quot;&quot;<br>PKGDIR=&quot;/opt/prefix/usr/portage/packages&quot;<br>PORTAGE_CONFIGROOT=&quot;/opt/prefix/&quot;<br>

PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages&quot;<br>PORTAGE_TMPDIR=&quot;/opt/prefix/var/tmp&quot;<br>

PORTDIR=&quot;/opt/prefix/usr/portage&quot;<br>PORTDIR_OVERLAY=&quot;&quot;<br>SYNC=&quot;rsync://<a href="http://rsync.prefix.freens.org/gentoo-portage-prefix" target="_blank">rsync.prefix.freens.org/gentoo-portage-prefix</a>&quot;<br>
USE=&quot;cracklib cxx modules ncurses nls prefix readline ssl unicode x86-solaris zlib&quot; ALSA_PCM_PLUGINS=&quot;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&quot; APACHE2_MODULES=&quot;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&quot; CALLIGRA_FEATURES=&quot;braindump flow karbon kexi kpresenter krita tables words&quot; CAMERAS=&quot;ptp2&quot; COLLECTD_PLUGINS=&quot;df interface irq load memory rrdtool swap syslog&quot; ELIBC=&quot;SunOS&quot; GPSD_PROTOCOLS=&quot;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&quot; INPUT_DEVICES=&quot;keyboard mouse&quot; KERNEL=&quot;SunOS&quot; LCD_DEVICES=&quot;bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text&quot; PHP_TARGETS=&quot;php5-3&quot; RUBY_TARGETS=&quot;ruby18&quot; USERLAND=&quot;GNU&quot; XTABLES_ADDONS=&quot;quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account&quot; <br>

Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS<br><br>s10zone ~ # grep util-linux /opt/prefix/etc/portage/package.use <br>

sys-apps/util-linux        -crypt -loop-aes -old-linux -perl -slang -cramfs -nls -unicode<br><br>s10zone ~ # s10zone ~ # gcc -v<br>Using built-in specs.<br>COLLECT_GCC=/opt/prefix/usr/i386-pc-solaris2.10/gcc-bin/4.5.2/gcc<br>

COLLECT_LTO_WRAPPER=/opt/prefix/usr/libexec/gcc/i386-pc-solaris2.10/4.5.2/lto-wrapper<br>Target: i386-pc-solaris2.10<br>Configured with: /opt/prefix/var/tmp/portage/sys-devel/gcc-4.5.2-r00.1/work/gcc-4.5.2/configure --prefix=/opt/prefix/usr --bindir=/opt/prefix/usr/i386-pc-solaris2.10/gcc-bin/4.5.2 --includedir=/opt/prefix/usr/lib/gcc/i386-pc-solaris2.10/4.5.2/include --datadir=/opt/prefix/usr/share/gcc-data/i386-pc-solaris2.10/4.5.2 --mandir=/opt/prefix/usr/share/gcc-data/i386-pc-solaris2.10/4.5.2/man --infodir=/opt/prefix/usr/share/gcc-data/i386-pc-solaris2.10/4.5.2/info --with-gxx-include-dir=/opt/prefix/usr/lib/gcc/i386-pc-solaris2.10/4.5.2/include/g++-v4 --host=i386-pc-solaris2.10 --build=i386-pc-solaris2.10 --disable-altivec --disable-fixed-point --without-ppl --without-cloog --disable-lto --enable-nls --without-included-gettext --with-system-zlib --disable-werror --enable-secureplt --disable-multilib --disable-libmudflap --disable-libssp --disable-libgomp --enable-cld --with-python-dir=/share/gcc-data/i386-pc-solaris2.10/4.5.2/python --enable-checking=release --disable-libgcj --enable-languages=c,c++ --enable-shared --enable-threads=posix --with-local-prefix=/opt/prefix/usr --enable-__cxa_atexit --with-bugurl=<a href="http://bugs.gentoo.org/" target="_blank">http://bugs.gentoo.org/</a> --with-pkgversion=&#39;Gentoo 4.5.2-r00.1 p1.1, pie-0.4.5&#39; --with-gnu-ld --with-gnu-as<br>

Thread model: posix<br>gcc version 4.5.2 (Gentoo 4.5.2-r00.1 p1.1, pie-0.4.5) <br>s10zone ~ # <br><br>I did not so far realize that maybe the -O3 setting could be the culprit - but since that gave me no pain whatsoever on any other box I have rolled stuff on, I&#39;m only wondering. The only other idea that I&#39;m almost having is my having upgraded gcc beforehand. Everything has so far gone by the book though - well aside from a small glitch that I&#39;ll - once mentioned - quickly elaborate on as well: the enewgroup and enewuser routines err, given that Solaris has a different syntax for these commands - as in, different from the GNU userland&#39;s suchlike options. Once having fixed that, I was set, yet that might require official effort to become fixed on a higher level, as irrelevant in this post as that is. Just thought I&#39;d let you know.<br>

<br>Thankful in advance for any efforts made:<br>T.<br>
Replies:
Re: util-linux in a Solaris x86 prefix - can't emerge - doesn't compile + one minor ebuild-level issue to maybe fix
-- Fabian Groffen
util-linux in a Solaris x86 prefix - can't emerge - doesn't compile + one minor ebuild-level issue to maybe fix
-- Tamás Gérczei
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
OS X Lion
Next by thread:
util-linux in a Solaris x86 prefix - can't emerge - doesn't compile + one minor ebuild-level issue to maybe fix
Previous by date:
Re: OS X Lion
Next by date:
util-linux in a Solaris x86 prefix - can't emerge - doesn't compile + one minor ebuild-level issue to maybe fix


Updated Jun 18, 2012

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.