[MacPorts] #49477: clang-3.7 @3.7.0_1 fails staging into destroot on 10.6.8
#49477: clang-3.7 @3.7.0_1 fails staging into destroot on 10.6.8 ------------------------+-------------------------------- Reporter: braumann@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: clang-3.7 ------------------------+-------------------------------- While upgrading {{{clang-3.7 @3.7.0_0}}} to {{{clang-3.7 @3.7.0_1}}} I got the following error during {{{---> Staging clang-3.7 into destroot}}}: {{{ :debug:destroot Executing proc-post-org.macports.destroot-destroot-2 :info:destroot error: install_name_tool: can't open file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/clang-3.7/work/destroot/opt/local/libexec/llvm-3.7/lib/clang/3.7/lib/darwin/libclang_rt.asan_iossim_dynamic.dylib (No such file or directory) :info:destroot Command failed: install_name_tool -id @rpath/libclang_rt.asan_iossim_dynamic.dylib/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/clang-3.7/work/destroot/opt/local/libexec/llvm-3.7/lib/clang/3.7/lib/darwin/libclang_rt.asan_iossim_dynamic.dylib :info:destroot Exit code: 1 }}} As you see, it misses a file {{{libclang_rt.asan_iossim_dynamic.dylib}}}. Any ideas? -- Ticket URL: <https://trac.macports.org/ticket/49477> MacPorts <https://www.macports.org/> Ports system for OS X
#49477: clang-3.7 @3.7.0_1 fails staging into destroot on 10.6.8 -------------------------+-------------------------------- Reporter: braumann@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: clang-3.7 | -------------------------+-------------------------------- Comment (by braumann@…): FWIW, upgrading from {{{clang-3.8}}} from {{{3.8-r250632_0}}} to {{{3.8-r251269_0}}} leads to exactly the same error. -- Ticket URL: <https://trac.macports.org/ticket/49477#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49477: clang-3.7 @3.7.0_1 fails staging into destroot on 10.6.8 -------------------------+-------------------------------- Reporter: braumann@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: clang-3.7 | -------------------------+-------------------------------- Comment (by jeremyhu@…): Thanks for the report. Not sure why you don't have the asan runtime for the simualtor, but I'll look into it. -- Ticket URL: <https://trac.macports.org/ticket/49477#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#49477: clang-3.7 @3.7.0_1 fails staging into destroot on 10.6.8 -------------------------+------------------------ Reporter: braumann@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: clang-3.7 | -------------------------+------------------------ Changes (by ryandesign@…): * cc: jeremyhu@… (removed) * owner: macports-tickets@… => jeremyhu@… -- Ticket URL: <https://trac.macports.org/ticket/49477#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#49477: clang-3.7 @3.7.0_1 fails staging into destroot on 10.6.8 ----------------------------------+------------------------ Reporter: braumann@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: clang-3.7 clang-3.8 | ----------------------------------+------------------------ Changes (by jeremyhu@…): * status: new => assigned * port: clang-3.7 => clang-3.7 clang-3.8 Comment: Oh. SL. Yeah, I need to just conditionalize those dylib id changes. -- Ticket URL: <https://trac.macports.org/ticket/49477#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#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 | ----------------------------------+------------------------ Changes (by jeremyhu@…): * status: assigned => closed * resolution: => fixed Comment: r141828 r141829 -- Ticket URL: <https://trac.macports.org/ticket/49477#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#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 build {{{clang-3.7}}} after the abovementioned changes, I now run into this problem on 10.6.8: {{{ :debug:destroot Executing proc-post-org.macports.destroot-destroot-2 :error:destroot org.macports.destroot for port clang-3.7 returned: no files matched glob pattern "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/clang-3.7/work/destroot/opt/local/libexec/llvm-3.7/lib/clang/3.7/lib/darwin/*.dylib" :debug:destroot Error code: NONE }}} Under {{{/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/clang-3.7/work/destroot/opt/local/libexec/llvm-3.7/lib/clang/3.7/lib/darwin}}} I just have these libraries: {{{ $ ls -laG total 936 drwxr-xr-x 10 root admin 340 Oct 29 19:31 . drwxr-xr-x 4 root admin 136 Oct 29 19:31 .. -rw-r--r-- 1 root admin 7920 Oct 29 19:31 libclang_rt.10.4.a -rw-r--r-- 1 root admin 195976 Oct 29 19:31 libclang_rt.cc_kext.a -rw-r--r-- 1 root admin 72936 Oct 29 19:31 libclang_rt.cc_kext_ios5.a -rw-r--r-- 1 root admin 1960 Oct 29 19:31 libclang_rt.eprintf.a -rw-r--r-- 1 root admin 31512 Oct 29 19:31 libclang_rt.ios.a -rw-r--r-- 1 root admin 17416 Oct 29 19:31 libclang_rt.osx.a -rw-r--r-- 1 root admin 80024 Oct 29 19:31 libclang_rt.profile_ios.a -rw-r--r-- 1 root admin 59016 Oct 29 19:31 libclang_rt.profile_osx.a }}} On the level of {{{/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/clang-3.7/work}}} I find {{{*.dylib}}} files here: {{{ find . -name "*dylib" ./build/Release+Debug+Asserts/lib/libclang.dylib ./build/Release+Debug+Asserts/lib/libLLVM-3.7.0.dylib ./build/Release+Debug+Asserts/lib/libLLVM-3.7.dylib ./build/Release+Debug+Asserts/lib/libLTO.dylib ./build/Release+Debug+Asserts/lib/LLVMHello.dylib ./destroot/opt/local/libexec/llvm-3.7/lib/libclang.dylib ./llvm-3.7.0.src/test/Object/Inputs/macho-no-exports.dylib }}} Any ideas? I attach my main.log named as main.2.log -- Ticket URL: <https://trac.macports.org/ticket/49477#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#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
#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@…): Upgrading from {{{clang-3.8}}} from {{{3.8-r250632_0}}} to {{{3.8-r252441_0}}} has worked on 10.6.8, thanks! -- Ticket URL: <https://trac.macports.org/ticket/49477#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts