Code: Select all
219 | const enum AVSampleFormat *sample_fmts; ///< @deprecated use avcodec_get_supported_config()
| ^~~~~~~~~~~
mediaenc_ffmpeg.cpp: In member function ‘bool wxFfmpegMediaEncoder::addAudioStream(int)’:
mediaenc_ffmpeg.cpp:307:12: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channels’
307 | c->channels = 2;
| ^~~~~~~~
mediaenc_ffmpeg.cpp:308:12: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channel_layout’; did you mean ‘ch_layout’?
308 | c->channel_layout = AV_CH_LAYOUT_STEREO;
| ^~~~~~~~~~~~~~
| ch_layout
mediaenc_ffmpeg.cpp:326:98: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channels’
326 | m_samples = (int16_t*) av_malloc(c->frame_size * av_get_bytes_per_sample(c->sample_fmt) * c->channels);
| ^~~~~~~~
mediaenc_ffmpeg.cpp:327:90: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channels’
327 | memset(m_samples, 0, c->frame_size * av_get_bytes_per_sample(c->sample_fmt) * c->channels);
| ^~~~~~~~
mediaenc_ffmpeg.cpp:331:51: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channels’
331 | avcodec_fill_audio_frame(m_audioFrame, c->channels, c->sample_fmt, (uint8_t *) m_samples, c->frame_size
| ^~~~~~~~
mediaenc_ffmpeg.cpp:332:71: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channels’
332 | * av_get_bytes_per_sample(c->sample_fmt) * c->channels, 1);
| ^~~~~~~~
mediaenc_ffmpeg.cpp: In member function ‘void wxFfmpegMediaEncoder::CloseAudioEncoder()’:
mediaenc_ffmpeg.cpp:348:30: warning: ‘int avcodec_close(AVCodecContext*)’ is deprecated [-Wdeprecated-declarations]
348 | avcodec_close(m_audioCodec);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/libavcodec/avcodec.h:2398:5: note: declared here
2398 | int avcodec_close(AVCodecContext *avctx);
| ^~~~~~~~~~~~~
mediaenc_ffmpeg.cpp: In member function ‘void wxFfmpegMediaEncoder::CloseVideoEncoder()’:
mediaenc_ffmpeg.cpp:364:30: warning: ‘int avcodec_close(AVCodecContext*)’ is deprecated [-Wdeprecated-declarations]
364 | avcodec_close(m_videoCodec);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/libavcodec/avcodec.h:2398:5: note: declared here
2398 | int avcodec_close(AVCodecContext *avctx);
| ^~~~~~~~~~~~~
mediaenc_ffmpeg.cpp: In member function ‘bool wxFfmpegMediaEncoder::writeAudioFrame()’:
mediaenc_ffmpeg.cpp:451:23: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
451 | av_init_packet(&pkt);
| ~~~~~~~~~~~~~~^~~~~~
In file included from /usr/include/libavcodec/avcodec.h:44:
/usr/include/libavcodec/packet.h:670:6: note: declared here
670 | void av_init_packet(AVPacket *pkt);
| ^~~~~~~~~~~~~~
mediaenc_ffmpeg.cpp: In member function ‘bool wxFfmpegMediaEncoder::writeVideoFrame()’:
mediaenc_ffmpeg.cpp:481:23: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
481 | av_init_packet(&pkt);
| ~~~~~~~~~~~~~~^~~~~~
/usr/include/libavcodec/packet.h:670:6: note: declared here
670 | void av_init_packet(AVPacket *pkt);
| ^~~~~~~~~~~~~~
make[2]: *** [Makefile:701: mediaenc_ffmpeg.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/media-video/dvdstyler-3.2.1-r2/work/DVDStyler-3.2.1/src'
make[1]: *** [Makefile:731: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/media-video/dvdstyler-3.2.1-r2/work/DVDStyler-3.2.1/src'
make: *** [Makefile:467: all-recursive] Error 1
https://bpa.st/A7BA
Emerge --info:
Code: Select all
root # emerge --info '=media-video/dvdstyler-3.2.1-r2::gentoo'
Portage 3.0.67 (python 3.11.11-final-0, default/linux/amd64/23.0/split-usr, gcc-14, glibc-2.41, 5.7.15-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-5.7.15-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-glibc2.41
KiB Mem: 24627236 total, 4681532 free
KiB Swap: 19535036 total, 19535036 free
Timestamp of repository gentoo: Sun, 16 Mar 2025 13:30:00 +0000
Head commit of repository gentoo: af1487919804207cbb390e8ea77e113b25bc527b
Timestamp of repository guru: Sat, 15 Mar 2025 10:48:19 +0000
Head commit of repository guru: 28d39b2aafa03a33f6fa34755cbdc841c32b259c
Head commit of repository benzene-overlay: 7e7ee2c3e0aa345d738878af91b8fafde900994a
Head commit of repository brave-overlay: 936386ea36dcd840366496d56164105dafb9a951
sh bash 5.2_p37
ld GNU ld (Gentoo 2.44 p1) 2.44.0
ccache version 4.11 [disabled]
app-misc/pax-utils: 1.3.8::gentoo
app-shells/bash: 5.2_p37::gentoo
dev-build/autoconf: 2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake: 1.16.5-r2::gentoo, 1.17-r2::gentoo
dev-build/cmake: 3.31.6-r1::gentoo
dev-build/libtool: 2.5.4::gentoo
dev-build/make: 4.4.1-r100::gentoo
dev-build/meson: 1.7.0::gentoo
dev-java/java-config: 2.3.4::gentoo
dev-lang/perl: 5.40.1::gentoo
dev-lang/python: 3.11.11_p2::gentoo, 3.12.9::gentoo, 3.13.2::gentoo, 3.13.2-r100::gentoo
dev-lang/rust-bin: 1.85.0-r1::gentoo
dev-util/ccache: 4.11::gentoo
llvm-core/clang: 18.1.8-r6::gentoo, 19.1.7::gentoo, 20.1.0-r1::gentoo
llvm-core/lld: 19.1.7::gentoo
llvm-core/llvm: 18.1.8-r6::gentoo, 19.1.7::gentoo, 20.1.0::gentoo
sys-apps/baselayout: 2.17::gentoo
sys-apps/openrc: 0.60.1::gentoo
sys-apps/sandbox: 2.45::gentoo
sys-devel/binutils: 2.44::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc: 14.2.1_p20250301::gentoo
sys-devel/gcc-config: 2.12.1::gentoo
sys-kernel/linux-headers: 6.13::gentoo (virtual/os-headers)
sys-libs/glibc: 2.41::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: True
sync-rsync-extra-opts:
sync-rsync-verify-metamanifest: no
sync-rsync-verify-max-age: 3
sync-rsync-verify-jobs: 1
Skippy
location: /usr/local/portage/skippy
masters: gentoo
volatile: True
guru
location: /var/db/repos/guru
sync-type: git
sync-uri: https://github.com/gentoo-mirror/guru.git
masters: gentoo
volatile: False
x-portage
location: /usr/local/portage
masters: gentoo
priority: 0
volatile: True
benzene-overlay
location: /var/lib/layman/benzene-overlay
sync-type: git
sync-uri: https://github.com/Universebenzene/benzene-overlay
masters: gentoo
priority: 50
volatile: True
brave-overlay
location: /var/lib/layman/brave-overlay
sync-type: git
sync-uri: https://gitlab.com/jason.oliveira/brave-overlay
masters: gentoo
priority: 50
volatile: True
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/angband/gamedata/ /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --exclude net-news/quiterss"
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 buildpkg-live clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo https://gentoo.osuosl.org/ http://gentoo.osuosl.org/ http://mirror.leaseweb.com/gentoo/ http://mirrors.rit.edu/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="en en_GB en_US"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
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 aim alsa amd64 amrnb amrub arts aspell bzip2 cdda cddb cdr cet consolekit crypt css dbus dillo dvd dvdr encode exif extensions extras ffmpeg flac fontconfig fts3 gdbm gimp gnutls graphicsmagick gstreamer gtk hddtemp iconv id3tag imap ipv6 jadetex java jpeg jpeg2k kde kf6compat kipi ladspa lcms ldap libsamplerate libtirpc lm_sensors mad midi mikmod mjpeg mmx mng mono mp3 mp4 mpeg mplayer multilib musepack musicbrainz mysql ncurses nls nvidia offensive ogg opengl openmp oscar pam pcre pdf png policykit portaudio qt3support qt6 quicktime readline redeyes scanner seccomp secure-delete semantic-desktop smp sndfile soundtouch spamassassin spell split-usr sql sqlite sse sse2 ssl svg test-rust theora tiff twolame udev ukit unicode vamp vcd vorbis vulkan wavpack wmf xattr xinerama xmp xvid xvmc zlib" ABI_X86="32 64" ADA_TARGET="gcc_14" ALSA_CARDS="hda-intel intel8x0 intel8x0m" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" L10N="en en_GB en_US" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby32 ruby33" VIDEO_CARDS="nvidia fbdev vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto 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, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
=================================================================
Package Settings
=================================================================
media-video/dvdstyler-3.2.1-r2::gentoo was built with the following:
USE="udev -debug" ABI_X86="(64)"


