too long lines were shrinked: x86_64-pc-linux-gnu-gcc -I"/var/tmp/portage/media-video/gpac-2.2.0/work/gpac-2.2.0/include" -O2 -pipe -march=native -fno-diagnostics-color -msse2 -Wall -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC -DNDEBUG -std=gnu99 -Wno-deprecated -Wno-deprecated-declarations -Wno-int-in-bool-context -DGPAC x86_64-pc-linux-gnu-gcc -I"/var/tmp/portage/media-video/gpac-2.2.0/work/gpac-2.2.0/include" -O2 -pipe -march=native -fno-diagnostics-color -msse2 -Wall -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC -DNDEBUG -std=gnu99 -Wno-deprecated -Wno-deprecated-declarations -Wno-int-in-bool-context -DGPAC x86_64-pc-linux-gnu-gcc -I"/var/tmp/portage/media-video/gpac-2.2.0/work/gpac-2.2.0/include" -O2 -pipe -march=native -fno-diagnostics-color -msse2 -Wall -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC -DNDEBUG -std=gnu99 -Wno-deprecated -Wno-deprecated-declarations -Wno-int-in-bool-context -DGPAC x86_64-pc-linux-gnu-gcc -I"/var/tmp/portage/media-video/gpac-2.2.0/work/gpac-2.2.0/include" -O2 -pipe -march=native -fno-diagnostics-color -msse2 -Wall -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC -DNDEBUG -std=gnu99 -Wno-deprecated -Wno-deprecated-declarations -Wno-int-in-bool-context -DGPAC x86_64-pc-linux-gnu-gcc -I"/var/tmp/portage/media-video/gpac-2.2.0/work/gpac-2.2.0/include" -O2 -pipe -march=native -fno-diagnostics-color -msse2 -Wall -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC -DNDEBUG -std=gnu99 -Wno-deprecated -Wno-deprecated-declarations -Wno-int-in-bool-context -DGPAC filters/ff_mx.c: In function ffmx_close_seg: filters/ff_mx.c:506:72: error: AVIOContext has no member named bytes_written 506 | .seg_size.media_range_end = ctx->muxer->pb ? (ctx->muxer->pb->bytes_written-1) : 0; | ^~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma-j4-20230326-193126 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12 * clang/llvm (if any): clang version 16.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/16/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/16 16.0.0 Python 3.10.10 Available Ruby profiles: [1] ruby30 (with Rubygems) * Available Rust versions: [1] rust-1.68.1 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.18_p10 [openjdk-bin-11] *) Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17] 3) Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 [3] openjdk-bin-17 system-vm The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): HEAD of ::gentoo commit a7cf90d82b329f1bfeba5cb1a4edeab81282f9ba Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed Mar 29 17:16:58 2023 +0000 2023-03-29 17:16:58 UTC emerge -qpvO media-video/gpac [ebuild N ] media-video/gpac-2.2.0 USE="X a52 alsa ffmpeg jpeg mad opengl png sdl ssl truetype vorbis xml xvid -aac -debug -dvb -jack -jpeg2k -oss -pulseaudio -static-libs -theora" CPU_FLAGS_X86="sse2"
Created attachment 859240 [details] emerge-info.txt
Created attachment 859241 [details] emerge-history.txt
Created attachment 859242 [details] environment
Created attachment 859243 [details] etc.clang.tar.bz2
Created attachment 859244 [details] etc.portage.tar.bz2
Created attachment 859245 [details] logs.tar.bz2
Created attachment 859246 [details] media-video:gpac-2.2.0:20230329-175634.log.bz2
Created attachment 859247 [details] temp.tar.bz2
I have the same issue.
This is because we're reverting this commit https://github.com/gpac/gpac/commit/70bc8f6877a9651a0fc4c1b14e8cd2bf2f07a068 for ffmpeg 6 support ... which is masked ... https://github.com/gpac/gpac/commit/ba14e34dd7a3c4cef5a56962898e9f863dd4b4f3 is the better ffmpeg 6 patch
(In reply to Michael Cook from comment #10) > https://github.com/gpac/gpac/commit/ba14e34dd7a3c4cef5a56962898e9f863dd4b4f3 > is the better ffmpeg 6 patch Okay, replaced the patch with this one in my local overlay and it seems to build fine with ffmpeg-4.4.3, haven't tested 5 or 6 since they're masked.
That patch does not work against the main tree gpac. Is this intended for another version or is it supposed to be inverted?
(In reply to Michael Cook from comment #11) > (In reply to Michael Cook from comment #10) > > https://github.com/gpac/gpac/commit/ba14e34dd7a3c4cef5a56962898e9f863dd4b4f3 > > is the better ffmpeg 6 patch > > Okay, replaced the patch with this one in my local overlay and it seems to > build fine with ffmpeg-4.4.3, haven't tested 5 or 6 since they're masked. I had to modify the patch a little bit, but it also works for me. Thanks: Dw.
Created attachment 859778 [details, diff] Patched based on ba14e34
(In reply to Andrew Udvare from comment #14) > Created attachment 859778 [details, diff] [details, diff] > Patched based on ba14e34 This is on top of the patch currently in the ebuild, yeah?
(In reply to Sam James from comment #15) > (In reply to Andrew Udvare from comment #14) > > Created attachment 859778 [details, diff] [details, diff] [details, diff] > > Patched based on ba14e34 > > This is on top of the patch currently in the ebuild, yeah? Yes.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b489b1a671b51c3def4b4cdfdd419155caad4b73 commit b489b1a671b51c3def4b4cdfdd419155caad4b73 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-04-10 09:24:13 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-04-10 09:24:13 +0000 media-video/gpac: fix build w/ >=ffmpeg-5 Closes: https://bugs.gentoo.org/903550 Thanks-to: Andrew Udvare <audvare@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> .../gpac/files/gpac-2.2.0-ffmpeg6-deux.patch | 46 ++++++++++++++++++++++ media-video/gpac/gpac-2.2.0.ebuild | 1 + 2 files changed, 47 insertions(+)