Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715298 - media-libs/ctl and media-libs/openexr_ctl cannot be installed at the same time
Summary: media-libs/ctl and media-libs/openexr_ctl cannot be installed at the same time
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: PMASKED, PullRequest
Depends on:
Blocks:
 
Reported: 2020-03-29 11:15 UTC by Bernd
Modified: 2021-08-24 12:38 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd 2020-03-29 11:15:27 UTC
While checking out revdep for openexr-2.4.1 bump, this issue popped up. media-libs/openexr_ctl depends on media-libs/ctl, while media-libs/ctl blocks media-libs/openexr_ctl.


Reproducible: Always

Steps to Reproduce:
1. emerge openexr_ctl
2.
3.
Actual Results:  
(chroot64) artus /etc # emerge -pv openexr_ctl

These are the packages that would be merged, in order:

Calculating dependencies                      ... done!
[ebuild  N     ] media-libs/ctl-1.5.2-r2::gentoo-git  0 KiB
[ebuild  N     ] media-libs/openexr_ctl-1.0.1-r3::gentoo-git  USE="-static-libs" 355 KiB
[blocks B      ] media-libs/openexr_ctl ("media-libs/openexr_ctl" is blocking media-libs/ctl-1.5.2-r2)

Total: 2 packages (2 new), Size of downloads: 355 KiB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (media-libs/openexr_ctl-1.0.1-r3:0/0::gentoo-git, ebuild scheduled for merge) pulled in by
    openexr_ctl



Note, although this happened in a clean testing chroot, the issue also pops up on my desktop environment.

The media-libs/openexr_ctl looks quite old, using EAPI 5. Additionally the media-libs/ctl sources contain a OpenEXR_CTL directory, which get's compiled by default and contains the CtlModules, exrdpx and exr_ctl_exr directories, which are also present in the <ctl>/OpenEXR_CTL directory.

Maybe the media-libs/openexr_ctl package can be last-rited, after this has been verified?
Comment 1 Bernd 2020-03-29 11:17:31 UTC
(In reply to Bernd from comment #0)
> which are also present in the <ctl>/OpenEXR_CTL directory.

Should read:

which are also present in the openexr_ctl working directory.
Comment 2 Larry the Git Cow gentoo-dev 2021-07-25 22:25:45 UTC
The bug has been referenced in the following commit(s):

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

commit ad718d7808a5c6d6f1200c2ab89b8dbdef9b7983
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-07-25 22:22:07 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-07-25 22:23:09 +0000

    profiles: last-rite media-libs/ctl, media-libs/openexr_ctl
    
    Bug: https://bugs.gentoo.org/789792
    Bug: https://bugs.gentoo.org/715298
    Bug: https://bugs.gentoo.org/629604
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/ctl/ctl-1.5.2-r1.ebuild | 2 +-
 profiles/package.mask              | 6 +++++-
 2 files changed, 6 insertions(+), 2 deletions(-)
Comment 3 Larry the Git Cow gentoo-dev 2021-07-25 22:45:56 UTC
The bug has been referenced in the following commit(s):

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

commit 7e79e0fd0d0a87927ca39281d21713ee674f02fd
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-07-25 22:45:31 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-07-25 22:45:31 +0000

    profiles: fix mask entry/message
    
    Previous full mask was eaten by editor(?)
    
    Bug: https://bugs.gentoo.org/715298
    Bug: https://bugs.gentoo.org/789792
    Bug: https://bugs.gentoo.org/629604
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/package.mask | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
Comment 4 Bernd 2021-07-26 05:59:37 UTC
My intention was to remove openexr_ctl only. I could build media-libs/ctl successfully, but last emerge was back in December, so I haven't tested with gcc-11.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-07-26 06:05:04 UTC
(In reply to Bernd from comment #4)
> My intention was to remove openexr_ctl only. I could build media-libs/ctl
> successfully, but last emerge was back in December, so I haven't tested with
> gcc-11.

I didn't really see the point in keeping either given one couldn't build and the other was uninstallable. We can keep one if you really want?
Comment 6 Bernd 2021-07-26 06:26:42 UTC
(In reply to Sam James from comment #5)
> (In reply to Bernd from comment #4)
> > My intention was to remove openexr_ctl only. I could build media-libs/ctl
> > successfully, but last emerge was back in December, so I haven't tested with
> > gcc-11.
> 
> I didn't really see the point in keeping either given one couldn't build and
> the other was uninstallable. We can keep one if you really want?

I'd prefer, if we can keep the media-libs/ctl for now. I can check on the gcc-11 issue.
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-07-26 06:28:23 UTC
(In reply to Bernd from comment #6)
> (In reply to Sam James from comment #5)
> > (In reply to Bernd from comment #4)
> > > My intention was to remove openexr_ctl only. I could build media-libs/ctl
> > > successfully, but last emerge was back in December, so I haven't tested with
> > > gcc-11.
> > 
> > I didn't really see the point in keeping either given one couldn't build and
> > the other was uninstallable. We can keep one if you really want?
> 
> I'd prefer, if we can keep the media-libs/ctl for now. I can check on the
> gcc-11 issue.

Sure. Just pop a PR in and unmask it in a new commit. But I am surprised you want to keep it - it seemed pretty dead to me, but not an issue.
Comment 8 Larry the Git Cow gentoo-dev 2021-08-04 19:41:57 UTC
The bug has been referenced in the following commit(s):

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

commit 57890a9b16ac77a695a0b2f408c3f8cce7d66888
Author:     Bernd Waibel <waebbl-gentoo@posteo.net>
AuthorDate: 2021-07-30 16:07:20 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-04 19:41:46 +0000

    media-libs/ctl: fix to build with gcc-11
    
    - bump to EAPI 7
    - update to use cmake.eclass
    - fix unit tests
    
    Bug: https://bugs.gentoo.org/715298
    Closes: https://bugs.gentoo.org/789792
    Closes: https://bugs.gentoo.org/629604
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/ctl/ctl-1.5.2-r2.ebuild                 | 41 ++++++++++++++
 .../files/ctl-1.5.2-fix-to-build-with-gcc-11.patch | 25 +++++++++
 .../ctl/files/ctl-1.5.2-fix-unit-tests.patch       | 65 ++++++++++++++++++++++
 .../ctl/files/ctl-1.5.2-install-dpx-library.patch  | 21 +++++++
 4 files changed, 152 insertions(+)
Comment 9 Larry the Git Cow gentoo-dev 2021-08-24 12:38:58 UTC
The bug has been closed via the following commit(s):

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

commit c1f1ada6e02479406b67825ec09ca9d0deaf928a
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-08-24 12:38:30 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-08-24 12:38:30 +0000

    media-libs/openexr_ctl: Remove last-rited package
    
    Closes: https://bugs.gentoo.org/715298
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 media-libs/openexr_ctl/Manifest                    |  1 -
 .../files/openexr_ctl-1.0.1-configure_gcc43.patch  | 22 ------------
 .../files/openexr_ctl-1.0.1-gcc43.patch            | 34 ------------------
 .../files/openexr_ctl-1.0.1-gcc44.patch            | 11 ------
 .../files/openexr_ctl-1.0.1-namespace.patch        | 18 ----------
 .../files/openexr_ctl-1.0.1-pkgconfig.patch        | 12 -------
 media-libs/openexr_ctl/metadata.xml                | 10 ------
 media-libs/openexr_ctl/openexr_ctl-1.0.1-r2.ebuild | 40 ----------------------
 profiles/package.mask                              |  7 ----
 9 files changed, 155 deletions(-)