minidlna: compile failure after ffmpeg 9.0.1 update
Open
@dangowrt is already working on this.
Since Sep 17, 2026.
bug
- Dominant language
- Makefile
- Stars
- 4.6k
- Forks
- 4k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 134
Description
Package Name
minidlna
Maintainer
ardeleanalex@gmail.com
OpenWrt Version
SNAPSHOT
OpenWrt Target/Subtarget
mediatek/filogic
Steps to Reproduce
- Pull latest snapshot
- Update and install feeds (
./scripts/feeds update -a; ./scripts/feeds install -a) - Select minidlna via make menuconfig
- make -j1 V=s
Actual Behaviour
Compile failure in minidlna:
make[3]: Entering directory '/home/anton/openwrt/bananapi4/openwrt/build_dir/target-aarch64_cortex-a53_musl/minidlna-1.3.3'
make all-recursive
make[4]: Entering directory '/home/anton/openwrt/bananapi4/openwrt/build_dir/target-aarch64_cortex-a53_musl/minidlna-1.3.3'
make[5]: Entering directory '/home/anton/openwrt/bananapi4/openwrt/build_dir/target-aarch64_cortex-a53_musl/minidlna-1.3.3'
aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/home/anton/openwrt/bananapi4/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-15.3.0_musl/usr/include -I/home/anton/openwrt/bananapi4/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-15.3.0_musl/include -I/home/anton/openwrt/bananapi4/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-15.3.0_musl/include/fortify -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Os -pipe -mcpu=cortex-a73 -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/home/anton/openwrt/bananapi4/openwrt/build_dir/target-aarch64_cortex-a53_musl/minidlna-1.3.3=minidlna-1.3.3 -Wl,-z,max-page-size=4096 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wl,-z,pack-relative-relocs -c -o metadata.o metadata.c
In file included from metadata.c:34:
metadata.c: In function 'GetVideoMetadata':
libav.h:177:36: error: 'AVCodecParameters' has no member named 'channels'
177 | #define lav_channels(s) s->codecpar->channels
| ^~
metadata.c:781:53: note: in expansion of macro 'lav_channels'
781 | if( lav_channels(astream) <= 2 &&
| ^~~~~~~~~~~~
libav.h:177:36: error: 'AVCodecParameters' has no member named 'channels'
177 | #define lav_channels(s) s->codecpar->channels
| ^~
metadata.c:784:58: note: in expansion of macro 'lav_channels'
784 | else if( lav_channels(astream) <= 6 &&
| ^~~~~~~~~~~~
libav.h:177:36: error: 'AVCodecParameters' has no member named 'channels'
177 | #define lav_channels(s) s->codecpar->channels
| ^~
log.h:53:104: note: in expansion of macro 'lav_channels'
53 | #define DPRINTF(level, facility, fmt, arg...) do { log_err(level, facility, __FILE__, __LINE__, fmt, ##arg); } while (0)
| ^~~
metadata.c:788:57: note: in expansion of macro 'DPRINTF'
788 | DPRINTF(E_DEBUG, L_METADATA, "Unhandled AAC: %lld channels, %lld bitrate\n",
| ^~~~~~~
libav.h:177:36: error: 'AVCodecParameters' has no member named 'channels'
177 | #define lav_channels(s) s->codecpar->channels
| ^~
metadata.c:828:30: note: in expansion of macro 'lav_channels'
828 | m.channels = lav_channels(astream);
| ^~~~~~~~~~~~
make[5]: *** [Makefile:659: metadata.o] Error 1
make[5]: Leaving directory '/home/anton/openwrt/bananapi4/openwrt/build_dir/target-aarch64_cortex-a53_musl/minidlna-1.3.3'
make[4]: *** [Makefile:676: all-recursive] Error 1
make[4]: Leaving directory '/home/anton/openwrt/bananapi4/openwrt/build_dir/target-aarch64_cortex-a53_musl/minidlna-1.3.3'
make[3]: *** [Makefile:491: all] Error 2
make[3]: Leaving directory '/home/anton/openwrt/bananapi4/openwrt/build_dir/target-aarch64_cortex-a53_musl/minidlna-1.3.3'
make[2]: *** [Makefile:72: /home/anton/openwrt/bananapi4/openwrt/build_dir/target-aarch64_cortex-a53_musl/minidlna-1.3.3/.built] Error 2
make[2]: Leaving directory '/home/anton/openwrt/bananapi4/openwrt/feeds/packages/multimedia/minidlna'
time: package/feeds/packages/minidlna/compile#0.32#0.15#0.44
ERROR: package/feeds/packages/minidlna failed to build.
make[1]: *** [package/Makefile:198: package/feeds/packages/minidlna/compile] Error 1
make[1]: Leaving directory '/home/anton/openwrt/bananapi4/openwrt'
make: *** [/home/anton/openwrt/bananapi4/openwrt/include/toplevel.mk:233: package/minidlna/compile] Error 2
Confirmation Checklist
- The package is maintained in this repository.
- I understand that issues related to the base OpenWrt repository or LuCI repository will be closed.
- I am reporting an issue for OpenWrt, not an unsupported fork.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.