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

Bug 711456

Summary: dev-python/pyilmbase-2.5.1 version bump
Product: Gentoo Linux Reporter: Bernd <waebbl-gentoo>
Component: Current packagesAssignee: Bernd <waebbl-gentoo>
Status: RESOLVED FIXED    
Severity: normal CC: jstein, mgorny, proxy-maint, scantlight
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/waebbl/waebbl-gentoo/pull/202
See Also: https://github.com/gentoo/gentoo/pull/14832
https://github.com/gentoo/gentoo/pull/15821
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 694800, 717564, 733456    

Description Bernd 2020-03-03 22:20:53 UTC
Last year, the openexr repository has moved to the AcademySoftwareFoundation user on github. Shortly after, they updated the OpenEXR libraries to 2.4.0 and about a month ago, 2.4.1 came out.

With the 2.4.0 release, they moved away from their autotools based build to a cmake based build. It also looks like they want to drop autotools build eventually, see https://github.com/AcademySoftwareFoundation/openexr/issues/492, although it's still supported as of 2.4.1.

I've written ebuilds for each of the four corresponding packages, media-libs/ilmbase, media-libs/openexr, dev-python/pyilmbase and media-gfx/openexr_viewers and all but pyilmbase are building, at least on amd64 arch.
As for the pyilmbase issue, I think, it's an upstream bug and I have filed a bug on their issue tracker, awaiting response. See https://github.com/AcademySoftwareFoundation/openexr/issues/677 for this.

With the cmake based ebuild, it's no longer possible to build ilmbase and openexr separately, but it's possible to configure, whether the python bindings and the viewers are going to be built. The python bindings will have py3 support. They also come with py2 support, but I didn't consider adding support for it.

I was thinking, we could maybe just use one cmake based ebuild for the now four packages. Apart from a more modern build system, we would have to maintain just one package in the future. But it comes to the cost of solving quite some revdeps listed at https://qa-reports.gentoo.org/output/genrdeps/dindex/media-libs/ilmbase

I've also prepared a cmake ebuild for only one package, and going to open a PR for it. I've tested it on a pure 64bit chroot and all kinds of USE flag combinations and it seems to build. But it also has some place for optimizations, where I'm currently stuck and would appreciate some hints.

For a reference on all five ebuilds, please take a look at the PR on my overlay at https://github.com/waebbl/waebbl-gentoo/pull/202.


Reproducible: Always
Comment 1 Bernd 2020-05-07 16:13:45 UTC
@MichaƂ FYI version 2.4.1 is py3 compatible, althoug the current version is not.
Comment 2 Bernd 2020-05-09 08:19:34 UTC
2.5.0 has come out 2 days ago. I will update the bug and PR to 2.5.0 after the 7 days waiting period.
Comment 3 Bernd 2020-05-24 16:01:38 UTC
2.5.1 has been released ~2 weeks ago. I updated the bug report and the PR as well to reflect this.
Comment 4 Larry the Git Cow gentoo-dev 2020-06-08 16:47:07 UTC
The bug has been referenced in the following commit(s):

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

commit 87a269dc971e1db93daaecf5070b415ebdd29e35
Author:     Bernd Waibel <waebbl@gmail.com>
AuthorDate: 2020-05-16 09:03:08 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-06-08 16:46:51 +0000

    media-gfx/alembic: bump to 1.7.12
    
    Thanks to @redchillipadi for providing the initial ebuild.
    
    Remove arnold and maya USE flags due to not being able to test
    these.
    
    Note: The package supports Python 3, but depends on >=pyilmbase-2.4.1
    for it to work, c.f. https://bugs.gentoo.org/711456 and PR #14832. For
    this, I'm not closing bug #717564.
    
    Thanks-to: Adrian Grigo <agrigo2001@yahoo.com.au>
    Bug: https://bugs.gentoo.org/711456
    Bug: https://bugs.gentoo.org/717564
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Bernd Waibel <waebbl@gmail.com>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 media-gfx/alembic/Manifest              |  1 +
 media-gfx/alembic/alembic-1.7.12.ebuild | 99 +++++++++++++++++++++++++++++++++
 2 files changed, 100 insertions(+)
Comment 5 Larry the Git Cow gentoo-dev 2020-07-21 18:58:36 UTC
The bug has been closed via the following commit(s):

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

commit e1d23133e46f11af2ff522f584aa1ab21a04443a
Author:     Bernd Waibel <waebbl@gmail.com>
AuthorDate: 2020-07-05 11:48:57 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-07-21 18:58:25 +0000

    dev-python/pyilmbase: bump to 2.5.2
    
    Remove support for python2.7 and add python-3 support.
    
    Closes: https://bugs.gentoo.org/711456
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Signed-off-by: Bernd Waibel <waebbl@gmail.com>
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-python/pyilmbase/Manifest                      |  1 +
 ...ig-file-for-PyIlmBase-to-include-prefixes.patch | 30 +++++++++
 dev-python/pyilmbase/metadata.xml                  | 10 ++-
 dev-python/pyilmbase/pyilmbase-2.5.2.ebuild        | 77 ++++++++++++++++++++++
 4 files changed, 117 insertions(+), 1 deletion(-)

Additionally, it has been referenced in the following commit(s):

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

commit dffcb2e509541795dae8dc842d07fe44525fa277
Author:     Bernd Waibel <waebbl@gmail.com>
AuthorDate: 2020-03-03 22:46:55 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-07-21 18:58:25 +0000

    media-libs/openexr: bump to 2.5.2
    
    Move from an autotools based ebuild to a cmake based one.
    
    Solves CVE issues from bug #717474
    
    Bug: https://bugs.gentoo.org/711456
    Bug: https://bugs.gentoo.org/717474
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Signed-off-by: Bernd Waibel <waebbl@gmail.com>
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-libs/openexr/Manifest                        |  1 +
 ....2-0001-IlmImfTest-main.cpp-disable-tests.patch | 40 ++++++++++++++
 media-libs/openexr/metadata.xml                    |  7 ++-
 media-libs/openexr/openexr-2.5.2.ebuild            | 63 ++++++++++++++++++++++
 4 files changed, 110 insertions(+), 1 deletion(-)