[MacPorts] #58935: go @1.13: build fails on 10.9 and less
MacPorts
noreply at macports.org
Tue Oct 8 21:12:00 UTC 2019
#58935: go @1.13: build fails on 10.9 and less
---------------------+-------------------------------
Reporter: kencu | Owner: ci42
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: lion mountainlion
Port: go |
---------------------+-------------------------------
Comment (by Ionic):
I've implemented overrides via the Darwin major version now anyway.
Also fixed up the stuff for thin object files, fixed a few mistakes and
split `best_fchdir` out into its own compilation unit so that it will only
be generated once (since we really only need it once anyway), saving
space.
I think I'm about happy with that implementation now.
On 10.9 directly, `+universal`:
{{{
% nm -arch i386 $(port work legacy-
support)/destroot/opt/local/lib/libMacportsLegacySupport.dylib | grep
fdopendir
00002ac1 T _fdopendir
00002c7f T _fdopendir$INODE64$UNIX2003
00002ba0 T _fdopendir$UNIX2003
% nm -arch x86_64 $(port work legacy-
support)/destroot/opt/local/lib/libMacportsLegacySupport.dylib | grep
fdopendir
0000000000002ac2 T _fdopendir
0000000000002bab T _fdopendir$INODE64
}}}
On 10.9 directly, `-universal`:
{{{
% nm -arch i386 $(port work legacy-
support)/destroot/opt/local/lib/libMacportsLegacySupport.dylib | grep
fdopendir
error: nm: file:
/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.rsync.ionic
.de_release_ports_devel_legacy-support/legacy-
support/work/destroot/opt/local/lib/libMacportsLegacySupport.dylib does
not contain architecture: i386
% nm -arch x86_64 $(port work legacy-
support)/destroot/opt/local/lib/libMacportsLegacySupport.dylib | grep
fdopendir
0000000000002ac2 T _fdopendir
0000000000002bab T _fdopendir$INODE64
}}}
Faking 10.4, `+universal`:
{{{
% nm -arch i386 $(port work legacy-
support)/destroot/opt/local/lib/libMacportsLegacySupport.dylib | grep
fdopendir
00002bc0 T _fdopendir
00002c9f T _fdopendir$UNIX2003
% nm -arch x86_64 $(port work legacy-
support)/destroot/opt/local/lib/libMacportsLegacySupport.dylib | grep
fdopendir
0000000000002ac2 T _fdopendir
0000000000002bab T _fdopendir$INODE64
}}}
Faking 10.4, `-universal`:
{{{
% nm -arch i386 $(port work legacy-
support)/destroot/opt/local/lib/libMacportsLegacySupport.dylib | grep
fdopendir
error: nm: file:
/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.rsync.ionic
.de_release_ports_devel_legacy-support/legacy-
support/work/destroot/opt/local/lib/libMacportsLegacySupport.dylib does
not contain architecture: i386
% nm -arch x86_64 $(port work legacy-
support)/destroot/opt/local/lib/libMacportsLegacySupport.dylib | grep
fdopendir
0000000000002ac2 T _fdopendir
0000000000002bab T _fdopendir$INODE64
}}}
I naturally am not able to test anything `ppc`-related, but I believe
it'll likewise work.
Does this look sane? Especially what is being faked for `i386` on 10.4?
--
Ticket URL: <https://trac.macports.org/ticket/58935#comment:18>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list