Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 694048 - sys-cluster/singularity: version bump to 3.5.3
Summary: sys-cluster/singularity: version bump to 3.5.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2019-09-11 16:15 UTC by Robert
Modified: 2020-04-16 16:35 UTC (History)
2 users (show)

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


Attachments
new ebuild (singularity-3.4.0.ebuild,1.09 KB, text/plain)
2019-09-11 16:15 UTC, Robert
Details
sys-cluster/singularity-3.5.3.ebuild (singularity-3.5.3.ebuild,1.13 KB, text/plain)
2020-02-20 12:23 UTC, José María Fernández González
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert 2019-09-11 16:15:17 UTC
Created attachment 589688 [details]
new ebuild

The singularity ebuild hasn't been updated in over a year.  I made my own updated version, and test it on my machine, and it seems to work.  It has the following bug fixes over the previous ebuild:

- it actually works with the newer versions of singularity that are written mostly in Go and no-longer use autotools
- the /var directories are now preserved in the package (see also #692836)
- the package now warns when you are missing the required SQUASHFS kernel option
- a variety of dependencies that are required for version 3.4 are added (some of which were needed for 2.6.1, but I didn't bother to test which)
Comment 1 José María Fernández González 2020-02-20 11:38:27 UTC
Having an updated singularity package is now critical, because "singularity exec" from version 2.6.2 has problems mounting squashfs layers with last kernel versions:

https://bugzilla.redhat.com/show_bug.cgi?id=1781863

https://lkml.org/lkml/2019/12/10/1780
Comment 2 José María Fernández González 2020-02-20 12:23:10 UTC
Created attachment 614610 [details]
sys-cluster/singularity-3.5.3.ebuild

I have taken Robert's ebuild, and I have tweaked it in order to support Singularity 3.5.3
Comment 3 Marek Szuba archtester gentoo-dev 2020-04-15 13:20:36 UTC
I was about to invoke maintainer time-out and have this added but unfortunately, there are some issues to address in the ebuild. Most of the clean-up is simple enough but I would very much clarify why there is dev-python in DEPEND. Is it really necessary, seeing as there seem to be no build-time invocations of python in 3.5.3 source code? If it IS necessary, the ebuild should use python-any-r1.eclass instead.

Come to think of it, some other dependencies - wget for instance - look suspicious as well and I would appreciate if you could help verify them, as it will save me the trouble of manually testing all of this on a minimal build image.
Comment 4 Larry the Git Cow gentoo-dev 2020-04-16 16:35:59 UTC
The bug has been closed via the following commit(s):

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

commit e5faf5a00819f65078cbd18aa6c51f8ddfed55fa
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2020-04-16 16:08:40 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2020-04-16 16:35:23 +0000

    sys-cluster/singularity: bump to 3.5.3
    
    Invoking maintainer time-out on this one, on the one hand we have been
    LONG overdue for a bump to major version 3 and on the other 2.6.2 has
    apparently got problems with squashfs on newer kernels.
    
    Discussion of dependencies, given some of them are not obvious and
    official "install from source" documentation seems to include packages
    which are not in fact needed:
     - sys-libs/libseccomp - looked for by mconfig, moreover at least on my
       system singularity binaries end up linked *dynamically* against it;
     - virtual/pkgconfig - used by mconfig while looking for libseccomp;
     - go-1.13+ - this version number is requested in mconfig;
     - app-crypt/gpgme - NOT looked for by mconfig but Singularity does use
       gpgme bindings for Go;
     - dev-libs/openssl - looked for by mconfig;
     - sys-apps/util-linux - libuuid and its header files looked for by mconfig;
     - sys-fs/cryptsetup - looked for by mconfig;
     - sys-fs/squashfs-tools - various tools from this package (e.g. unsquash)
       are invoked at run time, that said I have experimentally confirmed that
       Singularity builds fine without it.
    
    Closes: https://bugs.gentoo.org/694048
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 sys-cluster/singularity/Manifest                 |  1 +
 sys-cluster/singularity/metadata.xml             |  6 ++-
 sys-cluster/singularity/singularity-3.5.3.ebuild | 59 ++++++++++++++++++++++++
 3 files changed, 65 insertions(+), 1 deletion(-)