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

Bug 804945

Summary: media-video/pitivi-0.999-r4 collides with other packages
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: contact, gentoo, gstreamer, l_faillie, mplichta, sam, sandino
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=830123
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 830133    
Bug Blocks:    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2021-07-29 06:33:54 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-video/pitivi-0.999-r4 collides with other packages.
Discovered on: amd64 (internal ref: ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
Comment 1 Agostino Sarubbo gentoo-dev 2021-07-29 06:33:56 UTC
CC'ing also the author of the commit (67ae66683e350ab3ff79f13eab15715c8ec6e334)
Comment 2 Agostino Sarubbo gentoo-dev 2021-07-29 06:33:58 UTC
Created attachment 727575 [details]
build.log

build log and emerge --info
Comment 3 Kobboi 2021-08-01 20:05:05 UTC
 * Detected file collision(s):
 * 
 * 	/usr/include/gstreamer-1.0/gst/transcoder/gsttranscoder.h
 * 	/usr/bin/gst-transcoder-1.0
 * 	/usr/share/gstreamer-1.0/encoding-profiles/device/dvd.gep
 * 	/usr/share/gstreamer-1.0/encoding-profiles/online-services/youtube.gep
 * 	/usr/share/gstreamer-1.0/encoding-profiles/file-extension/avi.gep
 * 	/usr/share/gstreamer-1.0/encoding-profiles/file-extension/mp4.gep
 * 	/usr/share/gstreamer-1.0/encoding-profiles/file-extension/flv.gep
 * 	/usr/share/gstreamer-1.0/encoding-profiles/file-extension/webm.gep
 * 	/usr/share/gstreamer-1.0/encoding-profiles/file-extension/mp3.gep
 * 	/usr/share/gstreamer-1.0/encoding-profiles/file-extension/mkv.gep
 * 	/usr/share/gstreamer-1.0/encoding-profiles/file-extension/oga.gep
 * 	/usr/share/gstreamer-1.0/encoding-profiles/file-extension/ogv.gep
 * 	/usr/share/gir-1.0/GstTranscoder-1.0.gir
 * 	/usr/lib64/libgsttranscoder-1.0.so.0
 * 	/usr/lib64/girepository-1.0/GstTranscoder-1.0.typelib
 * 	/usr/lib64/libgsttranscoder-1.0.so
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * media-libs/gst-plugins-bad-1.18.4-r1:1.0::gentoo
 * 	/usr/bin/gst-transcoder-1.0
 * 	/usr/include/gstreamer-1.0/gst/transcoder/gsttranscoder.h
 * 	/usr/lib64/girepository-1.0/GstTranscoder-1.0.typelib
 * 	/usr/lib64/libgsttranscoder-1.0.so
 * 	/usr/lib64/libgsttranscoder-1.0.so.0
 * 	/usr/share/gir-1.0/GstTranscoder-1.0.gir
 * 	/usr/share/gstreamer-1.0/encoding-profiles/device/dvd.gep
 * 	/usr/share/gstreamer-1.0/encoding-profiles/file-extension/avi.gep
 * 	/usr/share/gstreamer-1.0/encoding-profiles/file-extension/flv.gep
 * 	/usr/share/gstreamer-1.0/encoding-profiles/file-extension/mkv.gep
 * 	/usr/share/gstreamer-1.0/encoding-profiles/file-extension/mp3.gep
 * 	/usr/share/gstreamer-1.0/encoding-profiles/file-extension/mp4.gep
 * 	/usr/share/gstreamer-1.0/encoding-profiles/file-extension/oga.gep
 * 	/usr/share/gstreamer-1.0/encoding-profiles/file-extension/ogv.gep
 * 	/usr/share/gstreamer-1.0/encoding-profiles/file-extension/webm.gep
 * 	/usr/share/gstreamer-1.0/encoding-profiles/online-services/youtube.gep
 * 
 * Package 'media-video/pitivi-0.999-r4' NOT merged due to file
 * collisions. If necessary, refer to your elog messages for the whole
 * content of the above message.
Comment 4 Larry the Git Cow gentoo-dev 2021-12-28 01:24:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ada748e8e0dff302c0f528e44915349e8d8a851

commit 9ada748e8e0dff302c0f528e44915349e8d8a851
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-28 01:20:35 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-28 01:24:39 +0000

    media-video/pitivi: allow building with newer GStreamer (1.18+)
    
    - Package bundled/bundles parts of gst-transcoder. We now
      forcefully disable building of that copy and remove
      the bundled version/subproject as a safety measure.
    
      (Not that it should be needed now; it shouldn't
      try to use that version anymore, because...)
    
    - ... patch the build system (upstream patch, long in a release)
      to allow gst 1.18+ / recognise the version of transcoder that
      gst 1.18 has (it's now in gst-plugins-bad).
    
    This actually fixes the sandbox failure too in addition to the
    collision with gst-plugins-bad because we're no longer building
    a copy of gst-transcoder w/o needed workarounds.
    
    (Wasn't able to reproduce the sandbox failure at first:
    ended up installing all gst-* packages, then temporarily
    restoring the bundled copy to hit it. leio did suggest
    gst-plugins-v4l2 may be enough but I only realised I needed
    the bundled copy of gst-transcoder to trigger the failure
    after I'd installed everything and it's irrelevant now anyway.)
    
    Closes: https://bugs.gentoo.org/804945
    Closes: https://bugs.gentoo.org/830123
    Signed-off-by: Sam James <sam@gentoo.org>

 .../pitivi/files/pitivi-0.999-gst-0.18.patch       |  39 +++++++
 media-video/pitivi/pitivi-0.999-r5.ebuild          | 121 +++++++++++++++++++++
 2 files changed, 160 insertions(+)