pcl failed to build from source in Fedora rawhide/f30 https://koji.fedoraproject.org/koji/taskinfo?taskID=32430363 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Please fix pcl at your earliest convenience and set the bug's status to ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks, pcl will be orphaned. Before branching of Fedora 31, pcl will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://fedoraproject.org/wiki/Fails_to_build_from_source
Created attachment 1531887 [details] build.log file build.log too big, will only attach last 1024 bytes
Created attachment 1531888 [details] root.log file root.log too big, will only attach last 1024 bytes
Created attachment 1531889 [details] state.log
Looks like some issues with the new boost release. I'm working on applying this upstream patch: https://github.com/PointCloudLibrary/pcl/pull/2338
There's a lot of fixes that are needed that are already upstream, I'm updating to PCL 1.9.1 now.
Getting closer, now running out of memory on 32-bit builders (i686 and armv7hl) with the below error. The package is already running with -j 1 and changing the -g cflag to -g1 on arm, I'm going to try making -g1 apply to all 32 bit arches and turn off -pipe. === -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -fopenmp -fPIC -fPIC -std=gnu++11 -o CMakeFiles/pcl_surface.dir/src/mls.cpp.o -c /builddir/build/BUILD/pcl-1.9.1/surface/src/mls.cpp BUILDSTDERR: In file included from /usr/include/boost/detail/endian.hpp:9, BUILDSTDERR: from /builddir/build/BUILD/pcl-1.9.1/common/include/pcl/PCLPointCloud2.h:11, BUILDSTDERR: from /builddir/build/BUILD/pcl-1.9.1/common/include/pcl/pcl_base.h:55, BUILDSTDERR: from /builddir/build/BUILD/pcl-1.9.1/surface/include/pcl/surface/mls.h:44, BUILDSTDERR: from /builddir/build/BUILD/pcl-1.9.1/surface/src/mls.cpp:40: BUILDSTDERR: /usr/include/boost/predef/detail/endian_compat.h:11:161: note: #pragma message: The use of BOOST_*_ENDIAN and BOOST_BYTE_ORDER is deprecated. Please include <boost/predef/other/endian.h> and use BOOST_ENDIAN_*_BYTE instead BUILDSTDERR: 11 | #pragma message("The use of BOOST_*_ENDIAN and BOOST_BYTE_ORDER is deprecated. Please include <boost/predef/other/endian.h> and use BOOST_ENDIAN_*_BYTE instead") BUILDSTDERR: | ^ BUILDSTDERR: cc1plus: out of memory allocating 2084644 bytes after a total of 112517120 bytes make[2]: Leaving directory '/builddir/build/BUILD/pcl-1.9.1/build' BUILDSTDERR: make[2]: *** [surface/CMakeFiles/pcl_surface.dir/build.make:170: surface/CMakeFiles/pcl_surface.dir/src/mls.cpp.o] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/pcl-1.9.1/build' BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:1842: surface/CMakeFiles/pcl_surface.dir/all] Error 2 BUILDSTDERR: make: *** [Makefile:144: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.Y8wiFW (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.Y8wiFW (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/pcl.spec https://koji.fedoraproject.org/koji/taskinfo?taskID=32837386
Finally managed to coax a build out of all of the architectures. Closing.