Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 910048 - media-video/subtitlecomposer-0.7.1-r1 fails to build with >=media-video/ffmpeg-6.0
Summary: media-video/subtitlecomposer-0.7.1-r1 fails to build with >=media-video/ffmpe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: PATCH, UPSTREAM
Depends on:
Blocks: ffmpeg-6.0
  Show dependency tree
 
Reported: 2023-07-08 07:53 UTC by Enne Eziarc
Modified: 2023-09-02 18:29 UTC (History)
1 user (show)

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


Attachments
build log (build.log.txt,506.68 KB, text/plain)
2023-07-08 07:53 UTC, Enne Eziarc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Enne Eziarc 2023-07-08 07:53:12 UTC
Created attachment 865248 [details]
build log

The usual teething issues; noticed some of the errors look similar to bug 909307's.


# emerge --info media-video/subtitlecomposer
Portage 3.0.49 (python 3.11.4-final-0, default/linux/amd64/17.1, gcc-13, glibc-2.37-r3, 6.3.8-zen-geff29fa25086 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.3.8-zen-geff29fa25086-x86_64-AMD_Ryzen_9_3900X_12-Core_Processor-with-glibc2.37
KiB Mem:    65767700 total,  42978744 free
KiB Swap:   32883848 total,  32883080 free
Timestamp of repository gentoo: Sat, 08 Jul 2023 01:00:02 +0000
Head commit of repository gentoo: 1b83bf9d9f5740354c23c6366123ec4e1b8969db
sh dash 0.5.12
ld GNU ld (Gentoo 2.40 p5) 2.40.0
ccache version 4.8.2 [disabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r6::gentoo
dev-java/java-config:      2.3.1-r1::gentoo
dev-lang/perl:             5.38.0::gentoo
dev-lang/python:           3.11.4::gentoo
dev-lang/rust-bin:         1.69.0-r1::gentoo
dev-util/ccache:           4.8.2::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.48::gentoo
sys-apps/sandbox:          2.34::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.6::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, 16.0.6::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 16.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.4::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r3::gentoo
Repositories:

gentoo
    location: /mnt/nfs/portage/repositories/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-verify-metamanifest: no
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 

crossdev
    location: /mnt/nfs/portage/repositories/crossdev
    masters: gentoo flussence
    volatile: True

flussence
    location: /mnt/nfs/portage/repositories/flussence
    masters: gentoo
    volatile: True

steam-overlay
    location: /mnt/nfs/portage/repositories/steam-overlay
    masters: gentoo
    volatile: True

Installed sets: @mine-desktop
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=znver2 -mtune=znver2     --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtls-dialect=gnu2 -floop-interchange -floop-nest-optimize -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /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="-O2 -pipe -march=znver2 -mtune=znver2     --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtls-dialect=gnu2 -floop-interchange -floop-nest-optimize -ftree-vectorize"
DISTDIR="/mnt/nfs/portage/cache/distfiles"
EMERGE_DEFAULT_OPTS="--unordered-display --alert --jobs=2 --load=20 --jobs=24 --load=16"
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="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live cgroup compressdebug 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 splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK=" /usr/share/locale -/usr/share/locale/en_GB /usr/share/man/* -/usr/share/man/man* /usr/share/wine-*/man -/usr/share/wine-*/man/man* /usr/share/gcc-data/*/*/locale /usr/share/binutils-data/*/*/locale /var/db/repos/ /usr/share/git-core/templates/*"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1,--sort-common,--hash-style=gnu,--as-needed,-z,combreloc,-z,relro,-z,now"
LEX="flex"
MAKEOPTS="-j24 -l23"
PKGDIR="/mnt/nfs/portage/pkgdir/x86_64-pc-linux-gnu"
PORTAGE_COMPRESS=""
PORTAGE_COMPRESS_FLAGS=""
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"
RUSTFLAGS="-C target-cpu=znver2"
SHELL="/bin/bash"
USE="amd64 bzip2 caps cli crypt dri egl fortran iconv ipv6 libtirpc linguas_en_GB multilib ncurses nls nptl opencl openmp pcre readline seccomp split-usr ssl test-rust unicode verify-sig vulkan wayland xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2021" 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" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres12 postgres13" RUBY_TARGETS="ruby31" 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, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Andreas Sturmlechner gentoo-dev 2023-07-08 16:28:08 UTC
Please try with this commit applied:

https://invent.kde.org/multimedia/subtitlecomposer/-/commit/12f4d7f49d0b1a7fc02b0836521a285e7b6bac9d
Comment 2 Enne Eziarc 2023-07-08 19:28:40 UTC
(In reply to Andreas Sturmlechner from comment #1)
> Please try with this commit applied:
> 
> https://invent.kde.org/multimedia/subtitlecomposer/-/commit/
> 12f4d7f49d0b1a7fc02b0836521a285e7b6bac9d

That fixes it for me. It looks like 0bb0e6ed99d5a4200cc89fc6e8b3013c70465402 might also be needed at runtime.
Comment 3 Larry the Git Cow gentoo-dev 2023-07-25 12:35:19 UTC
The bug has been closed via the following commit(s):

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

commit a5539b941812b7f16e54e588eff7dfb7d4305063
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-07-25 12:34:22 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-07-25 12:34:22 +0000

    media-video/subtitlecomposer: Fix build and runtime with >=ffmpeg-6
    
    Upstream commits:
    12f4d7f49d0b1a7fc02b0836521a285e7b6bac9d
    0bb0e6ed99d5a4200cc89fc6e8b3013c70465402
    
    Closes: https://bugs.gentoo.org/910048
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../files/subtitlecomposer-0.7.1-ffmpeg6-1.patch   | 25 +++++++++
 .../files/subtitlecomposer-0.7.1-ffmpeg6-2.patch   | 42 +++++++++++++++
 .../subtitlecomposer-0.7.1-r2.ebuild               | 62 ++++++++++++++++++++++
 3 files changed, 129 insertions(+)