Bug 1992893
| Summary: | [FTBFS] pcl: FTBS in rawhide | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Thomas Rodgers <trodgers> | ||||
| Component: | pcl | Assignee: | Rich Mattes <richmattes> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | awilliam, besser82, richmattes, thofmann | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | pcl-1.12.0-3.fc36 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2021-11-04 21:09:48 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1991887 | ||||||
| Attachments: |
|
||||||
I'm working on this, but got a bit stuck. There's an upstream 1.12.0. Using that and building against the vtk rebuild that happened recently gets past boost issues, but then we run into https://github.com/PointCloudLibrary/pcl/issues/4882 : [ 86%] Built target pcl_obj_rec_ransac_result CMakeFiles/pcl_surface.dir/src/mls_xyz.cpp.o: in function `pcl::MLSResult::calculatePrincipalCurvatures(double, double) const': /builddir/build/BUILD/pcl-1.12.0/surface/include/pcl/surface/impl/mls.hpp:538: multiple definition of `pcl::MLSResult::calculatePrincipalCurvatures(double, double) const'; CMakeFiles/pcl_surface.dir/src/mls_n.cpp.o:/builddir/build/BUILD/pcl-1.12.0/surface/include/pcl/surface/impl/mls.hpp:538: first defined here /usr/bin/ld: CMakeFiles/pcl_surface.dir/src/mls_xyzi.cpp.o: in function `Eigen::internal::handmade_aligned_malloc(unsigned int)': /builddir/build/BUILD/pcl-1.12.0/surface/include/pcl/surface/impl/mls.hpp:493: multiple definition of `pcl::MLSResult::calculatePrincipalCurvatures(double, double) const'; CMakeFiles/pcl_surface.dir/src/mls_n.cpp.o:/builddir/build/BUILD/pcl-1.12.0/surface/include/pcl/surface/impl/mls.hpp:538: first defined here /usr/bin/ld: CMakeFiles/pcl_surface.dir/src/mls_xyzrgba.cpp.o: in function `Eigen::internal::handmade_aligned_malloc(unsigned int)': /builddir/build/BUILD/pcl-1.12.0/surface/include/pcl/surface/impl/mls.hpp:493: multiple definition of `pcl::MLSResult::calculatePrincipalCurvatures(double, double) const'; CMakeFiles/pcl_surface.dir/src/mls_n.cpp.o:/builddir/build/BUILD/pcl-1.12.0/surface/include/pcl/surface/impl/mls.hpp:538: first defined here /usr/bin/ld: CMakeFiles/pcl_surface.dir/src/mls_xyzrgb.cpp.o: in function `Eigen::internal::handmade_aligned_malloc(unsigned int)': /builddir/build/BUILD/pcl-1.12.0/surface/include/pcl/surface/impl/mls.hpp:493: multiple definition of `pcl::MLSResult::calculatePrincipalCurvatures(double, double) const'; CMakeFiles/pcl_surface.dir/src/mls_n.cpp.o:/builddir/build/BUILD/pcl-1.12.0/surface/include/pcl/surface/impl/mls.hpp:538: first defined here /usr/bin/ld: CMakeFiles/pcl_surface.dir/src/mls_xyzrgbn.cpp.o: in function `Eigen::internal::handmade_aligned_malloc(unsigned int)': /builddir/build/BUILD/pcl-1.12.0/surface/include/pcl/surface/impl/mls.hpp:493: multiple definition of `pcl::MLSResult::calculatePrincipalCurvatures(double, double) const'; CMakeFiles/pcl_surface.dir/src/mls_n.cpp.o:/builddir/build/BUILD/pcl-1.12.0/surface/include/pcl/surface/impl/mls.hpp:538: first defined here collect2: error: ld returned 1 exit status gmake[2]: *** [surface/CMakeFiles/pcl_surface.dir/build.make:592: lib/libpcl_surface.so.1.12.0] Error 1 Thanks for taking a look, I had a busy last week/weekend but I should be able to resolve this this week. That error looks like it's at least partly caused by a patch that splits up some template instantiations so that builders don't hit OOM errors, I'll try building with the patch disabled and see what happens Thanks, Rich. I did have to rebase three patches and remove another to get that far; I'll commit that work to the rawhide branch so you don't have to recreate it. FEDORA-2021-f230a6fe6a has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report. |
Created attachment 1813278 [details] build.log Description of problem: Fails to build from source. CMake Error at cmake/pcl_targets.cmake:305 (add_executable): Target "pcl_openni_face_detector" links to target "Boost::serialization" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?