[MacPorts] #62537: blueutil @2.8.0: Undefined symbols for architecture x86_64
MacPorts
noreply at macports.org
Wed Mar 24 18:11:08 UTC 2021
#62537: blueutil @2.8.0: Undefined symbols for architecture x86_64
--------------------------+----------------------
Reporter: cooljeanius | Owner: DanielO
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords: bigsur
Port: blueutil |
--------------------------+----------------------
Comment (by kencu):
this jumps out {{{mmacosx-version-min=10.9}}} and
{{{MACOSX_DEPLOYMENT_TARGET='11.2'}}} both being set to different values,
and there is an extra {{{-isysroot}}} (that shouldn't matter), but what I
do in practice for these is go into the directory:
{{{
cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_blueutil/blueutil/work
/toy-blueutil-f1ca51b
}}}
and then run the command manually, figuring out what works and what
doesn't. Use sudo or chmod the files to make them writeable:
{{{
/usr/bin/clang -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64
-Wall -Wextra -mmacosx-version-min=10.9 -framework Foundation -framework
IOBluetooth -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
-Wl,-headerpad_max_install_names
-Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch
x86_64 blueutil.m -o blueutil
}}}
--
Ticket URL: <https://trac.macports.org/ticket/62537#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list