Skip to content

Instantly share code, notes, and snippets.

@kastman
Created April 25, 2018 22:21
Show Gist options
  • Save kastman/1a74f7c70a95da8e651a6c2b67d2a706 to your computer and use it in GitHub Desktop.
Save kastman/1a74f7c70a95da8e651a6c2b67d2a706 to your computer and use it in GitHub Desktop.
$ ./.circleci/run_docker_build.sh
No active host found
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
useradd: warning: the home directory already exists.
Not copying any file from skel directory into it.
+ cp -r /home/conda/staged-recipes/recipes /home/conda/conda-recipes
+ cp -r /home/conda/staged-recipes/.ci_support /home/conda/.ci_support
+ echo 'Finding recipes merged in master and removing them from the build.'
Finding recipes merged in master and removing them from the build.
+ pushd /home/conda/staged-recipes/recipes
+ git ls-tree --name-only master -- .
+ xargs -I '{}' sh -c 'rm -rf ~/conda-recipes/{} && echo Removing recipe: {}'
Removing recipe: example
+ popd
+ export CONDA_NPY=19
+ CONDA_NPY=19
+ echo '
channels:
- conda-forge
- defaults
conda-build:
root-dir: /home/conda/staged-recipes/build_artifacts
always_yes: true
show_channel_urls: true'
+ conda clean --lock
+ conda install 'conda-forge-ci-setup=1.*' conda-forge-pinning networkx
Solving environment: ...working... done
conda-forge-ci-setup 1.3.1########## | 100%
conda-forge-pinning 2018.04.19########## | 100%
networkx 2.1########## | 100%
## Package Plan ##
environment location: /opt/conda
added / updated specs:
- conda-forge-ci-setup=1
- conda-forge-pinning
- networkx
The following packages will be downloaded:
package | build
---------------------------|-----------------
conda-forge-ci-setup-1.3.1 | 0 8 KB conda-forge
conda-forge-pinning-2018.04.19| 0 4 KB conda-forge
networkx-2.1 | py36_0 1.9 MB conda-forge
------------------------------------------------------------
Total: 1.9 MB
The following NEW packages will be INSTALLED:
conda-forge-ci-setup: 1.3.1-0 conda-forge
conda-forge-pinning: 2018.04.19-0 conda-forge
networkx: 2.1-py36_0 conda-forge
Downloading and Extracting Packages
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
+ source run_conda_forge_build_setup
++ export CPU_COUNT=2
++ CPU_COUNT=2
++ export PYTHONUNBUFFERED=1
++ PYTHONUNBUFFERED=1
++ conda config --set show_channel_urls true
++ conda config --set auto_update_conda false
++ conda config --set add_pip_as_python_dependency false
++ conda info
active environment : base
active env location : /opt/conda
shell level : 1
user config file : /home/conda/.condarc
populated config files : /home/conda/.condarc
conda version : 4.5.1
conda-build version : 3.8.1
python version : 3.6.5.final.0
base environment : /opt/conda (writable)
channel URLs : https://conda.anaconda.org/conda-forge/linux-64
https://conda.anaconda.org/conda-forge/noarch
https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/free/linux-64
https://repo.anaconda.com/pkgs/free/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/pro/linux-64
https://repo.anaconda.com/pkgs/pro/noarch
package cache : /opt/conda/pkgs
/home/conda/.conda/pkgs
envs directories : /opt/conda/envs
/home/conda/.conda/envs
platform : linux-64
user-agent : conda/4.5.1 requests/2.18.4 CPython/3.6.5 Linux/4.9.87-linuxkit-aufs centos/6.9 glibc/2.12
UID:GID : 501:501
netrc file : None
offline mode : False
++ conda config --show-sources
==> /home/conda/.condarc <==
add_pip_as_python_dependency: False
auto_update_conda: False
channels:
- conda-forge
- defaults
show_channel_urls: True
always_yes: True
conda-build:
root-dir: /home/conda/staged-recipes/build_artifacts
+ find /home/conda/conda-recipes -mindepth 2 -maxdepth 2 -type f -name yum_requirements.txt
+ grep -v -e '^#' -e '^$'
+ xargs -r /usr/bin/sudo -n yum install -y
+ xargs -n1 cat
+ python /home/conda/.ci_support/build_all.py /home/conda/conda-recipes
Traceback (most recent call last):
File "/opt/conda/lib/python3.6/site-packages/conda/core/subdir_data.py", line 419, in fetch_repodata_remote_request
resp.raise_for_status()
File "/opt/conda/lib/python3.6/site-packages/requests/models.py", line 935, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: None for url: file:///home/conda/staged-recipes/build_artifacts/noarch/repodata.json
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/conda/.ci_support/build_all.py", line 83, in <module>
build_all(args.recipes_dir, args.arch)
File "/home/conda/.ci_support/build_all.py", line 35, in build_all
index = conda_build.conda_interface.get_index(channel_urls=channel_urls)
File "/opt/conda/lib/python3.6/site-packages/conda/common/io.py", line 46, in decorated
return f(*args, **kwds)
File "/opt/conda/lib/python3.6/site-packages/conda/core/index.py", line 65, in get_index
index = fetch_index(channel_urls, use_cache=use_cache)
File "/opt/conda/lib/python3.6/site-packages/conda/core/index.py", line 83, in fetch_index
index = collect_all_repodata_as_index(use_cache, channel_urls)
File "/opt/conda/lib/python3.6/site-packages/conda/core/subdir_data.py", line 598, in collect_all_repodata_as_index
index.update(sd.iter_dists_records())
File "/opt/conda/lib/python3.6/site-packages/conda/core/subdir_data.py", line 164, in iter_dists_records
self.load()
File "/opt/conda/lib/python3.6/site-packages/conda/core/subdir_data.py", line 148, in load
_internal_state = self._load()
File "/opt/conda/lib/python3.6/site-packages/conda/core/subdir_data.py", line 216, in _load
mod_etag_headers.get('_mod'))
File "/opt/conda/lib/python3.6/site-packages/conda/core/subdir_data.py", line 550, in fetch_repodata_remote_request
caused_by=e)
conda.exceptions.CondaHTTPError: HTTP 404 CONNECTION FAILED for url <file:///home/conda/staged-recipes/build_artifacts/noarch/repodata.json>
Elapsed: 00:00.001255
The remote server could not find the noarch directory for the
requested channel with url: file:///home/conda/staged-recipes/build_artifacts
As of conda 4.3, a valid channel must contain a `noarch/repodata.json` and
associated `noarch/repodata.json.bz2` file, even if `noarch/repodata.json` is
empty. please request that the channel administrator create
`noarch/repodata.json` and associated `noarch/repodata.json.bz2` files.
$ mkdir noarch
$ echo '{}' > noarch/repodata.json
$ bzip2 -k noarch/repodata.json
You will need to adjust your conda configuration to proceed.
Use `conda config --show channels` to view your configuration's current state.
Further configuration help can be found at <https://conda.io/docs/config.html>.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment