failed migration to Sequoia

Artemio González López artemiog at mac.com
Sat Sep 21 11:18:18 UTC 2024


> On 21 Sep 2024, at 02:58, Joshua Root <jmr at macports.org> wrote:
> 
> On 21/9/2024 03:36, Artemio González López wrote:
>> I just ran port selfupdate, but the only outdated port it found is xorg- libXi  (which I updated). I guess it is not worth to give port restore — last another try, since the problematic por was libgcc14, which hasn’t¡t been updated. Am I right? I would also like to know whether anybody else who, like me, got rid of the c++ directory one way or another (and with an M1 chip) is having the same problem with libgcc14. If this is the case perhaps something else is going on, apart from the rogue c++ directory problem.
> 
> A port can only be considered outdated if you have an older version installed, so if you have never been able to install any version, it will not be shown as outdated. There have definitely been updates to libgcc14 in the last several days, so depending on when you previously selfupdated, it may now work.
> 
> Yes, some users are still having problems with libgcc14 after fixing the SDK and the -pipe problem, see the ticket I previously referenced: <https://trac.macports.org/ticket/70641> But it seems to be working for others.
> 
> - Josh


Hi, Josh,

I have something to report that may help us understand why some people have problems with port restore. After reading your previous post, I executed 'xcode-select -p' and found out that, although the CLT were installed, the output was still /Applications/Xcode/Developer/. So I set the CLT directory to /Library/Developer/CommandLineTools using Xcode-select -s, and executed 'sudo port selfupdate' (as suggested by you). It only found an outdated port (libpng, I think, which I updated). Then I executed ’sudo port restore —last’, and finally libgcc14 worked and emacs-app compiled just fine, together with most of my ports. Unfortunately, I still had a few problems:

    Migration finished with errors.
    The following ports could not be restored:
     - gnuplot 
       Skipped because its dependency aquaterm failed
     - julia 
       Failed: Unable to execute target 'activate' for port julia - see its log for details
     - py312-scipy 
       Failed: Unable to execute target 'activate' for port py312-scipy - see its log for details

I do not know what the problem was with aqua term, since it was successfully built the previous run of 'port restore —last’. In any case, here are the errors reported by the main.log of julia, aquaterm and py32-scipy:

============ julia ============

:info:build curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 
:info:build make[1]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_julia/julia/work/julia-1.10.5/deps/srccache/LLVMLibUnwind.v12.0.1+0.aarch64-apple-darwin.tar.gz] Error 35
:info:build make[1]: *** Waiting for unfinished jobs....
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_julia/julia/work/julia-1.10.5/deps'
:info:build make: *** [julia-deps] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_julia/julia/work/julia-1.10.5'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_julia/julia/work/julia-1.10.5" && /usr/bin/make -j8 -w  
:info:build Exit code: 2
:error:build Failed to build julia: command execution failed
:debug:build Error code: CHILDSTATUS 88516 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 10)
:debug:build     invoked from within
:debug:build "$procedure $targetname"

============ aqua term ============

:error:clean Port aquaterm requires a full Xcode installation, which was not found on your system.
:error:clean You can install Xcode from the Mac App Store or https://developer.apple.com/xcode/

============ py32-scipy ============

:info:build * Getting build dependencies for wheel...
:info:build ERROR Missing dependencies:
:info:build     pythran>=0.12.0
:info:build     gast~=0.5.0
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-scipy/py312-scipy/work/scipy-1.11.4" && /opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12 -m build --no-isolation --wheel --outdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-scipy/py312-scipy/work 
:info:build Exit code: 1
:error:build Failed to build py312-scipy: command execution failed
:debug:build Error code: CHILDSTATUS 13033 1
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 10)
:debug:build     invoked from within
:debug:build "$procedure $targetname"

===================================

Any help on this would be much appreciated!

Artemio

P.S. I just have one more question: when 'port restore —last’ runs, it rebuilds everything again from scratch or just the ports that failed to build in the previous run?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20240921/bae91063/attachment.htm>


More information about the macports-users mailing list