Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 834396 - media-sound/potamus-17 with ffmpeg-5.0: /var/tmp/portage/media-sound/potamus-17/work/potamus-17/src/input-avcodec.c:107: undefined reference to `av_free_packet'
Summary: media-sound/potamus-17 with ffmpeg-5.0: /var/tmp/portage/media-sound/potamus-...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ffmpeg-5.0
  Show dependency tree
 
Reported: 2022-02-28 20:27 UTC by Kobboi
Modified: 2022-03-01 00:02 UTC (History)
0 users

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


Attachments
build.log.gz (build.log.gz,3.93 KB, application/gzip)
2022-02-28 20:27 UTC, Kobboi
Details
emerge-info.txt (emerge-info.txt,8.00 KB, text/plain)
2022-02-28 20:27 UTC, Kobboi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kobboi 2022-02-28 20:27:20 UTC
x86_64-pc-linux-gnu-gcc -std=gnu99 -fgnu89-inline -Wall -g -DDATADIR=\"/usr/share/potamus\" -O2 -march=znver3 -pipe -g -ggdb3  -Wl,-O1 -Wl,--as-needed -o potamus potamus-buffer.o potamus-dnd.o potamus-format.o potamus-input.o potamus-main.o potamus-output.o potamus-player.o potamus-process.o potamus-stock.o potamus-util.o  potamus-input-avcodec.o potamus-input-flac.o potamus-input-mad.o  potamus-input-opus.o potamus-input-vorbis.o potamus-output-ao.o   -lglade-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lharfbuzz -lfontconfig -lfreetype -lxml2 -lgthread-2.0 -pthread -lglib-2.0 -lsamplerate  -lm -lavcodec -lavformat -lavutil  -lFLAC  -lmad -lm  -lopusfile  -lvorbisfile  -lao 
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: potamus-input-avcodec.o: in function `input_avcodec_get_audio':
/var/tmp/portage/media-sound/potamus-17/work/potamus-17/src/input-avcodec.c:107: undefined reference to `av_free_packet'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/media-sound/potamus-17/work/potamus-17/src/input-avcodec.c:119: undefined reference to `avcodec_decode_audio4'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/media-sound/potamus-17/work/potamus-17/src/input-avcodec.c:154: undefined reference to `av_free_packet'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/media-sound/potamus-17/work/potamus-17/src/input-avcodec.c:154: undefined reference to `av_free_packet'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: potamus-input-avcodec.o: in function `input_new_avcodec':
/var/tmp/portage/media-sound/potamus-17/work/potamus-17/src/input-avcodec.c:242: undefined reference to `av_register_all'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/media-sound/potamus-17/work/potamus-17/src/input-avcodec.c:243: undefined reference to `avcodec_register_all'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:428: potamus] Error 1
make[1]: Leaving directory '/var/tmp/portage/media-sound/potamus-17/work/potamus-17/src'
make: *** [Makefile:355: all-recursive] Error 1


Reproducible: Always
Comment 1 Kobboi 2022-02-28 20:27:28 UTC
Created attachment 766051 [details]
build.log.gz
Comment 2 Kobboi 2022-02-28 20:27:29 UTC
Created attachment 766052 [details]
emerge-info.txt
Comment 3 Kobboi 2022-02-28 20:27:58 UTC
Compiles fine with ffmpeg-4.4.1