Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 951343 - =app-misc/tracker-miners-3.6.2-r1 fails to compile: error: ‘AVCodecParameters’ has no member named ‘channels’
Summary: =app-misc/tracker-miners-3.6.2-r1 fails to compile: error: ‘AVCodecParameters...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://gitlab.gnome.org/GNOME/locals...
Whiteboard:
Keywords:
Depends on:
Blocks: ffmpeg-7.0
  Show dependency tree
 
Reported: 2025-03-14 14:31 UTC by Martin Wegner
Modified: 2025-03-15 02:24 UTC (History)
2 users (show)

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


Attachments
build.log of failed build (build.log,144.05 KB, text/x-log)
2025-03-14 14:31 UTC, Martin Wegner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Wegner 2025-03-14 14:31:01 UTC
=app-misc/tracker-miners-3.6.2-r1 needs a preserved-rebuild due to =media-video/ffmpeg-7.1.1 and fails to compile with this error:

../tracker-miners-3.6.2/src/tracker-extract/tracker-extract-libav.c: In function ‘tracker_extract_get_metadata’:                                                
../tracker-miners-3.6.2/src/tracker-extract/tracker-extract-libav.c:105:43: error: ‘AVCodecParameters’ has no member named ‘channels’                           
  105 |                 if (audio_stream->codecpar->channels > 0) {                                                                                             
      |                                           ^~                                                                                                            
../tracker-miners-3.6.2/src/tracker-extract/tracker-extract-libav.c:106:101: error: ‘AVCodecParameters’ has no member named ‘channels’                          
  106 |                         tracker_resource_set_int64 (metadata, "nfo:channels", audio_stream->codecpar->channels);                                        
      |

Reproducible: Always

Steps to Reproduce:
1. Upgrade to =media-video/ffmpeg-7.1.1
2. emerge @preserved-rebuild
3. =app-misc/tracker-miners-3.6.2-r1 fails to rebuild due to compile error
Actual Results:  
Build fails with compile error.

Expected Results:  
Build should go through.

% emerge --info
Portage 3.0.67 (python 3.12.9-final-0, default/linux/amd64/23.0/desktop/gnome/systemd, gcc-14, glibc-2.41, 6.13.6-gentoo-vidar-ryzen x86_64)
=================================================================
System uname: Linux-6.13.6-gentoo-vidar-ryzen-x86_64-AMD_Ryzen_9_7950X3D_16-Core_Processor-with-glibc2.41
KiB Mem:    97989312 total,  19049556 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Fri, 14 Mar 2025 08:45:00 +0000
Head commit of repository gentoo: f0a0ec7d60b2d1b77cfffd59a449a7bf64ccd818
Timestamp of repository brother-overlay: Sun, 16 Feb 2025 18:52:05 +0000
Head commit of repository brother-overlay: 98cf4667f1edbdca145a2298bc7a9e42571dad8b

Timestamp of repository flow: Sat, 08 Mar 2025 17:04:18 +0000
Head commit of repository flow: b13d7c112ea302f3c105147522a83d7c711dd2c7

Timestamp of repository fol4: Fri, 07 Mar 2025 01:34:13 +0000
Head commit of repository fol4: f6d43d7b04dc5f8b00d7d10e01039765c3c2d13f

Timestamp of repository gnome: Thu, 22 Dec 2022 05:17:16 +0000
Head commit of repository gnome: 57d2257b2b27ef52259de5ab28ddf7effc3af1a8

Timestamp of repository guru: Thu, 13 Mar 2025 14:03:21 +0000
Head commit of repository guru: b58c0ddfdcf5e4d464f19a20d1e30a39298313ec

Timestamp of repository haskell: Fri, 14 Mar 2025 02:18:19 +0000
Head commit of repository haskell: 36a078923815f54e9fb2f994b61ad46394a05a4d

Timestamp of repository java: Fri, 07 Mar 2025 01:34:05 +0000
Head commit of repository java: a3f4e5dfcb1ce882ece4f1c887c06f3c25cafbf1

Timestamp of repository kaa: Fri, 07 Mar 2025 01:34:05 +0000
Head commit of repository kaa: 9e604a4b8a5fcd2a72ba2492ac40a04ecdb27bc7

Head commit of repository mittwinter: cfe72b8842adb04a030d08066e00fb9d623488cc

Timestamp of repository pentoo: Wed, 12 Mar 2025 02:33:19 +0000
Head commit of repository pentoo: a6a04a02849d6200252b0c0f4c10bda8ce53f51d

Timestamp of repository plex-overlay: Tue, 11 Mar 2025 16:33:15 +0000
Head commit of repository plex-overlay: c4a261c9d1c2deff85584976bf4547439663eb76

Timestamp of repository seden: Fri, 07 Mar 2025 02:34:10 +0000
Head commit of repository seden: e5f4aa703c92b31af737d27f41cfe69ea9489721

Timestamp of repository ssnb: Fri, 07 Mar 2025 02:04:04 +0000
Head commit of repository ssnb: baa49a59ccfbf387071c7acfc1ebbdb3ef8fd182

Timestamp of repository steam-overlay: Sat, 08 Mar 2025 17:04:20 +0000
Head commit of repository steam-overlay: 5f5031d1937ace119bb3839e9283c29238b0a634

Timestamp of repository tatsh-overlay: Wed, 12 Mar 2025 19:48:19 +0000
Head commit of repository tatsh-overlay: e2ef93586349c80970cac04b1329ec9504e6aab7

Timestamp of repository thegreatmcpain: Fri, 14 Mar 2025 08:03:18 +0000
Head commit of repository thegreatmcpain: 4e267d858e552352a5a6f56402d87693c6b549bd

Timestamp of repository tmacedo: Sun, 16 Feb 2025 18:52:15 +0000
Head commit of repository tmacedo: 8e9522c3bbb5d53bc60369ed90682bd88c0030ba

Timestamp of repository vifino-overlay: Sun, 16 Feb 2025 18:52:06 +0000
Head commit of repository vifino-overlay: bd01e8a5db08824a6d3debf73ec4bfdf38bbaefc

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:           2.7.18_p16-r2::gentoo, 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:           19.1.7::gentoo, 20.1.0-r1::gentoo
llvm-core/lld:             19.1.7::gentoo
llvm-core/llvm:            19.1.7::gentoo, 20.1.0::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/sandbox:          2.45::gentoo
sys-apps/systemd:          257.3::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.de.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: --exclude='.snapshots'
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 3

brother-overlay
    location: /var/db/repos/brother-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/brother-overlay.git
    masters: gentoo
    volatile: False

flow
    location: /var/db/repos/flow
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/flow.git
    masters: gentoo
    volatile: False

fol4
    location: /var/db/repos/fol4
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/fol4.git
    masters: gentoo
    volatile: False

gnome
    location: /var/db/repos/gnome
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gnome.git
    masters: gentoo
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

haskell
    location: /var/db/repos/haskell
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/haskell.git
    masters: gentoo
    volatile: False

java
    location: /var/db/repos/java
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/java.git
    masters: gentoo
    volatile: False

kaa
    location: /var/db/repos/kaa
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/kaa.git
    masters: gentoo
    volatile: False

local
    location: /usr/local/portage/mittwinter
    masters: gentoo
    priority: 0
    volatile: True

mittwinter
    location: /var/db/repos/mittwinter
    sync-type: git
    sync-uri: https://github.com/mittwinter/gentoo-overlay
    masters: gentoo
    volatile: False

pentoo
    location: /var/db/repos/pentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pentoo.git
    masters: gentoo
    volatile: False

plex-overlay
    location: /var/db/repos/plex-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/plex-overlay.git
    masters: gentoo
    volatile: False

seden
    location: /var/db/repos/seden
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/seden.git
    masters: gentoo
    volatile: False

ssnb
    location: /var/db/repos/ssnb
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/ssnb.git
    masters: gentoo
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

tatsh-overlay
    location: /var/db/repos/tatsh-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/tatsh-overlay.git
    masters: gentoo
    volatile: False

thegreatmcpain
    location: /var/db/repos/thegreatmcpain
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/thegreatmcpain.git
    masters: gentoo
    volatile: False

tmacedo
    location: /var/db/repos/tmacedo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/tmacedo.git
    masters: gentoo
    volatile: False

vifino-overlay
    location: /var/db/repos/vifino-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/vifino-overlay.git
    masters: gentoo
    volatile: False

Installed sets: @esteam
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
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 /var/bind"
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/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=" --alert y --verbose-conflicts --changed-deps y --changed-use --complete-graph y --with-bdeps y --autounmask --autounmask-write --deep --backtrack=1000 --keep-going y"
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 clean-logs config-protect-if-modified distlocks ebuild-locks fakeroot 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 splitdebug strict unknown-features-warn unmerge-backup unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS=" 	https://ftp.fau.de/gentoo 	https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ 	ftp://ftp.gwdg.de/pub/linux/gentoo/ 	ftp://mirror.netcologne.de/gentoo/ 	"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="en de"
MAKEOPTS="-j20 -l16"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude='.snapshots'"
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/zsh"
USE="X a52 aac acl acpi aes alsa amd64 amr avahi avx avx2 bluetooth bluray branding bzip2 cairo cdda cdr cet colord crypt cryptsetup cups dbus device-mapper dirac divx dri dts dvb dvd dvdr eds emoji encode exif f16c faac faad fat fdk ffmpeg flac fma3 fuse gdbm gdk-pixbuf gif gnome gnome-keyring gnome-online-accounts gnome-shell gstreamer gtk gtk3 gtk4 gui iconv icu idn imagemagick inotify introspection ipv6 jpeg keyring kf6compat lame lastfm lcms libglvnd libnotify libtirpc lvm lz4 lzma lzo mad mmx mmxext mng mp3 mp4 mpeg mtp multilib nautilus ncurses networkmanager nls nvenc nvidia offensive ogg opengl openmp opus pam pango pclmul pcre pcsc-lite pdf plymouth png policykit popcnt ppds pulseaudio qml qt5 qt6 rdrand readline realmedia samba schroedinger sdl seccomp security-key sendto sha smartcard sound spell sse sse2 sse3 sse4_1 sse4_2 sse4a ssl ssse3 startup-notification svg syslog sysprof systemd test-rust theora tiff tracker truetype udev udisks unicode upower usb v4l v4l2 vaapi vdpau vim-syntax vorbis vpx vulkan wayland webm webp wifi wmp wxwidgets x264 x265 xattr xcb xft xml xv xvid xz zeitgeist zeroconf zlib zsh-completion" ABI_X86="64 32" ADA_TARGET="gcc_14" 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="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" CURL_SSL="openssl" 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" GRUB_PLATFORMS="efi-64 pc" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" L10N="en de en-US de-de" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="AArch64 AMDGPU X86 NVPTX" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua51 lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_12 python3_11" QEMU_SOFTMMU_TARGETS="x86_64 i386" RUBY_TARGETS="ruby32" VIDEO_CARDS="nouveau nvidia" 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, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Martin Wegner 2025-03-14 14:31:57 UTC
Created attachment 920766 [details]
build.log of failed build
Comment 2 Kostadin Shishmanov 2025-03-14 23:13:01 UTC
Upstream commit that fixes the issue: https://gitlab.gnome.org/GNOME/localsearch/-/commit/5e246f9a9423b1baf15ad4f4c4194a22f3caf247

The commit is part of a very extensive MR but I guess it could be backported?
Comment 3 Ionen Wolkens gentoo-dev 2025-03-15 02:24:21 UTC
I don't maintain this and was going to drive-by add ffmpeg-compat "for now", but this package seem to have other problems. It notably still uses gstreamer even with USE="-gstreamer ffmpeg":

 * VDB: detected possibly incorrect RDEPEND (app-misc/tracker-miners-3.6.2-r2)
 *               > media-libs/gst-plugins-base:1.0
 *               > media-libs/gstreamer:1.0

...and fails to build without it wrt bug #947635 (fails for me as well), meaning that you can't really avoid it.

So I'd recommend to just keep (the default) USE=gstreamer enabled until this gets proper attention.