cms-docker icon indicating copy to clipboard operation
cms-docker copied to clipboard

Add lndir to standard containers (el7, el8, el9)

Open kpedro88 opened this issue 1 year ago • 2 comments

The lndir utility is often useful for various purposes and has typically been included in host OS distributions. Can it be added to the standard CMS containers?

kpedro88 avatar Sep 22 '24 15:09 kpedro88

cms-bot internal usage

cmsbuild avatar Sep 22 '24 15:09 cmsbuild

A new Issue was created by @kpedro88.

@aandvalenzuela, @iarspider, @smuzaffar can you please review it and eventually sign/assign? Thanks.

cms-bot commands are listed here

cmsbuild avatar Sep 22 '24 15:09 cmsbuild

@kpedro88 , lndir unitlity if provided by imake package [a]. Looks like is it deprecated and only available for almalinux9.

[a]

Name         : imake
Version      : 1.0.8
Release      : 6.el9
Architecture : x86_64
Size         : 1.2 M
Source       : imake-1.0.8-6.el9.src.rpm
Repository   : @System
From repo    : epel
Summary      : imake source code configuration and build system
URL          : http://www.x.org
License      : MIT
Description  : Imake is a deprecated source code configuration and build system which
             : has traditionally been supplied by and used to build the X Window System
             : in X11R6 and previous releases.  As of the X Window System X11R7 release,
             : the X Window system has switched to using GNU autotools as the primary
             : build system, and the Imake system is now deprecated, and should not be
             : used by new software projects.  Software developers are encouraged to
             : migrate software to the GNU autotools system.

smuzaffar avatar Oct 03 '24 08:10 smuzaffar

Fermilab and lxplus have imake-1.0.7-11.el8.x86_64 on the EL8 nodes and imake-1.0.8-6.el9.x86_64 on the EL9 nodes.

I tried running yum install imake in a Docker build from base sl:7. It finds 1.0.5-10.el7 and lndir gets installed. So I think we can just add this to the dockerfile. (In some other OSes, lndir is distributed as part of xorg, which hosts it at https://gitlab.freedesktop.org/xorg/util/lndir. As usual, RHEL has to be special...)

kpedro88 avatar Oct 11 '24 14:10 kpedro88

@kpedro88 , I was not able to install it from epel or other yum repos. If you know how to do it then please open a PR.

smuzaffar avatar Oct 11 '24 14:10 smuzaffar

@smuzaffar it appears to come from the sl repo at http://ftp.scientificlinux.org/linux/scientific/obsolete. Is it okay to add this repo to the list in our el7 container? If so, I will go ahead and prepare a PR after some more testing.

kpedro88 avatar Oct 11 '24 16:10 kpedro88

@kpedro88 , yes it is ok to add this repo but please do it at the end so that all other packages still gets installed from epel/cern repos.

smuzaffar avatar Nov 19 '24 15:11 smuzaffar

Finally addressed in #374

kpedro88 avatar Jan 07 '25 11:01 kpedro88