Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 742551 - media-video/vlc-3.0.11.1[tremor -vorbis] - ld: codec/.libs/libtremor_plugin_la-vorbis.o: in function `CloseDecoder': vorbis.c:(.text+0x30): undefined reference to `vorbis_comment_clear'
Summary: media-video/vlc-3.0.11.1[tremor -vorbis] - ld: codec/.libs/libtremor_plugin_l...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-14 23:33 UTC by ernsteiswuerfel
Modified: 2021-05-11 02:20 UTC (History)
3 users (show)

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


Attachments
build.log (vlc-3.0.11.1:20200914-224502.log,675.19 KB, text/plain)
2020-09-14 23:33 UTC, ernsteiswuerfel
Details
emerge --info (file_742551.txt,5.90 KB, text/plain)
2020-09-14 23:33 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2020-09-14 23:33:26 UTC
Created attachment 660294 [details]
build.log

[...]
libtool: link:  powerpc64-unknown-linux-gnu-gcc -shared  -fPIC -DPIC  codec/.libs/libtremor_plugin_la-vorbis.o   -Wl,-rpath -Wl,/var/tmp/portage/media-video/vlc-3.0.11.1/work/vlc-3.0.11.1/src/.libs ../compat/.libs/libcompat.a -L/usr/lib64/sidplay/builders/ ../src/.libs/libvlccore.so -lidn -lpthread -ldl -lm -ldbus-1 -Wl,--as-needed  -O2 -mcpu=970 -Wl,-O1 -Wl,--hash-style=gnu -Wl,-z -Wl,defs   -Wl,-soname -Wl,libtremor_plugin.so -Wl,-version-script -Wl,.libs/libtremor_plugin.ver -o .libs/libtremor_plugin.so
/usr/lib/gcc/powerpc64-unknown-linux-gnu/9.3.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: codec/.libs/libtremor_plugin_la-vorbis.o: in function `CloseDecoder':
vorbis.c:(.text+0x30): undefined reference to `vorbis_comment_clear'
/usr/lib/gcc/powerpc64-unknown-linux-gnu/9.3.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: vorbis.c:(.text+0x3c): undefined reference to `vorbis_info_clear'
/usr/lib/gcc/powerpc64-unknown-linux-gnu/9.3.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: vorbis.c:(.text+0x74): undefined reference to `vorbis_block_clear'
/usr/lib/gcc/powerpc64-unknown-linux-gnu/9.3.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: vorbis.c:(.text+0x80): undefined reference to `vorbis_dsp_clear'
/usr/lib/gcc/powerpc64-unknown-linux-gnu/9.3.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: vorbis.c:(.text+0x8c): undefined reference to `vorbis_comment_clear'
/usr/lib/gcc/powerpc64-unknown-linux-gnu/9.3.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: vorbis.c:(.text+0x98): undefined reference to `vorbis_info_clear'
/usr/lib/gcc/powerpc64-unknown-linux-gnu/9.3.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: codec/.libs/libtremor_plugin_la-vorbis.o: in function `OpenDecoder':
vorbis.c:(.text+0x178): undefined reference to `vorbis_info_init'
/usr/lib/gcc/powerpc64-unknown-linux-gnu/9.3.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: vorbis.c:(.text+0x184): undefined reference to `vorbis_comment_init'
/usr/lib/gcc/powerpc64-unknown-linux-gnu/9.3.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: codec/.libs/libtremor_plugin_la-vorbis.o: in function `ProcessHeaders':
vorbis.c:(.text+0x42c): undefined reference to `vorbis_synthesis_headerin'
/usr/lib/gcc/powerpc64-unknown-linux-gnu/9.3.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: vorbis.c:(.text+0x500): undefined reference to `vorbis_synthesis_headerin'
/usr/lib/gcc/powerpc64-unknown-linux-gnu/9.3.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: vorbis.c:(.text+0x720): undefined reference to `vorbis_synthesis_headerin'
/usr/lib/gcc/powerpc64-unknown-linux-gnu/9.3.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: vorbis.c:(.text+0x748): undefined reference to `vorbis_synthesis_init'
/usr/lib/gcc/powerpc64-unknown-linux-gnu/9.3.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: vorbis.c:(.text+0x758): undefined reference to `vorbis_block_init'
/usr/lib/gcc/powerpc64-unknown-linux-gnu/9.3.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: codec/.libs/libtremor_plugin_la-vorbis.o: in function `DecodeBlock':
vorbis.c:(.text+0xc1c): undefined reference to `vorbis_packet_blocksize'
/usr/lib/gcc/powerpc64-unknown-linux-gnu/9.3.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: vorbis.c:(.text+0xdcc): undefined reference to `vorbis_synthesis_pcmout'
/usr/lib/gcc/powerpc64-unknown-linux-gnu/9.3.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: vorbis.c:(.text+0xec8): undefined reference to `vorbis_synthesis_read'
/usr/lib/gcc/powerpc64-unknown-linux-gnu/9.3.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: vorbis.c:(.text+0xf6c): undefined reference to `vorbis_synthesis'
/usr/lib/gcc/powerpc64-unknown-linux-gnu/9.3.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: vorbis.c:(.text+0xf84): undefined reference to `vorbis_synthesis_blockin'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:18625: libtremor_plugin.la] Error 1
Comment 1 ernsteiswuerfel archtester 2020-09-14 23:33:59 UTC
Created attachment 660297 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2021-05-11 02:20:53 UTC
The bug has been closed via the following commit(s):

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

commit 61e99a621f6a8e0ad3085838ec618102c906f6cb
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2021-05-11 02:19:28 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2021-05-11 02:19:33 +0000

    media-video/vlc: always depend on media-libs/libvorbis
    
    USE=tremor depends on libvorbis [Link 1] which is the root
    cause for bug 742551.
    
    However, VLC unconditionally uses libvorbis when found [Link 2],
    so we have to depend on media-libs/libvorbis all the time.
    
    Link 1: https://github.com/videolan/vlc/blob/ae406f9e6be4eb0b7d6b8db6edd51005d5af546f/modules/codec/Makefile.am#L312-L317
    Link 2: https://github.com/videolan/vlc/blob/ae406f9e6be4eb0b7d6b8db6edd51005d5af546f/configure.ac#L2427-L2429
    Closes: https://bugs.gentoo.org/742551
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 media-video/vlc/vlc-3.0.14.ebuild   | 6 +++---
 media-video/vlc/vlc-3.0.9999.ebuild | 6 +++---
 media-video/vlc/vlc-9999.ebuild     | 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)