On Feb 5, 2023, at 16:25, Mannucci, Anthony J wrote:

> I recently upgraded to Ventura and I am following the migration procedure.
>  
> I updated Xcode etc. When restoring ports, I am getting errors associated 
> with perl and llvm. Should I file a bug report?
>  
> Here is a list of error messages before the process quit:
> 223:Error: Failed to configure perl5.16: configure failure: command execution 
> failed
> 224:Error: See 
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_perl5/perl5.16/main.log
>  for details.
> 231:Error: Failed to configure perl5.22: configure failure: command execution 
> failed
> 232:Error: See 
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_perl5/perl5.22/main.log
>  for details.
> 239:Error: Failed to configure perl5.24: configure failure: command execution 
> failed
> 240:Error: See 
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_perl5/perl5.24/main.log
>  for details.
> 247:Error: Failed to configure perl5.26: configure failure: command execution 
> failed
> 248:Error: See 
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_perl5/perl5.26/main.log
>  for details.
> 626:Error: Failed to configure llvm-3.3: consult 
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/work/build/config.log
> 627:Error: Failed to configure llvm-3.3: configure failure: command execution 
> failed
> 628:Error: See 
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/main.log
>  for details.
> 1024:Error: Failed to build cctools: command execution failed
> 1025:Error: See 
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/main.log
>  for details.
> 1026:Error: Requested variants "+xcode" do not match those the build was 
> started with: "+llvm10".
> 1027:Error: Please use the same variants again, or run 'port clean cctools' 
> first to remove the existing partially completed build.
>  
> Errors associated w/ perl seem to be like:
> 1080::debug:archivefetch Fetching archive failed: The requested URL returned 
> error: 404
> 1082::debug:archivefetch Fetching archive failed: The requested URL returned 
> error: 404
> 1084::debug:archivefetch Fetching archive failed: The requested URL returned 
> error: 404
> 1172::error:configure Failed to configure perl5.26: configure failure: 
> command execution failed
> 1173::debug:configure Error code: NONE
> 1177::error:configure See 
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_perl5/perl5.26/main.log
>  for details.
>  
> Errors associated with llvm are like:
> 240::debug:archivefetch Fetching archive failed: The requested URL returned 
> error: 404
> 242::debug:archivefetch Fetching archive failed: The requested URL returned 
> error: 404
> 244::debug:archivefetch Fetching archive failed: The requested URL returned 
> error: 404

Each failure will need individual investigation by reading the main.log file.

404 errors when fetching archives are not a problem. When MacPorts cannot fetch 
an archive, it builds from source. If *that* fails, *that's* a problem.

Some of the ports you mentioned, like perl5.16 and llvm-3.3, are ancient and 
may not be buildable on Ventura, or even if they build they may have bugs that 
were fixed a long, long time ago. Use newer versions of these ports, for 
example perl5.34 and llvm-15.

The cctools failure is explained in the error message. Clean the port and try 
again. Probably you want to run "sudo port install cctools" without specifying 
any variant, to let MacPorts pick the best variant for your system, if indeed 
you need to install the port at all. If you don't know that you need the port, 
don't install it. MacPorts will install it if it's needed as a dependency later.

You should probably read through the list of ports in myports.txt and remove 
any that you do not explicitly want rather than just reinstalling all the ports 
you had on your old system, some of which may have at one point been needed as 
a dependency of something but which aren't anymore.


Reply via email to