[MacPorts] #71543: devhelp: error: unknown argument: '-export-symbols /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_devhelp/devhelp/work/devhelp-3.38.1/devhelp/symbol.map' (was: devhelp only comes as a universal, not an arm64?)
MacPorts
noreply at macports.org
Sat Dec 14 08:35:20 UTC 2024
#71543: devhelp: error: unknown argument: '-export-symbols
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_devhelp/devhelp/work/devhelp-3.38.1/devhelp/symbol.map'
-----------------------+----------------------
Reporter: kwolcott | Owner: dbevans
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: devhelp |
-----------------------+----------------------
Changes (by ryandesign):
* status: new => assigned
* owner: (none) => dbevans
Comment:
I'm not sure what you mean about universal. The log you attached shows a
single-arch (non-universal) build of devhelp.
It shows it failed because:
{{{
clang: error: unknown argument: '-export-symbols
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_devhelp/devhelp/work/devhelp-3.38.1/devhelp/symbol.map'
}}}
In other words, it's treating `-export-symbols
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_devhelp/devhelp/work/devhelp-3.38.1/devhelp/symbol.map`
as a single argument, and doesn't understand that. I'm not sure how this
ever worked. Maybe it would understand it if it were being given two
separate args.
These args are being supplied because of a patch MacPorts added; this is
not a bug in the upstream code, except to the extent that it looks like we
had to use the patch because the upstream code assumed a GNU linker and
didn't work with the Apple linker.
--
Ticket URL: <https://trac.macports.org/ticket/71543#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list