Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 832625

Summary: sci-libs/oce is unmaintained upstream and blocking sci-libs/vtk-8.x cleanup
Product: Gentoo Linux Reporter: Andreas Sturmlechner <asturm>
Component: Current packagesAssignee: Zoltan Puskas <zoltan>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/tpaviot/oce/issues/745#issuecomment-992285943
See Also: https://github.com/gentoo/gentoo/pull/23886
https://bugs.gentoo.org/show_bug.cgi?id=831595
https://github.com/gentoo/gentoo/pull/24108
https://github.com/gentoo/gentoo/pull/24123
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 831595    

Description Andreas Sturmlechner gentoo-dev 2022-02-03 10:22:53 UTC
Quote from upstream issue:

> No, this package is currently unmaintained. It used to live thanks to user
> contributions, but since the occ team became more open to the community (lgpl
> license, git repos, open mantis issue tacker) the oce project is less useful.
> I suggest using the latest official occt version rather than once.

If it is not possible to patch it up to more recent VTK package compatibility, we should start last-rites and recommend users switch to sci-libs/opencascade.
Comment 1 Zoltan Puskas 2022-02-06 07:57:41 UTC
I think at this point the only package that depends on sci-libs/oce is sci-electronics/kicad-5.1.12 (based on a grep in portage). Since KiCad already has the 6.x version in the tree (which by the way does not support OCE anymore) we can probably start by dropping the kicad-5 series and then do the last-rite for OCE itself.
Comment 2 Andreas Sturmlechner gentoo-dev 2022-02-06 08:14:52 UTC
You are maintainer for both; want to prepare cleanup and last-rites in the same PR?
Comment 3 Zoltan Puskas 2022-02-07 11:23:35 UTC
Actually, KiCAD 5 series can be also used with sci-libs/opencascade, so instead I decided to do a new revision of that ebuild where I move people over to OCCT. This way industrial users can have some more time to migrate, while we can proceed with sci-libs/oce deprecation.
Comment 4 Larry the Git Cow gentoo-dev 2022-02-07 20:47:04 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3445b595b8f6d6bdd27a6f2e461b828834367e23

commit 3445b595b8f6d6bdd27a6f2e461b828834367e23
Author:     Zoltan Puskas <zoltan@sinustrom.info>
AuthorDate: 2022-02-07 11:14:21 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-02-07 20:46:49 +0000

    profiles: Mask sci-libs/oce
    
    Bug: https://bugs.gentoo.org/832625
    
    Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info>
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 profiles/package.mask | 8 ++++++++
 1 file changed, 8 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbc8951f368fa53f26423ca26976f15aee2da99d

commit bbc8951f368fa53f26423ca26976f15aee2da99d
Author:     Zoltan Puskas <zoltan@sinustrom.info>
AuthorDate: 2022-02-07 11:10:52 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-02-07 20:46:49 +0000

    sci-electronics/kicad: Disable sci-libs/oce usage
    
    OCE is an unmaintained fork of sci-libs/opencascade and is going to be
    dropped. KiCAD still can be built and used with OCCT for 3D modeling.
    
    Bug: https://bugs.gentoo.org/832625
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info>
    Closes: https://github.com/gentoo/gentoo/pull/24108
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../kicad/{kicad-5.1.12.ebuild => kicad-5.1.12-r1.ebuild}          | 7 ++-----
 sci-electronics/kicad/metadata.xml                                 | 1 -
 2 files changed, 2 insertions(+), 6 deletions(-)
Comment 5 Larry the Git Cow gentoo-dev 2022-02-07 21:56:45 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b7d7f9c2703b319bb2fdf42cf9229933b90ab37

commit 0b7d7f9c2703b319bb2fdf42cf9229933b90ab37
Author:     Zoltan Puskas <zoltan@sinustrom.info>
AuthorDate: 2022-02-07 21:43:29 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-02-07 21:55:54 +0000

    sci-electronics/kicad-packages3d: Drop sci-libs/oce support
    
    sci-libs/oce is obsolete and being deprecated. Move people over to
    sci-libs/opencascade instead.
    
    Bug: https://bugs.gentoo.org/832625
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info>
    Closes: https://github.com/gentoo/gentoo/pull/24123
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 ...packages3d-5.1.12.ebuild => kicad-packages3d-5.1.12-r1.ebuild} | 8 +++-----
 sci-electronics/kicad-packages3d/metadata.xml                     | 3 ---
 2 files changed, 3 insertions(+), 8 deletions(-)
Comment 6 Larry the Git Cow gentoo-dev 2022-02-21 23:24:15 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a1324aa105beed8878503f55dd6783255127de0

commit 1a1324aa105beed8878503f55dd6783255127de0
Author:     Bernd Waibel <waebbl-gentoo@posteo.net>
AuthorDate: 2022-01-20 16:55:55 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-02-21 23:23:29 +0000

    sci-libs/vtk: drop 8.2.0
    
    Only one package, sci-libs/oce, which is masked for last-riting, depends
    on this version.
    Won't build with ffmpeg-5.
    
    Bug: https://bugs.gentoo.org/831595
    Bug: https://bugs.gentoo.org/832625
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
    Closes: https://github.com/gentoo/gentoo/pull/23886
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-libs/vtk/Manifest                              |   4 -
 .../files/vtk-8.1.0-openmpi-4-compatibility.patch  |  14 -
 ...01-fix-library-installation-dir-for-xdmf3.patch |  57 ----
 sci-libs/vtk/files/vtk-8.2.0-fno-common.patch      |  40 ---
 sci-libs/vtk/files/vtk-8.2.0-gcc-10.patch          |  16 -
 sci-libs/vtk/files/vtk-8.2.0-pugixml.patch         |  12 -
 sci-libs/vtk/files/vtk-8.2.0-py38.patch            | 175 ----------
 sci-libs/vtk/files/vtk-8.2.0-qt-5.15.patch         |  37 --
 sci-libs/vtk/metadata.xml                          |   1 -
 sci-libs/vtk/vtk-8.2.0-r6.ebuild                   | 375 ---------------------
 10 files changed, 731 deletions(-)
Comment 7 Larry the Git Cow gentoo-dev 2022-03-02 12:26:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4fe643d6188f1c81c7ec0207e2331c938abcf03

commit b4fe643d6188f1c81c7ec0207e2331c938abcf03
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2022-03-02 12:26:02 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2022-03-02 12:26:17 +0000

    sci-libs/oce: treeclean
    
    Closes: https://bugs.gentoo.org/832625
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 profiles/package.mask                        |  8 ---
 sci-libs/oce/Manifest                        |  1 -
 sci-libs/oce/files/oce-0.18.3-test-fix.patch | 13 -----
 sci-libs/oce/metadata.xml                    | 22 --------
 sci-libs/oce/oce-0.18.3-r3.ebuild            | 78 ----------------------------
 5 files changed, 122 deletions(-)