gnu-octave / docker

Docker images of GNU Octave.
GNU General Public License v3.0
35 stars 5 forks source link

missing dependency with latest 8.4.0 image? #20

Closed chrishavlin closed 11 months ago

chrishavlin commented 11 months ago

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 commented 11 months ago

Thanks for the report @chrishavlin :pray: 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 commented 11 months ago

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.

chrishavlin commented 11 months ago

Thanks!!