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

missing dependency with latest 8.4.0 image? #20

Closed
chrishavlin opened this issue Nov 21, 2023 · 3 comments
Closed

missing dependency with latest 8.4.0 image? #20

chrishavlin opened this issue Nov 21, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@chrishavlin
Copy link

Hi there,

I've got a github action that pulls in the latest docker image that started failing with the following error

/usr/bin/octave-cli-8.4.0: error while loading shared libraries: libcholmod.so.5: cannot open shared object file: No such file or directory

Here's a copy of the action for reference

name: Octave Build

on:
  pull_request:
    paths:
    - "**.m"
    - ".github/workflows/build-test-octave.yaml"

jobs:
  test-on-octave:
    name: Octave build
    runs-on: ubuntu-latest
    container:
      image: gnuoctave/octave
    steps:
    - uses: actions/checkout@v4
    - name: Check octave installation
      run: octave --eval "disp(version)"
    - name: Run tests
      run: octave --eval "run_all_tests"

The error is coming from the octave --eval "disp(version)" step. Pinning the image to gnuoctave/octave:8.3.0 solves the error.

Any ideas? Totally possible I should be doing something differently -- should I be installing the docker image more manually maybe? As I understand it, the current setup in the above action relies on github to pull the image from DockerHub, but I don't use docker much and maybe this is user error on my part....

@siko1056
Copy link
Member

Thanks for the report @chrishavlin 🙏 Indeed the current gnuoctave/octave:8.* and gnuoctave/octave:latest* have build issues. I try to resolve them but in the meantime, please pin the images in your pipeline as you described.

@siko1056
Copy link
Member

Hello @chrishavlin , after a fresh build round the issue should be fixed https://github.com/gnu-octave/docker/actions/runs/6962679183 . If there are still problems with the 8.4.0 or latest version, please feel free to open this issue again.

@siko1056 siko1056 added the bug Something isn't working label Nov 23, 2023
@chrishavlin
Copy link
Author

Thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants