Opened 4 years ago

Closed 4 years ago

#61484 closed defect (duplicate)

dbus-python37: undefined symbols

Reported by: Roarrk Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.6.99
Keywords: bigsur Cc: michaelld (Michael Dickens)
Port: dbus-python

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I know Big Sur is not officially supported yet, but never the less I thought I would file this report as its blocking a few ports from installing for me and I have not had success solving it

ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Attached main.log.

Let me know if I need to supply any more information, or if anyone has any suggestions I can try out

Attachments (1)

main.log (40.3 KB) - added by Roarrk 4 years ago.
main.log

Download all attachments as: .zip

Change History (10)

Changed 4 years ago by Roarrk

Attachment: main.log added

main.log

comment:1 Changed 4 years ago by Roarrk

Description: modified (diff)

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

Probably the usual libtool bug with macOS 11+; the fix is a patch in the libtool port.

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

Description: modified (diff)
Keywords: bigsur added
Owner: set to MarcusCalhoun-Lopez
Port: dbus-python added; dbus-python37 removed
Status: newassigned
Summary: dbus-python37 fails to build on Big Sur (symbol(s) not found)dbus-python37: undefined symbols

comment:4 in reply to:  2 Changed 4 years ago by Roarrk

Replying to ryandesign:

Probably the usual libtool bug with macOS 11+; the fix is a patch in the libtool port.

Great, thank you for the reply - I can't find any tickets relating to this. Are there any links to this patch or can you provide instructions for a workaround?

(edit: Found tickets for libtool but none relating to 11+ or big sur? - a google search is not giving me much luck either)

Last edited 4 years ago by Roarrk (previous) (diff)

comment:6 in reply to:  5 Changed 4 years ago by Roarrk

Replying to jmroot:

https://github.com/macports/macports-ports/blob/master/devel/libtool/files/dynamic_lookup-11.patch

Dynamic_lookup-11.patch is already applied to libtool as far as I can see?

patchfiles          hardcode-m4.patch asan.patch dynamic_lookup-11.patch

What am I missing?

edit: I did not realize the libtool patch has to be applied to every port. Solved it now, thanks!

Last edited 4 years ago by Roarrk (previous) (diff)

comment:7 Changed 4 years ago by michaelld (Michael Dickens)

PR here that fixes this issue for me: https://github.com/macports/macports-ports/pull/9146

comment:8 Changed 4 years ago by michaelld (Michael Dickens)

Cc: michaelld added

comment:9 Changed 4 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: assignedclosed
Note: See TracTickets for help on using tickets.