When building packages with variants, the variant of the root package is accidentally passed through to the dependency being built. Noticed in a smoke-test environment - which was caused by another issue, however it's a bug that should be fixed anyway.
For example:
alces gridware install main/apps/hdf5/1.8.13 --no-binary --variant all would pull in mpi/openmpi as specified in it's metadata, which would then attempt to be installed with the --variant all option which will fail with ERROR: Invalid variant 'mpi' for package 'openmpi' - this package has no variants.
When building packages with variants, the variant of the root package is accidentally passed through to the dependency being built. Noticed in a
smoke-test
environment - which was caused by another issue, however it's a bug that should be fixed anyway.For example:
alces gridware install main/apps/hdf5/1.8.13 --no-binary --variant all
would pull inmpi/openmpi
as specified in it's metadata, which would then attempt to be installed with the--variant all
option which will fail withERROR: Invalid variant 'mpi' for package 'openmpi' - this package has no variants.
RGE