FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Alt

 
 
LinkBack Thread Tools
 
Old 06-28-2011, 06:17 PM
Tamás Gérczei
 
Default util-linux in a Solaris x86 prefix - can't emerge - doesn't compile + one minor ebuild-level issue to maybe fix

Hello list,

I'm having a problem emerging sys-apps/util-linux in my prefix in a Solaris 10 x86 container and I need Your help.
The reason I need the package at all is that I need /usr/bin/script - with its "-t" 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'm compelled in solving this issue - were it only possible.



Please help me if you can and also forgive my maybe having posted either too little or too many information; it's my first time asking for "official" help after all.

s10zone ~ # eix sys-apps/util-linux


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


(...)

s10zone ~ # tail -30 /opt/prefix/var/tmp/portage/sys-apps/util-linux-2.18-r1/temp/build.log
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'


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'
Making all in samples
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'


* CC**** topology.o
* CCLD** topology
../../../shlibs/blkid/src/.libs/libblkid.so: undefined reference to `strnlen'
collect2: ld returned 1 exit status
make[2]: *** [topology] Error 1
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'


make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/prefix/var/tmp/portage/sys-apps/util-linux-2.18-r1/work/util-linux-ng-2.18/shlibs/blkid'
make: *** [all-recursive] Error 1
make: Leaving directory `/opt/prefix/var/tmp/portage/sys-apps/util-linux-2.18-r1/work/util-linux-ng-2.18/shlibs'


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


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


** the complete build log and the output of 'emerge -pqv =sys-apps/util-linux-2.18-r1'.
** The complete build log is located at '/opt/prefix/var/tmp/portage/sys-apps/util-linux-2.18-r1/temp/build.log'.


** The ebuild environment file is located at '/opt/prefix/var/tmp/portage/sys-apps/util-linux-2.18-r1/temp/environment'.
** S: '/opt/prefix/var/tmp/portage/sys-apps/util-linux-2.18-r1/work/util-linux-ng-2.18'


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


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


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


CBUILD="i386-pc-solaris2.10"
CFLAGS="-O3 -pipe -fomit-frame-pointer -march=native"
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="-O3 -pipe -fomit-frame-pointer -march=native"
DISTDIR="/opt/prefix/usr/portage/distfiles"
FEATURES="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"


FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS=""
PKGDIR="/opt/prefix/usr/portage/packages"
PORTAGE_CONFIGROOT="/opt/prefix/"


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/prefix/var/tmp"


PORTDIR="/opt/prefix/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"

USE="cracklib cxx modules ncurses nls prefix readline ssl 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" 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, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

s10zone ~ # grep util-linux /opt/prefix/etc/portage/package.use


sys-apps/util-linux******* -crypt -loop-aes -old-linux -perl -slang -cramfs -nls -unicode

s10zone ~ # s10zone ~ # gcc -v
Using built-in specs.
COLLECT_GCC=/opt/prefix/usr/i386-pc-solaris2.10/gcc-bin/4.5.2/gcc


COLLECT_LTO_WRAPPER=/opt/prefix/usr/libexec/gcc/i386-pc-solaris2.10/4.5.2/lto-wrapper
Target: i386-pc-solaris2.10
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=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.5.2-r00.1 p1.1, pie-0.4.5' --with-gnu-ld --with-gnu-as


Thread model: posix
gcc version 4.5.2 (Gentoo 4.5.2-r00.1 p1.1, pie-0.4.5)
s10zone ~ #

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'm only wondering. The only other idea that I'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'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'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'd let you know.



Thankful in advance for any efforts made:
T.
 
Old 06-29-2011, 07:05 AM
Tamás Gérczei
 
Default util-linux in a Solaris x86 prefix - can't emerge - doesn't compile + one minor ebuild-level issue to maybe fix

Hello again, I'm really very sorry about the HTML posting I have
ignorantly made. Here it comes as plaintext...

Hello List,

I'm having a problem emerging sys-apps/util-linux in my prefix in a
Solaris 10 x86 container and I need Your help.
The reason I need the package at all is that I need /usr/bin/script -
with its "-t" 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'm compelled to solve
this issue - were it only possible.

Please help me if you can and also forgive my maybe having posted
either too little or too many information; it's my first time asking
for "official" help after all.

s10zone ~ # eix sys-apps/util-linux
* sys-apps/util-linux
**** Available versions:* (~*)2.17 (**)2.17.2 (~*)2.18-r1 {+cramfs
crypt loop-aes nls old-linux perl selinux slang uclibc unicode}
**** Homepage:*********** http://www.kernel.org/pub/linux/utils/util-linux/
(...)

s10zone ~ # tail -30
/opt/prefix/var/tmp/portage/sys-apps/util-linux-2.18-r1/temp/build.log
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'
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'
Making all in samples
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'
* CC**** topology.o
* CCLD** topology
../../../shlibs/blkid/src/.libs/libblkid.so: undefined reference to `strnlen'
collect2: ld returned 1 exit status
make[2]: *** [topology] Error 1
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'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/opt/prefix/var/tmp/portage/sys-apps/util-linux-2.18-r1/work/util-linux-ng-2.18/shlibs/blkid'
make: *** [all-recursive] Error 1
make: Leaving directory
`/opt/prefix/var/tmp/portage/sys-apps/util-linux-2.18-r1/work/util-linux-ng-2.18/shlibs'
emake failed
** ERROR: sys-apps/util-linux-2.18-r1 failed (compile phase):
**** (no error message)
**
** Call stack:
****** ebuild.sh, line* 62:* Called call-ebuildshell 'src_compile'
**** environment, line 603:* Called src_compile
**** environment, line 3152:* Called die
** The specific snippet of code:
************ emake -C shlibs || die;
**
** If you need support, post the output of 'emerge --info
=sys-apps/util-linux-2.18-r1',
** the complete build log and the output of 'emerge -pqv
=sys-apps/util-linux-2.18-r1'.
** The complete build log is located at
'/opt/prefix/var/tmp/portage/sys-apps/util-linux-2.18-r1/temp/build.log'.
** The ebuild environment file is located at
'/opt/prefix/var/tmp/portage/sys-apps/util-linux-2.18-r1/temp/environment'.
** S: '/opt/prefix/var/tmp/portage/sys-apps/util-linux-2.18-r1/work/util-linux-ng-2.18'
s10zone ~ #
s10zone ~ # emerge --info
Portage 2.2.01.18826-prefix (prefix/sunos/solaris/5.10/x86, gcc-4.5.2,
unavailable, 5.10 i86pc)
================================================== ===============
System uname: Solaris-2.10-i86pc-i386-32bit-ELF
Timestamp of tree: Fri, 24 Jun 2011 19:36:05 +0000
app-shells/bash:***** 4.2_p10
dev-lang/python:***** 2.7.1-r1
sys-devel/autoconf:** 2.68
sys-devel/automake:** 1.11.1
sys-devel/binutils:** 2.20.1-r1
sys-devel/gcc:******* 4.5.2-r00.1
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:*** 2.4-r01.1
sys-devel/make:****** 3.82
Repositories: gentoo_prefix
Installed sets:
ACCEPT_KEYWORDS="~x86-solaris"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i386-pc-solaris2.10"
CFLAGS="-O3 -pipe -fomit-frame-pointer -march=native"
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="-O3 -pipe -fomit-frame-pointer -march=native"
DISTDIR="/opt/prefix/usr/portage/distfiles"
FEATURES="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"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS=""
PKGDIR="/opt/prefix/usr/portage/packages"
PORTAGE_CONFIGROOT="/opt/prefix/"
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/prefix/var/tmp"
PORTDIR="/opt/prefix/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="cracklib cxx modules ncurses nls prefix readline ssl 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" CALLIGRA_FEATURES="braindump flow
karbon kexi kpresenter krita tables words" 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, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

s10zone ~ # grep util-linux /opt/prefix/etc/portage/package.use
sys-apps/util-linux******* -crypt -loop-aes -old-linux -perl -slang
-cramfs -nls -unicode

s10zone ~ # s10zone ~ # gcc -v
Using built-in specs.
COLLECT_GCC=/opt/prefix/usr/i386-pc-solaris2.10/gcc-bin/4.5.2/gcc
COLLECT_LTO_WRAPPER=/opt/prefix/usr/libexec/gcc/i386-pc-solaris2.10/4.5.2/lto-wrapper
Target: i386-pc-solaris2.10
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=http://bugs.gentoo.org/ --with-pkgversion='Gentoo
4.5.2-r00.1 p1.1, pie-0.4.5' --with-gnu-ld --with-gnu-as
Thread model: posix
gcc version 4.5.2 (Gentoo 4.5.2-r00.1 p1.1, pie-0.4.5)
s10zone ~ #

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'm only wondering. The only other idea that I'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'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'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'd let you know.

Thankful in advance for any efforts made:
T.
 
Old 06-29-2011, 07:57 AM
Fabian Groffen
 
Default util-linux in a Solaris x86 prefix - can't emerge - doesn't compile + one minor ebuild-level issue to maybe fix

Hi Tamás,

On 28-06-2011 20:17:40 +0200, Tamás Gérczei wrote:
> I'm having a problem emerging sys-apps/util-linux in my prefix in a Solaris
> 10 x86 container and I need Your help.

I thought I fixed the latest version with upstream ... :/

> ../../../shlibs/blkid/src/.libs/libblkid.so: undefined reference to
> `strnlen'

This is the culprit, no such function exists on Solaris.

util-linux isn't pretty much very non-Linux-friendly. If you're just
interested in that one script, I'd try to focus on that one, and not to
compile the entire suite of linux utils that you probably don't need.


--
Fabian Groffen
Gentoo on a different level
 
Old 06-29-2011, 07:57 AM
Fabian Groffen
 
Default util-linux in a Solaris x86 prefix - can't emerge - doesn't compile + one minor ebuild-level issue to maybe fix

Hi Tamás,

On 28-06-2011 20:17:40 +0200, Tamás Gérczei wrote:
> I'm having a problem emerging sys-apps/util-linux in my prefix in a Solaris
> 10 x86 container and I need Your help.

I thought I fixed the latest version with upstream ... :/

> ../../../shlibs/blkid/src/.libs/libblkid.so: undefined reference to
> `strnlen'

This is the culprit, no such function exists on Solaris.

util-linux isn't pretty much very non-Linux-friendly. If you're just
interested in that one script, I'd try to focus on that one, and not to
compile the entire suite of linux utils that you probably don't need.


--
Fabian Groffen
Gentoo on a different level
 
Old 07-09-2011, 11:28 AM
Tamás Gérczei
 
Default util-linux in a Solaris x86 prefix - can't emerge - doesn't compile + one minor ebuild-level issue to maybe fix

Hi Fabian,

Well. That I have tried doing by numerous methods to no avail - and
today I seem to have found the perseverance to build /usr/bin/script
off the misc-utils tree of util-linux hacking all the includes and
headers across the platforms... It even works, more or less, but it
does fail - something just isn't right there concerning the outputs.
BUT: I found ttyrec which, though, won't emerge in the prefix from the
ebuild provided, does compile (and even run and record) fine from the
vanilla source on Solaris 10 - and does therefore solve my problem,
rendering util-linux useless for the purpose I sought.

Many thanks for your advice!
Tamas

On Wed, Jun 29, 2011 at 9:57 AM, Fabian Groffen <grobian@gentoo.org> wrote:
> Hi Tamás,
>
> On 28-06-2011 20:17:40 +0200, Tamás Gérczei wrote:
>> I'm having a problem emerging sys-apps/util-linux in my prefix in a Solaris
>> 10 x86 container and I need Your help.
>
> I thought I fixed the latest version with upstream ... :/
>
>> ../../../shlibs/blkid/src/.libs/libblkid.so: undefined reference to
>> `strnlen'
>
> This is the culprit, no such function exists on Solaris.
>
> util-linux isn't pretty much very non-Linux-friendly. *If you're just
> interested in that one script, I'd try to focus on that one, and not to
> compile the entire suite of linux utils that you probably don't need.
>
>
> --
> Fabian Groffen
> Gentoo on a different level
>
>
 

Thread Tools




All times are GMT. The time now is 03:49 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org