View previous topic :: View next topic |
Author |
Message |
thestick Guru
Joined: 07 Apr 2006 Posts: 531 Location: /dev/urandom
|
Posted: Mon Jun 09, 2008 2:51 pm Post subject: consolekit won't compile |
|
|
on the same box, i am trying to install gentoo on another hard-disk.
on the working installation, consolekit compiles
Code: | Portage 2.1.5.4 (default/linux/amd64/2008.0, gcc-4.2.4, glibc-2.7-r2, 2.6.25-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r4 x86_64 Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
Timestamp of tree: Fri, 06 Jun 2008 15:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p39
dev-lang/python: 2.5.2-r4
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 0.2.5
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.62
sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.25-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.roedu.net/pub/mirrors/gentoo.org/"
LDFLAGS=""
LINGUAS="en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/crossdev"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac acl acpi alsa amd64 archive arts bash-completion berkdb branding bzip2 cairo ccache cli cpudetection cracklib crypt dbus dri dvd dvdr dvdread encode exif fortran gdbm gif glitz gphoto2 gpm gtk hal hddtemp iconv ipod iproute2 isdnlog jpeg jpeg2k kde midi mmx mmxext mp3 mp4 mudflap multilib ncurses nls nptl nptlonly nvidia opengl openmp pam pcre pdf perl pidgin png pppd python qt3 qt4 rar readline reflection sdl session spl sqlite sse sse2 ssl ssse3 subversion svg tcpd tiff unicode unzip x264 xml xorg xulrunner xvid xvmc yahoo zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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 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" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS |
on the new installation,
Code: |
Portage 2.1.5.4 (default/linux/amd64/2008.0, gcc-4.2.4, glibc-2.7-r2, 2.6.25-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r4 x86_64 Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
Timestamp of tree: Fri, 06 Jun 2008 15:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p39
dev-lang/python: 2.5.2-r4
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 0.2.5
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.62
sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.25-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.roedu.net/pub/mirrors/gentoo.org/"
LDFLAGS=""
LINGUAS="en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/crossdev"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac acl acpi alsa amd64 archive arts bash-completion berkdb branding bzip2 cairo ccache cli cpudetection cracklib crypt dbus dri dvd dvdr dvdread encode exif fortran gdbm gif glitz gphoto2 gpm gtk hal hddtemp iconv ipod iproute2 isdnlog jpeg jpeg2k kde midi mmx mmxext mp3 mp4 mudflap multilib ncurses nls nptl nptlonly nvidia opengl openmp pam pcre pdf perl pidgin png pppd python qt3 qt4 rar readline reflection sdl session spl sqlite sse sse2 ssl ssse3 subversion svg tcpd tiff unicode unzip x264 xml xorg xulrunner xvid xvmc yahoo zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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 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" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS |
consolekit fails to compile
Code: | x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I. -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DPREFIX=\"/usr\" -DBINDIR=\"/usr/bin\" -DLIBDIR=\"/usr/lib64\" -DLIBEXECDIR=\"/usr/libexec\" -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -DCONSOLE_KIT_PID_FILE=\"/var/run/consolekit.pid\" -Wall -Wmissing-prototypes -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DDBUS_VERSION_MAJOR=1 -DDBUS_VERSION_MINOR=2 -DDBUS_VERSION_MICRO=1 -march=native -O2 -pipe -MT ck-sysdeps-unix.lo -MD -MP -MF .deps/ck-sysdeps-unix.Tpo -c ck-sysdeps-unix.c -fPIC -DPIC -o .libs/ck-sysdeps-unix.o
ck-sysdeps-unix.c: In function 'ck_get_socket_peer_credentials':
ck-sysdeps-unix.c:69: error: storage size of 'cr' isn't known
ck-sysdeps-unix.c:69: warning: unused variable 'cr'
make[4]: *** [ck-sysdeps-unix.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/sys-auth/consolekit-0.2.3/work/ConsoleKit-0.2.3/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-auth/consolekit-0.2.3/work/ConsoleKit-0.2.3/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-auth/consolekit-0.2.3/work/ConsoleKit-0.2.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-auth/consolekit-0.2.3/work/ConsoleKit-0.2.3'
make: *** [all] Error 2 |
i have tried compiling with all 3 gcc versions i have
Code: | gcc-config -l
[1] x86_64-pc-linux-gnu-4.1.2
[2] x86_64-pc-linux-gnu-4.2.4
[3] x86_64-pc-linux-gnu-4.3.1 * |
halp! |
|
Back to top |
|
|
Doctor D. n00b
Joined: 10 Feb 2007 Posts: 4 Location: Germany
|
Posted: Mon Jun 09, 2008 3:34 pm Post subject: Re: consolekit won't compile |
|
|
thestick wrote: | on the same box, i am trying to install gentoo on another hard-disk.
on the working installation, consolekit compiles
on the new installation, consolekit fails to compile
Code: | x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I. -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DPREFIX=\"/usr\" -DBINDIR=\"/usr/bin\" -DLIBDIR=\"/usr/lib64\" -DLIBEXECDIR=\"/usr/libexec\" -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -DCONSOLE_KIT_PID_FILE=\"/var/run/consolekit.pid\" -Wall -Wmissing-prototypes -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DDBUS_VERSION_MAJOR=1 -DDBUS_VERSION_MINOR=2 -DDBUS_VERSION_MICRO=1 -march=native -O2 -pipe -MT ck-sysdeps-unix.lo -MD -MP -MF .deps/ck-sysdeps-unix.Tpo -c ck-sysdeps-unix.c -fPIC -DPIC -o .libs/ck-sysdeps-unix.o
ck-sysdeps-unix.c: In function 'ck_get_socket_peer_credentials':
ck-sysdeps-unix.c:69: error: storage size of 'cr' isn't known
ck-sysdeps-unix.c:69: warning: unused variable 'cr'
make[4]: *** [ck-sysdeps-unix.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/sys-auth/consolekit-0.2.3/work/ConsoleKit-0.2.3/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-auth/consolekit-0.2.3/work/ConsoleKit-0.2.3/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-auth/consolekit-0.2.3/work/ConsoleKit-0.2.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-auth/consolekit-0.2.3/work/ConsoleKit-0.2.3'
make: *** [all] Error 2 |
halp! |
Yeah, I ran into the same problem today.
Did you upgrade glibc before by any chance? The problem seems to be that in glibc 2.8, the ucred struct defined in bits/socket.h is protected by __USE_GNU guards, which breaks the consolekit build. There is already a bugreport here: https://bugs.gentoo.org/show_bug.cgi?id=225405
A workaround for me was to compile consolekit with _GNU_SOURCE defined explicitly:
Code: | CFLAGS="-D_GNU_SOURCE -O2" emerge -v consolekit |
I'm not sure if this is the correct way to fix this problem 'cause I don't know enough details about glibc [/code][/url]internals, but it worked for me. |
|
Back to top |
|
|
Pol Tux's lil' helper
Joined: 01 May 2003 Posts: 113
|
Posted: Tue Jun 10, 2008 1:19 pm Post subject: |
|
|
Thanks for the reply, I succeded to compile some packages but libtool resist
Code: | config.status: creating config.h
config.status: executing tests/atconfig commands
config.status: executing depfiles commands
config.status: executing libtool commands
cd . && /bin/sh /var/tmp/portage/sys-devel/libtool-2.2.4/work/libtool-2.2.4/libltdl/config/missing --run autoheader
rm -f stamp-h1
touch config-h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make all-recursive
make[1]: Entering directory `/var/tmp/portage/sys-devel/libtool-2.2.4/work/libtool-2.2.4'
make[2]: Entering directory `/var/tmp/portage/sys-devel/libtool-2.2.4/work/libtool-2.2.4'
test -f doc/.dirstamp || make doc/.dirstamp
make[3]: Entering directory `/var/tmp/portage/sys-devel/libtool-2.2.4/work/libtool-2.2.4'
depbase=`echo libltdl/loaders/dlopen.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl/libltdl -D_GNU_SOURCE -MT libltdl/loaders/dlopen.lo -MD -MP -MF $depbase.Tpo -c -o libltdl/loaders/dlopen.lo libltdl/loaders/dlopen.c &&\
mv -f $depbase.Tpo $depbase.Plo
depbase=`echo libltdl/lt__strl.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl/libltdl -D_GNU_SOURCE -MT libltdl/lt__strl.lo -MD -MP -MF $depbase.Tpo -c -o libltdl/lt__strl.lo libltdl/lt__strl.c &&\
mv -f $depbase.Tpo $depbase.Plo
rm -f libtoolize.tmp libtoolize
set dummy `/bin/sh ./libltdl/config/mkstamp .`; shift; case 2.2.4 in *[acegikmoqsuwy]) TIMESTAMP=" $1 $2" ;; *) TIMESTAMP="" ;; esac; \
input="libtoolize.m4sh"; \
sed -e 's,@EGREP\@,/bin/grep -E,g' -e 's,@FGREP\@,/bin/grep -F,g' -e 's,@GREP\@,/bin/grep,g' -e 's,@LN_S\@,ln -s,g' -e 's,@MACRO_VERSION\@,2.2.4,g' -e 's,@PACKAGE\@,libtool,g' -e 's,@PACKAGE_BUGREPORT\@,bug-libtool@gnu.org,g' -e 's,@PACKAGE_NAME\@,libtool,g' -e 's,@PACKAGE_STRING\@,libtool 2.2.4,g' -e 's,@PACKAGE_TARNAME\@,libtool,g' -e 's,@PACKAGE_VERSION\@,2.2.4,g' -e 's,@SED\@,/bin/sed,g' -e 's,@VERSION\@,2.2.4,g' -e 's,@aclocaldir\@,/usr/share/aclocal,g' -e 's,@datadir\@,/usr/share,g' -e 's,@pkgdatadir\@,/usr/share/libtool,g' -e 's,@host_triplet\@,i686-pc-linux-gnu,g' -e 's,@prefix\@,/usr,g' -e "s,@configure_input\@,Generated from $input.,g" -e "s,@TIMESTAMP\@,$TIMESTAMP,g" \
-e 's,@aclocal_DATA\@,m4/argz.m4 m4/libtool.m4 m4/ltdl.m4 m4/ltoptions.m4 m4/ltsugar.m4 m4/ltversion.m4 m4/lt~obsolete.m4,g' \
-e "s,@pkgltdl_files\@,libltdl/COPYING.LIB libltdl/README libltdl/Makefile.inc libltdl/Makefile.am libltdl/configure.ac libltdl/aclocal.m4 libltdl/Makefile.in libltdl/config-h.in libltdl/configure libltdl/argz_.h libltdl/argz.c libltdl/loaders/dld_link.c libltdl/loaders/dlopen.c libltdl/loaders/dyld.c libltdl/loaders/load_add_on.c libltdl/loaders/loadlibrary.c libltdl/loaders/shl_load.c libltdl/lt__dirent.c libltdl/lt__strl.c libltdl/libltdl/lt__alloc.h libltdl/libltdl/lt__dirent.h libltdl/libltdl/lt__glibc.h libltdl/libltdl/lt__private.h libltdl/libltdl/lt__strl.h libltdl/libltdl/lt_dlloader.h libltdl/libltdl/lt_error.h libltdl/libltdl/lt_system.h libltdl/libltdl/slist.h libltdl/loaders/preopen.c libltdl/lt__alloc.c libltdl/lt_dlloader.c libltdl/lt_error.c libltdl/ltdl.c libltdl/ltdl.h libltdl/slist.c,g" \
-e "s,@pkgconfig_files\@,config/compile config/config.guess config/config.sub config/depcomp config/install-sh config/missing config/ltmain.sh,g" \
./libtoolize.in > libtoolize.tmp
make[3]: Leaving directory `/var/tmp/portage/sys-devel/libtool-2.2.4/work/libtool-2.2.4'
Updating ./doc/version.texi
cd ./libltdl && /bin/sh /var/tmp/portage/sys-devel/libtool-2.2.4/work/libtool-2.2.4/libltdl/config/missing --run aclocal-1.10 -I m4
./libtool: line 868: X--tag=CC: command not found
./libtool: line 901: libtool: ignoring unknown tag : command not found
./libtool: line 868: X--mode=compile: command not found
./libtool: line 868: X--tag=CC: command not found
./libtool: line 1035: *** Warning: inferring the mode of operation is deprecated.: command not found
./libtool: line 1036: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
./libtool: line 1179: Xi686-pc-linux-gnu-gcc: command not found
./libtool: line 901: libtool: ignoring unknown tag : command not found
./libtool: line 868: X--mode=compile: command not found
./libtool: line 1179: X-DHAVE_CONFIG_H: command not found
./libtool: line 1179: X-I.: command not found
./libtool: line 1179: X-DLT_CONFIG_H=<config.h>: command not found
/usr/share/aclocal/sigc++.m4:8: warning: underquoted definition of AM_PATH_SIGC
/usr/share/aclocal/sigc++.m4:8: run info '(automake)Extending aclocal'
/usr/share/aclocal/sigc++.m4:8: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
./libtool: line 1179: X-DLTDL: command not found
./libtool: line 1035: *** Warning: inferring the mode of operation is deprecated.: command not found
./libtool: line 1036: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
./libtool: line 1179: Xi686-pc-linux-gnu-gcc: command not found
./libtool: line 1179: X-DHAVE_CONFIG_H: command not found
chmod a+x libtoolize.tmp
chmod a-w libtoolize.tmp
./libtool: line 1179: X-I.: command not found
mv -f libtoolize.tmp libtoolize
/bin/sh ./libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdl -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl/libltdl -D_GNU_SOURCE -MT libltdl/loaders/libltdl_libltdl_la-preopen.lo -MD -MP -MF libltdl/loaders/.deps/libltdl_libltdl_la-preopen.Tpo -c -o libltdl/loaders/libltdl_libltdl_la-preopen.lo `test -f 'libltdl/loaders/preopen.c' || echo './'`libltdl/loaders/preopen.c
./libtool: line 1179: X-DLT_CONFIG_H=<config.h>: command not found
./libtool: line 1179: X-I.: command not found
./libtool: line 1179: X-DLTDL: command not found
./libtool: line 1179: X-I.: command not found
./libtool: line 1179: X-I.: command not found
./libtool: line 868: X--tag=CC: command not found
./libtool: line 1179: X-Ilibltdl: command not found
./libtool: line 1179: X-I./libltdl: No such file or directory
./libtool: line 901: libtool: ignoring unknown tag : command not found
./libtool: line 1179: X-I./libltdl/libltdl: No such file or directory
./libtool: line 1179: X-D_GNU_SOURCE: command not found
./libtool: line 1179: X-MT: command not found
./libtool: line 1179: Xlibltdl/lt__strl.lo: No such file or directory
./libtool: line 1179: X-MD: command not found
./libtool: line 1179: X-MP: command not found
./libtool: line 1179: X-MF: command not found
./libtool: line 1179: Xlibltdl/.deps/lt__strl.Tpo: No such file or directory
./libtool: line 1179: X-c: command not found
./libtool: line 1232: Xlibltdl/lt__strl.lo: No such file or directory
./libtool: line 868: X--mode=compile: command not found
./libtool: line 1237: libtool: compile: cannot determine name of library object from `': command not found
make[2]: *** [libltdl/lt__strl.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
./libtool: line 1179: X-I.: command not found
./libtool: line 1179: X-Ilibltdl: command not found
./libtool: line 1179: X-I./libltdl: No such file or directory
./libtool: line 1179: X-I./libltdl/libltdl: No such file or directory
./libtool: line 1179: X-D_GNU_SOURCE: command not found
./libtool: line 1179: X-MT: command not found
./libtool: line 1179: Xlibltdl/loaders/dlopen.lo: No such file or directory
./libtool: line 1179: X-MD: command not found
./libtool: line 1179: X-MP: command not found
./libtool: line 1179: X-MF: command not found
./libtool: line 1179: Xlibltdl/loaders/.deps/dlopen.Tpo: No such file or directory
./libtool: line 1179: X-c: command not found
./libtool: line 1232: Xlibltdl/loaders/dlopen.lo: No such file or directory
./libtool: line 1237: libtool: compile: cannot determine name of library object from `': command not found
make[2]: *** [libltdl/loaders/dlopen.lo] Error 1
./libtool: line 1035: *** Warning: inferring the mode of operation is deprecated.: command not found
./libtool: line 1036: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
./libtool: line 1179: Xi686-pc-linux-gnu-gcc: command not found
./libtool: line 1179: X-DHAVE_CONFIG_H: command not found
./libtool: line 1179: X-I.: command not found
./libtool: line 1179: X-DLTDLOPEN=libltdl: command not found
./libtool: line 1179: X-DLT_CONFIG_H=<config.h>: command not found
./libtool: line 1179: X-DLTDL: command not found
./libtool: line 1179: X-I.: command not found
./libtool: line 1179: X-I.: command not found
./libtool: line 1179: X-Ilibltdl: command not found
./libtool: line 1179: X-I./libltdl: No such file or directory
./libtool: line 1179: X-I./libltdl/libltdl: No such file or directory
./libtool: line 1179: X-D_GNU_SOURCE: command not found
./libtool: line 1179: X-MT: command not found
./libtool: line 1179: Xlibltdl/loaders/libltdl_libltdl_la-preopen.lo: No such file or directory
./libtool: line 1179: X-MD: command not found
./libtool: line 1179: X-MP: command not found
./libtool: line 1179: X-MF: command not found
./libtool: line 1179: Xlibltdl/loaders/.deps/libltdl_libltdl_la-preopen.Tpo: No such file or directory
./libtool: line 1179: X-c: command not found
./libtool: line 1232: Xlibltdl/loaders/libltdl_libltdl_la-preopen.lo: No such file or directory
./libtool: line 1237: libtool: compile: cannot determine name of library object from `': command not found
make[2]: *** [libltdl/loaders/libltdl_libltdl_la-preopen.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-devel/libtool-2.2.4/work/libtool-2.2.4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-devel/libtool-2.2.4/work/libtool-2.2.4'
make: *** [all] Error 2
*
* ERROR: sys-devel/libtool-2.2.4 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2515: Called die
* The specific snippet of code:
* emake || die "emake failed";
* The die message:
* emake failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/log/portage/sys-devel:libtool-2.2.4:20080610-130851.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/libtool-2.2.4/temp/environment'.
*
|
Any idea ? |
|
Back to top |
|
|
Pol Tux's lil' helper
Joined: 01 May 2003 Posts: 113
|
Posted: Tue Jun 10, 2008 1:25 pm Post subject: |
|
|
Another kind of error with netkit-rsh:
Code: | wolverine ~ # CFLAGS="-D_GNU_SOURCE" emerge -v netkit-rsh
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U ] net-misc/netkit-rsh-0.17-r9 [0.17-r8] USE="pam" 0 kB
Total: 1 package (1 upgrade), Size of downloads: 0 kB
>>> Verifying ebuild Manifests...
>>> Emerging (1 of 1) net-misc/netkit-rsh-0.17-r9 to /
* rexec-1.5.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* netkit-rsh-0.17.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* netkit-rsh-0.17-patches-1.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
>>> Creating Manifest for /usr/portage/net-misc/netkit-rsh
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking netkit-rsh-0.17.tar.gz ;-) ... [ ok ]
* checking rexec-1.5.tar.gz ;-) ... [ ok ]
* checking netkit-rsh-0.17-patches-1.0.tar.bz2 ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking netkit-rsh-0.17.tar.gz to /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work
>>> Unpacking rexec-1.5.tar.gz to /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work
>>> Unpacking netkit-rsh-0.17-patches-1.0.tar.bz2 to /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work
* Applying various patches (bugfixes/updates) ...
* 000_all_sectty.patch ... [ ok ]
* 010_all_rexec.patch ... [ ok ]
* 020_all_stdarg.patch ... [ ok ]
* 030_all_jbj.patch ... [ ok ]
* 040_all_jbj4.patch ... [ ok ]
* 050_all_prompt.patch ... [ ok ]
* 060_all_rlogin-rsh.patch ... [ ok ]
* 070_all_nokrb.patch ... [ ok ]
* 080_all_jbj5.patch ... [ ok ]
* 090_all_userandhost.patch ... [ ok ]
* 100_all_strip.patch ... [ ok ]
* 110_all_lfs.patch ... [ ok ]
* 120_all_chdir.patch ... [ ok ]
* 130_all_pam-nologin.patch ... [ ok ]
* 140_all_nohostcheck.patch ... [ ok ]
* 150_all_rexec-netrc.patch ... [ ok ]
* 160_all_pam-sess.patch ... [ ok ]
* 170_all_errno.patch ... [ ok ]
* 180_all_rexec-sig.patch ... [ ok ]
* 190_all_nohost.patch ... [ ok ]
* 200_all_ignchld.patch ... [ ok ]
* 210_all_checkdir.patch ... [ ok ]
* 220_all_fbsd.patch ... [ ok ]
* Done with patching
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work/netkit-rsh-0.17 ...
Directories: /usr/bin /usr/sbin /usr/man
Checking if C compiler works... yes
Checking if i686-pc-linux-gnu-gcc accepts gcc warnings... yes
Checking if i686-pc-linux-gnu-gcc accepts -O2... yes
Checking for BSD signal semantics... yes
Checking for ncurses... yes
Checking for GNU libc... yes
Checking for PAM... yes
Checking for crypt... -lcrypt
Checking for rexec... yes
Checking for forkpty... -lutil
Checking for logwtmp... -lutil
Checking for socklen_t... yes
Checking for snprintf declaration... ok
Checking for snprintf implementation... ok
Generating MCONFIG...
(cd rcp && make)
(cd rexec && make)
(cd rexecd && make)
(cd rlogin && make)
make[1]: Entering directory `/var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work/netkit-rsh-0.17/rcp'
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -O2 -Wall -W -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline rcp.c -c
make[1]: Entering directory `/var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work/netkit-rsh-0.17/rexec'
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -O2 -Wall -W -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline rexec.c -c
make[1]: Entering directory `/var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work/netkit-rsh-0.17/rlogin'
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -O2 -Wall -W -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline rlogin.c -c
make[1]: Entering directory `/var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work/netkit-rsh-0.17/rexecd'
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -O2 -Wall -W -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -DUSE_PAM -DRESTRICT_FTP=1 rexecd.c -c
rexec.c: In function ‘main’:
rexec.c:221: warning: comparison between signed and unsigned
rlogin.c: In function ‘main’:
rlogin.c:289: warning: ‘sigblock’ is deprecated (declared at /usr/include/signal.h:181)
rlogin.c: In function ‘doit’:
rlogin.c:375: warning: ‘sigsetmask’ is deprecated (declared at /usr/include/signal.h:184)
rlogin.c: In function ‘setsignal’:
rlogin.c:388: warning: ‘sigblock’ is deprecated (declared at /usr/include/signal.h:181)
rlogin.c:392: warning: ‘sigsetmask’ is deprecated (declared at /usr/include/signal.h:184)
rlogin.c: In function ‘reader’:
rlogin.c:702: warning: ‘sigsetmask’ is deprecated (declared at /usr/include/signal.h:184)
rexecd.c: In function ‘PAM_conv’:
rexecd.c:197: warning: ignoring return value of ‘realloc’, declared with attribute warn_unused_result
rexecd.c:186: warning: unused parameter ‘appdata_ptr’
rexecd.c: In function ‘doit’:
rexecd.c:236: error: ‘ARG_MAX’ undeclared (first use in this function)
rexecd.c:236: error: (Each undeclared identifier is reported only once
rexecd.c:236: error: for each function it appears in.)
rexecd.c:442: warning: missing sentinel in function call
rexecd.c:236: warning: unused variable ‘cmdbuf’
make[1]: *** [rexecd.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work/netkit-rsh-0.17/rexecd'
make: *** [rexecd.build] Error 2
make: *** Waiting for unfinished jobs....
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -O2 -Wall -W -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline ruserpass.c -c
ruserpass.c:81: warning: no previous prototype for ‘xruserpass’
i686-pc-linux-gnu-gcc rexec.o ruserpass.o -lcrypt -lutil -lutil -o rexec
i686-pc-linux-gnu-gcc rlogin.o -lcrypt -lutil -lutil -o rlogin
make[1]: Leaving directory `/var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work/netkit-rsh-0.17/rexec'
make[1]: Leaving directory `/var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work/netkit-rsh-0.17/rlogin'
i686-pc-linux-gnu-gcc rcp.o -lcrypt -lutil -lutil -o rcp
make[1]: Leaving directory `/var/tmp/portage/net-misc/netkit-rsh-0.17-r9/work/netkit-rsh-0.17/rcp'
*
* ERROR: net-misc/netkit-rsh-0.17-r9 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2186: Called die
* The specific snippet of code:
* emake || die
* The die message:
* (no error message)
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/log/portage/net-misc:netkit-rsh-0.17-r9:20080610-131519.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-misc/netkit-rsh-0.17-r9/temp/environment'.
* |
|
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Tue Jun 10, 2008 2:32 pm Post subject: |
|
|
Libtool is supposed to be fixed by now, as for netkit-rsh, it's an other glibc 2.8 issue, a one that's not so easily solved,
already reported in bugzilla. |
|
Back to top |
|
|
thestick Guru
Joined: 07 Apr 2006 Posts: 531 Location: /dev/urandom
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|