Bug 2137719 - Request update of OpenCascade to a recent version
Summary: Request update of OpenCascade to a recent version
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: opencascade
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Richard Shaw
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2036372 2156800
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-26 00:29 UTC by Itai Nahshon
Modified: 2023-01-15 03:29 UTC (History)
2 users (show)

Fixed In Version: opencascade-7.6.3-1.fc38
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-15 03:29:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Itai Nahshon 2022-10-26 00:29:36 UTC
Using FreeCAD I'm sometimes getting wrong results exporting to Step file format.
FreeCAD is built from GIT (latest version) using installed components on Fedora 35. Fedora (35, 36, 37) are using OpenCascade 7.5.0. Problem is fixed in a later version of OpenCascade (I tried the latest 7.6.3).


I Reported the problem for Fedora 35 because that's what I'm still using. I know it's very close to end of life and I plan to upgrade soon. However fedora 36 and the coming 37 are also using same old version of OpenCascade.


Problem report and discussion on the FreeCAD forum:
https://forum.freecadweb.org/viewtopic.php?f=3&t=72858

Comment 1 Richard Shaw 2022-10-26 13:50:45 UTC
I'm working on an update to the latest version for Rawhide, but pushing such a big change to released branches is more problematic. Is it OK to update to the latest 7.5.x since it appears to fix the problem?

Comment 2 Itai Nahshon 2022-10-27 10:54:24 UTC
Thanks Richard.
I have a solution that will work until I upgrade to Fedora 37 (hopefully in two weeks).
Going to 7.5.X vs 7.6.X? It a question of features vs risk (vs Fedora policies). I think providing the fixes from 7.5.X is good. Then plan to get 7.7 for the next Fedora release.

Comment 3 Ben Cotton 2022-11-29 19:02:15 UTC
This message is a reminder that Fedora Linux 35 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 35 on 2022-12-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '35'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 35 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 4 Ben Cotton 2022-12-13 18:10:48 UTC
Fedora Linux 35 entered end-of-life (EOL) status on 2022-12-13.

Fedora Linux 35 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 5 Dan Horák 2022-12-27 17:57:05 UTC
reopening, so we can track the rebase to a newer release

Comment 6 Richard Shaw 2022-12-28 17:39:43 UTC
Bah... The github project and dev.opencascade.org are not in sync. They have different releases.

The problem is that the dev site requires a login which is kind of a no-no. Because of that the sources cannot be directly downloaded by Fedora infra. 

I'm at camp this week but will try to figure out what to do when I'm back home.

Comment 7 Dan Horák 2022-12-28 19:28:23 UTC
First, please enjoy your vacation, Richard, this can wait :-)

How about getting V7.7.0 tag from the https://git.dev.opencascade.org/gitweb/?p=occt.git, wouldn't that help?

Comment 8 Richard Shaw 2022-12-28 21:12:05 UTC
First problem:

CMake Error at adm/cmake/tbb.cmake:162 (find_package):
  Could not find a configuration file for package "TBB" that is compatible
  with requested version "2021.5".

Looks like even rawhide has the 2020.3 version.

Comment 9 Dan Horák 2022-12-28 21:56:50 UTC
(In reply to Richard Shaw from comment #8)
> First problem:
> 
> CMake Error at adm/cmake/tbb.cmake:162 (find_package):
>   Could not find a configuration file for package "TBB" that is compatible
>   with requested version "2021.5".
> 
> Looks like even rawhide has the 2020.3 version.

can you try reducing the requirement to 2020.3 with patch/sed? Maybe they don't rely on any new APIs (on Linux) ...

Comment 10 Dan Horák 2023-01-10 14:15:34 UTC
Richard, do you have some work-in-progress specfile for the opencascade update? I would take a look if the TBB version issue could be worked around.

Comment 11 Richard Shaw 2023-01-11 13:43:00 UTC
(In reply to Dan Horák from comment #10)
> Richard, do you have some work-in-progress specfile for the opencascade
> update? I would take a look if the TBB version issue could be worked around.

There seems to be a bit of conversation on the tbb bug, hopefully they're making progress.

Perhaps for now I should update to 7.5.3 or 7.6.3? It doesn't appear the the tbb version requirement was bumped until 7.7.0.

Comment 12 Fedora Update System 2023-01-15 03:14:09 UTC
FEDORA-2023-84568e1699 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-84568e1699

Comment 13 Fedora Update System 2023-01-15 03:29:43 UTC
FEDORA-2023-84568e1699 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.


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