1 |
Hello list, |
2 |
|
3 |
I'm having a problem emerging sys-apps/util-linux in my prefix in a Solaris |
4 |
10 x86 container and I need Your help. |
5 |
The reason I need the package at all is that I need /usr/bin/script - with |
6 |
its "-t" switch. No other functionality would I be interested in. Henceforth |
7 |
I have even tried to reduce the set of USE flags on the package one by one |
8 |
at first, yet nothing delivered. The same holds true for the earlier |
9 |
versions the tree seems to still have - but the 2.17.* versions die on me |
10 |
even in the configure phase complaining about the lack of crypt(). I would |
11 |
be content with either version and yes I know these packages are masked. |
12 |
Still I'm compelled in solving this issue - were it only possible. |
13 |
|
14 |
Please help me if you can and also forgive my maybe having posted either too |
15 |
little or too many information; it's my first time asking for "official" |
16 |
help after all. |
17 |
|
18 |
s10zone ~ # eix sys-apps/util-linux |
19 |
* sys-apps/util-linux |
20 |
Available versions: (~*)2.17 (**)2.17.2 (~*)2.18-r1 {+cramfs crypt |
21 |
loop-aes nls old-linux perl selinux slang uclibc unicode} |
22 |
Homepage: http://www.kernel.org/pub/linux/utils/util-linux/ |
23 |
(...) |
24 |
|
25 |
s10zone ~ # tail -30 |
26 |
/opt/prefix/var/tmp/portage/sys-apps/util-linux-2.18-r1/temp/build.log |
27 |
make[3]: Leaving directory |
28 |
`/opt/prefix/var/tmp/portage/sys-apps/util-linux-2.18-r1/work/util-linux-ng-2.18/shlibs/blkid/src' |
29 |
make[2]: Leaving directory |
30 |
`/opt/prefix/var/tmp/portage/sys-apps/util-linux-2.18-r1/work/util-linux-ng-2.18/shlibs/blkid/src' |
31 |
Making all in samples |
32 |
make[2]: Entering directory |
33 |
`/opt/prefix/var/tmp/portage/sys-apps/util-linux-2.18-r1/work/util-linux-ng-2.18/shlibs/blkid/samples' |
34 |
CC topology.o |
35 |
CCLD topology |
36 |
../../../shlibs/blkid/src/.libs/libblkid.so: undefined reference to |
37 |
`strnlen' |
38 |
collect2: ld returned 1 exit status |
39 |
make[2]: *** [topology] Error 1 |
40 |
make[2]: Leaving directory |
41 |
`/opt/prefix/var/tmp/portage/sys-apps/util-linux-2.18-r1/work/util-linux-ng-2.18/shlibs/blkid/samples' |
42 |
make[1]: *** [all-recursive] Error 1 |
43 |
make[1]: Leaving directory |
44 |
`/opt/prefix/var/tmp/portage/sys-apps/util-linux-2.18-r1/work/util-linux-ng-2.18/shlibs/blkid' |
45 |
make: *** [all-recursive] Error 1 |
46 |
make: Leaving directory |
47 |
`/opt/prefix/var/tmp/portage/sys-apps/util-linux-2.18-r1/work/util-linux-ng-2.18/shlibs' |
48 |
emake failed |
49 |
* ERROR: sys-apps/util-linux-2.18-r1 failed (compile phase): |
50 |
* (no error message) |
51 |
* |
52 |
* Call stack: |
53 |
* ebuild.sh, line 62: Called call-ebuildshell 'src_compile' |
54 |
* environment, line 603: Called src_compile |
55 |
* environment, line 3152: Called die |
56 |
* The specific snippet of code: |
57 |
* emake -C shlibs || die; |
58 |
* |
59 |
* If you need support, post the output of 'emerge --info |
60 |
=sys-apps/util-linux-2.18-r1', |
61 |
* the complete build log and the output of 'emerge -pqv |
62 |
=sys-apps/util-linux-2.18-r1'. |
63 |
* The complete build log is located at |
64 |
'/opt/prefix/var/tmp/portage/sys-apps/util-linux-2.18-r1/temp/build.log'. |
65 |
* The ebuild environment file is located at |
66 |
'/opt/prefix/var/tmp/portage/sys-apps/util-linux-2.18-r1/temp/environment'. |
67 |
* S: |
68 |
'/opt/prefix/var/tmp/portage/sys-apps/util-linux-2.18-r1/work/util-linux-ng-2.18' |
69 |
s10zone ~ # |
70 |
s10zone ~ # emerge --info |
71 |
Portage 2.2.01.18826-prefix (prefix/sunos/solaris/5.10/x86, gcc-4.5.2, |
72 |
unavailable, 5.10 i86pc) |
73 |
================================================================= |
74 |
System uname: Solaris-2.10-i86pc-i386-32bit-ELF |
75 |
Timestamp of tree: Fri, 24 Jun 2011 19:36:05 +0000 |
76 |
app-shells/bash: 4.2_p10 |
77 |
dev-lang/python: 2.7.1-r1 |
78 |
sys-devel/autoconf: 2.68 |
79 |
sys-devel/automake: 1.11.1 |
80 |
sys-devel/binutils: 2.20.1-r1 |
81 |
sys-devel/gcc: 4.5.2-r00.1 |
82 |
sys-devel/gcc-config: 1.4.1-r00.2 |
83 |
sys-devel/libtool: 2.4-r01.1 |
84 |
sys-devel/make: 3.82 |
85 |
Repositories: gentoo_prefix |
86 |
Installed sets: |
87 |
ACCEPT_KEYWORDS="~x86-solaris" |
88 |
ACCEPT_LICENSE="* -@EULA" |
89 |
CBUILD="i386-pc-solaris2.10" |
90 |
CFLAGS="-O3 -pipe -fomit-frame-pointer -march=native" |
91 |
CHOST="i386-pc-solaris2.10" |
92 |
CONFIG_PROTECT="/etc" |
93 |
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf |
94 |
/etc/portage /etc/revdep-rebuild /etc/terminfo" |
95 |
CXXFLAGS="-O3 -pipe -fomit-frame-pointer -march=native" |
96 |
DISTDIR="/opt/prefix/usr/portage/distfiles" |
97 |
FEATURES="assume-digests binpkg-logs collision-protect distlocks |
98 |
ebuild-locks fixlafiles fixpackages news nostrip parallel-fetch |
99 |
preserve-libs protect-owned sfperms strict unknown-features-warn |
100 |
unmerge-logs unmerge-orphans userfetch" |
101 |
FFLAGS="" |
102 |
GENTOO_MIRRORS="http://distfiles.gentoo.org" |
103 |
LDFLAGS="" |
104 |
PKGDIR="/opt/prefix/usr/portage/packages" |
105 |
PORTAGE_CONFIGROOT="/opt/prefix/" |
106 |
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times |
107 |
--compress --force --whole-file --delete --stats --timeout=180 |
108 |
--exclude=/distfiles --exclude=/local --exclude=/packages" |
109 |
PORTAGE_TMPDIR="/opt/prefix/var/tmp" |
110 |
PORTDIR="/opt/prefix/usr/portage" |
111 |
PORTDIR_OVERLAY="" |
112 |
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix" |
113 |
USE="cracklib cxx modules ncurses nls prefix readline ssl unicode |
114 |
x86-solaris zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop |
115 |
empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul |
116 |
mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions |
117 |
alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file |
118 |
authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user |
119 |
autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env |
120 |
expires ext_filter file_cache filter headers include info log_config logio |
121 |
mem_cache mime mime_magic negotiation rewrite setenvif speling status |
122 |
unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow |
123 |
karbon kexi kpresenter krita tables words" CAMERAS="ptp2" |
124 |
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" |
125 |
ELIBC="SunOS" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin |
126 |
garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle |
127 |
oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" |
128 |
INPUT_DEVICES="keyboard mouse" KERNEL="SunOS" LCD_DEVICES="bayrad cfontz |
129 |
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" |
130 |
PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" |
131 |
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p |
132 |
iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark |
133 |
dhcpmac delude chaos account" |
134 |
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, |
135 |
LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, |
136 |
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS |
137 |
|
138 |
s10zone ~ # grep util-linux /opt/prefix/etc/portage/package.use |
139 |
sys-apps/util-linux -crypt -loop-aes -old-linux -perl -slang -cramfs |
140 |
-nls -unicode |
141 |
|
142 |
s10zone ~ # s10zone ~ # gcc -v |
143 |
Using built-in specs. |
144 |
COLLECT_GCC=/opt/prefix/usr/i386-pc-solaris2.10/gcc-bin/4.5.2/gcc |
145 |
COLLECT_LTO_WRAPPER=/opt/prefix/usr/libexec/gcc/i386-pc-solaris2.10/4.5.2/lto-wrapper |
146 |
Target: i386-pc-solaris2.10 |
147 |
Configured with: |
148 |
/opt/prefix/var/tmp/portage/sys-devel/gcc-4.5.2-r00.1/work/gcc-4.5.2/configure |
149 |
--prefix=/opt/prefix/usr |
150 |
--bindir=/opt/prefix/usr/i386-pc-solaris2.10/gcc-bin/4.5.2 |
151 |
--includedir=/opt/prefix/usr/lib/gcc/i386-pc-solaris2.10/4.5.2/include |
152 |
--datadir=/opt/prefix/usr/share/gcc-data/i386-pc-solaris2.10/4.5.2 |
153 |
--mandir=/opt/prefix/usr/share/gcc-data/i386-pc-solaris2.10/4.5.2/man |
154 |
--infodir=/opt/prefix/usr/share/gcc-data/i386-pc-solaris2.10/4.5.2/info |
155 |
--with-gxx-include-dir=/opt/prefix/usr/lib/gcc/i386-pc-solaris2.10/4.5.2/include/g++-v4 |
156 |
--host=i386-pc-solaris2.10 --build=i386-pc-solaris2.10 --disable-altivec |
157 |
--disable-fixed-point --without-ppl --without-cloog --disable-lto |
158 |
--enable-nls --without-included-gettext --with-system-zlib --disable-werror |
159 |
--enable-secureplt --disable-multilib --disable-libmudflap --disable-libssp |
160 |
--disable-libgomp --enable-cld |
161 |
--with-python-dir=/share/gcc-data/i386-pc-solaris2.10/4.5.2/python |
162 |
--enable-checking=release --disable-libgcj --enable-languages=c,c++ |
163 |
--enable-shared --enable-threads=posix --with-local-prefix=/opt/prefix/usr |
164 |
--enable-__cxa_atexit |
165 |
--with-bugurl=http://bugs.gentoo.org/--with-pkgversion='Gentoo |
166 |
4.5.2-r00.1 p1.1, pie-0.4.5' --with-gnu-ld |
167 |
--with-gnu-as |
168 |
Thread model: posix |
169 |
gcc version 4.5.2 (Gentoo 4.5.2-r00.1 p1.1, pie-0.4.5) |
170 |
s10zone ~ # |
171 |
|
172 |
I did not so far realize that maybe the -O3 setting could be the culprit - |
173 |
but since that gave me no pain whatsoever on any other box I have rolled |
174 |
stuff on, I'm only wondering. The only other idea that I'm almost having is |
175 |
my having upgraded gcc beforehand. Everything has so far gone by the book |
176 |
though - well aside from a small glitch that I'll - once mentioned - quickly |
177 |
elaborate on as well: the enewgroup and enewuser routines err, given that |
178 |
Solaris has a different syntax for these commands - as in, different from |
179 |
the GNU userland's suchlike options. Once having fixed that, I was set, yet |
180 |
that might require official effort to become fixed on a higher level, as |
181 |
irrelevant in this post as that is. Just thought I'd let you know. |
182 |
|
183 |
Thankful in advance for any efforts made: |
184 |
T. |