bids-apps / QAP

PCP Quality Assessment Protocol
Apache License 2.0
5 stars 4 forks source link

Cannot build image with latest version of ubuntu #10

Open Remi-Gau opened 1 year ago

Remi-Gau commented 1 year ago

Older version of ubuntu have package version conflicts:

https://app.circleci.com/pipelines/github/bids-apps/QAP/8/workflows/4d4d3856-a621-4e85-ab89-d3b55699edc0/jobs/24

Switching to the latest version comes with other problem

https://app.circleci.com/pipelines/github/bids-apps/QAP/9/workflows/20054f83-2382-426d-8cdb-87b0f472ee77/jobs/25

Sending build context to Docker daemon  557.1kB
Sending build context to Docker daemon  2.955MB

Step 1/19 : FROM ubuntu:jammy
jammy: Pulling from library/ubuntu

6e3729cf69e0: Pulling fs layer 

6e3729cf69e0: Downloading  311.7kB/30.43MB

6e3729cf69e0: Downloading  14.02MB/30.43MB

6e3729cf69e0: Downloading  24.23MB/30.43MB

6e3729cf69e0: Verifying Checksum 

6e3729cf69e0: Download complete 

6e3729cf69e0: Extracting  327.7kB/30.43MB

6e3729cf69e0: Extracting  5.243MB/30.43MB

6e3729cf69e0: Extracting  8.847MB/30.43MB

6e3729cf69e0: Extracting  13.43MB/30.43MB

6e3729cf69e0: Extracting  19.66MB/30.43MB

6e3729cf69e0: Extracting  25.23MB/30.43MB

6e3729cf69e0: Extracting  26.87MB/30.43MB

6e3729cf69e0: Extracting  30.15MB/30.43MB

6e3729cf69e0: Extracting  30.43MB/30.43MB

6e3729cf69e0: Pull complete 
Digest: sha256:27cb6e6ccef575a4698b66f5de06c7ecd61589132d5a91d098f7f3f9285415a9
Status: Downloaded newer image for ubuntu:jammy
 ---> 6b7dfa7e8fdb
Step 2/19 : ARG DEBIAN_FRONTEND="noninteractive"
 ---> Running in 239e345aba27
Removing intermediate container 239e345aba27
 ---> 2692932c6f52
Step 3/19 : ENV AFNIPATH /opt/afni/bin/
 ---> Running in a31bcfb90d96
Removing intermediate container a31bcfb90d96
 ---> 7a9482d1dd82
Step 4/19 : ENV PATH /code:/opt/afni/bin:/usr/local/bin/miniconda/bin:${PATH}
 ---> Running in c37b1f4411fe
Removing intermediate container c37b1f4411fe
 ---> d92c6efc0868
Step 5/19 : RUN apt-get update -qq &&     apt-get install -q --no-install-recommends -y             wget             pkg-config             graphviz             gsl-bin             libexpat1-dev             libgiftiio-dev             libglu1-mesa             libglu1-mesa-dev             libgsl0-dev             libjpeg-progs             libxml2             libxml2-dev             libxext-dev             libxpm-dev             libxp6             libxp-dev             mesa-common-dev             mesa-utils             netpbm             libpng-dev             libfreetype6-dev             libxml2-dev             libxslt1-dev             python-dev             build-essential             g++             libxft2             git &&     apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
 ---> Running in 39f13a17b367
Reading package lists...
Building dependency tree...
Reading state information...
Package python-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  python2-dev python2 python-dev-is-python3

E: Unable to locate package libxp6
E: Unable to locate package libxp-dev
E: Package 'python-dev' has no installation candidate
The command '/bin/sh -c apt-get update -qq &&     apt-get install -q --no-install-recommends -y             wget             pkg-config             graphviz             gsl-bin             libexpat1-dev             libgiftiio-dev             libglu1-mesa             libglu1-mesa-dev             libgsl0-dev             libjpeg-progs             libxml2             libxml2-dev             libxext-dev             libxpm-dev             libxp6             libxp-dev             mesa-common-dev             mesa-utils             netpbm             libpng-dev             libfreetype6-dev             libxml2-dev             libxslt1-dev             python-dev             build-essential             g++             libxft2             git &&     apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*' returned a non-zero code: 100

Exited with code exit status 100