Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 416411 - media-libs/libpostproc and virtual/ffmpeg depend on each other and cause circular dependency
Summary: media-libs/libpostproc and virtual/ffmpeg depend on each other and cause circ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal QA
Assignee: Tomáš Chvátal (RETIRED)
URL:
Whiteboard:
Keywords:
: 416441 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-05-17 16:47 UTC by Alex Barker
Modified: 2012-05-18 00:29 UTC (History)
19 users (show)

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


Attachments
emerge.info (emerge.info,4.96 KB, text/plain)
2012-05-17 16:48 UTC, Alex Barker
Details
build.log (build.log,2.03 KB, text/plain)
2012-05-17 16:50 UTC, Alex Barker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Barker 2012-05-17 16:47:57 UTC
When trying to update my system I have the following circular dependency.

(virtual/ffmpeg-0.10.3::gentoo, ebuild scheduled for merge) depends on
 (media-libs/libpostproc-0.8.0.20120217::gentoo, ebuild scheduled for merge) (runtime)
  (virtual/ffmpeg-0.10.3::gentoo, ebuild scheduled for merge) (buildtime)

When trying to install media-libs/libpostproc I get the following error:
>>> Configuring source in /var/tmp/portage/media-libs/libpostproc-0.8.0.20120217/work/libpostproc-0.8.0.20120217 ...
Unknown option "--enable-pic".
See ./configure --help for available options.



Reproducible: Always
Comment 1 Alex Barker 2012-05-17 16:48:20 UTC
Created attachment 312125 [details]
emerge.info
Comment 2 Alex Barker 2012-05-17 16:50:03 UTC
Created attachment 312127 [details]
build.log
Comment 3 megabaks 2012-05-17 17:06:29 UTC
1. circular dependency.
2. file collisions: ffmpeg vs libpostproc
are you crazy!?
needed:
1. ffmpeg and libpostproc in 1 ebuild
2. dont install some files with ffmpeg (postprocess.h, libpostproc.so*, libpostproc.pc)
3. 1+2 over USE
//sorry my bad english
Comment 4 Paul Tomkiel 2012-05-17 17:09:37 UTC
Same here
Comment 5 Tim Ryan 2012-05-17 17:10:27 UTC
Same on my system today. I'm on ~amd64. I'll post info if needed.
Comment 6 Pryka 2012-05-17 17:30:15 UTC
Confirmed
Comment 7 Nikoli 2012-05-17 17:33:05 UTC
It should be in PDEPEND
Comment 8 Jouni Rinne 2012-05-17 19:10:28 UTC
Well, someone fix this stupidity ASAP, I can't update my system properly because of this.
Comment 9 Nikolaj Šujskij 2012-05-17 19:16:09 UTC
(In reply to comment #8)
> Well, someone fix this stupidity ASAP, I can't update my system properly
> because of this.

Mask virtual/ffmpeg for a while, that's all
Comment 10 Jouni Rinne 2012-05-17 19:44:04 UTC
No, if I do that, portage wants to downgrade vlc to 1.1.x
Comment 11 Graham Murray 2012-05-17 19:55:28 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > Well, someone fix this stupidity ASAP, I can't update my system properly
> > because of this.
> 
> Mask virtual/ffmpeg for a while, that's all

I tried that but emerge stopped and asked permission for autounmask to add virtual/ffmpeg to /etc/portage/package.unmask
Comment 12 gregorcy 2012-05-17 19:58:26 UTC
> Well, someone fix this stupidity ASAP, I can't update my system properly
> because of this.

This is a good way to get people to help you with your problem.
Comment 13 Markos Chandras (RETIRED) gentoo-dev 2012-05-17 20:09:29 UTC
(In reply to comment #8)
> Well, someone fix this stupidity ASAP, I can't update my system properly
> because of this.

learn how to behave or refrain from posting comments on bugzilla
Comment 14 Markos Chandras (RETIRED) gentoo-dev 2012-05-17 20:21:20 UTC
Adding scarabeus since he is the one touching the virtua/ffmpeg but he is not tin the media-video team
Comment 15 Samuli Suominen (RETIRED) gentoo-dev 2012-05-17 21:13:57 UTC
This should now be fixed by:

- Restoring postproc to all media-video/ffmpeg versions (thanks to aballier)
- Adjusting dependencies in virtual/ffmpeg accordingly
Comment 16 Samuli Suominen (RETIRED) gentoo-dev 2012-05-18 00:14:06 UTC
In fact, one issue is still left:

libpostproc deps on virtual/ffmpeg
virtual/ffmpeg deps on libpostproc
Comment 17 Samuli Suominen (RETIRED) gentoo-dev 2012-05-18 00:14:52 UTC
*** Bug 416441 has been marked as a duplicate of this bug. ***
Comment 18 Samuli Suominen (RETIRED) gentoo-dev 2012-05-18 00:15:44 UTC
The problem started with this commit:

ffmpeg-0.10.3 (17 May 2012)

  17 May 2012; Tomáš Chvátal <scarabeus@gentoo.org> +ffmpeg-0.10.3.ebuild:
  Add new virtual that pulls in the postproc library. In packages depend
  directly on the lib, when all deps are sorted this will be removed from here.
Comment 19 Samuli Suominen (RETIRED) gentoo-dev 2012-05-18 00:29:40 UTC
Finally solved by,

  18 May 2012; Samuli Suominen <ssuominen@gentoo.org> ffmpeg-0.10.2-r1.ebuild,
  ffmpeg-0.10.3.ebuild:
  Revert libpostproc entirely from the virtual wrt
  http://bugs.gentoo.org/show_bug.cgi?id=416411#c16

  18 May 2012; Samuli Suominen <ssuominen@gentoo.org> libav-0.8.2-r2.ebuild,
  libav-0.8.9999.ebuild, libav-9999.ebuild:
  Move libpostproc RDEPEND from virtual/ffmpeg to here as PDEPEND to resolve
  circular dependencies wrt #416411

I'm seriously tired of picking up the pieces from bad libav migration to tree :-/

The next time I'll package.mask media-video/libav and media-libs/libpostproc as experimental indefinately. 

Sorry, I'm just a bit pissed.