[MacPorts] #49477: clang-3.7 @3.7.0_1 fails staging into destroot on 10.6.8
MacPorts
noreply at macports.org
Wed Nov 4 08:11:46 PST 2015
#49477: clang-3.7 @3.7.0_1 fails staging into destroot on 10.6.8
----------------------------------+------------------------
Reporter: braumann@… | Owner: jeremyhu@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: fixed | Keywords:
Port: clang-3.7 clang-3.8 |
----------------------------------+------------------------
Comment (by braumann@…):
While trying to upgrade from {{{lang-3.8 @3.8-r250632_0}}} to
{{{3.8-r251899_0}}} on 10.6.8 (Snow Leopard) now I get this problem during
patching:
{{{
:info:patch ---> Applying leopard-no-asan.patch
:debug:patch Environment:
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.8/clang-3.8/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:patch Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.8/clang-3.8/work/trunk"
&& /usr/bin/patch -p1'
:debug:patch Executing command line: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.8/clang-3.8/work/trunk"
&& /usr/bin/patch -p1 <
'/opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/llvm-3.8/files
/leopard-no-asan.patch'
:info:patch patching file projects/compiler-
rt/make/platform/clang_darwin.mk
:info:patch Hunk #1 succeeded at 112 (offset -7 lines).
:info:patch patching file tools/clang/runtime/compiler-rt/Makefile
:info:patch Hunk #2 FAILED at 101.
:info:patch 1 out of 2 hunks FAILED -- saving rejects to file
tools/clang/runtime/compiler-rt/Makefile.rej
:info:patch Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.8/clang-3.8/work/trunk"
&& /usr/bin/patch -p1 <
'/opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/llvm-3.8/files
/leopard-no-asan.patch'
:info:patch Exit code: 1
:error:patch org.macports.patch for port clang-3.8 returned: command
execution failed
}}}
Makefile.rej contains:
{{{
***************
*** 103,113 ****
RuntimeLibrary.darwin.Configs += cc_kext_ios5.a
endif
- ifneq ($(IOSSIM_SDK),)
- RuntimeLibrary.darwin.Configs += asan_iossim_dynamic.dylib \
- ubsan_iossim_dynamic.dylib
- endif
-
RuntimeLibrary.macho_embedded.Configs := \
hard_static.a hard_pic.a
ifneq (,$(findstring ARM,$(TARGETS_TO_BUILD)))
--- 101,106 ----
RuntimeLibrary.darwin.Configs += cc_kext_ios5.a
endif
RuntimeLibrary.macho_embedded.Configs := \
hard_static.a hard_pic.a
ifneq (,$(findstring ARM,$(TARGETS_TO_BUILD)))
}}}
Interestingly, {{{clang-3.7 @3.7.0_2}}} which previously showed the same
ASAN trouble as {{{clang-3.8 @3.8-r251269_0}}} builds fine now on the same
10.6.8 system.
--
Ticket URL: <https://trac.macports.org/ticket/49477#comment:8>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list