Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 517548 - media-libs/libvorbis: [possibly] installed without pkg-config files
Summary: media-libs/libvorbis: [possibly] installed without pkg-config files
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-20 07:38 UTC by Alessandro Di Federico
Modified: 2014-07-20 11:50 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Di Federico 2014-07-20 07:38:40 UTC
I'm rebuilding media-video/vlc-2.1.4 with theora support. The build was failing at configure time with the following error:

----------- 8< -----------

configure:38118: $PKG_CONFIG --exists --print-errors "ogg vorbis >= 1.1 vorbisenc >= 1.1"
Package vorbis was not found in the pkg-config search path.
Perhaps you should add the directory containing `vorbis.pc'
to the PKG_CONFIG_PATH environment variable
No package 'vorbis' found
Package vorbisenc was not found in the pkg-config search path.
Perhaps you should add the directory containing `vorbisenc.pc'
to the PKG_CONFIG_PATH environment variable
No package 'vorbisenc' found
configure:38121: $? = 1
configure:38135: result: no
No package 'vorbis' found
No package 'vorbisenc' found
configure:38152: error: Library ogg vorbis >= 1.1 vorbisenc >= 1.1 needed for vorbis was not found

----------- 8< -----------

Rebuilding media-libs/libvorbis with static-libs fixed the issue.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-07-20 08:45:10 UTC
This is definitely not a USE=static-libs issue. Please try rebuilding it again, with USE=-static-libs.

Maybe something removed the pkg-config files accidentally. If you don't get them installed with USE=-static-libs, please attach build log for libvorbis.
Comment 2 Alessandro Di Federico 2014-07-20 09:18:36 UTC
You're right, rebuilding without static-libs brought back the .pc files. I wonder how did they disappear. Sorry for the useless noise.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2014-07-20 11:50:34 UTC
These are the packages that would be merged, in order:

[ebuild   R    ] media-libs/libvorbis-1.3.4  USE="static-libs" ABI_X86="32 (64) (-x32)" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

# qlist libvorbis |grep "\.pc"
/usr/lib32/pkgconfig/vorbis.pc
/usr/lib32/pkgconfig/vorbisenc.pc
/usr/lib32/pkgconfig/vorbisfile.pc
/usr/lib64/pkgconfig/vorbis.pc
/usr/lib64/pkgconfig/vorbisenc.pc
/usr/lib64/pkgconfig/vorbisfile.pc