mjuric / conda-lsst

Building Conda packages for the LSST stack
4 stars 8 forks source link

eups recipe fails #35

Closed jhoblitt closed 8 years ago

jhoblitt commented 8 years ago

The EUPS recipe always fails with an error message and non-exit exit status. I suspect the git related ENV vars in meta.yaml aren't being setup for some reason.

#  conda build recipes/static/eups
...
Error: No packages found in current linux-64 channels matching: eups  7

Commands to reproduce:

docker pull lsstsqre/centos:6-newinstall
docker run -ti lsstsqre/centos:6-newinstall bash

scl enable devtoolset-3 bash

git clone https://github.com/jhoblitt/conda-lsst.git -b maint/binstar-rename
cd conda-lsst
./bin/bootstrap.sh
export PATH="/conda-lsst/miniconda/bin:$PATH"
export PATH="$PWD/bin:$PATH"

conda build recipes/static/patchelf

conda build recipes/static/eups

It does appear to be creating the conda tarball before failing

# ls miniconda/conda-bld/linux-64/eups--7.tar.bz2 
miniconda/conda-bld/linux-64/eups--7.tar.bz2
# conda info
Current conda install:

             platform : linux-64
        conda version : 3.19.0
  conda-build version : 1.18.2
       python version : 2.7.11.final.0
     requests version : 2.9.0
     root environment : /conda-lsst/miniconda  (writable)
  default environment : /conda-lsst/miniconda
     envs directories : /conda-lsst/miniconda/envs
        package cache : /conda-lsst/miniconda/pkgs
         channel URLs : https://repo.continuum.io/pkgs/free/linux-64/
                        https://repo.continuum.io/pkgs/free/noarch/
                        https://repo.continuum.io/pkgs/pro/linux-64/
                        https://repo.continuum.io/pkgs/pro/noarch/
          config file : None
    is foreign system : False

I have tried adding various paths on the local system as channels with no effect on the error message.

jhoblitt commented 8 years ago

I forgot to mention that I tested this with git 1.7.1 and 1.9.1 in the env with no appear change in behavior.

mjuric commented 8 years ago

Hi Josh, It may be related to https://github.com/conda/conda-build/issues/713 (do reopen if this is not it!).

The workaround is to downgrade conda-build to 1.8.1, but they should be putting out 1.8.3 any day now.

jhoblitt commented 8 years ago

@mjuric Looks like that was it - thanks! Note that downgrading to 1.8.1 doesn't work but 1.18.1 does, I suspect the former was a simple typo.