Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256443 - games-rpg/tmw-0.0.28 - configure: error: *** Unable to find Guichan SDL library with LDFLAGS="-Wl,--as-needed"
Summary: games-rpg/tmw-0.0.28 - configure: error: *** Unable to find Guichan SDL libr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2009-01-26 19:32 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2009-02-03 16:51 UTC (History)
0 users

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


Attachments
config.log (config.log,47.09 KB, text/plain)
2009-01-26 19:33 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-01-26 19:32:49 UTC
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for sdl-config... /usr/bin/sdl-config
checking for pkg-config... /usr/bin/pkg-config
checking for curl-config... /usr/bin/curl-config
checking for pthread_create in -lpthread... yes
checking for gcnGuichanVersion in -lguichan... yes
checking guichan.hpp usability... yes
checking guichan.hpp presence... yes
checking for guichan.hpp... yes
checking for SDL_Init in -lSDL... yes
checking SDL.h usability... yes
checking SDL.h presence... yes
checking for SDL.h... yes
checking for inflate in -lz... yes
checking for PHYSFS_init in -lphysfs... yes
checking physfs.h usability... yes
checking physfs.h presence... yes
checking for physfs.h... yes
checking for curl_global_init in -lcurl... yes
checking curl/curl.h usability... yes
checking curl/curl.h presence... yes
checking for curl/curl.h... yes
checking for xmlInitParser in -lxml2... yes
checking libxml/xmlreader.h usability... yes
checking libxml/xmlreader.h presence... yes
checking for libxml/xmlreader.h... yes
checking for png_write_info in -lpng... yes
checking for IMG_LoadPNG_RW in -lSDL_image... yes
checking for TTF_Quit in -lSDL_ttf... yes
checking for Mix_OpenAudio in -lSDL_mixer... yes
checking for gcnSDL in -lguichan_sdl... no
configure: error:  *** Unable to find Guichan SDL library (http://guichan.sf.net/)

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/games-rpg/tmw-0.0.28/work/tmw-0.0.28/config.log
 *
 * ERROR: games-rpg/tmw-0.0.28 failed.


Reproducible: Always

Steps to Reproduce:




barcelona:~ # emerge -pqv guichan $(qlist -CI ^sdl)
[ebuild   R   ] media-libs/sdl-image-1.2.7  USE="gif jpeg png tiff"
[ebuild   R   ] media-libs/sdl-mixer-1.2.8  USE="mikmod mp3 -timidity vorbis"
[ebuild   R   ] media-libs/sdl-net-1.2.7
[ebuild   R   ] media-libs/sdl-sound-1.0.3  USE="flac mikmod mp3 mpeg -physfs -speex vorbis"
[ebuild   R   ] media-libs/sdl-ttf-2.0.9  USE="X"
[ebuild   R   ] dev-games/guichan-0.8.1  USE="-allegro opengl sdl"
barcelona:~ # emerge --info
Portage 2.2_rc23 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.27.13 x86_64)
=================================================================
System uname: Linux-2.6.27.13-x86_64-Quad-Core_AMD_Opteron-tm-_Processor_2354-with-glibc2.2.5
Timestamp of tree: Mon, 26 Jan 2009 19:00:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.4-r2
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.2
sys-apps/sandbox:    1.3.2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=barcelona -mtune=barcelona -O2 -finline-functions -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/X11/Sessions /etc/X11/app-defaults /etc/X11/xinit /etc/adobe /etc/bash_completion.d /etc/bonobo-activation /etc/ca-certificates.conf /etc/cups /etc/dbus-1 /etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/fish /etc/fonts /etc/fonts/fonts.conf /etc/foomatic /etc/gconf /etc/gentoo-release /etc/gimp /etc/gnome-vfs-2.0 /etc/gtk /etc/gtk-2.0 /etc/hotplug /etc/hotplug.d /etc/imlib /etc/init.d /etc/iproute2 /etc/nas /etc/ntop /etc/pam.d /etc/pango /etc/profile.d /etc/revdep-rebuild /etc/sandbox.d /etc/sasl2 /etc/sgml /etc/ssl /etc/ssmtp /etc/t1lib /etc/terminfo /etc/udev/rules.d /etc/xinetd.d /etc/xml /etc/zsh"
CXXFLAGS="-march=barcelona -mtune=barcelona -O2 -finline-functions -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --jobs=1 --with-bdeps=y"
FEATURES="collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror ftp://ftp.tu-clausthal.de/pub/linux/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1,--hash-style=gnu,--sort-common,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j7"
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"
SYNC="rsync://192.168.0.254/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa amd64 berkdb branding bzip2 cairo cdparanoia cdr cli cracklib crypt cups dvd dvdr dvdread emboss encode fam ffmpeg flac gdbm gif gnutls gpg gtk iconv idn imagemagick imlib isdnlog jpeg jpeg2k kde kdehiddenvisibility lame mad midi mikmod mjpeg mmx mmxext mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf png ppds pppd qt3 qt3support quicktime readline reflection sdl session silc slang smp spell spl sse sse2 ssl startup-notification svg sysfs theora threads tiff truetype usb v4l2 vcd vorbis x264 xcomposite xml xorg xulrunner xv xvid zlib" ALSA_CARDS="emu10k1 hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-01-26 19:33:25 UTC
Created attachment 179799 [details]
config.log
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-01-26 19:42:16 UTC
Alright, this is an --as-needed issue. Removing --as-needed from LDFLAGS makes configure happy.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2009-01-27 06:11:15 UTC
Patches welcome.  I don't use --as-needed so it's not going to get fixed without a patch submission.
Comment 4 Tupone Alfredo gentoo-dev 2009-01-28 11:31:56 UTC
A fix is in portage.
Re emerge dev-games/guichan (after waiting some hours and a resync) as the fix is there.
Thanks for report
Comment 5 Hong Hao 2009-01-28 14:25:04 UTC
Where is the patch, it's not in the tree? ;-)
Comment 6 Hong Hao 2009-01-28 15:10:29 UTC
meh, sorry. It's my network problem.
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2009-02-03 03:55:36 UTC
reopened.  The as-needed "fix" breaks the build.  See bug 257455
Comment 8 Tupone Alfredo gentoo-dev 2009-02-03 16:51:25 UTC
This should be fixed again. :)