Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 611762 - media-libs/mediastreamer depends on media-libs/speexdsp if media-libs/speex >= 1.2.0
Summary: media-libs/mediastreamer depends on media-libs/speexdsp if media-libs/speex >...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Andrew Savchenko
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-05 05:08 UTC by Garri
Modified: 2017-11-19 17:45 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,6.53 KB, text/plain)
2017-03-07 18:23 UTC, Toralf Förster
Details
config.log.tbz2 (config.log.tbz2,11.24 KB, application/x-bzip)
2017-03-07 18:23 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,490.94 KB, text/plain)
2017-03-07 18:23 UTC, Toralf Förster
Details
environment (environment,105.82 KB, text/plain)
2017-03-07 18:23 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,60.73 KB, application/x-bzip)
2017-03-07 18:23 UTC, Toralf Förster
Details
media-libs:mediastreamer-2.9.0-r1:20170307-135148.log (media-libs:mediastreamer-2.9.0-r1:20170307-135148.log,12.59 KB, text/plain)
2017-03-07 18:24 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,29.34 KB, application/x-bzip)
2017-03-07 18:24 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Garri 2017-03-05 05:08:47 UTC
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.
Comment 1 Mart Raudsepp gentoo-dev 2017-03-05 05:20:55 UTC
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.
Comment 2 Garri 2017-03-05 06:45:26 UTC
(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!
Comment 3 Toralf Förster gentoo-dev 2017-03-07 18:23:35 UTC
same at a tinderbox image
Comment 4 Toralf Förster gentoo-dev 2017-03-07 18:23:39 UTC
Created attachment 466224 [details]
emerge-info.txt
Comment 5 Toralf Förster gentoo-dev 2017-03-07 18:23:43 UTC
Created attachment 466226 [details]
config.log.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-03-07 18:23:47 UTC
Created attachment 466228 [details]
emerge-history.txt
Comment 7 Toralf Förster gentoo-dev 2017-03-07 18:23:54 UTC
Created attachment 466230 [details]
environment
Comment 8 Toralf Förster gentoo-dev 2017-03-07 18:23:59 UTC
Created attachment 466232 [details]
etc.portage.tbz2
Comment 9 Toralf Förster gentoo-dev 2017-03-07 18:24:03 UTC
Created attachment 466234 [details]
media-libs:mediastreamer-2.9.0-r1:20170307-135148.log
Comment 10 Toralf Förster gentoo-dev 2017-03-07 18:24:08 UTC
Created attachment 466236 [details]
temp.tbz2
Comment 11 Nikolaj Šujskij 2017-04-02 08:33:56 UTC
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.
Comment 12 Andreas Sturmlechner gentoo-dev 2017-11-19 17:03:02 UTC
(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.
Comment 13 Larry the Git Cow gentoo-dev 2017-11-19 17:45:53 UTC
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(+)