Opened 4 years ago

Closed 4 years ago

#62726 closed defect (fixed)

openbox @3.5.0: undefined symbols due to libtool bug

Reported by: schulzs (Stephan Schulz) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur Cc:
Port: openbox

Description (last modified by mf2k (Frank Schima))

sudo port install openbox fails with

Warning: The macOS 11.2 SDK does not appear to be installed. Ports may not build correctly.
...
--->  Attempting to fetch openbox-3.5.0_0.darwin_20.x86_64.tbz2 from https://mse.uk.packages.macports.org/openbox
--->  Building openbox
Error: Failed to build openbox: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_openbox/openbox/main.log for details.

I'm sure the SDK is installed (I've reinstalled XCode and the command line tools, and I can compile my own projects and most other ports), but it may be a newer version? XCode is version 12.4.

The logfile (attached) shows a number of missing X-symbols during linking (_XChangeProperty, _XCloseDisplay,...).

MacOS Big Sur 11.2.3, 16-inch MacBook Pro, 2019

uname -a: Darwin Dante.fritz.box 20.3.0 Darwin Kernel Version 20.3.0: Thu Jan 21 00:07:06 PST 2021; root:xnu-7195.81.3~1/RELEASE_X86_64 x86_64

Attachments (1)

main.log (438.8 KB) - added by schulzs (Stephan Schulz) 4 years ago.
Log of the build attempt

Download all attachments as: .zip

Change History (5)

Changed 4 years ago by schulzs (Stephan Schulz)

Attachment: main.log added

Log of the build attempt

comment:1 Changed 4 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: bigsur added
Summary: openbox-3.5.0_0.darwin_20.x86_64: Build failure on Big Suropenbox @3.5.0: undefined symbols due to libtool bug

Ignore the SDK error message. Start paying attention to it again after MacPorts 2.7.0 is released.

From the log, this looks like the well-known libtool macOS 11+ bug with undefined symbols, needing the usual fix (copied from the patch in the libtool port).

comment:3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Status: newaccepted

comment:4 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

Looks like updating to 3.6.1 fixed this.

[2c547671351d29a5891f90c1799c2292879d01f8/macports-ports]

Note: See TracTickets for help on using tickets.