We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make build
scripts/build_10_cmaq.sh
make build docker build --platform=linux/amd64 . -t cmaq [+] Building 128.2s (25/30) docker:default => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 1.98kB 0.0s => [internal] load metadata for docker.io/library/debian:bookworm 3.1s => [internal] load metadata for docker.io/continuumio/miniconda3:latest 3.1s => [internal] load .dockerignore 0.0s => => transferring context: 137B 0.0s => [build 1/15] FROM docker.io/library/debian:bookworm@sha256:b8084b1a576c5504a031936e1132574f4ce1d6cc7130bbcc2 9.1s => => resolve docker.io/library/debian:bookworm@sha256:b8084b1a576c5504a031936e1132574f4ce1d6cc7130bbcc25a28f074 0.1s => => sha256:b8084b1a576c5504a031936e1132574f4ce1d6cc7130bbcc25a28f074539ae6b 1.85kB / 1.85kB 0.0s => => sha256:3521cd844df5a6f3fd71217af1fc8222db5a7138a753eef86a0550d153184cdf 529B / 529B 0.0s => => sha256:4fd3f4b75df372cc4fd60fd5c133c666cf4738ca0973523513f564076395f8ad 1.46kB / 1.46kB 0.0s => => sha256:8cd46d290033f265db57fd808ac81c444ec5a5b3f189c3d6d85043b647336913 49.56MB / 49.56MB 8.1s => => extracting sha256:8cd46d290033f265db57fd808ac81c444ec5a5b3f189c3d6d85043b647336913 0.7s => [conda 1/6] FROM docker.io/continuumio/miniconda3:latest@sha256:f37f8c7db26ae7ec0098df530e96c9cde139026b9faf 12.0s => => resolve docker.io/continuumio/miniconda3:latest@sha256:f37f8c7db26ae7ec0098df530e96c9cde139026b9faf3914800 0.1s => => sha256:f37f8c7db26ae7ec0098df530e96c9cde139026b9faf3914800d1522c47a49b1 2.36kB / 2.36kB 0.0s => => sha256:8af1ccdb88921bfd27520cbc95e6e9704262cdecd2c29e07207f6dbd4b7b1fe8 869B / 869B 0.0s => => sha256:bc5fd68e27d5c85c75feeddb1fb5ad507147130f415e22c0ef93973e6beb5538 5.61kB / 5.61kB 0.0s => => sha256:e4fff0779e6ddd22366469f08626c3ab1884b5cbe1719b26da238c95f247b305 29.13MB / 29.13MB 2.2s => => sha256:d516a839cc3b63275abb42a1ec51b5b2a9c73e3d49bd510350c5ea64ea1a70c6 62.31MB / 62.31MB 5.0s => => sha256:a50daf0f0f23c311c9be2efd228ce38fb6d357e1e57d3d1ee20313a1df6a5778 155.84MB / 155.84MB 9.5s => => extracting sha256:e4fff0779e6ddd22366469f08626c3ab1884b5cbe1719b26da238c95f247b305 0.5s => => extracting sha256:d516a839cc3b63275abb42a1ec51b5b2a9c73e3d49bd510350c5ea64ea1a70c6 0.9s => => extracting sha256:a50daf0f0f23c311c9be2efd228ce38fb6d357e1e57d3d1ee20313a1df6a5778 2.2s => [internal] load build context 0.2s => => transferring context: 37.19MB 0.2s => [runtime 2/5] WORKDIR /opt/cmaq 0.3s => [build 2/15] RUN apt-get update && apt-get install -y build-essential m4 csh wget && rm -rf /var/li 38.8s => [conda 2/6] COPY environment.yml /opt/environment.yml 0.2s => [conda 3/6] RUN conda env create -f /opt/environment.yml 32.9s => [conda 4/6] RUN conda install -c conda-forge conda-pack 26.5s => [build 3/15] WORKDIR /opt/cmaq 0.1s => [conda 5/6] RUN conda-pack -n cmaq -o /tmp/env.tar && mkdir /opt/venv && cd /opt/venv && tar xf /tmp/env.ta 3.1s => [conda 6/6] RUN /opt/venv/bin/conda-unpack 3.3s => [runtime 3/5] COPY --from=conda /opt/venv /opt/venv 1.2s => [build 4/15] COPY --from=conda /opt/venv /opt/venv 1.1s => [build 5/15] COPY templates/ioapi /opt/cmaq/templates/ioapi 0.1s => [build 6/15] COPY scripts/common.sh /opt/cmaq/scripts/common.sh 0.1s => [build 7/15] COPY scripts/build_00_ioapi.sh /opt/cmaq/scripts/build_00_ioapi.sh 0.1s => [build 8/15] RUN bash /opt/cmaq/scripts/build_00_ioapi.sh 43.8s => [build 9/15] COPY templates/cmaq /opt/cmaq/templates/cmaq 0.1s => [build 10/15] COPY src/CMAQv5.0.2_notpollen /opt/cmaq/CMAQv5.0.2_notpollen 0.1s => [build 11/15] COPY scripts/build_10_cmaq.sh /opt/cmaq/scripts/build_10_cmaq.sh 0.1s => ERROR [build 12/15] RUN bash /opt/cmaq/scripts/build_10_cmaq.sh 0.3s ------ > [build 12/15] RUN bash /opt/cmaq/scripts/build_10_cmaq.sh: 0.211 + set -e 0.211 + source /opt/cmaq/scripts/common.sh 0.211 +++ uname -m 0.212 ++ ARCH=x86_64 0.212 +++ /bin/uname -s 0.213 +++ /bin/uname -r 0.213 +++ cut -d. -f1 0.214 ++ BLD_OS=Linux6 0.214 ++ export ARCH 0.214 ++ export BLD_OS 0.214 ++ export BIN=Linux6_x86_64gfort 0.214 ++ BIN=Linux6_x86_64gfort 0.214 ++ export BASEDIR=/opt/cmaq 0.214 ++ BASEDIR=/opt/cmaq 0.214 ++ export CPLMODE=nocpl 0.214 ++ CPLMODE=nocpl 0.214 ++ export LD_LIBRARY_PATH=/opt/venv/lib:/opt/venv/bin: 0.214 ++ LD_LIBRARY_PATH=/opt/venv/lib:/opt/venv/bin: 0.214 ++ export PATH=/opt/venv/bin:/opt/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 0.214 ++ PATH=/opt/venv/bin:/opt/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 0.214 + ROOT=/opt/cmaq 0.214 + cmaq_dirname=CMAQv5.0.2_notpollen 0.214 + pushd CMAQv5.0.2_notpollen 0.214 + mkdir -p /opt/cmaq/CMAQv5.0.2_notpollen/lib/x86_64/gcc/ 0.214 /opt/cmaq/CMAQv5.0.2_notpollen /opt/cmaq 0.216 + ln -s /opt/cmaq/ioapi-3.1 /opt/cmaq/CMAQv5.0.2_notpollen/lib/ioapi-3.1 0.217 + ln -s /opt/venv /opt/cmaq/CMAQv5.0.2_notpollen/lib/mpich 0.217 + pushd scripts 0.217 /opt/cmaq/scripts/build_10_cmaq.sh: line 20: pushd: scripts: No such file or directory ------ Dockerfile:44 -------------------- 42 | COPY src/CMAQv5.0.2_notpollen /opt/cmaq/CMAQv5.0.2_notpollen 43 | COPY scripts/build_10_cmaq.sh /opt/cmaq/scripts/build_10_cmaq.sh 44 | >>> RUN bash /opt/cmaq/scripts/build_10_cmaq.sh 45 | 46 | # Build the CMAQ adjoint -------------------- ERROR: failed to solve: process "/bin/sh -c bash /opt/cmaq/scripts/build_10_cmaq.sh" did not complete successfully: exit code: 1 make: *** [Makefile:3: build] Error 1
The build appears to be succesful when run inside GHA: https://github.com/openmethane/docker-cmaq/actions/runs/10896647022/job/30236779887
The output contains many visible errors, but does appear to exit successfully and a container is uploaded to GHCR.
Running make build succeeds with the same outcome as running in GHA.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
The build appears to be succesful when run inside GHA: https://github.com/openmethane/docker-cmaq/actions/runs/10896647022/job/30236779887
The output contains many visible errors, but does appear to exit successfully and a container is uploaded to GHCR.
Expected behavior
Running
make build
succeeds with the same outcome as running in GHA.Screenshots
System
Additional context
The text was updated successfully, but these errors were encountered: