[MacPorts] #56901: clang-6.0 failed to patch set-xcode-analyzer during install
MacPorts
noreply at macports.org
Wed Aug 1 16:30:51 UTC 2018
#56901: clang-6.0 failed to patch set-xcode-analyzer during install
---------------------+-----------------------
Reporter: dkbarto | Owner: jeremyhu
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.3
Keywords: | Port: clang-6.0
---------------------+-----------------------
Updated my macports and tried to install clang-6.0
{{{
880_ sudo port install clang-6.0
---> Computing dependencies for clang-6.0
---> Fetching distfiles for clang-6.0
---> Attempting to fetch llvm-6.0.1.src.tar.xz from
https://distfiles.macports.org/llvm
---> Attempting to fetch cfe-6.0.1.src.tar.xz from
https://distfiles.macports.org/llvm
---> Attempting to fetch compiler-rt-6.0.1.src.tar.xz from
https://distfiles.macports.org/llvm
---> Attempting to fetch libcxx-6.0.1.src.tar.xz from
https://distfiles.macports.org/llvm
---> Attempting to fetch clang-tools-extra-6.0.1.src.tar.xz from
https://distfiles.macports.org/llvm
---> Verifying checksums for clang-6.0
---> Extracting clang-6.0
---> Applying patches to clang-6.0
Warning: reinplace s|/usr/bin/env python|/opt/local/bin/python2.7|g didn't
change anything in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-6.0/clang-6.0/work/llvm-6.0.1.src/tools/clang/tools
/scan-build/bin/set-xcode-analyzer
---> Configuring clang-6.0
Error: Failed to configure clang-6.0: configure failure: command execution
failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-6.0/clang-6.0/main.log
for details.
}}}
Sure enough the file doesn't have the expected string for the patch, it
starts with
{{{
903_ more
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-6.0/clang-6.0/work/llvm-6.0.1.src/tools/clang/tools
/scan-build/bin/set-xcode-analyzer
#!/usr/bin/python
}}}
--
Ticket URL: <https://trac.macports.org/ticket/56901>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list