[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
Fri Apr 15 19:46:01 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):

 Replying to [comment:32 harens]:
 > > Yes, I will do that today, I hope. Line numbers did not change with
 the latest version update?
 >
 > Good catch. Here's the updated version:
 >
 > {{{#!sh
 > > sudo port extract vlang
 > > # Remove errno header
 > > sudo sed -i "" "10d" "$(port work
 vlang)/v-weekly.2022.15/vlib/sync/sync_darwin.c.v"
 > > # Remove -no-pie flag
 > > sudo sed -i "" "255d" "$(port work
 vlang)/v-weekly.2022.15/vlib/v/builder/cc.v"
 > > sudo sed -i "" "91657d" "$(port work vlang)/vc-
 48b30963c895f6b0d9aa353066a286c100b56b0c/v.c"
 > > # Remove Objective-C Flag
 > > sudo sed -i "" "337d" "$(port work
 vlang)/v-weekly.2022.15/vlib/v/builder/cc.v"
 > > sudo sed -i "" "91730d" "$(port work vlang)/vc-
 48b30963c895f6b0d9aa353066a286c100b56b0c/v.c"
 > > sudo port -o install vlang
 > }}}

 It has build on 10.6 PPC, but destroot failed:


 {{{
 xinstall: mkdir
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_vlang/vlang/work/destroot/opt/local/share/examples
 xinstall: mkdir
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_vlang/vlang/work/destroot/opt/local/lib/vlang
 Error: Failed to destroot vlang: could not set group for file
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_vlang/vlang/work/destroot/opt/local/lib/vlang":
 group "_developer" does not exist
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_vlang/vlang/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port vlang faile
 }}}

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


More information about the macports-tickets mailing list