[MacPorts] #56991: wine cannot be built against the 10.14 SDK
MacPorts
noreply at macports.org
Wed Sep 25 04:19:52 UTC 2019
#56991: wine cannot be built against the 10.14 SDK
---------------------------------------------+------------------------
Reporter: IComplainInComments | Owner: ryandesign
Type: defect | Status: assigned
Priority: Low | Milestone:
Component: ports | Version: 2.5.3
Resolution: | Keywords: mojave
Port: wine wine-devel wine-crossover |
---------------------------------------------+------------------------
Comment (by kencu):
even more fun and games... with this same setup, you can install, say the
10.7 SDK, set your macports.conf setting like so:
{{{
macosx_deployment_target 10.7
macosx_sdk_version 10.7
}}}
and presto. You're building (on Mojave) against the 10.7 SDK easy as pie.
WAYY easier than a VM to fix some issue.
{{{
/usr/bin/clang -DHAVE_CONFIG_H -I. -I./src -I/opt/universalnew/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.7.sdk -pipe
-Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.7.sdk -arch
x86_64 -arch i386 -D_THREAD_SAFE -pthread -Wall -Wextra -Wformat=2 -Wno-
format-nonliteral -Wshadow -Wpointer-arith -Wcast-qual -Wmissing-
prototypes -Wno-missing-braces -std=gnu89 -D_GNU_SOURCE -c -o src/zfile.o
src/zfile.c
src/decompress.c:52:31: warning: cast from 'const void *' to 'unsigned
char *' drops const qualifier [-Wcast-qual]
stream.next_in = (Bytef *)buf;
^
1 warning generated.
src/decompress.c:52:31: warning: cast from 'const void *' to 'unsigned
char *' drops const qualifier [-Wcast-qual]
stream.next_in = (Bytef *)buf;
^
1 warning generated.
/usr/bin/clang -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.7.sdk -arch
x86_64 -arch i386 -D_THREAD_SAFE -pthread -Wall -Wextra -Wformat=2 -Wno-
format-nonliteral -Wshadow -Wpointer-arith -Wcast-qual -Wmissing-
prototypes -Wno-missing-braces -std=gnu89 -D_GNU_SOURCE
-L/opt/universalnew/lib -Wl,-headerpad_max_install_names
-Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.7.sdk
-Wl,-w -arch x86_64 -arch i386 -o ag src/ignore.o src/log.o src/options.o
src/print.o src/print_w32.o src/scandir.o src/search.o src/lang.o
src/util.o src/decompress.o src/main.o src/zfile.o -L/opt/universalnew/lib
-lpcre -L/opt/universalnew/lib -llzma -lz
make[1]: Entering directory
`/opt/universalnew/var/macports/build/_opt_universalnew_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_the_silver_searcher/the_silver_searcher/work/the_silver_searcher-2.2.0'
make[1]: `ag' is up to date.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/56991#comment:61>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list