Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912200 - app-containers/apptainer: Legacy "singularity" symlink could be made optional
Summary: app-containers/apptainer: Legacy "singularity" symlink could be made optional
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal trivial
Assignee: Marek Szuba (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-13 00:46 UTC by Oliver Freyermuth
Modified: 2023-10-22 12:39 UTC (History)
1 user (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 Oliver Freyermuth 2023-08-13 00:46:45 UTC
Currently, all versions of app-containers/apptainer which are in tree still unconditionally install the /usr/bin/singularity symlink due to the project's legacy name. 
However, this causes a file collision with games-simulation/singularity, which currently hard-blocks co-installation with app-containers/apptainer. 

It would be nice if the legacy symlink could be made optional, hence allowing for co-installation of both app-containers/apptainer and games-simulation/singularity. 

Reproducible: Always

Steps to Reproduce:
1. Emerge app-containers/apptainer. 
2. Try to emerge games-simulation/singularity. 
3. Observe hard block. 
Actual Results:  
Ebuilds block each other. 

Expected Results:  
Ebuilds could co-exist on the same system, if legacy symlink was dropped (or made optional via a USE flag).
Comment 1 Marek Szuba (RETIRED) archtester gentoo-dev 2023-10-22 10:09:18 UTC
I am sorry but even ignoring the fact app-containers/apptainer installs many other files referencing the project's old name, I really haven't the bandwidth to test possible side effects of introducing this change. Therefore, I will only make it once it has become officially supported upstream.
Comment 2 Oliver Freyermuth 2023-10-22 12:32:38 UTC
Thanks, that is a very reasonable stance. 

For others which end up here, I have created an upstream issue asking them to add a build option to officially support this:
https://github.com/apptainer/apptainer/issues/1759