Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 834396

Summary: 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'
Product: Gentoo Linux Reporter: Kobboi <gentoo>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: normal CC: mgorny, treecleaner
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 831437    
Attachments: build.log.gz
emerge-info.txt

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
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-01-21 08:59:55 UTC
Last released in 2018, a single commit in 2020.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-01-21 10:16:03 UTC
Package masked for removal.
Comment 6 Larry the Git Cow gentoo-dev 2023-03-18 16:45:01 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d56c835eba7be39b02848bfcbbb6e22c29fcedc3

commit d56c835eba7be39b02848bfcbbb6e22c29fcedc3
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2023-03-18 16:43:02 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2023-03-18 16:43:02 +0000

    media-sound/potamus: treeclean
    
    Closes: https://bugs.gentoo.org/834396
    Signed-off-by: David Seifert <soap@gentoo.org>

 media-sound/potamus/Manifest             |  1 -
 media-sound/potamus/metadata.xml         |  8 ------
 media-sound/potamus/potamus-17-r1.ebuild | 46 --------------------------------
 profiles/package.mask                    |  1 -
 4 files changed, 56 deletions(-)