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

Bug 441038

Summary: dev-libs/redland-1.0.15 QA Notice: pkg-config files with wrong LDFLAGS detected
Product: Gentoo Linux Reporter: David J Cozatt <djcozatt>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: QA CC: levertond
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
emerge info redland

Description David J Cozatt 2012-11-03 03:29:21 UTC
QA Notice: pkg-config files with wrong LDFLAGS detected:                      │
│/usr/lib64/pkgconfig/redland.pc:Libs.private: -Wl,-O1 -Wl,--as-needed -ldl -Wl,-O1 -Wl,--as-needed -ldb-4.8 

Reproducible: Always
Comment 1 David J Cozatt 2012-11-03 03:31:49 UTC
Created attachment 328170 [details]
build log
Comment 2 David J Cozatt 2012-11-03 03:32:33 UTC
Created attachment 328172 [details]
emerge info redland
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2013-04-01 18:16:14 UTC
Fixed in cvs.
Comment 4 Dmitry A. Bakshaev 2013-04-17 19:22:08 UTC
emerge redland-1.0.16.ebuild with empty LDFLAGS produce totally broken redland.pc.

emerge --info |grep LDFLAGS
LDFLAGS=""

before:
cat ./work/redland-1.0.16/redland.pc
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

plugindir=${libdir}/redland

swig=${prefix}/share/redland/Redland.i

have_raptor2_api=1

Name: Redland RDF API Library
Description: Redland RDF API and triple store library
Requires.private: raptor2 >= 2.0.7, rasqal >= 0.9.25, rasqal <= 0.9.99
Version: 1.0.16
Libs: -L${libdir} -lrdf
Libs.private:  -ldl
Cflags: -I${includedir}

after install:
cat ./image/usr/lib/pkgconfig/redland.pc
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

plugindir=${libdir}/redland

swig=${prefix}/share/redland/Redland.i

have_raptor2_api=1

Name:RedlandRDFAPILibrary
Description:RedlandRDFAPIandtriplestorelibrary
Requires.private:raptor2>=2.0.7,rasqal>=0.9.25,rasqal<=0.9.99
Version:1.0.16
Libs:-L${libdir}-lrdf
Libs.private:-ldl
Cflags:-I${includedir}