Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284194 - media-tv/xbmc-9.04.1 fails to link internal libsmbclient
Summary: media-tv/xbmc-9.04.1 fails to link internal libsmbclient
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-08 16:59 UTC by Xake
Modified: 2009-12-18 16:46 UTC (History)
0 users

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


Attachments
patch in a check for libnsl. (xbmc-libnsl.patch,2.98 KB, patch)
2009-09-26 20:55 UTC, Xake
Details | Diff
Integrated different patches & called eautoconf from the ebuild (xbmc-9.04.1-r1.ebuild.tar.gz,4.77 KB, application/octet-stream)
2009-12-02 17:12 UTC, Guillaume BINET
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xake 2009-09-08 16:59:26 UTC
make[1]: Leaving directory `/var/tmp/portage/media-tv/xbmc-9.04.1/work/9.04.1_Babylon-linux-osx-win32/XBMC/xbmc/settings'
i686-pc-linux-gnu-g++ -march=native -mtune=native -O2 -pipe -ftree-vectorize -floop-interchange -floop-strip-mine -floop-block -ggdb -march=native -mtune=native -O2 -pipe -ftree-vectorize -floop-interchange -floop-strip-mine -floop-block -ggdb -DNDEBUG=1 -DNDEBUG=1 -o xbmc.bin -Wl,--whole-archive guilib/guilib.a guilib/common/gui_common.a guilib/tinyXML/tinyxml.a xbmc/xbmc.a xbmc/cdrip/cdrip.a xbmc/cores/cores.a xbmc/cores/DllLoader/dllloader.a xbmc/cores/DllLoader/exports/exports.a xbmc/cores/DllLoader/exports/util/exports_utils.a xbmc/cores/dvdplayer/DVDPlayer.a xbmc/cores/dvdplayer/DVDCodecs/DVDCodecs.a xbmc/cores/dvdplayer/DVDCodecs/Audio/Audio.a xbmc/cores/dvdplayer/DVDCodecs/Overlay/Overlay.a xbmc/cores/dvdplayer/DVDCodecs/Video/Video.a xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxers.a xbmc/cores/dvdplayer/DVDInputStreams/DVDInputStreams.a xbmc/cores/dvdplayer/DVDSubtitles/DVDSubtitles.a xbmc/cores/paplayer/paplayer.a xbmc/cores/AudioRenderers/audiorenderers.a xbmc/cores/VideoRenderers/VideoRenderer.a xbmc/cores/VideoRenderers/VideoShaders/VideoShaders.a xbmc/cores/ExternalPlayer/ExternalPlayer.a xbmc/FileSystem/filesystem.a xbmc/FileSystem/MusicDatabaseDirectory/musicdatabasedirectory.a xbmc/FileSystem/VideoDatabaseDirectory/videodatabasedirectory.a xbmc/karaoke/karaoke.a xbmc/lib/libcmyth/libcmyth.a xbmc/lib/libhts/libhts.a xbmc/lib/libPython/python.a xbmc/lib/libPython/xbmcmodule/xbmcmodule.a xbmc/lib/libRTMP/librtmp.a xbmc/lib/libscrobbler/scrobbler.a xbmc/lib/libRTV/librtv-i486-linux.a xbmc/lib/libshout/libshout-i486-linux.a xbmc/lib/libUPnP/libupnp-i486-linux.a xbmc/lib/libXBMS/libxbms-i486-linux.a xbmc/lib/libXDAAP/libxdaap-i486-linux.a xbmc/lib/libGoAhead/libGoAhead-i486-linux.a xbmc/lib/sqLite/sqllite.a xbmc/lib/UnrarXLib/UnrarXLib.a xbmc/linux/linux.a xbmc/screensavers/screensaver.a xbmc/settings/settings.a xbmc/utils/utils.a xbmc/visualizations/visualization.a xbmc/xbox/xbox.a xbmc/lib/libsmb/libsmbclient-i486-linux.a -Wl,--no-whole-archive -lXrandr -lfaac -lhal-storage -ldbus-1 -lcurl -lXinerama -lXmu -lXt -ljasper -lenca -lresolv -ldl -lSDL_mixer -lSDL_image -lSDL -lcdio -llzo2 -lpcre -ljpeg -lpng12 -lrt -lasound -lmysqlclient -lsqlite3 -lfribidi -lbz2 -lfontconfig -lfreetype -lvorbis -logg -lmad -lGLU -lGLEW -lGL  -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,--warn-once,--hash-style=gnu -rdynamic
xbmc/lib/libsmb/libsmbclient-i486-linux.a(access.o): In function `string_match':
access.c:(.text+0x5c7): undefined reference to `yp_get_default_domain'
collect2: ld returnerade avslutningsstatus 1
make: *** [xbmc.bin] Fel 1


Seems to be a gcc-4.4/glibc-2.10 issue.
This I has encountered in the -9999 ebuild before, and it seems like they fixed it upstream by linking against system libsmbclient instead.
So should we add libnsl to the linking or go patching the source to do the same as upstream?
Comment 1 SpanKY gentoo-dev 2009-09-26 11:35:52 UTC
the release only gets simple patching -- no external libs

feel free to post a patch to add -lnsl so that it works for you
Comment 2 Xake 2009-09-26 12:40:59 UTC
Do you want a patch for configure.ac for use with eautoreconf or a configure and configure.ac patch?
Comment 3 SpanKY gentoo-dev 2009-09-26 16:02:45 UTC
just patch the configure files since we arent running autotools already
Comment 4 Xake 2009-09-26 20:55:42 UTC
Created attachment 205340 [details, diff]
patch in a check for libnsl.

Patches both configure and configure.in in case of a future autoreconf
Comment 5 Guillaume BINET 2009-12-02 17:12:34 UTC
Created attachment 211786 [details]
Integrated different patches & called eautoconf from the ebuild

The previous patch didn't apply correctly on my box probably due to discrepencies in the configure generation. I just patched the configure.in and called the generation of configure.
Comment 6 SpanKY gentoo-dev 2009-12-18 16:46:39 UTC
xbmc-9.04* has been punted