opencascade failed to build from source in Fedora rawhide/f42 https://koji.fedoraproject.org/koji/taskinfo?taskID=128024121 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild Please fix opencascade 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, opencascade will be orphaned. Before branching of Fedora 43, opencascade 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 2071429 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 2071430 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 2071431 [details] state.log
capturing the actual build issue as it's not in the attached build.log [2479/5940] /usr/bin/g++ -DHAVE_FREETYPE -DHAVE_OPENGL -DHAVE_OPENGL_EXT -DHAVE_RAPIDJSON -DHAVE_TBB -DHAVE_TK -DHAVE_VTK -DHAVE_XLIB -DOCC_CONVERT_SIGNALS -DTKV3d_EXPORTS -DVTK_OPENGL2_BACKEND -I/usr/include/freetype2 -I/builddir/build/BUILD/opencascade-7.8.1-build/occt-V7_8_0/redhat-linux-build/include/opencascade -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fexceptions -fPIC -Wall -Wextra -O2 -g -DNDEBUG -std=gnu++11 -fPIC -MD -MT src/TKV3d/CMakeFiles/TKV3d.dir/__/StdPrs/StdPrs_BRepFont.cxx.o -MF src/TKV3d/CMakeFiles/TKV3d.dir/__/StdPrs/StdPrs_BRepFont.cxx.o.d -o src/TKV3d/CMakeFiles/TKV3d.dir/__/StdPrs/StdPrs_BRepFont.cxx.o -c /builddir/build/BUILD/opencascade-7.8.1-build/occt-V7_8_0/src/StdPrs/StdPrs_BRepFont.cxx FAILED: src/TKV3d/CMakeFiles/TKV3d.dir/__/StdPrs/StdPrs_BRepFont.cxx.o /usr/bin/g++ -DHAVE_FREETYPE -DHAVE_OPENGL -DHAVE_OPENGL_EXT -DHAVE_RAPIDJSON -DHAVE_TBB -DHAVE_TK -DHAVE_VTK -DHAVE_XLIB -DOCC_CONVERT_SIGNALS -DTKV3d_EXPORTS -DVTK_OPENGL2_BACKEND -I/usr/include/freetype2 -I/builddir/build/BUILD/opencascade-7.8.1-build/occt-V7_8_0/redhat-linux-build/include/opencascade -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fexceptions -fPIC -Wall -Wextra -O2 -g -DNDEBUG -std=gnu++11 -fPIC -MD -MT src/TKV3d/CMakeFiles/TKV3d.dir/__/StdPrs/StdPrs_BRepFont.cxx.o -MF src/TKV3d/CMakeFiles/TKV3d.dir/__/StdPrs/StdPrs_BRepFont.cxx.o.d -o src/TKV3d/CMakeFiles/TKV3d.dir/__/StdPrs/StdPrs_BRepFont.cxx.o -c /builddir/build/BUILD/opencascade-7.8.1-build/occt-V7_8_0/src/StdPrs/StdPrs_BRepFont.cxx /builddir/build/BUILD/opencascade-7.8.1-build/occt-V7_8_0/src/StdPrs/StdPrs_BRepFont.cxx: In member function ‘Standard_Boolean StdPrs_BRepFont::renderGlyph(Standard_Utf32Char, TopoDS_Shape&)’: /builddir/build/BUILD/opencascade-7.8.1-build/occt-V7_8_0/src/StdPrs/StdPrs_BRepFont.cxx:460:30: error: invalid conversion from ‘unsigned char*’ to ‘const char*’ [-fpermissive] 460 | const char* aTags = &anOutline->tags[aStartIndex]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char*
Problem is no longer reproducible after a new gcc build.