Your message dated Sun, 10 May 2020 14:47:24 +0000 with message-id <[email protected]> and subject line Bug#894656: fixed in pcl 1.8.0+dfsg1-4+deb9u1 has caused the Debian Bug report #894656, regarding libpcl-dev 1.8.0 exports the Qt5::Widgets target but doesn't provide it to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 894656: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894656 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: pcl Version: 1.8.0+dfsg1-3 When I find_package PCL, I'm unable to create shared libraries linking against PCL due to the target "Qt5::Widgets" being exported. This has been fixed in pcl 1.8.1 by adding a dependency on libvtk6-qt-dev in the libpcl-dev package. 1.8.0 is missing that dependency. I am using Debian GNU/Linux 9.4 (stretch), kernel 4.13.0-36-generic, libc6 2.24-11+deb9u3. libpcl-dev package information: Architecture: amd64 Source: pcl (1.8.0+dfsg1-3) Version: 1.8.0+dfsg1-3+b2 Depends: libboost-all-dev, libeigen3-dev, libflann-dev, libvtk6-dev, libqhull-dev, libopenni-dev, libopenni2-dev, libpcl-apps1.8 (= 1.8.0+dfsg1-3+b2), libpcl-common1.8 (= 1.8.0+dfsg1-3+b2), libpcl-features1.8 (= 1.8.0+dfsg1-3+b2), libpcl-filters1.8 (= 1.8.0+dfsg1-3+b2), libpcl-io1.8 (= 1.8.0+dfsg1-3+b2), libpcl-kdtree1.8 (= 1.8.0+dfsg1-3+b2), libpcl-keypoints1.8 (= 1.8.0+dfsg1-3+b2), libpcl-ml1.8 (= 1.8.0+dfsg1-3+b2), libpcl-octree1.8 (= 1.8.0+dfsg1-3+b2), libpcl-outofcore1.8 (= 1.8.0+dfsg1-3+b2), libpcl-people1.8 (= 1.8.0+dfsg1-3+b2), libpcl-recognition1.8 (= 1.8.0+dfsg1-3+b2), libpcl-registration1.8 (= 1.8.0+dfsg1-3+b2), libpcl-sample-consensus1.8 (= 1.8.0+dfsg1-3+b2), libpcl-search1.8 (= 1.8.0+dfsg1-3+b2), libpcl-segmentation1.8 (= 1.8.0+dfsg1-3+b2), libpcl-stereo1.8 (= 1.8.0+dfsg1-3+b2), libpcl-surface1.8 (= 1.8.0+dfsg1-3+b2), libpcl-tracking1.8 (= 1.8.0+dfsg1-3+b2), libpcl-visualization1.8 (= 1.8.0+dfsg1-3+b2) Reproducible example: 1. mkdir /tmp/test_pcl_bug 2. cd /tmp/test_pcl_bug && mkdir src && mkdir build 3. touch CMakelists.txt 4. add the following content to the CMakeLists.txt CMakeLists.txt: ``` cmake_minimum_required(VERSION 2.8) project(bug_pcl_qt) find_package(PCL REQUIRED) message(STATUS "${PCL_LIBRARIES}") message(STATUS "${PCL_INCLUDE_DIRS}") include_directories("${PCL_INCLUDE_DIRS}") add_library(test_pcl src/test.cpp) target_include_directories(test_pcl SYSTEM PUBLIC ${PCL_INCLUDE_DIRS}) target_link_libraries(test_pcl ${PCL_LIBRARIES}) ``` 5. touch src/test.cpp 6. add the following content to the src/test.cpp file (code copied from http://pointclouds.org/documentation/tutorials/writing_pcd.php#writing-pcd) ``` #include <iostream> #include <pcl/io/pcd_io.h> #include <pcl/point_types.h> int foo (int argc, char** argv) { pcl::PointCloud<pcl::PointXYZ> cloud; // Fill in the cloud data cloud.width = 5; cloud.height = 1; cloud.is_dense = false; cloud.points.resize (cloud.width * cloud.height); for (size_t i = 0; i < cloud.points.size (); ++i) { cloud.points[i].x = 1024 * rand () / (RAND_MAX + 1.0f); cloud.points[i].y = 1024 * rand () / (RAND_MAX + 1.0f); cloud.points[i].z = 1024 * rand () / (RAND_MAX + 1.0f); } pcl::io::savePCDFileASCII ("test_pcd.pcd", cloud); std::cerr << "Saved " << cloud.points.size () << " data points to test_pcd.pcd." << std::endl; for (size_t i = 0; i < cloud.points.size (); ++i) std::cerr << " " << cloud.points[i].x << " " << cloud.points[i].y << " " << cloud.points[i].z << std::endl; return (0); } ``` 7. cd /tmp/test_pcl_bug/build 8. cmake -DBUILD_SHARED_LIBS=ON .. 8) throws the following warning: ``` CMake Warning (dev) at CMakeLists.txt:10 (add_library): Policy CMP0028 is not set: Double colon in target name means ALIAS or IMPORTED target. Run "cmake --help-policy CMP0028" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Target "test_pcl" links to target "Qt5::Widgets" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? ``` 9. make 9) fails with error message: ``` [100%] Linking CXX shared library libtest_pcl.so /usr/bin/ld: cannot find -lQt5::Widgets collect2: error: ld returned 1 exit status CMakeFiles/test_pcl.dir/build.make:364: recipe for target 'libtest_pcl.so' failed make[2]: *** [libtest_pcl.so] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/test_pcl.dir/all' failed make[1]: *** [CMakeFiles/test_pcl.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2 ``` Installing "libvtk6-qt-dev" and repeating the steps above fixes the issue.
--- End Message ---
--- Begin Message ---Source: pcl Source-Version: 1.8.0+dfsg1-4+deb9u1 Done: Jochen Sprickerhof <[email protected]> We believe that the bug you reported is fixed in the latest version of pcl, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Jochen Sprickerhof <[email protected]> (supplier of updated pcl package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Sat, 05 May 2018 14:52:44 +0200 Source: pcl Architecture: source Version: 1.8.0+dfsg1-4+deb9u1 Distribution: stretch Urgency: medium Maintainer: Debian Science Maintainers <[email protected]> Changed-By: Jochen Sprickerhof <[email protected]> Closes: 894656 Changes: pcl (1.8.0+dfsg1-4+deb9u1) stretch; urgency=medium . * Add dependency to libvtk6-qt-dev (Closes: #894656) Checksums-Sha1: 2633b2795df07c6086f579fe2c38845e79ccf34e 3991 pcl_1.8.0+dfsg1-4+deb9u1.dsc 463c0ac8986b9a74bf95f410cd0595865023c89c 31936 pcl_1.8.0+dfsg1-4+deb9u1.debian.tar.xz 1aab7ec6c4586f6f86c1bffd9fa596d878c4bb97 8972 pcl_1.8.0+dfsg1-4+deb9u1_source.buildinfo Checksums-Sha256: d21f4ec64621f4de47819b735f0e3142b884444f9d233249c5d1cc2ec8e737d9 3991 pcl_1.8.0+dfsg1-4+deb9u1.dsc 5d6c1e53ab4b709e279ebe71fd161f852d9b66b18542096047498823517f606c 31936 pcl_1.8.0+dfsg1-4+deb9u1.debian.tar.xz 49970854bfc54de31ba0835444c3f1af3131661e23a828278fd613cb0e65a001 8972 pcl_1.8.0+dfsg1-4+deb9u1_source.buildinfo Files: 258daba6c3572b14c5865521fff2f661 3991 libs extra pcl_1.8.0+dfsg1-4+deb9u1.dsc 279c6ef3f39e723b1ba2a4130dfc3ff1 31936 libs extra pcl_1.8.0+dfsg1-4+deb9u1.debian.tar.xz 7f15af5879b29d8d41d2e44b530a1582 8972 libs extra pcl_1.8.0+dfsg1-4+deb9u1_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEc7KZy9TurdzAF+h6W//cwljmlDMFAl6m7q4ACgkQW//cwljm lDMe/g/7B8lh/vM96LHaxxgtWuFw9HXa3lLCFGErMhl45ri1Dw888IlwtwDmUhUO kKhA9cIq+0Kqodmp7vhX3lMGCSnuoO/+CwJQ1dgsYi/sa5Asze+dawxvSQ4Y5KLm IQGsf3dzJmn9CDh0jnyta+h/OnNSGHqPSi2d4Jz65tYIVN92jaE7/Rx6fS8SVZoK 8cvhzGTJHye3Kbo2zGRRY5W+KlvJAwhJkJgYfyQKzUTUM5isc4ABqaZEZwUEJaO5 Ffi+hoWNV6GwqNHTKhegOq/5eaBHymVBj8ij6PBqLjcgWcKkFg6sDiqdo4s5+DYU fEba8gQXgyB2LR7I6Pg1FpgV3kfayExTBG7cJnM6bld1WrKntGarIjfWgTsWnOfL 6xYdrqdvWSeLXF27TzlvnRe0tjXpOyPBfuWavh/Q3NxUrI+TEsH0OX5M24UXw1CB yZc8SjZn/a7iHcxYGH5LYuTT7E8uUBbJtY1nBcTy9KEmOFsTpUUPPrleetZuoREj kQpIaPQf3LwYBJjhbMck5yZWprbhPRkhRUFJkxnh4L1CV/6vffvd9VkyrHCcF3X3 q6dOjiBnsPkwBKC7QA6K6hsF1Lot6ZAq9gPVCFNU0qak5AdnIwf69kNnE+TrZhX3 PDle3wdciMKQ/T7Lxn+a4U0N/d4kGd7Q1Zikkmci3AgMauIELjU= =eDb9 -----END PGP SIGNATURE-----
--- End Message ---
-- debian-science-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers
