Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 416421 - media-libs/libpostproc shoud block old libav and ffmpeg
Summary: media-libs/libpostproc shoud block old libav and ffmpeg
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 416437 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-05-17 17:34 UTC by Nikoli
Modified: 2012-05-18 00:00 UTC (History)
5 users (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 Nikoli 2012-05-17 17:34:29 UTC
>>> Installing (24 of 38) media-libs/libpostproc-0.8.0.20120217
 * Removing /usr/share/gtk-doc
 * Removing /usr/lib64/*.a
 * checking 5 files for package collisions
 * This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / <filename>` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at http://bugs.gentoo.org unless you report exactly which
 * two packages install the same file(s). Once again, please do NOT file
 * a bug report unless you have completely understood the above message.
 * 
 * Detected file collision(s):
 * 
 *      /usr/lib64/pkgconfig/libpostproc.pc
 *      /usr/include/libpostproc/postprocess.h
 *      /usr/lib64/libpostproc.so.52
 *      /usr/lib64/libpostproc.so
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * media-video/libav-0.8.1
 *      /usr/include/libpostproc/postprocess.h
 *      /usr/lib64/libpostproc.so
 *      /usr/lib64/libpostproc.so.52
 *      /usr/lib64/pkgconfig/libpostproc.pc
 * 
 * Package 'media-libs/libpostproc-0.8.0.20120217' NOT merged due to file
 * collisions. If necessary, refer to your elog messages for the whole
 * content of the above message.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-05-17 21:17:32 UTC
This should now be solved by following,

  17 May 2012; Samuli Suominen <ssuominen@gentoo.org> libav-0.8.2.ebuild:
  Block media-libs/libpostproc wrt #416421

  17 May 2012; Alexis Ballier <aballier@gentoo.org> ffmpeg-0.10.2.ebuild,
  ffmpeg-0.10.3.ebuild, ffmpeg-9999.ebuild:
  block libpostproc as should have been done from the beginning
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2012-05-17 21:19:12 UTC
And following,

  17 May 2012; Samuli Suominen <ssuominen@gentoo.org>
  libpostproc-0.8.0.20120217.ebuild, libpostproc-9999.ebuild:
  Block every version of media-video/ffmpeg wrt #416421
Comment 3 Nikos Chantziaras 2012-05-17 22:56:26 UTC
world update is now broken:

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (media-video/libav-0.8.2-r2::gentoo, installed) pulled in by
    >=media-video/libav-0.8.2[X,encode,-jpeg2k,mp3,-sdl,-theora,-threads,truetype,-vaapi,vdpau,-x264] required by (virtual/ffmpeg-0.10.2-r1::gentoo, installed)

  (media-video/ffmpeg-0.10.3::gentoo, ebuild scheduled for merge) pulled in by
    >=media-video/ffmpeg-0.10.2 required by (virtual/ffmpeg-0.10.2-r1::gentoo, installed)
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2012-05-17 23:02:04 UTC
(In reply to comment #3)
> world update is now broken:

I doubt it, I can't see any flaws in the virtual's anymore. Your tree is propably out of date, or the mirror you synced from is out of date.
Either way, you need to provide more details.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2012-05-17 23:02:33 UTC
*** Bug 416437 has been marked as a duplicate of this bug. ***
Comment 6 Nikos Chantziaras 2012-05-17 23:22:35 UTC
OK, I've just synced and this is the virtual ffmpeg-0.10.3.ebuild I've got.  Is this up to date?

IUSE="X +encode jpeg2k mp3 sdl theora threads truetype vaapi vdpau x264"

RDEPEND="
        || (
                >=media-video/ffmpeg-0.10.3[X?,encode?,jpeg2k?,mp3?,sdl?,theora?,threads?,truetype?,vaapi?,vdpau?,x264?]
                >=media-video/libav-0.8.2-r2[X?,encode?,jpeg2k?,mp3?,sdl?,theora?,threads?,truetype?,vaapi?,vdpau?,x264?]
        )
        || (
                >=media-video/ffmpeg-0.10.3
                media-libs/libpostproc
        )
"
DEPEND=""



This is "emerge -pv virtual/ffmpeg":

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] media-video/ffmpeg-0.10.3  USE="X aac alsa avx bzip2 hardcoded-tables mmx mmxext mp3 ssse3 truetype vdpau vorbis zlib -3dnow -3dnowext -aacplus (-altivec) -amr -ass -bindist -cdio (-celt) -cpudetection -debug -dirac -doc -encode -faac -frei0r -gnutls -gsm -ieee1394 -jack -jpeg2k -libv4l -modplug (-neon) -network -openal -openssl -oss -pic -pulseaudio -rtmp -schroedinger -sdl -speex -static-libs -test -theora -threads -v4l -vaapi (-vis) -vpx -x264 -xvid" FFTOOLS="aviocat cws2fws ffeval graph2dot ismindex pktdumper qt-faststart trasher" 5,719 kB
[ebuild     U  ] virtual/ffmpeg-0.10.3 [0.10.2-r1] USE="X encode mp3 truetype vdpau -jpeg2k -sdl -theora -threads -vaapi -x264" 0 kB
[blocks B      ] media-video/ffmpeg ("media-video/ffmpeg" is blocking media-video/libav-0.8.2-r2)

Total: 2 packages (1 upgrade, 1 new), Size of downloads: 5,719 kB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (media-video/libav-0.8.2-r2::gentoo, installed) pulled in by
    >=media-video/libav-0.8.2-r2[X,encode,mp3,truetype,vdpau] required by (virtual/ffmpeg-0.10.3::gentoo, ebuild scheduled for merge)

  (media-video/ffmpeg-0.10.3::gentoo, ebuild scheduled for merge) pulled in by
    >=media-video/ffmpeg-0.10.3 required by (virtual/ffmpeg-0.10.3::gentoo, ebuild scheduled for merge)



And here's my emerge --info:

Portage 2.1.10.62 (default/linux/amd64/10.0/desktop/kde, gcc-4.6.3, glibc-2.14.1-r3, 3.3.5-gentoo x86_64)
=================================================================
System uname: Linux-3.3.5-gentoo-x86_64-Intel-R-_Core-TM-_i5-2500K_CPU_@_3.30GHz-with-gentoo-2.1
Timestamp of tree: Thu, 17 May 2012 22:45:01 +0000
app-shells/bash:          4.2_p28
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.9.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.5
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2, 4.6.3
sys-devel/gcc-config:     1.7.1
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.3 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo nx proaudio science vmware interactive-fiction Local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -mtune=native -march=native -O2 -fomit-frame-pointer -floop-interchange -floop-strip-mine -floop-block"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-pipe -mtune=native -march=native -O2 -fomit-frame-pointer -floop-interchange -floop-strip-mine -floop-block"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles metadata-transfer news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.ntua.gr/pub/linux/gentoo http://mirror.ovh.net/gentoo-distfiles http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common"
LINGUAS="en en_US"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/nx /var/lib/layman/pro-audio /var/lib/layman/science /var/lib/layman/vmware /var/lib/layman/interactive-fiction /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acpi aes-ni alsa amd64 audiofile avx bash-completion branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cxx dbus declarative dri dts dvd dvdr emboss encode exif fam fbcondecor flac gdbm gif glitz gpm iconv imlib jpeg kde kipi lcdfilter lcms libsamplerate lm_sensors mad mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nptl nvidia offensive ogg opengl openmp pango pcre pdf pgo phonon plasma png policykit ppds pppd qt qt4 readline session spell sse sse2 sse3 sse4 sse4_1 ssl ssse3 startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vdpau vorbis webkit wxwidgets x264 xcb xcomposite xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="plymouth" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18" SANE_BACKENDS="nothing" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2012-05-17 23:29:34 UTC
(In reply to comment #6)
> OK, I've just synced and this is the virtual ffmpeg-0.10.3.ebuild I've got. 
> Is this up to date?
> 
> IUSE="X +encode jpeg2k mp3 sdl theora threads truetype vaapi vdpau x264"
> 
> RDEPEND="
>         || (
>                
> >=media-video/ffmpeg-0.10.3[X?,encode?,jpeg2k?,mp3?,sdl?,theora?,threads?,
> truetype?,vaapi?,vdpau?,x264?]
>                
> >=media-video/libav-0.8.2-r2[X?,encode?,jpeg2k?,mp3?,sdl?,theora?,threads?,
> truetype?,vaapi?,vdpau?,x264?]
>         )
>         || (
>                 >=media-video/ffmpeg-0.10.3
>                 media-libs/libpostproc
>         )
> "
> DEPEND=""
> 
> 
> 
> This is "emerge -pv virtual/ffmpeg":
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild  N     ] media-video/ffmpeg-0.10.3  USE="X aac alsa avx bzip2
> hardcoded-tables mmx mmxext mp3 ssse3 truetype vdpau vorbis zlib -3dnow
> -3dnowext -aacplus (-altivec) -amr -ass -bindist -cdio (-celt) -cpudetection
> -debug -dirac -doc -encode -faac -frei0r -gnutls -gsm -ieee1394 -jack
> -jpeg2k -libv4l -modplug (-neon) -network -openal -openssl -oss -pic
> -pulseaudio -rtmp -schroedinger -sdl -speex -static-libs -test -theora
> -threads -v4l -vaapi (-vis) -vpx -x264 -xvid" FFTOOLS="aviocat cws2fws
> ffeval graph2dot ismindex pktdumper qt-faststart trasher" 5,719 kB
> [ebuild     U  ] virtual/ffmpeg-0.10.3 [0.10.2-r1] USE="X encode mp3
> truetype vdpau -jpeg2k -sdl -theora -threads -vaapi -x264" 0 kB
> [blocks B      ] media-video/ffmpeg ("media-video/ffmpeg" is blocking
> media-video/libav-0.8.2-r2)
> 
> Total: 2 packages (1 upgrade, 1 new), Size of downloads: 5,719 kB
> Conflict: 1 block (1 unsatisfied)
> 
>  * Error: The above package list contains packages which cannot be
>  * installed at the same time on the same system.
> 
>   (media-video/libav-0.8.2-r2::gentoo, installed) pulled in by
>     >=media-video/libav-0.8.2-r2[X,encode,mp3,truetype,vdpau] required by
> (virtual/ffmpeg-0.10.3::gentoo, ebuild scheduled for merge)
> 
>   (media-video/ffmpeg-0.10.3::gentoo, ebuild scheduled for merge) pulled in
> by
>     >=media-video/ffmpeg-0.10.3 required by (virtual/ffmpeg-0.10.3::gentoo,
> ebuild scheduled for merge)
> 

libpostproc installed? libav needs that by the virtual in ~arch

# emerge -av libpostproc ">=media-video/libav-0.8.2-r2"

and propably good idea to clean any ffmpeg and libav references from /var/lib/portage/world

but I'll leave futher libav problem debugging to the libav maintainers, not going to test it myself as I only care about ffmpeg which seems to work fine.
Comment 8 Nikos Chantziaras 2012-05-17 23:41:53 UTC
(In reply to comment #7)
> libpostproc installed? libav needs that by the virtual in ~arch
> 
> # emerge -av libpostproc ">=media-video/libav-0.8.2-r2"

[nomerge       ] net-im/amsn-0.98.4-r1  USE="-debug" 
[ebuild     U  ]  virtual/ffmpeg-0.10.3 [0.10.2-r1] USE="X encode mp3 truetype vdpau -jpeg2k -sdl -theora -threads -vaapi -x264" 0 kB
[ebuild  N     ]   media-libs/libpostproc-0.8.0.20120217  USE="mmx -3dnow -3dnowext (-altivec) -pic -static-libs (-vis)" 64 kB

Total: 2 packages (1 upgrade, 1 new), Size of downloads: 64 kB

 * Error: circular dependencies:

(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)

 * Note that circular dependencies can often be avoided by temporarily
 * disabling USE flags that trigger optional dependencies.


> and propably good idea to clean any ffmpeg and libav references from
> /var/lib/portage/world

It's clean; no references in there to either package.
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2012-05-17 23:46:44 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > libpostproc installed? libav needs that by the virtual in ~arch
> > 
> > # emerge -av libpostproc ">=media-video/libav-0.8.2-r2"
> 
> [nomerge       ] net-im/amsn-0.98.4-r1  USE="-debug" 
> [ebuild     U  ]  virtual/ffmpeg-0.10.3 [0.10.2-r1] USE="X encode mp3
> truetype vdpau -jpeg2k -sdl -theora -threads -vaapi -x264" 0 kB
> [ebuild  N     ]   media-libs/libpostproc-0.8.0.20120217  USE="mmx -3dnow
> -3dnowext (-altivec) -pic -static-libs (-vis)" 64 kB
> 
> Total: 2 packages (1 upgrade, 1 new), Size of downloads: 64 kB
> 
>  * Error: circular dependencies:
> 
> (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)
> 
>  * Note that circular dependencies can often be avoided by temporarily
>  * disabling USE flags that trigger optional dependencies.

ah, right. scarabeus set the dependencies like:

virtual/ffmpeg is requiring libpostproc (for libav users)
media-libs/libpostproc is requiring virtual/ffmpeg

that's the problem.  please file a new bug about that, this bug is getting messy and is actually for different issue (= file collisions)

and just saying: ffmpeg doesn't have these problems. :)
Comment 10 Nikos Chantziaras 2012-05-17 23:51:06 UTC
(In reply to comment #9)
> ah, right. scarabeus set the dependencies like:
> 
> virtual/ffmpeg is requiring libpostproc (for libav users)
> media-libs/libpostproc is requiring virtual/ffmpeg
> 
> that's the problem.  please file a new bug about that, this bug is getting
> messy and is actually for different issue (= file collisions)

Will do.


> and just saying: ffmpeg doesn't have these problems. :)

I think you mean the gentoo ffmeg *ebuild* doesn't have these problems.  Or this a problem with libav (the package, not the ebuild)?
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2012-05-17 23:53:27 UTC
(In reply to comment #10)
> (In reply to comment #9)
> > ah, right. scarabeus set the dependencies like:
> > 
> > virtual/ffmpeg is requiring libpostproc (for libav users)
> > media-libs/libpostproc is requiring virtual/ffmpeg
> > 
> > that's the problem.  please file a new bug about that, this bug is getting
> > messy and is actually for different issue (= file collisions)
> 
> Will do.
> 
> 
> > and just saying: ffmpeg doesn't have these problems. :)
> 
> I think you mean the gentoo ffmeg *ebuild* doesn't have these problems.  Or
> this a problem with libav (the package, not the ebuild)?

the problems started with this commit:

virtual/ffmpeg:

*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.

so looks like ebuild problem in the virtual for libav users.
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2012-05-17 23:54:46 UTC
(In reply to comment #11)
> (In reply to comment #10)
> > (In reply to comment #9)
> > > ah, right. scarabeus set the dependencies like:
> > > 
> > > virtual/ffmpeg is requiring libpostproc (for libav users)
> > > media-libs/libpostproc is requiring virtual/ffmpeg
> > > 
> > > that's the problem.  please file a new bug about that, this bug is getting
> > > messy and is actually for different issue (= file collisions)
> > 
> > Will do.
> > 
> > 
> > > and just saying: ffmpeg doesn't have these problems. :)
> > 
> > I think you mean the gentoo ffmeg *ebuild* doesn't have these problems.  Or
> > this a problem with libav (the package, not the ebuild)?
> 
> the problems started with this commit:
> 
> virtual/ffmpeg:
> 
> *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.
> 
> so looks like ebuild problem in the virtual for libav users.

so instead of having any postproc deps in the virtuals, it should propably be PDEPEND="media-libs/libpostproc" in libav's ebuilds
Comment 13 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-05-17 23:59:49 UTC
*** Bug 416441 has been marked as a duplicate of this bug. ***
Comment 14 Nikos Chantziaras 2012-05-18 00:00:08 UTC
I submitted bug 416441 btw.