Hi,

You haven’t posted enough information for anyone to really help. We need to see 
the complete log file.

However, before that, please first make sure your ports are completely up to 
date, as some fixes have recently gone in for clang 14 that should have 
resolved build issues on the new OS. If you still have problems, do not post 
the log here but please open a trac ticket instead and attach the complete log 
there.

Chris

> On 30 Sep 2023, at 4:06 pm, Artemio González López via macports-users 
> <[email protected]> wrote:
> 
> 
> When trying to rebuild my MacPort ports after installing MacOS 14 (Sonoma) in 
> an M1 MacBook Pro (arm), clang-14 failed to build with the following error 
> message 
> 
> make[2]: Leaving directory 
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work/build'
> [ 25%] Built target generate-cxx-headers
> make[1]: Leaving directory 
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work/build'
> make: *** [all] Error 2
> make: Leaving directory 
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work/build'
> Command failed:  cd 
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work/build"
>  && /usr/bin/make -j8 -w all VERBOSE=ON 
> Exit code: 2
> Error: Failed to build clang-14: command execution failed
> DEBUG: Error code: CHILDSTATUS 26982 2
> DEBUG: Backtrace: command execution failed
>     while executing
> "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
>     invoked from within
> "command_exec -callback portprogress::target_progress_callback build"
>     (procedure "portbuild::build_main" line 8)
>     invoked from within
> "$procedure $targetname"
> Error: See 
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/main.log
>  for details.
> Error: Follow https://guide.macports.org/#project.tickets if you believe 
> there is a bug.
> Error: Processing of port emacs failed
> 
> Is there any known workaround for this?
> 
> Thanks in advance,
> 
> Artemio
> 
> 
> Artemio Gonzalez Lopez
> [email protected]
> 
> 
> 
> Artemio Gonzalez Lopez
> [email protected]
> 

Reply via email to