Opened 14 months ago
Closed 13 months ago
#68335 closed defect (fixed)
libGLU @9.0.1_0+universal: undefined symbols
Reported by: | JohannaXiao | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | sonoma | Cc: | jeremyhu (Jeremy Huddleston Sequoia) |
Port: | libGLU |
Description
Hello, I tried to install molden, but it stuck at the libGLU. and the error message showing below:
---> Fetching archive for libGLU ---> Attempting to fetch libGLU-9.0.1_0+universal.darwin_23.arm64-x86_64.tbz2 from https://packages.macports.org/libGLU ---> Attempting to fetch libGLU-9.0.1_0+universal.darwin_23.arm64-x86_64.tbz2 from https://fra.de.packages.macports.org/libGLU ---> Attempting to fetch libGLU-9.0.1_0+universal.darwin_23.arm64-x86_64.tbz2 from https://mse.uk.packages.macports.org/libGLU ---> Fetching distfiles for libGLU ---> Verifying checksums for libGLU ---> Extracting libGLU ---> Configuring libGLU ---> Building libGLU Error: Failed to build libGLU: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_libGLU/libGLU/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port molden failed
MacOS:14.0 (23A344)Sonoma The detailed log, I attached it below.
Attachments (1)
Change History (4)
Changed 14 months ago by JohannaXiao
comment:1 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | sonoma added |
---|---|
Summary: | libGLU@9.0.1_0+universal :Failed to build libGLU → libGLU @9.0.1_0+universal: undefined symbols |
comment:2 Changed 14 months ago by jmroot (Joshua Root)
We can probably just use the second hunk of that patch in ports, which will always disable the workaround for lack of -single_module support, which is fine because we only support 10.4 and later. The patch in libtool is more thorough for the purpose of being upstreamable.
comment:3 Changed 13 months ago by jmroot (Joshua Root)
Owner: | set to jmroot |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Has duplicate #68334.
The log shows the problem is:
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.