Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 681174 - media-libs/x265-3.0[test] fails to build
Summary: media-libs/x265-3.0[test] fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-21 17:56 UTC by Pacho Ramos
Modified: 2020-06-05 15:42 UTC (History)
0 users

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


Attachments
build.log.gz (x265-3.0:20190321-175226.log.gz,19.74 KB, application/gzip)
2019-03-21 17:56 UTC, Pacho Ramos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2019-03-21 17:56:06 UTC
Created attachment 570126 [details]
build.log.gz

I get:
make[2]: Leaving directory '/var/tmp/portage/media-libs/x265-3.0/work/x265_3.0/source-abi_x86_32.x86-main'
[100%] Built target x265-shared
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/TestBench.dir/checkasm-a.asm.o: warning: relocation in read-only section `.text'
../libx265_main12.a(api.cpp.o): In function `x265_12bit::x265_api_get_169(int)':
api.cpp:(.text+0x1be6): undefined reference to `dlopen'
api.cpp:(.text+0x1bfd): undefined reference to `dlsym'
api.cpp:(.text+0x1c6d): undefined reference to `dlopen'
../libx265_main12.a(api.cpp.o): In function `x265_12bit::x265_api_query(int, int, int*)':
api.cpp:(.text+0x1d25): undefined reference to `dlopen'
api.cpp:(.text+0x1d46): undefined reference to `dlsym'
api.cpp:(.text+0x1ddd): undefined reference to `dlopen'
../libx265_main10.a(api.cpp.o): In function `x265_10bit::x265_api_get_169(int)':
api.cpp:(.text+0x1be6): undefined reference to `dlopen'
api.cpp:(.text+0x1bfd): undefined reference to `dlsym'
api.cpp:(.text+0x1c6d): undefined reference to `dlopen'
../libx265_main10.a(api.cpp.o): In function `x265_10bit::x265_api_query(int, int, int*)':
api.cpp:(.text+0x1d25): undefined reference to `dlopen'
api.cpp:(.text+0x1d46): undefined reference to `dlsym'
api.cpp:(.text+0x1dc5): undefined reference to `dlopen'
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object.
collect2: error: ld returned 1 exit status
make[2]: *** [test/CMakeFiles/TestBench.dir/build.make:218: test/TestBench] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-libs/x265-3.0/work/x265_3.0/source-abi_x86_32.x86-main'
make[1]: *** [CMakeFiles/Makefile2:336: test/CMakeFiles/TestBench.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/media-libs/x265-3.0/work/x265_3.0/source-abi_x86_32.x86-main'
make: *** [Makefile:130: all] Error 2
 * ERROR: media-libs/x265-3.0::gentoo failed (compile phase):
Comment 1 Pacho Ramos gentoo-dev 2019-03-21 17:59:00 UTC
it fails with USE test
Comment 2 Andreas Sturmlechner gentoo-dev 2019-05-06 14:15:15 UTC
Same issue with 9999.
Comment 3 Larry the Git Cow gentoo-dev 2020-05-24 20:25:10 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 4 Alexis Ballier gentoo-dev 2020-06-05 15:42:31 UTC
should be fixed in 3.4