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?
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.