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

Bug 361269

Summary: media-sound/sox-14.3.{0,1,2} depend on media-video/ffmpeg instead of virtual/ffmpeg
Product: Gentoo Linux Reporter: tbartdev
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: normal CC: paolo.pedroni
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 358919    
Attachments: Patch to make sox depend on virtual/ffmpeg

Description tbartdev 2011-03-30 11:14:45 UTC
If media-video/libav is installed as virtual/ffmpeg provider, installing sox with USE=ffmpeg results in pulling in media-video/ffmpeg as well (which is unnecessary at least and might clobber as well.. shouldn't the two ffmpeg implementations block each other, btw?)
However, virtual/ffmpeg should do for sox.

Reproducible: Always

Steps to Reproduce:
1. emerge media-video/libav (or virtual/ffmpeg which provides it if media-video/ffmpeg is not installed yet)
2. emerge -pv sox
3. media-video/ffmpeg gets pulled in as well


Expected Results:  
One ffmpeg implementation should be enough for sox

At least for now libav does it as well.

I think we'll have to see whether libav and ffmpeg diverge enough to break API compatibility - that's gonna be big fun for different software depending on either this or that and slotting it ;->
Comment 1 tbartdev 2011-03-30 11:17:11 UTC
Created attachment 267787 [details, diff]
Patch to make sox depend on virtual/ffmpeg

I don't know how to force a minimal version number with virtuals but it just works (TM) with the current versions in the tree.
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2011-04-03 11:08:05 UTC
Fixed in main tree. Thanks for report.