On 19/9/2024 18:30, Artemio González López wrote:

Thanks, Josh! In fact, I renamed the /Library/Developer/CommandLineTools and 
got most of my ports to succesfully build after executing “sudo port restore 
—last”. Unfortunately, there is still a problem with libgcc14 that prevents 
emacs-app to compile:

Migration finished with errors.
     The following ports could not be restored:
      - emacs
        Skipped because its dependency libgcc14 failed
      - emacs-app
        Skipped because its dependency libgcc14 failed
      - gnuplot
        Skipped because its dependency wxWidgets-3.0 failed
      - julia
        Skipped because its dependency libgcc14 failed
      - py311-matplotlib
        Skipped because its dependency libgcc14 failed
      - py311-scipy
        Skipped because its dependency libgcc14 failed
      - py312-matplotlib
        Skipped because its dependency libgcc14 failed
      - py312-scipy
        Skipped because its dependency libgcc14 failed
     The following ports could not be fully restored:
      - py311-jupyter
        Skipped because its dependency libsodium failed
        state changed from 'installed' to 'inactive'
      - py312-jupyter
        Skipped because its dependency libsodium failed
        state changed from 'installed' to 'inactive'
      - py312-jupyterlab
        Skipped because its dependency libsodium failed
        state changed from 'installed' to ‘inactive'

(There is also a problem with libsodium, but that seems less important). Is 
this problem known? Does anybody suggest a fix/workaround, while things are 
ironed out?

A lot has happened since my last reply. We're no longer recommending uninstalling the Command Line Tools, because a more surgical fix has been found: <https://trac.macports.org/wiki/ProblemHotlist#clts16>

I believe gcc14 may be one port that really wants the CLTs, so restoring them would be step 1. One fix for gcc14/libgc14 build failures has already been committed, but there seems to be another one affecting some users. This is the ticket tracking the issues: <https://trac.macports.org/ticket/70641>

If you can't get libgcc14 working in the short term, you should be able to install emacs and emacs-app by turning off the default nativecomp variant.

As for libsodium, which version did you see the failure with? It was only just updated to 1.0.20.

- Josh

Reply via email to