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

macos workflows are failing #683

Closed
GeorgeGayno-NOAA opened this issue Aug 15, 2022 · 1 comment · Fixed by #684
Closed

macos workflows are failing #683

GeorgeGayno-NOAA opened this issue Aug 15, 2022 · 1 comment · Fixed by #684
Assignees
Labels
bug Something isn't working

Comments

@GeorgeGayno-NOAA
Copy link
Collaborator

The macos workflows started failing a few days ago. In the authoritative fork, 'develop' (2a07b2c) was working fine as of August 9th. Sometime after that date, the workflow started failing with an error about a missing jpeg library.

make[2]: *** No rule to make target /usr/local/lib/libjpeg.dylib, needed by sorc/emcsfc_ice_blend.fd/emcsfc_ice_blend. Stop.

If I update the linux-mac-nceplibs-mpi.yml workflow file as follows, it works:

--- a/.github/workflows/linux-mac-nceplibs-mpi.yml
+++ b/.github/workflows/linux-mac-nceplibs-mpi.yml
@@ -32,7 +32,6 @@ jobs:
         elif [[ ${{ matrix.os }} == "macos-latest" ]]; then
             brew update
           brew install wget
+         brew install jpeg-turbo
           if [[ ${{ matrix.compiler }} == "gcc-9" ]]; then
             sudo ln -sf /usr/local/bin/gfortran-9 /usr/local/bin/gfortran
           elif  [[ ${{ matrix.compiler }} == "gcc-10" ]]; then

I am not sure this is the proper solution. @edwardhartnett - any ideas?

@GeorgeGayno-NOAA GeorgeGayno-NOAA added the bug Something isn't working label Aug 15, 2022
@GeorgeGayno-NOAA GeorgeGayno-NOAA self-assigned this Aug 15, 2022
@edwardhartnett
Copy link
Collaborator

Try changing the brew install commands to include jpeg-turbo.

GeorgeGayno-NOAA added a commit to GeorgeGayno-NOAA/UFS_UTILS that referenced this issue Aug 16, 2022
GeorgeGayno-NOAA added a commit to GeorgeGayno-NOAA/UFS_UTILS that referenced this issue Aug 18, 2022
GeorgeGayno-NOAA added a commit that referenced this issue Aug 18, 2022
Fixes recent workflow failures.

Fixes #683.
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

Successfully merging a pull request may close this issue.

2 participants