Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947557 - media-plugins/gst-plugins-opencv-1.24.10 - patch -p1 failed with /.../gst-plugins-bad-1.22.3-use-system-libs-opencv.patch
Summary: media-plugins/gst-plugins-opencv-1.24.10 - patch -p1 failed with /.../gst-plu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-05 15:46 UTC by Toralf Förster
Modified: 2025-01-06 00:47 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.92 KB, text/plain)
2025-01-05 15:46 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,223.51 KB, text/plain)
2025-01-05 15:46 UTC, Toralf Förster
Details
environment (environment,149.92 KB, text/plain)
2025-01-05 15:46 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2025-01-05 15:46 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,26.17 KB, application/x-xz)
2025-01-05 15:46 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,9.91 KB, application/x-xz)
2025-01-05 15:46 UTC, Toralf Förster
Details
media-plugins:gst-plugins-opencv-1.24.10:20250105-154548.log (media-plugins:gst-plugins-opencv-1.24.10:20250105-154548.log,3.12 KB, text/plain)
2025-01-05 15:46 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,63.47 KB, application/x-xz)
2025-01-05 15:46 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,32.30 KB, application/x-xz)
2025-01-05 15:46 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2025-01-05 15:46:49 UTC
patching file sys/meson.build
Hunk #1 succeeded at 21 (offset 3 lines).
patching file ext/meson.build
Hunk #1 succeeded at 68 (offset 4 lines).
 [ !! ]
 * ERROR: media-plugins/gst-plugins-opencv-1.24.10::gentoo failed (prepare phase):
 *   patch -p1  failed with /var/tmp/portage/media-plugins/gst-plugins-opencv-1.24.10/files/gst-plugins-bad-1.22.3-use-system-libs-opencv.patch
 * 
 * Call stack:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma_systemd-20241231-160503

  Block bug #351559 if this looks like a parallel build issue.

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 19.1.6
llvm-config: 19.1.6
Python 3.12.8
go version go1.23.4 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0
  [2]   rust-bin-1.83.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
2)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit dc69e0fa3f3b12e7f94afc13de6ea7f77e1ef7c6
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Jan 5 14:18:23 2025 +0000

    2025-01-05 14:18:22 UTC

emerge -qpvO =media-plugins/gst-plugins-opencv-1.24.10
[ebuild  N    ] media-plugins/gst-plugins-opencv-1.24.10  ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2025-01-05 15:46:50 UTC
Created attachment 915921 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-01-05 15:46:51 UTC
Created attachment 915922 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2025-01-05 15:46:52 UTC
Created attachment 915923 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2025-01-05 15:46:53 UTC
Created attachment 915924 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-01-05 15:46:54 UTC
Created attachment 915925 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-01-05 15:46:55 UTC
Created attachment 915926 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-01-05 15:46:56 UTC
Created attachment 915927 [details]
media-plugins:gst-plugins-opencv-1.24.10:20250105-154548.log
Comment 8 Toralf Förster gentoo-dev 2025-01-05 15:46:57 UTC
Created attachment 915928 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2025-01-05 15:46:58 UTC
Created attachment 915929 [details]
temp.tar.xz
Comment 10 jospezial 2025-01-05 22:05:20 UTC
To see the real error a few more lines:

>>> Preparing source in /var/tmp/portage/media-plugins/gst-plugins-opencv-1.24.10/work/gst-plugins-bad-1.24.10 ...
 * Applying gst-plugins-bad-1.22.3-use-system-libs-opencv.patch ...
patching file ext/meson.build
Hunk #1 succeeded at 68 (offset 4 lines).
patching file gst-libs/gst/meson.build
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file gst-libs/gst/meson.build.rej
patching file meson.build
Hunk #1 succeeded at 556 (offset 26 lines).
patching file sys/meson.build
Hunk #1 succeeded at 21 (offset 3 lines).
patching file ext/meson.build
Hunk #1 succeeded at 68 (offset 4 lines).
 [ !! ]
 * ERROR: media-plugins/gst-plugins-opencv-1.24.10::gentoo failed (prepare phase):
 *   patch -p1  failed with /var/tmp/portage/media-plugins/gst-plugins-opencv-1.24.10/files/gst-plugins-bad-1.22.3-use-system-libs-opencv.patch
 *
Comment 11 Larry the Git Cow gentoo-dev 2025-01-06 00:47:13 UTC
The bug has been closed via the following commit(s):

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

commit ca1f8d5c3471e110dfa4bcc955b5b4dbc497f34d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-01-06 00:46:40 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-01-06 00:46:40 +0000

    media-plugins/gst-plugins-opencv: update system-libs patch
    
    Closes: https://bugs.gentoo.org/947557
    Signed-off-by: Sam James <sam@gentoo.org>

 ...lugins-bad-1.24.10-use-system-libs-opencv.patch | 91 ++++++++++++++++++++++
 .../gst-plugins-opencv-1.24.10.ebuild              |  4 +-
 2 files changed, 93 insertions(+), 2 deletions(-)