Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907406 - media-video/handbrake fails to build after ffmpeg upgrade
Summary: media-video/handbrake fails to build after ffmpeg upgrade
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: James Beddek
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ffmpeg-5.0
  Show dependency tree
 
Reported: 2023-05-30 10:39 UTC by Harris Landgarten
Modified: 2023-07-12 07:33 UTC (History)
2 users (show)

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


Attachments
buildlog (build.log,51.49 KB, text/x-log)
2023-05-30 10:39 UTC, Harris Landgarten
Details
Build Log (build.log,62.73 KB, text/x-log)
2023-05-31 17:19 UTC, chris williams
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Harris Landgarten 2023-05-30 10:39:57 UTC
Created attachment 862879 [details]
buildlog

../libhb/decsrtsub.c: In function ‘srt_read’:
../libhb/decsrtsub.c:223:39: error: ‘AV_NOPTS_VALUE’ undeclared (first use in this function)
  223 |     if (pv->job->reader_pts_offset == AV_NOPTS_VALUE)
      |                                       ^~~~~~~~~~~~~~
../libhb/decsrtsub.c:223:39: note: each undeclared identifier is reported only once for each function it appears in
../libhb/decsrtsub.c: In function ‘decsrtInit’:
../libhb/decsrtsub.c:544:26: error: ‘AV_NOPTS_VALUE’ undeclared (first use in this function)
  544 |         pv->start_time = AV_NOPTS_VALUE;
Comment 1 Mike Gilbert gentoo-dev 2023-05-30 17:25:38 UTC
Please provide emerge --info.
Comment 2 Harris Landgarten 2023-05-30 18:03:45 UTC
I installed handbrake-1.6.1 and cannot get --info for the version with the bug.
Comment 3 chris williams 2023-05-31 17:19:03 UTC
Created attachment 862978 [details]
Build Log
Comment 4 chris williams 2023-05-31 17:19:52 UTC
I have encountered the same issue and here's my emerge --info:

emerge --info '=media-video/handbrake-1.5.1-r1::gentoo'
Portage 3.0.47 (python 3.11.3-final-0, default/linux/amd64/17.1, gcc-13, glibc-2.37-r3, 6.1.31-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.1.31-gentoo-x86_64-AMD_Ryzen_9_3950X_16-Core_Processor-with-glibc2.37
KiB Mem:    65772048 total,  59733456 free
KiB Swap:    7999484 total,   7999484 free
Timestamp of repository gentoo: Wed, 31 May 2023 13:30:01 +0000
Head commit of repository gentoo: f5cae1fa56bc4ec1c72f9dcc071e0711a873b7c7
Head commit of repository steam-overlay: c1dfeb9930fa22e76e9645e054bcc51af2c16b4a

sh bash 5.2_p15-r3
ld GNU ld (Gentoo 2.40 p5) 2.40.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r3::gentoo
dev-java/java-config:      2.3.1-r1::gentoo
dev-lang/perl:             5.36.1-r2::gentoo
dev-lang/python:           3.11.3::gentoo
dev-lang/rust:             1.69.0-r1::gentoo
dev-util/cmake:            3.26.4-r1::gentoo
dev-util/meson:            1.1.1::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/openrc:           0.47.1::gentoo
sys-apps/sandbox:          2.30-r1::gentoo
sys-devel/autoconf:        2.13-r8::gentoo, 2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.4::gentoo
sys-devel/gcc:             13.1.1_p20230527::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 16.0.4::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r3::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:

steam-overlay
    location: /usr/local/portage/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50
    volatile: True

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL MakeMKV-EULA PUEL-11"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=znver2 -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=znver2 -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=znver2 -O2 -pipe"
GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/  http://gentoo.cs.utah.edu/ http://mirror.rackspace.com/gentoo/ http://mirrors.rit.edu/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo http://gentoo.gossamerhost.com http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.mirrors.ovh.net/gentoo-distfiles/ https://mirror.rackspace.com/gentoo/ http://mirror.datapipe.net/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j33"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 bluray bzip2 cairo cdda cdr cli crypt cups dri dvd dvdr elogind exif ffmpeg flac fortran gallium gdbm iconv ipv6 jpeg libnotify libtirpc mp3 mp4 mpeg multilib ncurses nls nptl offensive ogg opengl openmp pam pcre pdf png pulseaudio readline seccomp spell split-usr ssl test-rust tiff truetype udev udisks unicode usb vim-syntax vorbis x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2021" ALSA_CARDS="snd_hda_intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="BPF NVPTX" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-4" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

media-video/handbrake-1.5.1-r1::gentoo was built with the following:
USE="fdk gtk userland_GNU x265 -gstreamer -libav-aac -numa -nvenc" ABI_X86="(64)"


Please let me know if you need any other details.
Comment 5 Larry the Git Cow gentoo-dev 2023-06-01 03:27:29 UTC
The bug has been referenced in the following commit(s):

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

commit 5e53838025d2377dd7a0261c52563d1401b0acca
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-06-01 03:26:56 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-06-01 03:27:20 +0000

    media-video/handbrake: depend on older ffmpeg
    
    Handbrake is kind of a special situation and 9999 already works w/ >=5.1.
    
    Bug: https://bugs.gentoo.org/907406
    Signed-off-by: Sam James <sam@gentoo.org>

 media-video/handbrake/handbrake-1.5.1-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 6 Larry the Git Cow gentoo-dev 2023-07-12 07:33:33 UTC
The bug has been closed via the following commit(s):

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

commit c3da746c188a4ed2ec40d3b3384b6f82acb30ee7
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-07-12 07:25:37 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-07-12 07:33:12 +0000

    media-video/handbrake: add 1.6.1
    
    Closes: https://bugs.gentoo.org/892083
    Closes: https://bugs.gentoo.org/907406
    Signed-off-by: Sam James <sam@gentoo.org>

 media-video/handbrake/Manifest               |   1 +
 media-video/handbrake/handbrake-1.6.1.ebuild | 163 +++++++++++++++++++++++++++
 media-video/handbrake/handbrake-9999.ebuild  |  34 +++---
 3 files changed, 181 insertions(+), 17 deletions(-)