[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'
MacPorts
noreply at macports.org
Mon Dec 16 09:06:02 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 |
-----------------------+----------------------
Comment (by ryandesign):
Replying to [comment:4 drkp]:
> Replying to [comment:1 ryandesign]:
> > Maybe it would understand it if it were being given two separate args.
>
> clang doesn't understand -export-symbols even so.
Mine (Apple clang version 14.0.0 (clang-1400.0.29.202) on macOS 12) seems
to. At least I do not see an error when it is used.
Replying to [comment:6 JDLH]:
> The `-export-symbols` arg appears to come from `dont-use-version-
script.patch`
Right, as I said in comment:1.
> Maybe a thing to try is `link_args: ['-export-symbols ', symbol_map],`
Omitting the space at the end (`-export-symbols`), yes, that does
successfully remove the quotation marks around the two flags. But it works
for me both before and after that change so I don't know if it will fix
the problem for the OP.
--
Ticket URL: <https://trac.macports.org/ticket/71543#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list