Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 125745

Summary: media-gfx/fontforge-20050624 fails to compile (linker stage)
Product: Gentoo Linux Reporter: Chris Slycord <cslycord>
Component: Current packagesAssignee: Gentoo Fonts Team <fonts>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Chris Slycord 2006-03-10 11:41:49 UTC
Repro steps:
1) emerge fontforge

Result:
Fails to link to library /usr/lib/libXt.la

Expected:
Package to install

/bin/sh ../libtool i586-pc-linux-gnu-gcc -o makenomenh -march=athlon-xp -O2 -fomit-frame-pointer -pipe -I/usr/include/freetype2/ -I/usr/include/libxml2/  -I../inc -I. -I. -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ICONV_H=1 -D_HAS_LONGLONG=1 -DFONTFORGE_CONFIG_TYPE3=1 -DFONTFORGE_CONFIG_DEVICETABLES=1  '-DSHAREDIR="/usr/share/fontforge"' -DLIBDIR='"/usr/lib"' ./makenomenh.c -rpath /usr/lib  ../libgdraw.la ../libgunicode.la -lSM -lICE -lXi -lX11 -lxkbui  -ldl  -lpthread   -L/usr/lib -lm
mkdir .libs
libtool: link: cannot find the library `/usr/lib/libXt.la'
make[1]: *** [pfaedit-en.ui] Error 1
make[1]: Leaving directory `/var/tmp/portage/fontforge-20050624/work/fontforge-20050624/fontforge'
make: *** [fontforge] Error 2

!!! ERROR: media-gfx/fontforge-20050624 failed.
Call stack:
  ebuild.sh, line 1933:   Called dyn_compile
  ebuild.sh, line 971:   Called src_compile

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.


Portage 2.1_pre5-r4 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-ck5 i686)
=================================================================
System uname: 2.6.15-ck5 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoclean autoconfig candy ccache distlocks maketest nostrip sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://localhost http://distfiles.gentoo.org"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac aalib alsa audiofile avi bash-completion bitmap-fonts browserplugin bzip2 cdr divx4linux dvd dvdr dvdread encode f77 ffmpeg fortran gif gnome gtk gtk2 imlib jpeg lcms mad mikmod mmx mp3 mpeg ncurses nls nptl nsplugin ogg oggvorbis opengl oss pam pic png python quicktime readline real sdl slang spell sse ssl tcpd tiff truetype userlocales vorbis win32codecs wmf xml xml2 xmms xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Chris Slycord 2006-03-13 18:47:57 UTC
For some reason, after updating to glibc-2.4 and rebuilding my world, this problem went away.
Comment 2 SpanKY gentoo-dev 2006-04-07 21:34:47 UTC
sounds good