Bug 2340966 - opencascade: FTBFS in Fedora rawhide/f42
Summary: opencascade: FTBFS in Fedora rawhide/f42
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: opencascade
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard Shaw
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F42FTBFS
TreeView+ depends on / blocked
 
Reported: 2025-01-22 21:11 UTC by Fedora Release Engineering
Modified: 2025-01-31 03:07 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-01-31 03:07:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2025-01-22 21:11 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2025-01-22 21:11 UTC, Fedora Release Engineering
no flags Details
state.log (1.65 KB, text/plain)
2025-01-22 21:11 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2025-01-22 21:11:23 UTC
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/

Comment 1 Fedora Release Engineering 2025-01-22 21:11:26 UTC
Created attachment 2071429 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2025-01-22 21:11:28 UTC
Created attachment 2071430 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2025-01-22 21:11:29 UTC
Created attachment 2071431 [details]
state.log

Comment 4 Dan Horák 2025-01-29 09:28:14 UTC
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*

Comment 5 Richard Shaw 2025-01-31 03:07:42 UTC
Problem is no longer reproducible after a new gcc build.


Note You need to log in before you can comment on or make changes to this bug.