Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154280 - dev-embedded/gpsim-0.21.11-r1 fails to emerge with --as-needed
Summary: dev-embedded/gpsim-0.21.11-r1 fails to emerge with --as-needed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Embedded Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed autotools-deps
  Show dependency tree
 
Reported: 2006-11-06 12:41 UTC by Matthias Schwarzott
Modified: 2007-01-04 22:46 UTC (History)
1 user (show)

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


Attachments
gpsim-0.21.11-r1.ebuild patch (gpsim-0.21.11-r1.ebuild.patch,920 bytes, patch)
2006-12-05 03:15 UTC, Timothy Redaelli (RETIRED)
Details | Diff
files/gpsim-0.21.11-eXdbm.patch patch (gpsim-0.21.11-eXdbm.patch,1.15 KB, patch)
2006-12-05 03:16 UTC, Timothy Redaelli (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Schwarzott gentoo-dev 2006-11-06 12:41:53 UTC
dev-embedded/gpsim-0.21.11-r1 cannot be emerged with LDFLAGS="-Wl,--as-needed"

/bin/sh ../libtool --mode=link --tag=CXX i686-pc-linux-gnu-g++  -O2 -march=athlon-xp -fomit-frame-pointer -pipe  -Wl,--as-needed -o gpsim -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include main.o ../src/libgpsim.la ../cli/libgpsimcli.la ../gui/libgpsimgui.la ../eXdbm/libgpsim_eXdbm.la    -lstdc++ -lpopt -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0   -lgtkextra-x11-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -lreadline -lpopt
mkdir .libs
i686-pc-linux-gnu-g++ -O2 -march=athlon-xp -fomit-frame-pointer -pipe -Wl,--as-needed -o .libs/gpsim -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include main.o  ../src/.libs/libgpsim.so ../cli/.libs/libgpsimcli.so ../gui/.libs/libgpsimgui.so ../eXdbm/.libs/libgpsim_eXdbm.so -lstdc++ -pthread /usr/lib/libgthread-2.0.so -lpthread /usr/lib/libgtkextra-x11-2.0.so /usr/lib/libXext.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libxml2.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libfontconfig.so /usr/lib/libfreetype.so /usr/lib/libexpat.so /usr/lib/libpng12.so -lz /usr/lib/libXrender.so /usr/lib/libX11.so /usr/lib/libXau.so /usr/lib/libXdmcp.so -lm /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -lrt -lreadline /usr/lib/libpopt.so
../gui/.libs/libgpsimgui.so: undefined reference to `eXdbmGetList'
../gui/.libs/libgpsimgui.so: undefined reference to `eXdbmGetLastError'
../gui/.libs/libgpsimgui.so: undefined reference to `eXdbmGetVarString'
../gui/.libs/libgpsimgui.so: undefined reference to `eXdbmNewDatabase'
../gui/.libs/libgpsimgui.so: undefined reference to `eXdbmCreateList'
../gui/.libs/libgpsimgui.so: undefined reference to `eXdbmInit'
../gui/.libs/libgpsimgui.so: undefined reference to `eXdbmOpenDatabase'
../gui/.libs/libgpsimgui.so: undefined reference to `eXdbmChangeVarInt'
../gui/.libs/libgpsimgui.so: undefined reference to `eXdbmUpdateDatabase'
../cli/.libs/libgpsimcli.so: undefined reference to `rl_forced_update_display'
../cli/.libs/libgpsimcli.so: undefined reference to `rl_attempted_completion_function'
../cli/.libs/libgpsimcli.so: undefined reference to `rl_getc_function'
../gui/.libs/libgpsimgui.so: undefined reference to `eXdbmGetVarInt'
../cli/.libs/libgpsimcli.so: undefined reference to `rl_callback_handler_install'
../gui/.libs/libgpsimgui.so: undefined reference to `eXdbmGetErrorString'
../cli/.libs/libgpsimcli.so: undefined reference to `rl_callback_handler_remove'
../cli/.libs/libgpsimcli.so: undefined reference to `add_history'
../cli/.libs/libgpsimcli.so: undefined reference to `rl_completion_matches'
../gui/.libs/libgpsimgui.so: undefined reference to `eXdbmCreateVarString'
../gui/.libs/libgpsimgui.so: undefined reference to `eXdbmCreateVarInt'
../gui/.libs/libgpsimgui.so: undefined reference to `eXdbmChangeVarString'
../cli/.libs/libgpsimcli.so: undefined reference to `rl_callback_read_char'
collect2: ld returned 1 exit status
make[2]: *** [gpsim] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/dev-embedded/gpsim-0.21.11-r1/work/gpsim-0.21.11/gpsim'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/dev-embedded/gpsim-0.21.11-r1/work/gpsim-0.21.11'
make: *** [all] Fehler 2

!!! ERROR: dev-embedded/gpsim-0.21.11-r1 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  gpsim-0.21.11-r1.ebuild, line 45:   Called die

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

# emerge --info
Portage 2.1.2_rc1-r4 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.18.1 i686)
=================================================================
System uname: 2.6.18.1 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.12.6
Last Sync: Unknown
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r3, 2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  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-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/my-distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-detect cvs distlocks metadata-transfer parallel-fetch sandbox sfperms sign strict"
GENTOO_MIRRORS="http://85.25.128.62 http://pandemonium.tiscali.de/pub/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j4"
PKGDIR="/usr/my-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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/matze/gentoo/overlays/de /home/matze/gentoo/overlays/zzam /home/matze/gentoo/overlays/vdr/testing /home/matze/gentoo/overlays/vdr/experimental /usr/portage/local/layman/sunrise"
SYNC="cvs://zzam@cvs.gentoo.org:/var/cvsroot"
USE="x86 3dnow 3dnowext X Xaw3d a52 aac acl alsa apache2 artswrappersuid audacious berkdb bitmap-fonts bluetooth bzip2 cairo cap caps cddb cdparanoia cdr cli cracklib crypt cups dbus dlloader doc dri dts dvb dvd dvdr eds elibc_glibc emboss encode exif fam fbcon ffmpeg firefox font-server fortran fuse gcj gdbm gif gimpprint glut gpm gstreamer gtk hal iconv imap input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg jpeg2k kde kdexdeltas kernel_linux ldap libg++ linguas_de lirc lirc_devices_all logitech-mouse mad mikmod mmx mmxext mng mp3 mpeg mplayer musicbrainz mysql ncurses nls nptl nptlonly nvram offensive ogg opengl oss pam pcre pdf perl png ppds pppd python qt3 qt4 quotes readline reflection samba session sms sndfile spell spl sqlite sse ssl svg taglib tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales vcd vdr video_cards_nv video_cards_nvidia video_cards_v4l video_cards_vbdev video_cards_vesa visualization vorbis win32codecs wma wmf xinerama xml xorg xrandr xslt xv zlib zvbi"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_O
Comment 1 Timothy Redaelli (RETIRED) gentoo-dev 2006-12-05 03:15:04 UTC
Created attachment 103386 [details, diff]
gpsim-0.21.11-r1.ebuild patch
Comment 2 Timothy Redaelli (RETIRED) gentoo-dev 2006-12-05 03:16:00 UTC
Created attachment 103387 [details, diff]
files/gpsim-0.21.11-eXdbm.patch patch
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-01-04 22:46:49 UTC
As this waited for a while now and the ebuild was applying a broken patch anyway, I took the liberty of fixing it.