https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: media-gfx/hugin-2020.0.0-r1 fails to compile. Discovered on: amd64 (internal ref: ci) NOTE: If you think this is a GCC-11 related issue, please block bug 732706.
Created attachment 759384 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: PanoDetectorLogic.cpp:(.text._ZN5flann11KMeansIndexINS_2L2IdEEE9saveIndexEP8_IO_FILE[_ZN5flann11KMeansIndexINS_2L2IdEEE9saveIndexEP8_IO_FILE]+0x7b): undefined reference to `LZ4_resetStreamHC' PanoDetectorLogic.cpp:(.text._ZN5flann11LinearIndexINS_2L2IdEEE9saveIndexEP8_IO_FILE[_ZN5flann11LinearIndexINS_2L2IdEEE9saveIndexEP8_IO_FILE]+0x7b): undefined reference to `LZ4_resetStreamHC' PanoDetectorLogic.cpp:(.text._ZN5flann13serialization11SaveArchive10flushBlockEv[_ZN5flann13serialization11SaveArchive10flushBlockEv]+0x3e): undefined reference to `LZ4_compress_HC_continue' PanoDetectorLogic.cpp:(.text._ZN5flann14AutotunedIndexINS_2L2IdEEE9saveIndexEP8_IO_FILE[_ZN5flann14AutotunedIndexINS_2L2IdEEE9saveIndexEP8_IO_FILE]+0x82): undefined reference to `LZ4_resetStreamHC' PanoDetectorLogic.cpp:(.text._ZN5flann27HierarchicalClusteringIndexINS_2L2IdEEE9saveIndexEP8_IO_FILE[_ZN5flann27HierarchicalClusteringIndexINS_2L2IdEEE9saveIndexEP8_IO_FILE]+0x81): undefined reference to `LZ4_resetStreamHC' PanoDetectorLogic.cpp:(.text._ZN5flann8LshIndexINS_2L2IdEEE9saveIndexEP8_IO_FILE[_ZN5flann8LshIndexINS_2L2IdEEE9saveIndexEP8_IO_FILE]+0x7d): undefined reference to `LZ4_resetStreamHC' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: PanoDetectorLogic.cpp:(.text._ZN5flann13serialization11SaveArchive10flushBlockEv[_ZN5flann13serialization11SaveArchive10flushBlockEv]+0xd1): undefined reference to `LZ4_compress_HC_continue' collect2: error: ld returned 1 exit status
Had same issue here with a brand new build with Intel EVO platform.
ci has reproduced this issue with version 2021.0_rc1 - Updating summary.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65f96213bd1cc2f77a9c5c5fb5665c91d8279909 commit 65f96213bd1cc2f77a9c5c5fb5665c91d8279909 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-12-26 03:02:27 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-26 03:03:39 +0000 sci-libs/flann: fix pkgconfig file format (no semicolons) Not sure why but a semicolon seems to have started appearing more recently, probably with a newer CMake version. Anyway, a problem from the past resurfaced (in a slightly different way, but same outcome). flann's malformed pkgconfig file was causing consumers to be underlinked against lz4 and libflann* (and usually fail to build). Closes: https://bugs.gentoo.org/827263 Closes: https://bugs.gentoo.org/829398 Bug: https://bugs.gentoo.org/681898 Signed-off-by: Sam James <sam@gentoo.org> .../files/flann-1.9.1-system-lz4-pkgconfig.patch | 38 ++++++++++++++++++++++ ...flann-1.9.1-r3.ebuild => flann-1.9.1-r4.ebuild} | 3 +- 2 files changed, 40 insertions(+), 1 deletion(-)