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