I need to install a package which is not included in
lsst_apps on top of a read-only, functional installation of the LSST stack v12.1. The package I need to install (e.g.
obs_cfht) actually exists in LSST EUPS repository (i.e.
http://sw.lsstcorp.org/eupspkg) with the appropriate tag.
The concrete use case I have is that some users of the CernVM-FS binary distribution (which is read-only) need to add some specific LSST packages to their individual software stack.
I don’t know if this is a supported use case by EUPS. After re-reading the EUPS documentation, I thought that I could set the
EUPS_PATH variable to include both a R/W area (e.g.
$HOME) and the R/O area where the stack is already installed.
So this is the sequence of commands I use:
# Tell EUPS to also use $HOME
$ mkdir -p $HOME/.eups && export EUPS_PATH=$HOME/.eups
# Initialize my working environment to use LSST v12.1
$ source /cvmfs/lsst.in2p3.fr/software/linux-x86_64/lsst-v12.1/loadLSST.bash
# EUPS_PATH looks good
$ echo $EUPS_PATH
# This is the LSST software distribution server. So far, so good.
$ eups distrib path
# EUPS documentation says that one use the 'eups path' command to
# 'Print the product stack directories given via EUPS_PATH'.
# In this case, it does not print /home/fabio/.eups, which is actually in $EUPS_PATH
$ eups path
# Try to install 'obs_subaru'
# I was expecting the command below to work, but instead, it prints an error message
# which does not really help me understanding what is wrong 8-[
$ eups distrib install -I $HOME/.eups -t v12_1 obs_subaru
eups distrib: coercing to Unicode: need string or buffer, list found
# As expected, the command below does not work because
# /cvmfs/... is a read-only file system
$ eups distrib install -t v12_1 obs_subaru
[ 1/66 ] apr 1.5.2 (already installed) done.
eups distrib: You don't have permission to assign a global tag b2307 in /cvmfs/lsst.in2p3.fr/software/linux-x86_64/lsst-v12.1/ups_db
Is this use case supported by EUPS? If so, what would be the recommended way to achieve my goal?
Any help with this would be very appreciated.