[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
Mon Apr 18 19:01:58 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 harens):
> Should I rather wait until the issue that Ryan mentions is fixed?
I've patched it with the new weekly build. Thanks Ryan for the suggestion.
If you wouldn't mind updating, here's the new set of commands:
{{{#!sh
> sudo port extract vlang
> # Remove errno header
> sudo sed -i "" "10d" "$(port work
vlang)/v-weekly.2022.16/vlib/sync/sync_darwin.c.v"
> # Remove -no-pie flag
> sudo sed -i "" "255d" "$(port work
vlang)/v-weekly.2022.16/vlib/v/builder/cc.v"
> sudo sed -i "" "91905d" "$(port work vlang)/vc-
4505557b56638eb931182f764580767e22cf110d/v.c"
> # Remove Objective-C Flag
> sudo sed -i "" "337d" "$(port work
vlang)/v-weekly.2022.16/vlib/v/builder/cc.v"
> sudo sed -i "" "91978d" "$(port work vlang)/vc-
4505557b56638eb931182f764580767e22cf110d/v.c"
> sudo port -o install vlang
}}}
--
Ticket URL: <https://trac.macports.org/ticket/64913#comment:38>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list