Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919386 - media-video/ffmpeg-6.1[mmal] build fails: src/libavcodec/mmaldec.c: error: request for member 'p' in something not a structure or union
Summary: media-video/ffmpeg-6.1[mmal] build fails: src/libavcodec/mmaldec.c: error: re...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2023-12-07 07:49 UTC by Matt Whitlock
Modified: 2024-04-07 16:33 UTC (History)
2 users (show)

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


Attachments
build.log.xz (build.log.xz,38.00 KB, application/x-xz)
2023-12-07 07:49 UTC, Matt Whitlock
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Whitlock 2023-12-07 07:49:12 UTC
Created attachment 877980 [details]
build.log.xz

src/libavcodec/mmaldec.c:847:9: error: request for member 'p' in something not a structure or union
  847 |         .p.pix_fmts     = (const enum AVPixelFormat[]) { AV_PIX_FMT_MMAL, \
      |         ^
src/libavcodec/mmaldec.c:854:1: note: in expansion of macro 'FFMMAL_DEC'
  854 | FFMMAL_DEC(h264, AV_CODEC_ID_H264)
      | ^~~~~~~~~~
src/libavcodec/mmaldec.c:847:9: error: request for member 'p' in something not a structure or union
  847 |         .p.pix_fmts     = (const enum AVPixelFormat[]) { AV_PIX_FMT_MMAL, \
      |         ^
src/libavcodec/mmaldec.c:855:1: note: in expansion of macro 'FFMMAL_DEC'
  855 | FFMMAL_DEC(mpeg2, AV_CODEC_ID_MPEG2VIDEO)
      | ^~~~~~~~~~
src/libavcodec/mmaldec.c:847:9: error: request for member 'p' in something not a structure or union
  847 |         .p.pix_fmts     = (const enum AVPixelFormat[]) { AV_PIX_FMT_MMAL, \
      |         ^
src/libavcodec/mmaldec.c:856:1: note: in expansion of macro 'FFMMAL_DEC'
  856 | FFMMAL_DEC(mpeg4, AV_CODEC_ID_MPEG4)
      | ^~~~~~~~~~
src/libavcodec/mmaldec.c:847:9: error: request for member 'p' in something not a structure or union
  847 |         .p.pix_fmts     = (const enum AVPixelFormat[]) { AV_PIX_FMT_MMAL, \
      |         ^
src/libavcodec/mmaldec.c:857:1: note: in expansion of macro 'FFMMAL_DEC'
  857 | FFMMAL_DEC(vc1, AV_CODEC_ID_VC1)
      | ^~~~~~~~~~
make: *** [/var/tmp/portage/media-video/ffmpeg-6.1/work/ffmpeg-6.1/ffbuild/common.mak:81: libavcodec/mmaldec.o] Error 1


# emerge -pqv '=media-video/ffmpeg-6.1::gentoo'
[ebuild     U ] media-video/ffmpeg-6.1 [6.0.1] USE="alsa bzip2 encode fontconfig gmp gnutls gpl iconv lzma mmal mp3 network openssl postproc threads truetype vorbis zlib -X (-amf) -amr -amrenc (-appkit) -bluray -bs2b -cdio -chromaprint -chromium -codec2 -cpudetection (-cuda) -dav1d -debug -doc -fdk -flite -frei0r -fribidi -gcrypt -glslang% -gme -gsm -hardcoded-tables -iec61883 (-ieee1394) -jack -jpeg2k -jpegxl -kvazaar -ladspa -lcms -libaom -libaribb24 -libass -libcaca -libdrm -libilbc (-libplacebo) -librtmp -libsoxr -libtesseract -libv4l -libxml2 -lv2 (-mipsdspr1) (-mipsdspr2) (-mipsfpu) -modplug (-nvenc) -openal (-opencl) -opengl -openh264 -opus -oss -pic -pulseaudio (-qsv) -rav1e -rubberband -samba -sdl (-shaderc) -snappy -sndio -speex -srt -ssh -static-libs -svg -svt-av1 -test -theora -twolame -v4l (-vaapi) (-vdpau) -verify-sig -vidstab (-vmaf) -vpx -vulkan -webp -x264 -x265 -xvid -zeromq -zimg -zvbi" CPU_FLAGS_ARM="(thumb) (v6) vfp (-neon) (-thumb2) (-v8) (-vfpv3)" FFTOOLS="-aviocat -cws2fws -ffescape -ffeval -ffhash -fourcc2pixfmt -graph2dot -ismindex -pktdumper -qt-faststart -sidxindex -trasher" 


# emerge --info '=media-video/ffmpeg-6.1::gentoo'
Portage 3.0.56 (python 3.11.6-final-0, default/linux/arm/17.0/armv6j, gcc-13, glibc-2.37-r7, 6.1.55+ armv6l)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.1.55+-armv6l-ARMv6-compatible_processor_rev_7_-v6l-with-glibc2.37
KiB Mem:      488348 total,    233312 free
KiB Swap:    1048572 total,   1044700 free
Timestamp of repository gentoo: Wed, 06 Dec 2023 11:15:01 +0000
Head commit of repository gentoo: 346145602ffa362e1c3156f1b869b5ad5c22a6bc
Timestamp of repository 4nykey: Mon, 04 Dec 2023 07:46:50 +0000
Head commit of repository 4nykey: 3ccc2a5dddf2909376f75b9b573b33943e5da3d6

Timestamp of repository bitcoin: Tue, 28 Nov 2023 21:01:56 +0000
Head commit of repository bitcoin: 476fa7503d3faad8312a39196c327c236fbbf228

Timestamp of repository eigenlay: Tue, 21 Nov 2023 21:03:19 +0000
Head commit of repository eigenlay: 4497ab937f5ed847436d7d03d3f4520704a35719

Timestamp of repository gentoo-bootstrap: Thu, 23 Nov 2023 15:17:38 +0000
Head commit of repository gentoo-bootstrap: cdd6b1a6c49c892db7e0796325de3dfb57f69bc2

Timestamp of repository kde: Sat, 02 Dec 2023 21:46:53 +0000
Head commit of repository kde: d34eb57b73244ce1070405a3f28deede7a16539c

Timestamp of repository science: Fri, 01 Dec 2023 22:31:51 +0000
Head commit of repository science: 894c1ebe389802a773509f9c19173772efd9424d

sh dash 0.5.12
ld GNU ld (Gentoo 2.40 p5) 2.40.0
distcc 3.4 armv6j-unknown-linux-gnueabihf [enabled]
ccache version 4.8.3 [enabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-lang/perl:             5.38.0-r1::gentoo
dev-lang/python:           3.11.6::gentoo, 3.12.0_p1::gentoo
dev-lang/rust-bin:         1.71.1::gentoo
dev-util/ccache:           4.8.3::gentoo
dev-util/cmake:            3.27.7::gentoo
dev-util/meson:            1.2.3::gentoo
sys-apps/baselayout:       2.14::gentoo
sys-apps/openrc:           0.48::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/autoconf:        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/gcc:             13.2.1_p20230826::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r7::gentoo
Repositories:

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

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

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

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

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

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

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

local
    location: /var/db/repos/local
    masters: gentoo
    priority: 1000
    volatile: False

ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="@FREE"
CBUILD="armv6j-unknown-linux-gnueabihf"
CFLAGS="-Ofast -pipe -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard"
CHOST="armv6j-unknown-linux-gnueabihf"
CONFIG_PROTECT="/etc /usr/share/i18n/locales/en_US"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-Ofast -pipe -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner --unordered-display --verbose-conflicts --autounmask=n"
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 -march=armv6j"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live ccache config-protect-if-modified distcc ebuild-locks fixlafiles ipc-sandbox multilib-strict news nodoc noinfo noman pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms skiprocheck strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe -march=armv6j"
GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ http://mirrors.rit.edu/gentoo/ http://mirror.lug.udel.edu/pub/gentoo/ http://gentoo.mirrors.pair.com/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/"
INSTALL_MASK="/etc/runlevels/*/hwclock  /etc/systemd /lib/systemd /usr/lib/systemd/system /usr/lib/sysusers.d   /etc/xinetd.d   /usr/share/bash-completion /usr/share/fish /usr/share/zsh   /usr/share/cmake/Help /usr/share/gtk-doc        /usr/share/locale/*/ -/usr/share/locale/en -/usr/share/locale/en_US"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="en_US en"
MAKEOPTS="-j9 -l2"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="gzip"
PORTAGE_COMPRESS_FLAGS="-1"
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="alsa arm bzip2 cli crypt custom-cflags directfb dri fbcon fbdev fontconfig gif gles2 gmp iconv ipv6 jpeg lzma mp3 ncurses nptl ogg opengl openssl pcre png readline seccomp ssl test-rust threads truetype udev unicode v4l vorbis xcb xkb zlib" 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_ARM="vfp edsp thumb v4 v5 v6" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="fbdev vc4" 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, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS