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

Bug 689006

Summary: >=media-libs/x265-3.0[test] : api.cpp:(.text+<snip>): undefined reference to dlopen
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: normal CC: pacho
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
media-libs:x265-3.0:20190630-133044.log

Description Toralf Förster gentoo-dev 2019-06-30 13:51:34 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/TestBench.dir/checkasm-a.asm.o: warning: relocation in read-only section `.text'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../libx265_main12.a(api.cpp.o): in function `x265_12bit::x265_api_get_169(int)':
api.cpp:(.text+0x1c96): undefined reference to `dlopen'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: api.cpp:(.text+0x1cad): undefined reference to `dlsym'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: api.cpp:(.text+0x1d1d): undefined reference to `dlopen'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../libx265_main12.a(api.cpp.o): in function `x265_12bit::x265_api_query(int, int, int*)':

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_libressl-abi32+64-test_20190624-213954

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.3.1
 [2] x86_64-pc-linux-gnu-9.1.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)

Available Rust versions:
  [1]   rust-1.35.0 *



emerge -qpvO media-libs/x265
[ebuild  N    ] media-libs/x265-3.0  USE="10bit 12bit test -numa -pic (-power8)" ABI_X86="32 (64) (-x32)"
Comment 1 Toralf Förster gentoo-dev 2019-06-30 13:51:37 UTC
Created attachment 581532 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-06-30 13:51:40 UTC
Created attachment 581534 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-06-30 13:51:42 UTC
Created attachment 581536 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-06-30 13:51:45 UTC
Created attachment 581538 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-06-30 13:51:48 UTC
Created attachment 581540 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-06-30 13:51:50 UTC
Created attachment 581542 [details]
media-libs:x265-3.0:20190630-133044.log
Comment 7 Pacho Ramos gentoo-dev 2019-11-17 21:18:41 UTC
It fails with USE test, also 3.2 version
Comment 8 Larry the Git Cow gentoo-dev 2020-05-24 20:25:07 UTC
The bug has been referenced in the following commit(s):

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

commit 4e1676eccb226a3405add9c2a9420dbf0c917fba
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-05-24 14:49:22 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-05-24 20:23:47 +0000

    media-libs/x265: disable broken test suite
    
    Bug: https://bugs.gentoo.org/668438
    Bug: https://bugs.gentoo.org/689006
    Bug: https://bugs.gentoo.org/689736
    Bug: https://bugs.gentoo.org/681174
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 media-libs/x265/x265-3.3.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Comment 9 Alexis Ballier gentoo-dev 2020-06-05 15:38:57 UTC
should be fixed in 3.4