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

Install cernlib error (MacOS 13.6, M2 chip) #325

Closed
2 tasks done
Xiu-Lei opened this issue Oct 3, 2023 · 3 comments
Closed
2 tasks done

Install cernlib error (MacOS 13.6, M2 chip) #325

Xiu-Lei opened this issue Oct 3, 2023 · 3 comments
Labels

Comments

@Xiu-Lei
Copy link

Xiu-Lei commented Oct 3, 2023

Verification

  • I ran brew update and am still able to reproduce my issue.
  • I have resolved all warnings from brew doctor and that did not fix my problem.

What were you trying to do (and why)?

I am trying to install cernlib on MacOS 13.6, with M2 apple chip. But it does not work, and I get the following error...

What happened (include all command output)?

brew install cernlib
==> Downloading https://formulae.brew.sh/api/formula.jws.json
##O#- #
==> Downloading https://formulae.brew.sh/api/cask.jws.json

==> Fetching davidchall/hep/cernlib
==> Downloading https://gist.githubusercontent.com/andriish/0f0142dcb5e9717d6cfc9235f2745ec3/raw/c7ba93ebb2ea2471a3f315b
################################################################################################################# 100.0%
==> Downloading https://cernlib.web.cern.ch/cernlib/download/2022_source/tar/cernlib-2022.11.08.0-free.tar.gz
################################################################################################################# 100.0%
==> Installing cernlib from davidchall/hep
==> Patching
==> Applying patch-cernlib20221108-1.txt
patching file CMakeLists.txt
patching file 'mathlib/CMakeLists.txt'
Error: An exception occurred within a child process:
NoMethodError: undefined method `version_suffix' for #Formulary::FormulaNamespaceAPIe0d511356bd44120af49cc96c9dcf3b3::Gcc:0x0000000111ef0d00
Did you mean? version_scheme

What did you expect to happen?

I would like to see the successful installation of cernlib.

Step-by-step reproduction instructions (by running brew commands)

brew tap davidchall/hep
brew info cernlib 
brew install cernlib

brew gist-logs <formula> link OR brew config AND brew doctor output

No response

@Xiu-Lei Xiu-Lei added the bug label Oct 3, 2023
@davidchall
Copy link
Owner

This will be addressed by #324, once that's ready to merge.

@arseniy-1995
Copy link

I have the same error:

-- Performing Test Fortran_COMPILER_SUPPORTS_-fstack-protector - Success
-- Performing Test Fortran_COMPILER_SUPPORTS_-Wno-conversion
-- Performing Test Fortran_COMPILER_SUPPORTS_-Wno-conversion - Success
-- Performing Test Fortran_COMPILER_SUPPORTS_-Wno-implicit-function-declaration
-- Performing Test Fortran_COMPILER_SUPPORTS_-Wno-implicit-function-declaration - Failed
-- Performing Test Fortran_COMPILER_SUPPORTS_-Wno-return-type
-- Performing Test Fortran_COMPILER_SUPPORTS_-Wno-return-type - Success
-- CERNLIB : CMAKE_Fortran_FLAGS= --param=ssp-buffer-size=4 -fno-backslash -ffixed-line-length-72 -std=legacy -fcommon -fno-automatic -fno-second-underscore -fno-align-commons -fno-aggressive-loop-optimizations -finit-local-zero -fallow-argument-mismatch -fno-range-check -fno-bounds-check -fbacktrace -fno-strict-aliasing -Wno-cpp -Wno-uninitialized -Wno-character-truncation -Wno-line-truncation -Wno-lto-type-mismatch -Wno-integer-division -Wno-intrinsic-shadow -Wno-argument-mismatch -Wno-aggressive-loop-optimizations -Wno-unused-label -Wno-unused-function -Wno-unused-variable -Wno-maybe-uninitialized -Wno-unused-dummy-argument -no-pie -O0 -g -fallow-invalid-boz -fstack-protector -Wno-conversion -Wno-return-type
CMake Error: Unable to read from file '../contrib/man/man1/cernlib.1': Could not open extended attribute file
CMake Error at CMakeLists.txt:615 (file):
file failed to compress:
/tmp/cernlib-20231006-34473-a3xs7r/cernlib-2023.08.14.0-free/build/cernlib.1.gz

-- Configuring incomplete, errors occurred!

Please fix it as soon as possible. I really need a library "cernlib" for work.

@davidchall
Copy link
Owner

This has now been resolved by #324. Please try again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants