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

Bug 202257

Summary: x11-misc/bbpager-0.4.1_beta1 fails with --as-needed
Product: Gentoo Linux Reporter: Keyan <keyan>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 129413    

Description Keyan 2007-12-14 13:58:29 UTC
i am just rebuilding my system with the -Wl,--as-needed LDFLAG. bbpager fails to compile and complains (taken from build.log file):

ager.o main.o Baseresource.o resource.o wminterface.o pager.o desktop.o  -lXext -Wl,-O1 -Wl,--as-needed -L/usr/local/lib -lbt -lXft -lXrender -lfontconfig -lfreetype -lz -lX11

/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libbt.a(Application.o): In function `bt::Application::Application(std::basic_string<char, std::char_traits<char>, std::allocator<c
har> > const&, char const*, bool)':
(.text+0xd48): undefined reference to `XShapeQueryExtension'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libbt.a(Application.o): In function `bt::Application::Application(std::basic_string<char, std::char_traits<char>, std::allocator<c
har> > const&, char const*, bool)':
(.text+0x16f8): undefined reference to `XShapeQueryExtension'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libbt.a(Image.o): In function `bt::destroyShmImage(bt::Display const&, _XImage*)':
(.text+0x3b30): undefined reference to `XShmDetach'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libbt.a(Image.o): In function `bt::createShmImage(bt::Display const&, bt::ScreenInfo const&, unsigned int, unsigned int)':
(.text+0x3bc0): undefined reference to `XShmCreateImage'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libbt.a(Image.o): In function `bt::createShmImage(bt::Display const&, bt::ScreenInfo const&, unsigned int, unsigned int)':
(.text+0x3c5e): undefined reference to `XShmAttach'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libbt.a(Image.o): In function `bt::createShmImage(bt::Display const&, bt::ScreenInfo const&, unsigned int, unsigned int)':
(.text+0x3cad): undefined reference to `XShmAttach'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libbt.a(Image.o): In function `bt::startupShm(bt::Display const&)':
(.text+0x3d0d): undefined reference to `XShmQueryExtension'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libbt.a(Image.o): In function `bt::Image::renderPixmap(bt::Display const&, unsigned int)':
(.text+0x4f00): undefined reference to `XShmPutImage'
collect2: ld returned 1 exit status
make[2]: *** [bbpager] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-misc/bbpager-0.4.1_beta1/work/bbpager-0.4.1beta1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-misc/bbpager-0.4.1_beta1/work/bbpager-0.4.1beta1'
make: *** [all] Error 2


Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-12-14 14:54:46 UTC
We are not fixing stable ebuilds for this; try w/ 0.4.3 and report back.