Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opencascade: Add 7.8.1 #26087

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

AbrilRBS
Copy link
Member

@AbrilRBS AbrilRBS commented Dec 2, 2024

Summary

Changes to recipe: opencascade/[7.8.1]

Motivation

Closes #25738

Details

Lots of cleanup that I left for a follow-up PR, and #20781 has this as a subset, but realized it too late. Will merge both PRs

Open-Cascade-SAS/OCCT@V7_6_2...V7_8_1 very big diff! But not much build-side changes


@AbrilRBS AbrilRBS self-assigned this Dec 2, 2024
uilianries
uilianries previously approved these changes Dec 2, 2024
Copy link
Member

@uilianries uilianries left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. No changes in the building: Open-Cascade-SAS/OCCT@V7_8_0...V7_8_1#files_bucket

tc.variables["CMAKE_CXX_STANDARD"] = self._min_cppstd
if Version(self.version) >= "7.8.0":
cppstd = str(self.settings.compiler.cppstd).replace("gnu", "").upper()
tc.cache_variables["BUILD_CPP_STANDARD"] = f"C++{cppstd}"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/Open-Cascade-SAS/OCCT/blob/master/CMakeLists.txt#L25 this value actually is not enfornced because upstream has a , so it's not an actual fatal error

@uilianries
Copy link
Member

Current error on Linux:

[ 83%] Linking CXX executable ../../lin64/gcc/bin/ExpToCasExe
/opt/conan/binutils/bin/ld: /usr/lib/x86_64-linux-gnu/libGL.so: .dynsym local symbol at index 3 (>= sh_info of 3)
/opt/conan/binutils/bin/ld: /usr/lib/x86_64-linux-gnu/libGL.so: .dynsym local symbol at index 4 (>= sh_info of 3)
/opt/conan/binutils/bin/ld: /usr/lib/x86_64-linux-gnu/libGL.so: .dynsym local symbol at index 5 (>= sh_info of 3)
/opt/conan/binutils/bin/ld: ../../lin64/gcc/lib/libTKExpress.a(Express.cxx.o): in function `Express::WriteFileStamp(std::ostream&)':
Express.cxx:(.text+0x9d): undefined reference to `OSD_Process::OSD_Process()'
/opt/conan/binutils/bin/ld: Express.cxx:(.text+0xa5): undefined reference to `OSD_Process::SystemDate()'
/opt/conan/binutils/bin/ld: Express.cxx:(.text+0xce): undefined reference to `OSD_Environment::OSD_Environment(TCollection_AsciiString const&)'
/opt/conan/binutils/bin/ld: Express.cxx:(.text+0xe6): undefined reference to `OSD_Environment::Value()'
/opt/conan/binutils/bin/ld: Express.cxx:(.text+0x188): undefined reference to `OSD_Process::UserName()'
/opt/conan/binutils/bin/ld: ../../lin64/gcc/lib/libTKExpress.a(Express_Entity.cxx.o): in function `Express_Entity::writeIncludes(std::ostream&) const':
Express_Entity.cxx:(.text+0x23a2): undefined reference to `OSD_Directory::OSD_Directory(OSD_Path const&)'
/opt/conan/binutils/bin/ld: Express_Entity.cxx:(.text+0x23ad): undefined reference to `OSD_Directory::Build(OSD_Protection const&)'
/opt/conan/binutils/bin/ld: ../../lin64/gcc/lib/libTKExpress.a(Express_Entity.cxx.o): in function `Express_Entity::GenerateClass() const':
Express_Entity.cxx:(.text+0x94f9): undefined reference to `OSD_Directory::OSD_Directory(OSD_Path const&)'
/opt/conan/binutils/bin/ld: Express_Entity.cxx:(.text+0x9506): undefined reference to `OSD_Directory::Build(OSD_Protection const&)'
/opt/conan/binutils/bin/ld: Express_Entity.cxx:(.text+0xafb8): undefined reference to `OSD_Directory::OSD_Directory(OSD_Path const&)'
/opt/conan/binutils/bin/ld: Express_Entity.cxx:(.text+0xafc5): undefined reference to `OSD_Directory::Build(OSD_Protection const&)'
/opt/conan/binutils/bin/ld: Express_Entity.cxx:(.text+0xbaef): undefined reference to `OSD_Directory::OSD_Directory(OSD_Path const&)'
/opt/conan/binutils/bin/ld: Express_Entity.cxx:(.text+0xbb09): undefined reference to `OSD_Directory::Build(OSD_Protection const&)'
/opt/conan/binutils/bin/ld: ../../lin64/gcc/lib/libTKExpress.a(Express_Enum.cxx.o): in function `Express_Enum::GenerateClass() const':
Express_Enum.cxx:(.text+0x4d3): undefined reference to `OSD_Directory::OSD_Directory(OSD_Path const&)'
/opt/conan/binutils/bin/ld: Express_Enum.cxx:(.text+0x4de): undefined reference to `OSD_Directory::Build(OSD_Protection const&)'
/opt/conan/binutils/bin/ld: ../../lin64/gcc/lib/libTKExpress.a(Express_Select.cxx.o): in function `Express_Select::generateSelectMember(opencascade::handle<TColStd_HSequenceOfInteger> const&) const':
Express_Select.cxx:(.text+0x345): undefined reference to `OSD_Directory::OSD_Directory(OSD_Path const&)'
/opt/conan/binutils/bin/ld: Express_Select.cxx:(.text+0x350): undefined reference to `OSD_Directory::Build(OSD_Protection const&)'
/opt/conan/binutils/bin/ld: ../../lin64/gcc/lib/libTKExpress.a(Express_Select.cxx.o): in function `Express_Select::GenerateClass() const':
Express_Select.cxx:(.text+0x1923): undefined reference to `OSD_Directory::OSD_Directory(OSD_Path const&)'
/opt/conan/binutils/bin/ld: Express_Select.cxx:(.text+0x192e): undefined reference to `OSD_Directory::Build(OSD_Protection const&)'
collect2: error: ld returned 1 exit status
src/ExpToCasExe/CMakeFiles/ExpToCasExe.dir/build.make:130: recipe for target 'lin64/gcc/bin/ExpToCasExe-7.8.1' failed
make[2]: *** [lin64/gcc/bin/ExpToCasExe-7.8.1] Error 1
CMakeFiles/Makefile2:2662: recipe for target 'src/ExpToCasExe/CMakeFiles/ExpToCasExe.dir/all' failed
make[1]: *** [src/ExpToCasExe/CMakeFiles/ExpToCasExe.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[opencascade] Request bump version 7.8.1
2 participants