Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 199520 - x11-wm/windowmaker-0.92.0-r5 cannot link (--as-needed?)
Summary: x11-wm/windowmaker-0.92.0-r5 cannot link (--as-needed?)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Gnustep project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-18 12:24 UTC by Patrizio Bassi
Modified: 2007-11-18 15:23 UTC (History)
0 users

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


Attachments
patch (windowmaker-0.92.0-r5-as-needed.patch,261 bytes, patch)
2007-11-18 13:30 UTC, Harald van Dijk (RETIRED)
Details | Diff
patch (windowmaker-0.92.0-r5-as-needed.patch,1.34 KB, patch)
2007-11-18 14:57 UTC, Harald van Dijk (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrizio Bassi 2007-11-18 12:24:23 UTC
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=nocona -mtune=nocona -mmmx -msse -msse2 -msse3 -mfpmath=sse -DBOUNCE_APP -DNEWAPPICON -DVIRTUAL_DESKTOP -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=both -o .libs/puzzle puzzle.o  -L/usr/lib64 ../../WINGs/.libs/libWINGs.so ../../wrlib/.libs/libwraster.so /usr/lib64/libtiff.so /usr/lib64/libXpm.so /usr/lib64/libpng12.so /usr/lib64/libjpeg.so /usr/lib64/libgif.so /usr/lib64/libSM.so /usr/lib64/libICE.so /usr/lib64/libXinerama.so /usr/lib64/libXext.so ../../WINGs/.libs/libWUtil.so /usr/lib64/libgettextlib.so /usr/lib64/libacl.so /usr/lib64/libattr.so -lc /usr/lib64/libcroco-0.6.so -lrt /usr/lib64/libglib-2.0.so -lncurses /usr/lib64/libXft.so /usr/lib64/libXrender.so /usr/lib64/libfontconfig.so /usr/lib64/libxml2.so -lm /usr/lib64/libfreetype.so -lz /usr/lib64/libX11.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so -ldl
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=nocona -mtune=nocona -mmmx -msse -msse2 -msse3 -mfpmath=sse -DBOUNCE_APP -DNEWAPPICON -DVIRTUAL_DESKTOP -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=both -o .libs/server server.o  -L/usr/lib64 ../../WINGs/.libs/libWUtil.so /usr/lib64/libgettextlib.so /usr/lib64/libacl.so /usr/lib64/libattr.so -lc /usr/lib64/libcroco-0.6.so -lrt /usr/lib64/libxml2.so -ldl -lz -lm /usr/lib64/libglib-2.0.so -lncurses
../../WINGs/.libs/libWINGs.so: undefined reference to `RGetClosestXColor'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcPatternDestroy'
../../WINGs/.libs/libWINGs.so: undefined reference to `RHSVtoRGB'
../../WINGs/.libs/libWINGs.so: undefined reference to `RSupportedFileFormats'
../../WINGs/.libs/libWINGs.so: undefined reference to `XftFontClose'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcPatternDel'
../../WINGs/.libs/libWINGs.so: undefined reference to `RCloneImage'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcPatternAddDouble'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcPatternGetDouble'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcPatternAddString'
../../WINGs/.libs/libWINGs.so: undefined reference to `RRenderMultiGradient'
../../WINGs/.libs/libWINGs.so: undefined reference to `RConvertImageMask'
../../WINGs/.libs/libWINGs.so: undefined reference to `RConvertImage'
../../WINGs/.libs/libWINGs.so: undefined reference to `XftDrawStringUtf8'
../../WINGs/.libs/libWINGs.so: undefined reference to `RRetainImage'
../../WINGs/.libs/libWINGs.so: undefined reference to `RScaleImage'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcPatternGetString'
../../WINGs/.libs/libWINGs.so: undefined reference to `XftDrawRect'
../../WINGs/.libs/libWINGs.so: undefined reference to `RGetImageFromXPMData'
../../WINGs/.libs/libWINGs.so: undefined reference to `RCombineImageWithColor'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcFontSetDestroy'
../../WINGs/.libs/libWINGs.so: undefined reference to `RErrorCode'
../../WINGs/.libs/libWINGs.so: undefined reference to `RLoadImage'
../../WINGs/.libs/libWINGs.so: undefined reference to `RMessageForError'
../../WINGs/.libs/libWINGs.so: undefined reference to `RCreateContext'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcPatternGet'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcFontList'
../../WINGs/.libs/libWINGs.so: undefined reference to `RReleaseImage'
../../WINGs/.libs/libWINGs.so: undefined reference to `XftFontOpenName'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcObjectSetBuild'
../../WINGs/.libs/libWINGs.so: undefined reference to `XShapeCombineMask'
../../WINGs/.libs/libWINGs.so: undefined reference to `XftDrawChange'
../../WINGs/.libs/libWINGs.so: undefined reference to `XftXlfdParse'
../../WINGs/.libs/libWINGs.so: undefined reference to `RCreateImage'
../../WINGs/.libs/libWINGs.so: undefined reference to `XftTextExtentsUtf8'
../../WINGs/.libs/libWINGs.so: undefined reference to `RRGBtoHSV'
../../WINGs/.libs/libWINGs.so: undefined reference to `RRenderGradient'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcPatternCreate'
../../WINGs/.libs/libWINGs.so: undefined reference to `XftDrawCreate'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcNameUnparse'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcNameParse'
../../WINGs/.libs/libWINGs.so: undefined reference to `RGetSubImage'
collect2: ld returned 1 exit status
make[2]: *** [fontl] Error 1
make[2]: *** Waiting for unfinished jobs....
creating server
../../WINGs/.libs/libWINGs.so: undefined reference to `FcPatternDestroy'
../../WINGs/.libs/libWINGs.so: undefined reference to `XftFontClose'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcPatternDel'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcPatternAddDouble'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcPatternGetDouble'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcPatternAddString'
../../WINGs/.libs/libWINGs.so: undefined reference to `XftDrawStringUtf8'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcPatternGetString'
../../WINGs/.libs/libWINGs.so: undefined reference to `XftDrawRect'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcFontSetDestroy'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcPatternGet'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcFontList'
../../WINGs/.libs/libWINGs.so: undefined reference to `XftFontOpenName'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcObjectSetBuild'
../../WINGs/.libs/libWINGs.so: undefined reference to `XftDrawChange'
../../WINGs/.libs/libWINGs.so: undefined reference to `XftXlfdParse'
../../WINGs/.libs/libWINGs.so: undefined reference to `XftTextExtentsUtf8'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcPatternCreate'
../../WINGs/.libs/libWINGs.so: undefined reference to `XftDrawCreate'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcNameUnparse'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcNameParse'
collect2: ld returned 1 exit status
make[2]: *** [puzzle] Error 1
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=nocona -mtune=nocona -mmmx -msse -msse2 -msse3 -mfpmath=sse -DBOUNCE_APP -DNEWAPPICON -DVIRTUAL_DESKTOP -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=both -o .libs/colorpick colorpick.o  -L/usr/lib64 ../../WINGs/.libs/libWINGs.so ../../wrlib/.libs/libwraster.so /usr/lib64/libtiff.so /usr/lib64/libXpm.so /usr/lib64/libpng12.so /usr/lib64/libjpeg.so /usr/lib64/libgif.so /usr/lib64/libSM.so /usr/lib64/libICE.so /usr/lib64/libXinerama.so /usr/lib64/libXext.so ../../WINGs/.libs/libWUtil.so /usr/lib64/libgettextlib.so /usr/lib64/libacl.so /usr/lib64/libattr.so -lc /usr/lib64/libcroco-0.6.so -lrt /usr/lib64/libglib-2.0.so -lncurses /usr/lib64/libXft.so /usr/lib64/libXrender.so /usr/lib64/libfontconfig.so /usr/lib64/libxml2.so -lm /usr/lib64/libfreetype.so -lz /usr/lib64/libX11.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so -ldl
../../WINGs/.libs/libWINGs.so: undefined reference to `RGetClosestXColor'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcPatternDestroy'
../../WINGs/.libs/libWINGs.so: undefined reference to `RHSVtoRGB'
../../WINGs/.libs/libWINGs.so: undefined reference to `RSupportedFileFormats'
../../WINGs/.libs/libWINGs.so: undefined reference to `XftFontClose'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcPatternDel'
../../WINGs/.libs/libWINGs.so: undefined reference to `RCloneImage'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcPatternAddDouble'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcPatternGetDouble'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcPatternAddString'
../../WINGs/.libs/libWINGs.so: undefined reference to `RRenderMultiGradient'
../../WINGs/.libs/libWINGs.so: undefined reference to `RConvertImageMask'
../../WINGs/.libs/libWINGs.so: undefined reference to `RConvertImage'
../../WINGs/.libs/libWINGs.so: undefined reference to `XftDrawStringUtf8'
../../WINGs/.libs/libWINGs.so: undefined reference to `RRetainImage'
../../WINGs/.libs/libWINGs.so: undefined reference to `RScaleImage'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcPatternGetString'
../../WINGs/.libs/libWINGs.so: undefined reference to `XftDrawRect'
../../WINGs/.libs/libWINGs.so: undefined reference to `RGetImageFromXPMData'
../../WINGs/.libs/libWINGs.so: undefined reference to `RCombineImageWithColor'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcFontSetDestroy'
../../WINGs/.libs/libWINGs.so: undefined reference to `RErrorCode'
../../WINGs/.libs/libWINGs.so: undefined reference to `RLoadImage'
../../WINGs/.libs/libWINGs.so: undefined reference to `RMessageForError'
../../WINGs/.libs/libWINGs.so: undefined reference to `RCreateContext'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcPatternGet'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcFontList'
../../WINGs/.libs/libWINGs.so: undefined reference to `RReleaseImage'
../../WINGs/.libs/libWINGs.so: undefined reference to `XftFontOpenName'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcObjectSetBuild'
../../WINGs/.libs/libWINGs.so: undefined reference to `XShapeCombineMask'
../../WINGs/.libs/libWINGs.so: undefined reference to `XftDrawChange'
../../WINGs/.libs/libWINGs.so: undefined reference to `XftXlfdParse'
../../WINGs/.libs/libWINGs.so: undefined reference to `RCreateImage'
../../WINGs/.libs/libWINGs.so: undefined reference to `XftTextExtentsUtf8'
../../WINGs/.libs/libWINGs.so: undefined reference to `RRGBtoHSV'
../../WINGs/.libs/libWINGs.so: undefined reference to `RRenderGradient'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcPatternCreate'
../../WINGs/.libs/libWINGs.so: undefined reference to `XftDrawCreate'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcNameUnparse'
../../WINGs/.libs/libWINGs.so: undefined reference to `FcNameParse'
../../WINGs/.libs/libWINGs.so: undefined reference to `RGetSubImage'
collect2: ld returned 1 exit status
make[2]: *** [colorpick] Error 1
make[2]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/x11-wm/windowmaker-0.92.0-r5/work/WindowMaker-0.92.0/WINGs/Examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/x11-wm/windowmaker-0.92.0-r5/work/WindowMaker-0.92.0/WINGs'
make: *** [all-recursive] Error 1
 *
 * ERROR: x11-wm/windowmaker-0.92.0-r5 failed.
 * Call stack:
 *                      ebuild.sh, line 1701:  Called dyn_compile
 *                      ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *                      ebuild.sh, line   44:  Called src_compile
 *   windowmaker-0.92.0-r5.ebuild, line  145:  Called die
 * The specific snippet of code:
 *      emake || die "windowmaker: make has failed"
 *  The die message:
 *   windowmaker: make has failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/mnt/Dati/Gentoo/tmp/portage/x11-wm/windowmaker-0.92.0-r5/temp/build.log'.
 *
Comment 1 Patrizio Bassi 2007-11-18 12:24:33 UTC
Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.2.2, glibc-2.7-r0, 2.6.23.1 x86_64)
=================================================================
System uname: 2.6.23.1 x86_64 Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz
Timestamp of tree: Sun, 18 Nov 2007 10:27:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python:     2.5.1-r3
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=nocona -mtune=nocona -fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/mail/dspam /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/config /var/run/dspam"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -pipe -march=nocona -mtune=nocona -fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="39"
LC_ALL="it_IT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=both"
LINGUAS="it"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/mnt/Dati/Gentoo/tmp/"
PORTDIR="/mnt/Dati/Gentoo/portage/"
PORTDIR_OVERLAY="/usr/portage/local/layman/vmware /usr/local/portage/myportage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="64bit 7zip X X509 Xaw3d a52 aac aalib accessibility ace acl acpi activefilter adns aiglx aio alsa amd amd64 amr amrr amuled ao aoss apache2 arj asf aspnet2 async atk audacious audiofile authfile automount bash-completion berkdb bidi binary-drivers bitmap-fonts bittorrent blas bootsplash browserplugin bzip2 cairo calendar caps cdda cddb cdio cdparanoia cdr cgi charconv chardet chroot ciao clamav clearcase cli client codecs corba cracklib crypt cscope css ctype cups curl cvs daemon dar64 dba dbus depth32 dga dhcp dio directfb diskio divx djbfft dmi dri dvd dvdr dvdread edl encode ethereal exif expat extraengine faac faad fam fastbuild fbcon ffmpeg fftw firefox flac flash foreign-package fortran ftp gcj gd gdbm geometry ggi gif gimp gimpprint glibc-omitfp glitz glut glx gnokii gnome gnutls gphoto2 gpm graphviz gs gtk gtk2 gtkhtml guile h264 hal hddtemp iconv idea idn imagemagick imap innodb ipod ipv6 irda irmc isdnlog jack java java5 javamail javascript jikes jit joystick jpeg jpeg2k junit justify kde kdeenablefinal kdehiddenvisibility kerberos kqemu lame lapack lcd lcms ldap libcaca libclamav libgda libusb lirc live lm_sensors lua lzo mad mailwrapper matroska md5sum mdb mhash midi mikmod mime mmx mmx2 mmxext mng mono mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mpeg4 mplayer mpm-prefork msn msnextras mudflap musepack mysql mysqli mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses neXt network ngui nls nntp no_wxgtk1 nobsh nopie nossp noxalan nptl nptlonly nsplugin nv nvidia oav odbc ogg openal opengl openmp openssl operanom2 pam pcre pda pdf pdo pear perl php pmu png pnp postgres pppd pthreads pulseaudio python qemu-fast qhull qt3 qt3support qt4 quicktime quotas readline reflection rrdtool rtc ruby samba scanner sdl server session sftplogging sguil slang slp smp snortsam soap sockets socks5 softmmu softquota spamassassin speex spell spl sqlite3 sse sse2 sse3 ssl ssse3 subject-rewrite svg tao tcltk tcpd tetex tga theora tiff tokenizer truetype truetype-fonts trusted type1-fonts unicode usb userlocales vorbis wma wmf wmv wsconvert wxwindows x264 xanim xchatdccserver xchattext xcomposite xine xinerama xml xml2 xmlrpc xorg xosd xpm xprint xsl xv xvid xvm xvmc zlib" ALSA_CARDS="hda-intel" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="fbdev vesa vga nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Fabian Groffen gentoo-dev 2007-11-18 12:30:57 UTC
Could you please try with MAKEOPTS reduced to 2 or 1?
Comment 3 Patrizio Bassi 2007-11-18 12:48:33 UTC
no fails, same issue (actually it's a linking problem like this is never triggered by jobs issue)
Comment 4 Harald van Dijk (RETIRED) gentoo-dev 2007-11-18 13:30:58 UTC
Created attachment 136291 [details, diff]
patch

Yes, this is an as-needed problem, and this particular one can be fixed with this patch. (I haven't checked for other similar problems, or even an incomplete library list in this particular case, just that the compilation and linking now succeeds.)
Comment 5 Harald van Dijk (RETIRED) gentoo-dev 2007-11-18 14:57:32 UTC
Created attachment 136293 [details, diff]
patch

Some extra missing libraries added, and making sure libWINGs gets installed. WindowMaker builds, installs, and runs without errors with this for me.

<math.h> is not as-needed related, but still should really be included.
Comment 6 Fabian Groffen gentoo-dev 2007-11-18 14:59:47 UTC
truedfx: feel free to apply you patch in the ebuild.
Comment 7 Harald van Dijk (RETIRED) gentoo-dev 2007-11-18 15:23:48 UTC
Alrighty, fixed now.