[MacPorts] #68335: libGLU @9.0.1_0+universal: undefined symbols (was: libGLU at 9.0.1_0+universal :Failed to build libGLU)
MacPorts
noreply at macports.org
Tue Oct 3 08:55:50 UTC 2023
#68335: libGLU @9.0.1_0+universal: undefined symbols
--------------------------+--------------------
Reporter: JohannaXiao | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords: sonoma
Port: libGLU |
--------------------------+--------------------
Changes (by ryandesign):
* keywords: => sonoma
Comment:
Has duplicate #68334.
The log shows the problem is:
{{{
:info:build ld: warning: ignoring file
'/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_libGLU/libGLU/work/glu-9.0.1/.libs/libGLU.1
.dylib-master.o': found architecture 'arm64', required architecture
'x86_64'
:info:build ld: Undefined symbols:
:info:build _gluBeginCurve, referenced from:
:info:build <initial-undefines>
:info:build _gluBeginPolygon, referenced from:
:info:build <initial-undefines>
}}}
So: you're trying to build universal on an arm64 Mac, but it has only
built libGLU.1.dylib-master.o for arm64, not universally.
This looks like the same libtool bug we observed elsewhere when using
Xcode 15, which was fixed in the libtool port in
[85058b4d9bc2b7ab451f7ce622a2786078462ee1/macports-ports] and which now
needs to be propagated manually to the zillions of ports like libGLU that
include a bundled libtool.
--
Ticket URL: <https://trac.macports.org/ticket/68335#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list