Skip to content
New issue

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

tox.ini: Fix voidlinux #33084

Closed
mkoeppe opened this issue Dec 26, 2021 · 3 comments · Fixed by #36957
Closed

tox.ini: Fix voidlinux #33084

mkoeppe opened this issue Dec 26, 2021 · 3 comments · Fixed by #36957

Comments

@mkoeppe
Copy link
Contributor

mkoeppe commented Dec 26, 2021

$ tox -e docker-voidlinux-standard
docker-voidlinux-standard create: /Users/mkoeppe/s/sage/sage-rebasing/worktree-gcc11/.tox/docker-voidlinux-standard
docker-voidlinux-standard run-test-pre: PYTHONHASHSEED='2787943433'
docker-voidlinux-standard run-test: commands[0] | bash -c 'build/bin/write-dockerfile.sh void "--has-file=spkg-configure.m4 :standard:" yes no "_bootstrap  " > /Users/mkoeppe/s/sage/sage-rebasing/worktree-gcc11/.tox/docker-voidlinux-standard/Dockerfile'
docker-voidlinux-standard run-test: commands[1] | bash -c 'for docker_target in with-targets; do  BUILD_TAG=sage-docker-voidlinux-standard-$docker_target:$(git describe --dirty --always);  DOCKER_BUILDKIT=0  docker build . -f /Users/mkoeppe/s/sage/sage-rebasing/worktree-gcc11/.tox/docker-voidlinux-standard/Dockerfile  --target $docker_target  --tag $BUILD_TAG  --build-arg EXTRA_CONFIGURE_ARGS="--enable-experimental-packages --enable-download-from-upstream-url  --with-system-python3=yes  "  --build-arg BASE_IMAGE=voidlinux/masterdir-x86_64-musl:20200104  --build-arg BOOTSTRAP="./bootstrap"  --build-arg TARGETS_PRE="$(if test -n "$TARGETS_PRE"; then echo $TARGETS_PRE; else echo all-sage-local; fi)"  --build-arg TARGETS="build"  --build-arg TARGETS_OPTIONAL="ptest"  ; status=$?;  if [ $status != 0 ]; then BUILD_TAG="$BUILD_TAG-failed"; docker commit $(docker ps -l -q) $BUILD_TAG; fi;  echo $BUILD_TAG >> /Users/mkoeppe/s/sage/sage-rebasing/worktree-gcc11/.tox/docker-voidlinux-standard/Dockertags;  if [ x"" != x ]; then echo Pushing $BUILD_TAG; docker push $BUILD_TAG || echo "(ignoring errors)"; fi;  if [ $status != 0 ]; then exit $status; fi; done'
Sending build context to Docker daemon  118.5MB
Step 1/44 : ARG BASE_IMAGE=voidlinux:masterdir-x86_64-musl
Step 2/44 : FROM ${BASE_IMAGE} as with-system-packages
20200104: Pulling from voidlinux/masterdir-x86_64-musl
ba2d3d096600: Pull complete 
a7488977288b: Pull complete 
Digest: sha256:2cec0ef587515d50ae16d5c94490888ceef8263efd1ec2dc40430db9cef04be5
Status: Downloaded newer image for voidlinux/masterdir-x86_64-musl:20200104
 ---> 30aea121fd58
Step 3/44 : ENV PACKAGES=" gd-devel gmpxx-devel tox xz liblzma-devel gcc-fortran libpng-devel ncurses-devel python3-devel cmake freetype-devel mpfr-devel ppl-devel zeromq-devel readline-devel R gf2x-devel gcc sqlite-devel giac-devel zlib-devel xz openblas-devel curl libcurl-devel ntl-devel pkgconf patch glpk-devel libmpc-devel gsl-devel boost-devel binutils make m4 perl pkg-config python3 tar bc gcc which flintlib-devel gc-devel arb-devel pcre-devel pari pari-devel pari-elldata pari-galdata pari-galpol pari-seadata openssl-devel gengetopt ecm-devel pari-galdata ecl eclib-devel bzip2-devel libffi-devel libatomic_ops-devel qhull gettext autoconf automake libtool gettext-devel xtools mk-configure"
 ---> Running in e9d523abb468
Removing intermediate container e9d523abb468
 ---> 7ae4a030bb4d
Step 4/44 : RUN xbps-install -Su && xbps-install --yes  gd-devel gmpxx-devel tox xz liblzma-devel gcc-fortran libpng-devel ncurses-devel python3-devel cmake freetype-devel mpfr-devel ppl-devel zeromq-devel readline-devel R gf2x-devel gcc sqlite-devel giac-devel zlib-devel xz openblas-devel curl libcurl-devel ntl-devel pkgconf patch glpk-devel libmpc-devel gsl-devel boost-devel binutils make m4 perl pkg-config python3 tar bc gcc which flintlib-devel gc-devel arb-devel pcre-devel pari pari-devel pari-elldata pari-galdata pari-galpol pari-seadata openssl-devel gengetopt ecm-devel pari-galdata ecl eclib-devel bzip2-devel libffi-devel libatomic_ops-devel qhull gettext autoconf automake libtool gettext-devel xtools mk-configure
 ---> Running in 5f380bff766e
[*] Updating `https://alpha.de.repo.voidlinux.org/current/musl/x86_64-musl-repodata' ...
Certificate verification failed for /O=Digital Signature Trust Co./CN=DST Root CA X3
Certificate verification failed for /O=Digital Signature Trust Co./CN=DST Root CA X3
Certificate verification failed for /O=Digital Signature Trust Co./CN=DST Root CA X3
SSL_connect returned 1
ERROR: [reposync] failed to fetch file `https://alpha.de.repo.voidlinux.org/current/musl/x86_64-musl-repodata': Operation not permitted
The command '/bin/sh -c xbps-install -Su && xbps-install --yes  gd-devel gmpxx-devel tox xz liblzma-devel gcc-fortran libpng-devel ncurses-devel python3-devel cmake freetype-devel mpfr-devel ppl-devel zeromq-devel readline-devel R gf2x-devel gcc sqlite-devel giac-devel zlib-devel xz openblas-devel curl libcurl-devel ntl-devel pkgconf patch glpk-devel libmpc-devel gsl-devel boost-devel binutils make m4 perl pkg-config python3 tar bc gcc which flintlib-devel gc-devel arb-devel pcre-devel pari pari-devel pari-elldata pari-galdata pari-galpol pari-seadata openssl-devel gengetopt ecm-devel pari-galdata ecl eclib-devel bzip2-devel libffi-devel libatomic_ops-devel qhull gettext autoconf automake libtool gettext-devel xtools mk-configure' returned a non-zero code: 95
sha256:cbe43251ea0660a8521a70d20cb7ab3e2fc112cbed4a2f237108a25d9bb58c06
ERROR: InvocationError for command /bin/bash -c 'for docker_target in with-targets; do  BUILD_TAG=sage-docker-voidlinux-standard-$docker_target:$(git describe --dirty --always);  DOCKER_BUILDKIT=0  docker build . -f /Users/mkoeppe/s/sage/sage-rebasing/worktree-gcc11/.tox/docker-voidlinux-standard/Dockerfile  --target $docker_target  --tag $BUILD_TAG  --build-arg EXTRA_CONFIGURE_ARGS="--enable-experimental-packages --enable-download-from-upstream-url  --with-system-python3=yes  "  --build-arg BASE_IMAGE=voidlinux/masterdir-x86_64-musl:20200104  --build-arg BOOTSTRAP="./bootstrap"  --build-arg TARGETS_PRE="$(if test -n "$TARGETS_PRE"; then echo $TARGETS_PRE; else echo all-sage-local; fi)"  --build-arg TARGETS="build"  --build-arg TARGETS_OPTIONAL="ptest"  ; status=$?;  if [ $status != 0 ]; then BUILD_TAG="$BUILD_TAG-failed"; docker commit $(docker ps -l -q) $BUILD_TAG; fi;  echo $BUILD_TAG >> /Users/mkoeppe/s/sage/sage-rebasing/worktree-gcc11/.tox/docker-voidlinux-standard/Dockertags;  if [ x"" != x ]; then echo Pushing $BUILD_TAG; docker push $BUILD_TAG || echo "(ignoring errors)"; fi;  if [ $status != 0 ]; then exit $status; fi; done' (exited with code 95)
_______________________________________________________________________ summary _______________________________________________________________________
ERROR:   docker-voidlinux-standard: commands failed

CC: @tornaria @dkwo

Component: porting

Issue created by migration from https://trac.sagemath.org/ticket/33084

@mkoeppe mkoeppe added this to the sage-9.5 milestone Dec 26, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.5, sage-9.6 Jan 10, 2022
@dkwo
Copy link

dkwo commented Jan 14, 2022

comment:2

is the date correctly set?
could you try again?

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jan 14, 2022

comment:4

https://hub.docker.com/r/voidlinux/masterdir-x86_64-musl/tags does not seem to be updated lately

@dkwo
Copy link

dkwo commented Jan 15, 2022

comment:5

I was recommended to use ghcr instead, see https://github.com/void-linux/void-docker
Could you try with ghcr.io/void-linux/void-linux (20210220rc01-full-x86_64-musl) instead?

@mkoeppe mkoeppe modified the milestones: sage-9.6, sage-9.7 Mar 5, 2022
@mkoeppe mkoeppe modified the milestones: sage-9.7, sage-9.8 Aug 31, 2022
@mkoeppe mkoeppe modified the milestones: sage-9.8, sage-9.9 Jan 7, 2023
@mkoeppe mkoeppe removed this from the sage-10.0 milestone Apr 30, 2023
vbraun pushed a commit to vbraun/sage that referenced this issue Jan 5, 2024
    
<!-- ^^^^^
Please provide a concise, informative and self-explanatory title.
Don't put issue numbers in there, do this in the PR body below.
For example, instead of "Fixes sagemath#1234" use "Introduce new method to
calculate 1+1"
-->
<!-- Describe your changes here in detail -->
To test: Use `export DOCKER_TARGETS="with-system-packages configured
with-targets-pre with-targets"`, then one of:
- `tox -e docker-voidlinux-standard-python3.11`
- `tox -e docker-voidlinux-musl-standard-python3.11`

Support for `tox -e docker-voidlinux-standard-sitepackages` will have to
wait for:
- sagemath#36181

This
- Fixes sagemath#33084

<!-- Why is this change required? What problem does it solve? -->
<!-- If this PR resolves an open issue, please link to it here. For
example "Fixes sagemath#12345". -->
<!-- If your change requires a documentation PR, please link it
appropriately. -->

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->
<!-- If your change requires a documentation PR, please link it
appropriately -->
<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
<!-- Feel free to remove irrelevant items. -->

- [ ] The title is concise, informative, and self-explanatory.
- [ ] The description explains in detail what this PR is about.
- [ ] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation accordingly.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on
- sagemath#12345: short description why this is a dependency
- sagemath#34567: ...
-->

<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
    
URL: sagemath#36957
Reported by: Matthias Köppe
Reviewer(s):
vbraun pushed a commit to vbraun/sage that referenced this issue Jan 13, 2024
    
<!-- ^^^^^
Please provide a concise, informative and self-explanatory title.
Don't put issue numbers in there, do this in the PR body below.
For example, instead of "Fixes sagemath#1234" use "Introduce new method to
calculate 1+1"
-->
<!-- Describe your changes here in detail -->
To test: Use `export DOCKER_TARGETS="with-system-packages configured
with-targets-pre with-targets"`, then one of:
- `tox -e docker-voidlinux-standard-python3.11`
- `tox -e docker-voidlinux-musl-standard-python3.11`

Support for `tox -e docker-voidlinux-standard-sitepackages` will have to
wait for:
- sagemath#36181

This
- Fixes sagemath#33084

<!-- Why is this change required? What problem does it solve? -->
<!-- If this PR resolves an open issue, please link to it here. For
example "Fixes sagemath#12345". -->
<!-- If your change requires a documentation PR, please link it
appropriately. -->

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->
<!-- If your change requires a documentation PR, please link it
appropriately -->
<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
<!-- Feel free to remove irrelevant items. -->

- [ ] The title is concise, informative, and self-explanatory.
- [ ] The description explains in detail what this PR is about.
- [ ] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation accordingly.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on
- sagemath#12345: short description why this is a dependency
- sagemath#34567: ...
-->

<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
    
URL: sagemath#36957
Reported by: Matthias Köppe
Reviewer(s):
@mkoeppe mkoeppe added this to the sage-10.3 milestone Jan 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants