Opened 4 years ago
Closed 4 years ago
#61124 closed defect (fixed)
Xcode 12 beta 6 cannot build MacPorts 2.6.3
Reported by: | CodingMarkus | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | MacPorts 2.6.4 |
Component: | base | Version: | 2.6.3 |
Keywords: | Cc: | jonasjonas (Frank Hellenkamp) | |
Port: |
Description
When downloading MacPorts-2.6.3.tar.bz2 and trying to build it as described on this page
https://www.macports.org/install.php
make
fails when performing the command:
clang -dynamiclib -g -O2 -std=c99 -Wextra -Wall -pedantic -I/usr/include -Wl,-single_module sqlext.o vercomp.o -o macports.sqlext
with
Undefined symbols for architecture x86_64: "_sqlite3_create_collation", referenced from: _sqlite3_extension_init in sqlext.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [macports.sqlext] Error 1
Fails when building with Xcode with Xcode 12 beta 6. System is macOS Catalina (10.15.6).
It does work correctly when building with Xcode 11.5 on the same system.
Change History (5)
comment:1 Changed 4 years ago by mf2k (Frank Schima)
Component: | ports → base |
---|
comment:2 Changed 4 years ago by jmroot (Joshua Root)
comment:3 Changed 4 years ago by jmroot (Joshua Root)
I would imagine something along the lines of export SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
would work around this, BTW.
comment:4 Changed 4 years ago by jonasjonas (Frank Hellenkamp)
Cc: | jonasjonas added |
---|
comment:5 Changed 4 years ago by jmroot (Joshua Root)
Milestone: | → MacPorts 2.6.4 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Yes, see [4664a4a6c680ec55387f7c3ecd94102588a8f299/macports-base].