# cat /var/tmp/portage/media-video/handbrake-9999/temp/handbrake-9999-fix-compilation-with-mp4v2-v1.9.1.patch.out ***** handbrake-9999-fix-compilation-with-mp4v2-v1.9.1.patch ***** PWD: /var/tmp/portage/media-video/handbrake-9999/work/handbrake-9999 ================================================================== PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch < '/usr/portage/media-video/handbrake/files/handbrake-9999-fix-compilation-with-mp4v2-v1.9.1.patch' ================================================================== can't find file to patch at input line 21 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |https://github.com/rbrito/pkg-handbrake/blob/master/debian/patches/0005-libhb-Fix-compilation-with-mp4v2-v1.9.1.patch | |From: =?UTF-8?q?Rog=C3=A9rio=20Brito?= <rbrito@ime.usp.br> |Date: Sun, 22 Apr 2012 05:34:40 -0300 |Subject: libhb: Fix compilation with mp4v2 v1.9.1. |MIME-Version: 1.0 |Content-Type: text/plain; charset=UTF-8 |Content-Transfer-Encoding: 8bit | |Forwarded: no |Last-Update: 2012-05-15 |Reviewed-by: Rogério Theodoro de Brito <rbrito@ime.usp.br> |Signed-off-by: Rogério Theodoro de Brito <rbrito@ime.usp.br> |--- | libhb/decmetadata.c | 4 ++-- | libhb/muxmp4.c | 8 ++++---- | 2 files changed, 6 insertions(+), 6 deletions(-) | |--- a/libhb/decmetadata.c |+++ b/libhb/decmetadata.c -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 41 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- a/libhb/muxmp4.c |+++ b/libhb/muxmp4.c -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored patch program exited with status 1 ================================================================== PATCH COMMAND: patch -p1 -g0 -E --no-backup-if-mismatch < '/usr/portage/media-video/handbrake/files/handbrake-9999-fix-compilation-with-mp4v2-v1.9.1.patch' ================================================================== checking file libhb/decmetadata.c Hunk #1 succeeded at 19 with fuzz 1 (offset 6 lines). Hunk #2 succeeded at 170 with fuzz 2 (offset 78 lines). checking file libhb/muxmp4.c Hunk #1 FAILED at 93. Hunk #2 FAILED at 1331. 2 out of 2 hunks FAILED patch program exited with status 1 ================================================================== PATCH COMMAND: patch -p2 -g0 -E --no-backup-if-mismatch < '/usr/portage/media-video/handbrake/files/handbrake-9999-fix-compilation-with-mp4v2-v1.9.1.patch' ================================================================== can't find file to patch at input line 21 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |https://github.com/rbrito/pkg-handbrake/blob/master/debian/patches/0005-libhb-Fix-compilation-with-mp4v2-v1.9.1.patch | |From: =?UTF-8?q?Rog=C3=A9rio=20Brito?= <rbrito@ime.usp.br> |Date: Sun, 22 Apr 2012 05:34:40 -0300 |Subject: libhb: Fix compilation with mp4v2 v1.9.1. |MIME-Version: 1.0 |Content-Type: text/plain; charset=UTF-8 |Content-Transfer-Encoding: 8bit | |Forwarded: no |Last-Update: 2012-05-15 |Reviewed-by: Rogério Theodoro de Brito <rbrito@ime.usp.br> |Signed-off-by: Rogério Theodoro de Brito <rbrito@ime.usp.br> |--- | libhb/decmetadata.c | 4 ++-- | libhb/muxmp4.c | 8 ++++---- | 2 files changed, 6 insertions(+), 6 deletions(-) | |--- a/libhb/decmetadata.c |+++ b/libhb/decmetadata.c -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 41 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- a/libhb/muxmp4.c |+++ b/libhb/muxmp4.c -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored patch program exited with status 1 ================================================================== PATCH COMMAND: patch -p3 -g0 -E --no-backup-if-mismatch < '/usr/portage/media-video/handbrake/files/handbrake-9999-fix-compilation-with-mp4v2-v1.9.1.patch' ================================================================== can't find file to patch at input line 21 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |https://github.com/rbrito/pkg-handbrake/blob/master/debian/patches/0005-libhb-Fix-compilation-with-mp4v2-v1.9.1.patch | |From: =?UTF-8?q?Rog=C3=A9rio=20Brito?= <rbrito@ime.usp.br> |Date: Sun, 22 Apr 2012 05:34:40 -0300 |Subject: libhb: Fix compilation with mp4v2 v1.9.1. |MIME-Version: 1.0 |Content-Type: text/plain; charset=UTF-8 |Content-Transfer-Encoding: 8bit | |Forwarded: no |Last-Update: 2012-05-15 |Reviewed-by: Rogério Theodoro de Brito <rbrito@ime.usp.br> |Signed-off-by: Rogério Theodoro de Brito <rbrito@ime.usp.br> |--- | libhb/decmetadata.c | 4 ++-- | libhb/muxmp4.c | 8 ++++---- | 2 files changed, 6 insertions(+), 6 deletions(-) | |--- a/libhb/decmetadata.c |+++ b/libhb/decmetadata.c -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 41 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- a/libhb/muxmp4.c |+++ b/libhb/muxmp4.c -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored patch program exited with status 1 ================================================================== PATCH COMMAND: patch -p4 -g0 -E --no-backup-if-mismatch < '/usr/portage/media-video/handbrake/files/handbrake-9999-fix-compilation-with-mp4v2-v1.9.1.patch' ================================================================== can't find file to patch at input line 21 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |https://github.com/rbrito/pkg-handbrake/blob/master/debian/patches/0005-libhb-Fix-compilation-with-mp4v2-v1.9.1.patch | |From: =?UTF-8?q?Rog=C3=A9rio=20Brito?= <rbrito@ime.usp.br> |Date: Sun, 22 Apr 2012 05:34:40 -0300 |Subject: libhb: Fix compilation with mp4v2 v1.9.1. |MIME-Version: 1.0 |Content-Type: text/plain; charset=UTF-8 |Content-Transfer-Encoding: 8bit | |Forwarded: no |Last-Update: 2012-05-15 |Reviewed-by: Rogério Theodoro de Brito <rbrito@ime.usp.br> |Signed-off-by: Rogério Theodoro de Brito <rbrito@ime.usp.br> |--- | libhb/decmetadata.c | 4 ++-- | libhb/muxmp4.c | 8 ++++---- | 2 files changed, 6 insertions(+), 6 deletions(-) | |--- a/libhb/decmetadata.c |+++ b/libhb/decmetadata.c -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 41 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- a/libhb/muxmp4.c |+++ b/libhb/muxmp4.c -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored patch program exited with status 1 Reproducible: Always
Created attachment 365146 [details] handbrake-9999-remove-faac-dependency.patch.out Same goes for handbrake-9999-remove-faac-dependency.patch
And handbrake-0.9.9-add-gmodule-to-gtk-configure.patch. ***** handbrake-0.9.9-add-gmodule-to-gtk-configure.patch ***** PWD: /var/tmp/portage/media-video/handbrake-9999/work/handbrake-9999 ============================================================== PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch < '/usr/portage/media-video/handbrake/files/handbrake-0.9.9-add-gmodule-to-gtk-configure.patch' ============================================================== can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- HandBrake-0.9.9.orig/gtk/configure.ac 2013-09-01 12:13:06.684612296 +0300 |+++ HandBrake-0.9.9/gtk/configure.ac 2013-09-01 20:09:35.446706059 +0300 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored patch program exited with status 1 ============================================================== PATCH COMMAND: patch -p1 -g0 -E --no-backup-if-mismatch < '/usr/portage/media-video/handbrake/files/handbrake-0.9.9-add-gmodule-to-gtk-configure.patch' ============================================================== checking file gtk/configure.ac Hunk #1 FAILED at 96. 1 out of 1 hunk FAILED patch program exited with status 1 ============================================================== PATCH COMMAND: patch -p2 -g0 -E --no-backup-if-mismatch < '/usr/portage/media-video/handbrake/files/handbrake-0.9.9-add-gmodule-to-gtk-configure.patch' ============================================================== can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- HandBrake-0.9.9.orig/gtk/configure.ac 2013-09-01 12:13:06.684612296 +0300 |+++ HandBrake-0.9.9/gtk/configure.ac 2013-09-01 20:09:35.446706059 +0300 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored patch program exited with status 1 ============================================================== PATCH COMMAND: patch -p3 -g0 -E --no-backup-if-mismatch < '/usr/portage/media-video/handbrake/files/handbrake-0.9.9-add-gmodule-to-gtk-configure.patch' ============================================================== can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- HandBrake-0.9.9.orig/gtk/configure.ac 2013-09-01 12:13:06.684612296 +0300 |+++ HandBrake-0.9.9/gtk/configure.ac 2013-09-01 20:09:35.446706059 +0300 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored patch program exited with status 1 ============================================================== PATCH COMMAND: patch -p4 -g0 -E --no-backup-if-mismatch < '/usr/portage/media-video/handbrake/files/handbrake-0.9.9-add-gmodule-to-gtk-configure.patch' ============================================================== can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- HandBrake-0.9.9.orig/gtk/configure.ac 2013-09-01 12:13:06.684612296 +0300 |+++ HandBrake-0.9.9/gtk/configure.ac 2013-09-01 20:09:35.446706059 +0300 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored patch program exited with status 1
Still a small problem during compilation that I need to fix up: ld: /var/tmp/portage/media-video/handbrake-9999/work/handbrake-9999/build//libhb/libhb.a(opencl.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5' ld: note: 'dlclose@@GLIBC_2.2.5' is defined in DSO /lib64/libdl.so.2 so try adding it to the linker command line /lib64/libdl.so.2: could not read symbols: Invalid operation However, the patches themselves have been forward ported and removed: + 14 Dec 2013; Tom Wijsman <TomWij@gentoo.org> + +files/handbrake-0.9.9-fix-compilation-with-mp4v2-v1.9.1.patch, + files/handbrake-9999-fix-compilation-with-mp4v2-v1.9.1.patch, + files/handbrake-9999-remove-faac-dependency.patch, handbrake-0.9.9.ebuild, + handbrake-9999.ebuild: + Forward ported 9999 patches, also removed one that has been applied upstream; + fixes bug #494032, reported by Piotr Mitas (yabolus). Thank you fer reporting; I'll leave this bug open, to remind me of the other bug.
Original issue fixed; but the new issues are a world (and thus bug) apart, they need unmasking of currently masked libav and ffmpeg. So, marking this as fixed.