Fedora Account System
Red Hat Associate
Red Hat Customer
libpkgmanifest failed to build from source in Fedora rawhide/f44 https://koji.fedoraproject.org/koji/taskinfo?taskID=141167257 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild Please fix libpkgmanifest 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, libpkgmanifest will be orphaned. Before branching of Fedora 45, libpkgmanifest will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
Created attachment 2126127 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 2126128 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 2126129 [details] state.log
From the build.log: [ 53%] Building CXX object bindings/python/libpkgmanifest/CMakeFiles/python3_manifest.dir/CMakeFiles/python3_manifest.dir/manifestPYTHON_wrap.cxx.o cd /builddir/build/BUILD/libpkgmanifest-0.5.9-build/libpkgmanifest-0.5.9/redhat-linux-build/bindings/python/libpkgmanifest && /usr/bin/g++ -Dpython3_common_EXPORTS -I/builddir/build/BUILD/libpkgmanifest-0.5.9-build/libpkgmanifest-0.5.9/include -I/usr/include/python3.14 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -mtls-dialect=gnu -std=gnu++20 -fPIC -Wall -Wextra -Werror -Wno-missing-field-initializers -Wno-unused-parameter -MD -MT bindings/python/libpkgmanifest/CMakeFiles/python3_common.dir/CMakeFiles/python3_common.dir/commonPYTHON_wrap.cxx.o -MF CMakeFiles/python3_common.dir/CMakeFiles/python3_common.dir/commonPYTHON_wrap.cxx.o.d -o CMakeFiles/python3_common.dir/CMakeFiles/python3_common.dir/commonPYTHON_wrap.cxx.o -c /builddir/build/BUILD/libpkgmanifest-0.5.9-build/libpkgmanifest-0.5.9/redhat-linux-build/bindings/python/libpkgmanifest/CMakeFiles/python3_common.dir/commonPYTHON_wrap.cxx [...] /builddir/build/BUILD/libpkgmanifest-0.5.9-build/libpkgmanifest-0.5.9/redhat-linux-build/bindings/python/libpkgmanifest/CMakeFiles/python3_common.dir/commonPYTHON_wrap.cxx: In function ‘void SWIG_TypeClientData(swig_type_info*, void*)’: /builddir/build/BUILD/libpkgmanifest-0.5.9-build/libpkgmanifest-0.5.9/redhat-linux-build/bindings/python/libpkgmanifest/CMakeFiles/python3_common.dir/commonPYTHON_wrap.cxx:692:37: error: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Werror=sign-compare] 692 | for (cast = head; (cast - head) <= head->value; cast++) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ The file is generated by Swig. The -Wsign-compare is included in -Wall and "-Wall -Wextra -Werror" is explicitly added in CMakeLists.txt
The build failure seems to be fixed by upgrading gcc-c++ from 16.0.0-0.4.fc44 to 16.0.1-0.3.fc44.
It's not completely fixed: It compiles but i686 with the same error.
I believe it as a fault of Swig <https://github.com/swig/swig/issues/3323>. As a workaround I will try to remove the -Werror option from compiler flags for the Swig-generated files in libpkgmanifest.