After update media-libs/speex to 1.2.0, portage adds media-libs/mediastreamer and net-analyzer/wireshark to @preserved-rebuild set because of dependency on /usr/lib64/libspeexdsp.so: !!! existing preserved libs: >>> package: media-libs/speex-1.2.0 * - /usr/lib64/libspeexdsp.so.1 * - /usr/lib64/libspeexdsp.so.1.5.0 * used by /usr/bin/wireshark (net-analyzer/wireshark-99999999) * used by /usr/lib64/libmediastreamer_voip.so.3.0.0 (media-libs/mediastreamer-2.9.0-r1) If I try to emerge @preserved-rebuild set, I get following configure error for media-libs/mediastreamer: -------------------- checking for snd_pcm_open in -lasound... yes checking for LIBPULSE... yes checking for SPEEX... yes checking for SPEEX... yes checking for SPEEXDSP... no configure: error: No libspeexdsp library found. ... * Working directory: '/var/tmp/portage/media-libs/mediastreamer-2.9.0-r1/work/mediastreamer-2.9.0' * S: '/var/tmp/portage/media-libs/mediastreamer-2.9.0-r1/work/mediastreamer-2.9.0' >>> Failed to emerge media-libs/mediastreamer-2.9.0-r1, Log file: >>> '/var/tmp/portage/media-libs/mediastreamer-2.9.0-r1/temp/build.log' --------------------- It turned out media-libs/speex-1.2.0 no longer installs libspeexdsp by default and requires [utils] flag. Bug 611660 is related. Should I open related bug report for Wireshark? Thanks.
If it wants speexdsp, not some speex[utils] installed utils, the dep should be on speexdsp new package if speex is 1.2 or newer, not some utils USE flag that builds utils. I would feel free to file bugs for other stuff that fails by needing speexdsp, but suggest looking at the new package to the maintainer, not a potentially wrong USE=utils dep. Something like || ( ( media-libs/speexdsp >=media-libs/speex-1.2.0 ) <media-libs/speex-1.2.0 ) should work, but haven't thought deeply yet if it can be simplified or not.
(In reply to Mart Raudsepp from comment #1) > If it wants speexdsp, not some speex[utils] installed utils, the dep should > be on speexdsp new package if speex is 1.2 or newer, not some utils USE flag > that builds utils. Agree. > I would feel free to file bugs for other stuff that fails > by needing speexdsp, but suggest looking at the new package to the > maintainer, not a potentially wrong USE=utils dep. Ok. Thank you for the suggestion!
same at a tinderbox image
Created attachment 466224 [details] emerge-info.txt
Created attachment 466226 [details] config.log.tbz2
Created attachment 466228 [details] emerge-history.txt
Created attachment 466230 [details] environment
Created attachment 466232 [details] etc.portage.tbz2
Created attachment 466234 [details] media-libs:mediastreamer-2.9.0-r1:20170307-135148.log
Created attachment 466236 [details] temp.tbz2
Is there anything blocking this solution of the bug? `--depclean` still understandably wants to uninstall speexdsp every time I run it. (In reply to Mart Raudsepp from comment #1) > If it wants speexdsp, not some speex[utils] installed utils, the dep should > be on speexdsp new package if speex is 1.2 or newer, not some utils USE flag > that builds utils. I would feel free to file bugs for other stuff that fails > by needing speexdsp, but suggest looking at the new package to the > maintainer, not a potentially wrong USE=utils dep. > > Something like > || ( ( media-libs/speexdsp >=media-libs/speex-1.2.0 ) > <media-libs/speex-1.2.0 ) > should work, but haven't thought deeply yet if it can be simplified or not.
(In reply to Nikolaj Šujskij from comment #11) > Is there anything blocking this solution of the bug? `--depclean` still > understandably wants to uninstall speexdsp every time I run it. No, there's no good reason for that.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d289e33fe5adf335701c8fc1e9c3494e1523ec8 commit 0d289e33fe5adf335701c8fc1e9c3494e1523ec8 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2017-11-19 17:03:28 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2017-11-19 17:03:28 +0000 media-libs/mediastreamer: Add missing media-libs/speexdsp DEPEND Closes: https://bugs.gentoo.org/611762 Package-Manager: Portage-2.3.14, Repoman-2.3.6 .../mediastreamer/mediastreamer-2.9.0-r2.ebuild | 177 +++++++++++++++++++++ 1 file changed, 177 insertions(+)