[MacPorts] #64913: vlang fails for PowerPC: -latomic flag needed, Header file <sys/errno.h>, needed for module `sync` was not found

MacPorts noreply at macports.org
Sun Apr 3 06:30:05 UTC 2022


#64913: vlang fails for PowerPC: -latomic flag needed, Header file <sys/errno.h>,
needed for module `sync` was not found
---------------------------+-------------------------------------------
  Reporter:  barracuda156  |      Owner:  harens
      Type:  defect        |     Status:  accepted
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.2
Resolution:                |   Keywords:  powerpc, leopard, snowleopard
      Port:  vlang         |
---------------------------+-------------------------------------------

Comment (by barracuda156):

 Attempt to build for ppc32 also fails on Leopard in the same way:

 {{{
 > C compiler response file
 "/private/tmp/v_502/v2.exe.14234125913187763928.tmp.c.rsp":
 -Os -arch ppc  -Os -Os -std=c99 -D_DEFAULT_SOURCE -g -no-pie -O3 -fno-
 strict-aliasing -flto -o
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_vlang/vlang/work/v-weekly.2022.13/v2.exe"
 -I
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_vlang/vlang/work/v-weekly.2022.13/thirdparty/stdatomic/nix"
 -x objective-c "/private/tmp/v_502/v2.exe.14234125913187763928.tmp.c" -x
 none -mmacosx-version-min=10.5 -rdynamic -lpthread
 -Wl,-headerpad_max_install_names -latomic
 /opt/local/lib/libMacportsLegacySupport.a -arch ppc
 0.000    ms C gcc-mp-7
 builder error: Header file <sys/errno.h>, needed for module `sync` was not
 found. Please install the corresponding development headers.
 make: *** [all] Error 1
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_vlang/vlang/work/v-weekly.2022.13'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_vlang/vlang/work/v-weekly.2022.13"
 && /usr/bin/make -j4 -w all local=true VFLAGS="-v -cg -showcc -prod -cc
 /opt/local/bin/gcc-mp-7 -cflags -Os"
 VC=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_vlang/vlang/work
 /vc-de63146da0a0f93628f8a65e70267e2c8d4c7ce1
 CC="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_vlang/vlang/work/compwrap/cc/opt/local/bin
 /gcc-mp-7"
 CXX="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_vlang/vlang/work/compwrap/cxx/opt/local/bin/g++-mp-7"
 OBJC="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_vlang/vlang/work/compwrap/objc/opt/local/bin
 /gcc-mp-7"
 OBJCXX="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_vlang/vlang/work/compwrap/objcxx/opt/local/bin/g++-mp-7"
 FC="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_vlang/vlang/work/compwrap/fc/opt/local/bin
 /gfortran-mp-7"
 F77="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_vlang/vlang/work/compwrap/f77/opt/local/bin
 /gfortran-mp-7"
 F90="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_vlang/vlang/work/compwrap/f90/opt/local/bin
 /gfortran-mp-7" INSTALL="/usr/bin/install -c"
 Exit code: 2
 Error: Failed to build vlang: command execution failed
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/64913#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list