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

Bug 182775

Summary: media-video/camsource-0.7.1 broken w/ LDFLAGS="-Wl,-z,now"
Product: Gentoo Linux Reporter: Conrad Kostecki <conikost>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED FIXED    
Severity: enhancement    
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 129413    
Attachments: camsource-0.7.1-r1.ebuild
camsource-0.7.1-r1.patch

Description Conrad Kostecki gentoo-dev 2007-06-21 10:53:23 UTC
Hello!
I am using some LDFlags. Most of them works fine.

But the LDFlag "-Wl,-z,now" does not work and should be filtered.
Tested and reproducable on all of my pcs!

If it its used, camsource compiles fine, but does not work!

0 matching process(es)/thread(s) killed
Camsource 0.7.1 starting up...
[Jun 21 2007 14:41:39] Loading modules:
[Jun 21 2007 14:41:39]   input_v4l (alias input_v4l) version 0.7.1 OK
[Jun 21 2007 14:41:39] Failed to load module http
[Jun 21 2007 14:41:39] Last dlopen error: src/.libs/libhttp.so: cannot open shared object file: No such file or directory
[Jun 21 2007 14:41:39]   text (alias text) version 0.7.1 OK
Comment 1 Conrad Kostecki gentoo-dev 2007-06-21 11:09:41 UTC
Created attachment 122677 [details]
camsource-0.7.1-r1.ebuild

camsource-0.7.1-r1.ebuild
Comment 2 Conrad Kostecki gentoo-dev 2007-06-21 11:10:09 UTC
Created attachment 122679 [details, diff]
camsource-0.7.1-r1.patch

camsource-0.7.1-r1.patch

Patch for camsource-0.7.1.ebuild
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2007-06-21 11:19:18 UTC
IMO, You shouldn't be using possible unstable ldflags globally.. but however, I've filtered it.

  21 Jun 2007; Samuli Suominen <drac@gentoo.org> camsource-0.7.1.ebuild:
  filter-ldflags -Wl,-z,now for bug 182775.
Comment 4 Conrad Kostecki gentoo-dev 2007-06-21 11:22:48 UTC
Hi!
Well, i know that i should't use them! I am only using them on my "gentoo test pc" ... here i am testing my packages with some exotic cflags/cxxflags/ldflags ... and all my ldflags were working here ;) Just -Wl,-z,now was doing some strange things.

i thing it should be filtered, as it compiles fine, so you don't see for the first time, thats its not working.

On my "normal pc" i am not using any ldflags ;)

thx for comiting!
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2007-06-21 11:30:55 UTC
btw, how is 0.7.1 otherwise? working well?
Comment 6 Conrad Kostecki gentoo-dev 2007-06-21 11:44:37 UTC
Yes, works fine! w/o any problems!