Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157738 - x11-libs/fox-1.6.19 ebuild fails
Summary: x11-libs/fox-1.6.19 ebuild fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Matti Bickel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 161956
  Show dependency tree
 
Reported: 2006-12-10 09:37 UTC by Cliff Yapp
Modified: 2007-02-04 19:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cliff Yapp 2006-12-10 09:37:31 UTC
Build error:

i686-pc-linux-gnu-g++ -O2 -march=athlon-xp -pipe -DHAVE_XFT_H=1 -I/usr/include/freetype2 -DHAVE_XSHAPE_H=1 -DHAVE_XSHM_H=1 -DFOX_THREAD_SAFE=1 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_GNU_SOURCE -DHAVE_JPEG_H=1 -DHAVE_PNG_H=1 -DHAVE_ZLIB_H=1 -DHAVE_BZ2LIB_H=1 -DHAVE_XCURSOR_H=1 -DHAVE_XRANDR_H=1 -DNO_XIM -DHAVE_CUPS_H=1 -Wall -W -Woverloaded-virtual -Wformat -O2 -DNDEBUG -Wuninitialized -ffast-math -finline-functions -fomit-frame-pointer -fexpensive-optimizations -fno-strict-aliasing -o .libs/chart chart.o icons.o  ./.libs/libCHART-1.6.so -L/usr/X11R6/lib -L/usr/local/lib ../src/.libs/libFOX-1.6.so /usr/lib/libXft.so /usr/lib/libfontconfig.so /usr/lib/libexpat.so /usr/lib/libfreetype.so /usr/lib/libXcursor.so /usr/lib/libXfixes.so /usr/lib/libXrandr.so /usr/lib/libXext.so /usr/lib/libXrender.so /usr/lib/libX11.so /usr/lib/libXau.so /usr/lib/libXdmcp.so /usr/lib/librt.so /usr/lib/libbn.so /usr/lib/libbu.so -lc -lpthread /usr/lib/libtcl8.4.so -ldl /usr/lib/libregex.so /usr/lib/libjpeg.so /usr/lib/libpng12.so -lm /usr/lib/libz.so -lbz2 -lcups -lnsl
../src/.libs/libFOX-1.6.so: undefined reference to `clock_gettime'
../src/.libs/libFOX-1.6.so: undefined reference to `clock_nanosleep'
collect2: ld returned 1 exit status
make[1]: *** [chart] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/fox-1.6.19/work/fox-1.6.19/chart'
make: *** [all-recursive] Error 1

!!! ERROR: x11-libs/fox-1.6.19 failed.



emerge --info

Portage 2.1.2_rc3-r1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.17-
gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(TM) XP 1800+
Gentoo Base System version 1.12.6
Last Sync: Sun, 10 Dec 2006 10:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms
/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/
distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/di
stfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac alsa alsa_cards_cmipci bash-completion berkdb bitmap-fonts bzip2 
cdr cli cracklib crypt cups dlloader dri dvd dvdread elibc_glibc encode firefox 
foomaticdb fortran gcj gdbm gif gpm gtk gtk2 iconv imagemagick imap input_device
s_keyboard input_devices_mouse ipv6 isdnlog jpeg kernel_linux lesstif libg++ lir
c live maildir mp3 mpeg mplayer ncurses nls nptl nptlonly nvidia ogg openal pam 
pcre pdf perl png ppds pppd python qt3 qt4 readline reflection sbcl sdl session 
spell spl ssl tcl tcpd tetex theora threads tk truetype truetype-fonts type1-fon
ts udev unicode userland_GNU video_cards_nv vorbis win32codecs xine xorg xv xvid
 zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGU
AS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Matti Bickel (RETIRED) gentoo-dev 2006-12-10 14:38:20 UTC
Installs cleanly here (ppc). I'll ask upstream about it.
Comment 2 Matti Bickel (RETIRED) gentoo-dev 2006-12-12 13:09:07 UTC
Seems like you're somehow not building w/ -lrt enabled. Can you rebuild your toolchain and report back if that fixes it?
All people i spoke to said it worked for them, so i'm quite stuck on this.
Comment 3 Cliff Yapp 2006-12-12 19:24:19 UTC
Sure, no problem - I've run revdep-rebuild a couple of times - is there some specific "rebuild toolchain" sequence I should use?
Comment 4 Matti Bickel (RETIRED) gentoo-dev 2007-02-02 09:43:33 UTC
Sorry for slacking on this.
It seems librt is checked for in configure via sem_init.
Please check if you get a line in your configure run like this:
[...]
checking for pthread.h... yes
checking for pthread_exit in -lpthread... yes
checking for sem_init in -lrt... yes
[...]

If that says yes for you, it absolutly should work. If not, i'll look into this some more.
Comment 5 Cliff Yapp 2007-02-03 13:01:06 UTC
Uh on - librt.  That's ringing some unfortunate bells - last time I installed brlcad librt got messed up but good.  Maybe it happened again, and checking the brlcad ebuild it looks like it did indeed overwrite librt.

How do I re-install librt?
Comment 6 Cliff Yapp 2007-02-04 19:16:31 UTC
Yep, that was it.  It was simply the bum librt from brlcad getting in the way.  Sorry for the confusion.