Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 827263 - sci-libs/pcl-1.12.0 - /.../ld: lib64/libpcl_kdtree.so.1.12.0: undefined reference to LZ4_resetStreamHC
Summary: sci-libs/pcl-1.12.0 - /.../ld: lib64/libpcl_kdtree.so.1.12.0: undefined refer...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-25 08:25 UTC by Toralf Förster
Modified: 2021-12-26 03:08 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.83 KB, text/plain)
2021-11-25 08:25 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,317.54 KB, text/plain)
2021-11-25 08:25 UTC, Toralf Förster
Details
environment (environment,90.95 KB, text/plain)
2021-11-25 08:25 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,24.32 KB, application/x-bzip)
2021-11-25 08:25 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.61 KB, application/x-bzip)
2021-11-25 08:25 UTC, Toralf Förster
Details
sci-libs:pcl-1.12.0:20211125-052219.log (sci-libs:pcl-1.12.0:20211125-052219.log,354.61 KB, text/plain)
2021-11-25 08:25 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,32.22 KB, application/x-bzip)
2021-11-25 08:25 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-11-25 08:25:18 UTC
too long lines were shrinked:

[295/411] /usr/bin/cmake -E cmake_symlink_library lib64/libpcl_surface.so.1.12.0  lib64/libpcl_surface.so.1.12 lib64/libpcl_surface.so && :
[296/411] : && /usr/bin/x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -fopenmp -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 tools/CMakeFiles/pcl_gp3_surface.dir/gp3_surface.cpp.o -o bin/pcl_gp3_surface  -Wl,-rpath,/var/tmp/portage/sci-libs/pcl-1.12.0/work/
FAILED: bin/pcl_gp3_surface 
: && /usr/bin/x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -fopenmp -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 tools/CMakeFiles/pcl_gp3_surface.dir/gp3_surface.cpp.o -o bin/pcl_gp3_surface  -Wl,-rpath,/var/tmp/portage/sci-libs/pcl-1.12.0/work/pcl-1.12.0
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: lib64/libpcl_kdtree.so.1.12.0: undefined reference to `LZ4_resetStreamHC'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: lib64/libpcl_kdtree.so.1.12.0: undefined reference to `LZ4_setStreamDecode'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: lib64/libpcl_kdtree.so.1.12.0: undefined reference to `LZ4_decompress_safe'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: lib64/libpcl_kdtree.so.1.12.0: undefined reference to `LZ4_decompress_safe_continue'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: lib64/libpcl_kdtree.so.1.12.0: undefined reference to `LZ4_compress_HC_continue'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j4-20211121-020215

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
/usr/lib/llvm/13
13.0.0
Python 3.9.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.56.1 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit 40c2aff995fa10bcb85b9dacd1173fbb593ea28b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Nov 25 04:36:47 2021 +0000

    2021-11-25 04:36:46 UTC

emerge -qpvO sci-libs/pcl
[ebuild  N    ] sci-libs/pcl-1.12.0  USE="opengl png qhull qt5 usb (-cuda) -doc -openni -openni2 -pcap -test -tutorials -vtk" CPU_FLAGS_X86="sse"
Comment 1 Toralf Förster gentoo-dev 2021-11-25 08:25:19 UTC
Created attachment 756214 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-11-25 08:25:21 UTC
Created attachment 756217 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-11-25 08:25:23 UTC
Created attachment 756220 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-11-25 08:25:24 UTC
Created attachment 756223 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-11-25 08:25:25 UTC
Created attachment 756226 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-11-25 08:25:26 UTC
Created attachment 756229 [details]
sci-libs:pcl-1.12.0:20211125-052219.log
Comment 7 Toralf Förster gentoo-dev 2021-11-25 08:25:28 UTC
Created attachment 756232 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2021-12-26 03:03:46 UTC
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(-)
Comment 9 Larry the Git Cow gentoo-dev 2021-12-26 03:08:00 UTC
The bug has been referenced in the following commit(s):

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

commit 3db33dc972b14fd6fe3c944f5376597b720ec5e2
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-26 03:07:35 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-26 03:07:35 +0000

    sci-libs/flann: adjust patch reference
    
    Bug: https://bugs.gentoo.org/827263
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-libs/flann/flann-1.9.1-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)