=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/multimedia/handbrake", "all", "PYTHON_VERSION_REQD=313", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for handbrake-1.11.2nb1 /usr/bin/mkdir -p /tmp/work/multimedia/handbrake/work/HandBrake-1.11.2/download /usr/bin/ln -fs /data/distfiles/handbrake/ffmpeg-8.0.2.tar.bz2 /tmp/work/multimedia/handbrake/work/HandBrake-1.11.2/download /usr/bin/ln -fs /data/distfiles/handbrake/x265-snapshot-20260216-13309.tar.gz /tmp/work/multimedia/handbrake/work/HandBrake-1.11.2/download /tmp/work/multimedia/handbrake/work/.tools/bin/mkdir -p libhb/handbrake/ /tmp/work/multimedia/handbrake/work/.tools/bin/mkdir -p contrib/ffmpeg/ /tmp/work/multimedia/handbrake/work/.tools/bin/mkdir -p contrib/libiconv/ /tmp/work/multimedia/handbrake/work/.tools/bin/mkdir -p contrib/lib/ /tmp/work/multimedia/handbrake/work/.tools/bin/mkdir -p contrib/include/ /tmp/work/multimedia/handbrake/work/.tools/bin/mkdir -p contrib/x265/ /tmp/work/multimedia/handbrake/work/.tools/bin/mkdir -p test/ /opt/pkg/bin/gm4 -Iproject ../libhb/handbrake/project.h.m4 > libhb/handbrake/project.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/audio_remap.h libhb/handbrake/audio_remap.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/audio_resample.h libhb/handbrake/audio_resample.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/av1_common.h libhb/handbrake/av1_common.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/avfilter_priv.h libhb/handbrake/avfilter_priv.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/bitstream.h libhb/handbrake/bitstream.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/colormap.h libhb/handbrake/colormap.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/common.h libhb/handbrake/common.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/compat.h libhb/handbrake/compat.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/decavsub.h libhb/handbrake/decavsub.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/decomb.h libhb/handbrake/decomb.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/dovi_common.h libhb/handbrake/dovi_common.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/dvd.h libhb/handbrake/dvd.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/eedi2.h libhb/handbrake/eedi2.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/encavsub.h libhb/handbrake/encavsub.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/encx264.h libhb/handbrake/encx264.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/extradata.h libhb/handbrake/extradata.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/h264_common.h libhb/handbrake/h264_common.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/h265_common.h libhb/handbrake/h265_common.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/handbrake.h libhb/handbrake/handbrake.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/hb_dict.h libhb/handbrake/hb_dict.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/hb_json.h libhb/handbrake/hb_json.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/hbavfilter.h libhb/handbrake/hbavfilter.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/hbffmpeg.h libhb/handbrake/hbffmpeg.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/hbtypes.h libhb/handbrake/hbtypes.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/hdr10plus.h libhb/handbrake/hdr10plus.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/hwaccel.h libhb/handbrake/hwaccel.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/internal.h libhb/handbrake/internal.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/lang.h libhb/handbrake/lang.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/mf_common.h libhb/handbrake/mf_common.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/nal_units.h libhb/handbrake/nal_units.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/nlmeans.h libhb/handbrake/nlmeans.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/nvenc_common.h libhb/handbrake/nvenc_common.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/param.h libhb/handbrake/param.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/ports.h libhb/handbrake/ports.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/preset.h libhb/handbrake/preset.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/preset_builtin.h libhb/handbrake/preset_builtin.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/qsv_common.h libhb/handbrake/qsv_common.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/rpu.h libhb/handbrake/rpu.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/ssautil.h libhb/handbrake/ssautil.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/taskset.h libhb/handbrake/taskset.h /tmp/work/multimedia/handbrake/work/.tools/bin/cp ../libhb/handbrake/vce_common.h libhb/handbrake/vce_common.h sha256 (../download/x265-snapshot-20260216-13309.tar.gz) = a0882bb90826da62a96676c1a7cb7a7beb7f1db901f2775299cbeed03c3eb2a2 (pass) touch contrib/x265/.stamp.x265.extract /tmp/work/multimedia/handbrake/work/.tools/bin/rm -fr ./contrib/x265/x265-snapshot-20260216-13309/ /usr/bin/gtar xfC ../download/x265-snapshot-20260216-13309.tar.gz ./contrib/x265/ sha256 (../download/ffmpeg-8.0.2.tar.bz2) = 2a8b8840c0bc78f5ed1576f98eba7df00c05f87fd6d07fad16efcd9333016edf (pass) touch contrib/x265/.stamp.x265_10.extract touch contrib/x265/.stamp.x265_12.extract /tmp/work/multimedia/handbrake/work/.tools/bin/rm -fr ./contrib/ffmpeg/ffmpeg-8.0.2/ /usr/bin/gtar xfC ../download/ffmpeg-8.0.2.tar.bz2 ./contrib/ffmpeg/ ERROR: download failure; ; continuing. touch contrib/x265/.stamp.x265_8.extract touch contrib/x265/.stamp.x265.patch /tmp/work/multimedia/handbrake/work/.tools/bin/patch -t -N -p1 -d ./contrib/x265/x265-snapshot-20260216-13309/ < ../contrib/x265/A01-Do-not-set-thread-priority-on-Windows.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |From a8c1d64e08c00ade27bc6508dd57ec567d578390 Mon Sep 17 00:00:00 2001 |From: Max Dmitrichenko |Date: Thu, 22 Aug 2024 07:40:48 +0200 |Subject: [PATCH 1/6] Do not set thread priority on Windows | |--- | source/common/threadpool.cpp | 6 ------ | 1 file changed, 6 deletions(-) | |diff --git a/source/common/threadpool.cpp b/source/common/threadpool.cpp |index ec96f18b1..615b04b6f 100644 |--- a/source/common/threadpool.cpp |+++ b/source/common/threadpool.cpp -------------------------- Patching file source/common/threadpool.cpp using Plan A... Hunk #1 succeeded at 115. Hmm... Ignoring the trailing garbage. done /tmp/work/multimedia/handbrake/work/.tools/bin/patch -t -N -p1 -d ./contrib/x265/x265-snapshot-20260216-13309/ < ../contrib/x265/A02-Apple-Silicon-tuning.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |From 7dff83433c71d55fd0e859045025d1e007ec65a4 Mon Sep 17 00:00:00 2001 |From: Damiano Galassi |Date: Fri, 13 Sep 2024 16:08:25 +0200 |Subject: [PATCH 2/6] Apple Silicon tuning | |--- | source/common/threadpool.cpp | 8 +++++++- | 1 file changed, 7 insertions(+), 1 deletion(-) | |diff --git a/source/common/threadpool.cpp b/source/common/threadpool.cpp |index 615b04b6f..7d99f8cb1 100644 |--- a/source/common/threadpool.cpp |+++ b/source/common/threadpool.cpp -------------------------- Patching file source/common/threadpool.cpp using Plan A... Hunk #1 succeeded at 661. Hmm... Ignoring the trailing garbage. done /tmp/work/multimedia/handbrake/work/.tools/bin/patch -t -N -p1 -d ./contrib/x265/x265-snapshot-20260216-13309/ < ../contrib/x265/A03-Implement-ambient-viewing-environment-sei.patch ERROR: download failure; ; stop. downloading https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/libiconv-1.18.tar.gz to ../download/libiconv-1.18.tar.gz downloading https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.18.tar.gz to ../download/libiconv-1.18.tar.gz Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |From 770f55dd15e18175b988899212a1fd55536d60f3 Mon Sep 17 00:00:00 2001 |From: Damiano Galassi |Date: Fri, 22 Nov 2024 10:49:10 +0100 |Subject: [PATCH 3/6] Implement ambient viewing environment sei | |Defined in ISO/IEC 23008-2:2017, D.2.39. |--- | source/common/param.cpp | 6 ++++++ | source/encoder/encoder.cpp | 9 +++++++++ | source/encoder/sei.h | 19 +++++++++++++++++++ | source/x265.h | 9 +++++++++ | 4 files changed, 43 insertions(+) | |diff --git a/source/common/param.cpp b/source/common/param.cpp |index 6aed44ac2..adf157f61 100755 |--- a/source/common/param.cpp |+++ b/source/common/param.cpp -------------------------- Patching file source/common/param.cpp using Plan A... Hunk #1 succeeded at 408. Hunk #2 succeeded at 1971 (offset 1 line). Hunk #3 succeeded at 2929 (offset -2 lines). Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/source/encoder/encoder.cpp b/source/encoder/encoder.cpp |index cf2e95988..39ca2ada1 100644 |--- a/source/encoder/encoder.cpp |+++ b/source/encoder/encoder.cpp -------------------------- Patching file source/encoder/encoder.cpp using Plan A... Hunk #1 succeeded at 3399 (offset 24 lines). Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/source/encoder/sei.h b/source/encoder/sei.h |index 3ed957058..9d3e74c63 100644 |--- a/source/encoder/sei.h |+++ b/source/encoder/sei.h -------------------------- Patching file source/encoder/sei.h using Plan A... Hunk #1 succeeded at 638. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/source/x265.h b/source/x265.h |index 8bc7bea2a..70cd66dcb 100644 |--- a/source/x265.h |+++ b/source/x265.h -------------------------- Patching file source/x265.h using Plan A... Hunk #1 succeeded at 376. Hunk #2 succeeded at 1968 (offset 4 lines). Hunk #3 succeeded at 2184 (offset 4 lines). Hmm... Ignoring the trailing garbage. done /tmp/work/multimedia/handbrake/work/.tools/bin/patch -t -N -p1 -d ./contrib/x265/x265-snapshot-20260216-13309/ < ../contrib/x265/A04-add-new-matrix-coefficients-from-H.273-v3.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |From e740de13f5dd9867565dab604b07a8158ac1f4ca Mon Sep 17 00:00:00 2001 |From: Damiano Galassi |Date: Sat, 30 Nov 2024 08:59:51 +0100 |Subject: [PATCH 4/6] add new matrix coefficients from H.273 v3 | |--- | doc/reST/cli.rst | 3 +++ | source/common/param.cpp | 4 ++-- | source/x265.h | 2 +- | source/x265cli.cpp | 2 +- | 4 files changed, 7 insertions(+), 4 deletions(-) | |diff --git a/doc/reST/cli.rst b/doc/reST/cli.rst |index 6bb99f92e..e9bc86d23 100755 |--- a/doc/reST/cli.rst |+++ b/doc/reST/cli.rst -------------------------- Patching file doc/reST/cli.rst using Plan A... Hunk #1 succeeded at 2369. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/source/common/param.cpp b/source/common/param.cpp |index adf157f61..9534e0bd4 100755 |--- a/source/common/param.cpp |+++ b/source/common/param.cpp -------------------------- Patching file source/common/param.cpp using Plan A... Hunk #1 succeeded at 1811 (offset 1 line). Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/source/x265.h b/source/x265.h |index 70cd66dcb..32c901194 100644 |--- a/source/x265.h |+++ b/source/x265.h -------------------------- Patching file source/x265.h using Plan A... Hunk #1 succeeded at 752 (offset 4 lines). Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/source/x265cli.cpp b/source/x265cli.cpp |index c5fd26a68..47e69c85d 100755 |--- a/source/x265cli.cpp |+++ b/source/x265cli.cpp -------------------------- Patching file source/x265cli.cpp using Plan A... gmake: *** [../contrib/libiconv/module.rules:2: ../download/libiconv-1.18.tar.gz] Error 1 gmake: *** Waiting for unfinished jobs.... Hunk #1 succeeded at 327. Hmm... Ignoring the trailing garbage. done /tmp/work/multimedia/handbrake/work/.tools/bin/patch -t -N -p1 -d ./contrib/x265/x265-snapshot-20260216-13309/ < ../contrib/x265/A05-Fix-Dolby-Vision-RPU-memory-management.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |From 4cff3eb1cb6faebfbc82ec500d8441313d02e1d7 Mon Sep 17 00:00:00 2001 |From: Damiano Galassi |Date: Fri, 22 Nov 2024 10:51:25 +0100 |Subject: [PATCH 5/6] Fix Dolby Vision RPU memory management | |--- | source/common/frame.cpp | 5 +++++ | source/encoder/encoder.cpp | 13 +++++++++++-- | 2 files changed, 16 insertions(+), 2 deletions(-) | |diff --git a/source/common/frame.cpp b/source/common/frame.cpp |index 200717425..1244fdc24 100644 |--- a/source/common/frame.cpp |+++ b/source/common/frame.cpp -------------------------- Patching file source/common/frame.cpp using Plan A... Hunk #1 succeeded at 370. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/source/encoder/encoder.cpp b/source/encoder/encoder.cpp |index 39ca2ada1..4461ed8e2 100644 |--- a/source/encoder/encoder.cpp |+++ b/source/encoder/encoder.cpp -------------------------- Patching file source/encoder/encoder.cpp using Plan A... Hunk #1 succeeded at 1713 (offset 24 lines). Hmm... Ignoring the trailing garbage. done /tmp/work/multimedia/handbrake/work/.tools/bin/patch -t -N -p1 -d ./contrib/x265/x265-snapshot-20260216-13309/ < ../contrib/x265/A06-Update-version-strings.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |From 6f85ff3811f1464e19d8ad01e1de4e7fcc32ef81 Mon Sep 17 00:00:00 2001 |From: Damiano Galassi |Date: Fri, 4 Apr 2025 11:40:36 +0200 |Subject: [PATCH 6/6] Update version strings | |--- | x265Version.txt | 6 +++--- | 1 file changed, 3 insertions(+), 3 deletions(-) | |diff --git a/x265Version.txt b/x265Version.txt |index 8e450033e..59f8d6e55 100644 |--- a/x265Version.txt |+++ b/x265Version.txt -------------------------- Patching file x265Version.txt using Plan A... Hunk #1 succeeded at 1. Hmm... Ignoring the trailing garbage. done /tmp/work/multimedia/handbrake/work/.tools/bin/patch -t -N -p1 -d ./contrib/x265/x265-snapshot-20260216-13309/ < ../contrib/x265/A07-Fix-macOS-cross-compilation.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt |index 4160514b9..c2784e967 100755 |--- a/source/CMakeLists.txt |+++ b/source/CMakeLists.txt -------------------------- Patching file source/CMakeLists.txt using Plan A... Hunk #1 succeeded at 884 (offset 95 lines). done /tmp/work/multimedia/handbrake/work/.tools/bin/patch -t -N -p1 -d ./contrib/x265/x265-snapshot-20260216-13309/ < ../contrib/x265/A08-Proper-fix-for-the-aq-motion-bug.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |From cfee9638c82b655c5887cedbdf1aa856f81b906a Mon Sep 17 00:00:00 2001 |From: Mr-Z-2697 <74594146+Mr-Z-2697@users.noreply.github.com> |Date: Thu, 26 Mar 2026 11:05:08 +0530 |Subject: [PATCH] Proper fix for the aq-motion bug | |--- | source/common/lowres.cpp | 14 +++++--------- | source/encoder/encoder.cpp | 2 ++ | 2 files changed, 7 insertions(+), 9 deletions(-) | |diff --git a/source/common/lowres.cpp b/source/common/lowres.cpp |index 856f716b8..52953a812 100644 |--- a/source/common/lowres.cpp |+++ b/source/common/lowres.cpp -------------------------- Patching file source/common/lowres.cpp using Plan A... Hunk #1 succeeded at 415. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/source/encoder/encoder.cpp b/source/encoder/encoder.cpp |index 3df3ba25a..4870a2723 100644 |--- a/source/encoder/encoder.cpp |+++ b/source/encoder/encoder.cpp -------------------------- Patching file source/encoder/encoder.cpp using Plan A... Hunk #1 succeeded at 1623 (offset -53 lines). Hmm... Ignoring the trailing garbage. done /tmp/work/multimedia/handbrake/work/.tools/bin/patch -t -N -p1 -d ./contrib/x265/x265-snapshot-20260216-13309/ < ../contrib/x265/A09-Ensuring-the-mvdLX-is-compliant.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |From de4dc0bc67d648c8efd7fecab8d378d44317c5f0 Mon Sep 17 00:00:00 2001 |From: Mr-Z-2697 <74594146+Mr-Z-2697 at users.noreply.github.com> |Date: Sun, 13 Jul 2025 16:09:53 +0800 |Subject: [PATCH] Ensuring the mvdLX is compliant | | |The value of the mvdLX should be in the range of [-2^15, 2^15-1], as specified in H.265 7.4.9.9 Motion vector difference semantics. |However there was no safety check in this area, the mvdLX have been observed to exceed the range, under some rare circumstances. | | |This casting will cause overflow and underflow, should the mvd exceeds the int16_t range. |But because of the decoding process Equation 8-94 to 8-97, and the MV itself having the range of [-2^15, 2^15-1], the decoded MV will still be correct, and mvdLX will be in the legal range. |--- | source/encoder/entropy.cpp | 5 +++-- | 1 file changed, 3 insertions(+), 2 deletions(-) | | |diff --git a/source/encoder/entropy.cpp b/source/encoder/entropy.cpp |index d4bf73d53..bc1c0d8e0 100644 |--- a/source/encoder/entropy.cpp |+++ b/source/encoder/entropy.cpp -------------------------- Patching file source/encoder/entropy.cpp using Plan A... Hunk #1 succeeded at 2104. Hmm... Ignoring the trailing garbage. done touch contrib/x265/.stamp.x265_8.patch touch contrib/ffmpeg/.stamp.ffmpeg.extract *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/multimedia/handbrake *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/multimedia/handbrake