Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#50309 closed defect (fixed)

clang-3.7 @3.7.1_2+analyzer+openmp patch failure

Reported by: mopihopi Owned by: eborisch (Eric A. Borisch)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: larryv (Lawrence Velázquez), udbraumann, jeremyhu (Jeremy Huddleston Sequoia)
Port: clang-3.7

Description

clang-3.7 @3.7.1_2+analyzer+openmp fails in the patching stage.

$ sudo port upgrade clang-3.7
--->  Computing dependencies for clang-3.7
--->  Fetching archive for clang-3.7
--->  Attempting to fetch clang-3.7-3.7.1_2+analyzer+openmp.darwin_14.x86_64.tbz2 from http://packages.macports.org/clang-3.7
--->  Attempting to fetch clang-3.7-3.7.1_2+analyzer+openmp.darwin_14.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/clang-3.7
--->  Attempting to fetch clang-3.7-3.7.1_2+analyzer+openmp.darwin_14.x86_64.tbz2 from http://lil.fr.packages.macports.org/clang-3.7
--->  Fetching distfiles for clang-3.7
--->  Verifying checksums for clang-3.7
--->  Extracting clang-3.7
--->  Applying patches to clang-3.7
Error: org.macports.patch for port clang-3.7 returned: command execution failed
Please see the log file for port clang-3.7 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
version:1
:msg:main --->  Computing dependencies for clang-3.7:info:main .:debug:main clang-3.7 has no conflicts
:debug:main Searching for dependency: subversion
:debug:main Found Dependency: receipt exists for subversion
:debug:main Searching for dependency: xz
:debug:main Found Dependency: receipt exists for xz
:debug:main Searching for dependency: cctools
:debug:main Found Dependency: receipt exists for cctools
:debug:main Searching for dependency: libxml2
:debug:main Found Dependency: receipt exists for libxml2
:debug:main Searching for dependency: llvm-3.7
:debug:main Found Dependency: receipt exists for llvm-3.7
:debug:main Searching for dependency: python27
:debug:main Found Dependency: receipt exists for python27
:debug:main Searching for dependency: libedit
:debug:main Found Dependency: receipt exists for libedit
:debug:main Searching for dependency: libffi
:debug:main Found Dependency: receipt exists for libffi
:debug:main Searching for dependency: ncurses
:debug:main Found Dependency: receipt exists for ncurses
:debug:main Searching for dependency: zlib
:debug:main Found Dependency: receipt exists for zlib
:debug:main Searching for dependency: libcxx
:debug:main Found Dependency: receipt exists for libcxx
:debug:main Searching for dependency: libomp
:debug:main Found Dependency: receipt exists for libomp
:debug:main Searching for dependency: clang_select
:debug:main Found Dependency: receipt exists for clang_select
:debug:main Searching for dependency: ld64
:debug:main Found Dependency: receipt exists for ld64
:debug:main Searching for dependency: perl5
:debug:main Found Dependency: receipt exists for perl5
:msg:main 
:debug:main Executing org.macports.main (clang-3.7)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:archivefetch archivefetch phase started at Tue Jan 12 12:38:15 PST 2016
:msg:archivefetch --->  Fetching archive for clang-3.7
:debug:archivefetch Executing proc-pre-org.macports.archivefetch-archivefetch-0
:debug:archivefetch Active variants check for archivefetch-type install considers depends_lib depends_run: libxml2 llvm-3.7 python27 libedit libffi ncurses zlib libcxx libomp clang_select ld64 perl5
:debug:archivefetch Checking llvm-3.7 for active variants for depspec 'port:llvm-3.7'
:debug:archivefetch llvm-3.7 is installed with the following variants: 
:debug:archivefetch   required: , forbidden: assertions
:debug:archivefetch   accepted
:debug:archivefetch Executing org.macports.archivefetch (clang-3.7)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 502/501
:info:archivefetch --->  clang-3.7-3.7.1_2+analyzer+openmp.darwin_14.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch clang-3.7-3.7.1_2+analyzer+openmp.darwin_14.x86_64.tbz2 from http://packages.macports.org/clang-3.7
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch clang-3.7-3.7.1_2+analyzer+openmp.darwin_14.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/clang-3.7
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch clang-3.7-3.7.1_2+analyzer+openmp.darwin_14.x86_64.tbz2 from http://lil.fr.packages.macports.org/clang-3.7
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Tue Jan 12 12:38:16 PST 2016
:notice:fetch --->  Fetching distfiles for clang-3.7
:debug:fetch Executing proc-pre-org.macports.fetch-fetch-0
:debug:fetch Executing org.macports.fetch (clang-3.7)
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Tue Jan 12 12:38:16 PST 2016
:notice:checksum --->  Verifying checksums for clang-3.7
:debug:checksum Executing org.macports.checksum (clang-3.7)
:info:checksum --->  Checksumming llvm-3.7.1.src.tar.xz
:debug:checksum Calculated (rmd160) is 677e652107e53ec1edeccaf479eff186a9f4c7d6
:debug:checksum Correct (rmd160) checksum for llvm-3.7.1.src.tar.xz
:debug:checksum Calculated (sha256) is be7794ed0cec42d6c682ca8e3517535b54555a3defabec83554dbc74db545ad5
:debug:checksum Correct (sha256) checksum for llvm-3.7.1.src.tar.xz
:info:checksum --->  Checksumming cfe-3.7.1.src.tar.xz
:debug:checksum Calculated (rmd160) is 185b0f75970bc50682766a21794440578db87b5d
:debug:checksum Correct (rmd160) checksum for cfe-3.7.1.src.tar.xz
:debug:checksum Calculated (sha256) is 56e2164c7c2a1772d5ed2a3e57485ff73ff06c97dff12edbeea1acc4412b0674
:debug:checksum Correct (sha256) checksum for cfe-3.7.1.src.tar.xz
:info:checksum --->  Checksumming compiler-rt-3.7.1.src.tar.xz
:debug:checksum Calculated (rmd160) is d80d61d0352e4a88265999e081a745779ccc4897
:debug:checksum Correct (rmd160) checksum for compiler-rt-3.7.1.src.tar.xz
:debug:checksum Calculated (sha256) is 9d4769e4a927d3824bcb7a9c82b01e307c68588e6de4e7f04ab82d82c5af8181
:debug:checksum Correct (sha256) checksum for compiler-rt-3.7.1.src.tar.xz
:info:checksum --->  Checksumming libcxx-3.7.1.src.tar.xz
:debug:checksum Calculated (rmd160) is b63d75f0547eb17e3f3f4df0875dfe1d0c32525d
:debug:checksum Correct (rmd160) checksum for libcxx-3.7.1.src.tar.xz
:debug:checksum Calculated (sha256) is 357fbd4288ce99733ba06ae2bec6f503413d258aeebaab8b6a791201e6f7f144
:debug:checksum Correct (sha256) checksum for libcxx-3.7.1.src.tar.xz
:info:checksum --->  Checksumming clang-tools-extra-3.7.1.src.tar.xz
:debug:checksum Calculated (rmd160) is 62c82a42807ea68bebabec96d3d30d787e3996f2
:debug:checksum Correct (rmd160) checksum for clang-tools-extra-3.7.1.src.tar.xz
:debug:checksum Calculated (sha256) is 4a91edaccad1ce984c7c49a4a87db186b7f7b21267b2b03bcf4bd7820715bc6b
:debug:checksum Correct (sha256) checksum for clang-tools-extra-3.7.1.src.tar.xz
:debug:checksum Privilege de-escalation not attempted as not running as root.
:debug:extract extract phase started at Tue Jan 12 12:38:16 PST 2016
:notice:extract --->  Extracting clang-3.7
:debug:extract setting option extract.cmd to /opt/local/bin/xz
:debug:extract Executing org.macports.extract (clang-3.7)
:info:extract --->  Extracting llvm-3.7.1.src.tar.xz
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/llvm/llvm-3.7.1.src.tar.xz'
:debug:extract Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work" && /opt/local/bin/xz -dc '/opt/local/var/macports/distfiles/llvm/llvm-3.7.1.src.tar.xz' | /usr/bin/tar -xf -'
:debug:extract Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work" && /opt/local/bin/xz -dc '/opt/local/var/macports/distfiles/llvm/llvm-3.7.1.src.tar.xz' | /usr/bin/tar -xf - 
:debug:extract euid/egid changed to: 0/0
:debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work to macports
:debug:extract euid/egid changed to: 502/501
:info:extract --->  Extracting cfe-3.7.1.src.tar.xz
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/llvm/cfe-3.7.1.src.tar.xz'
:debug:extract Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work" && /opt/local/bin/xz -dc '/opt/local/var/macports/distfiles/llvm/cfe-3.7.1.src.tar.xz' | /usr/bin/tar -xf -'
:debug:extract Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work" && /opt/local/bin/xz -dc '/opt/local/var/macports/distfiles/llvm/cfe-3.7.1.src.tar.xz' | /usr/bin/tar -xf - 
:debug:extract euid/egid changed to: 0/0
:debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work to macports
:debug:extract euid/egid changed to: 502/501
:info:extract --->  Extracting compiler-rt-3.7.1.src.tar.xz
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/llvm/compiler-rt-3.7.1.src.tar.xz'
:debug:extract Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work" && /opt/local/bin/xz -dc '/opt/local/var/macports/distfiles/llvm/compiler-rt-3.7.1.src.tar.xz' | /usr/bin/tar -xf -'
:debug:extract Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work" && /opt/local/bin/xz -dc '/opt/local/var/macports/distfiles/llvm/compiler-rt-3.7.1.src.tar.xz' | /usr/bin/tar -xf - 
:debug:extract euid/egid changed to: 0/0
:debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work to macports
:debug:extract euid/egid changed to: 502/501
:info:extract --->  Extracting libcxx-3.7.1.src.tar.xz
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/llvm/libcxx-3.7.1.src.tar.xz'
:debug:extract Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work" && /opt/local/bin/xz -dc '/opt/local/var/macports/distfiles/llvm/libcxx-3.7.1.src.tar.xz' | /usr/bin/tar -xf -'
:debug:extract Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work" && /opt/local/bin/xz -dc '/opt/local/var/macports/distfiles/llvm/libcxx-3.7.1.src.tar.xz' | /usr/bin/tar -xf - 
:debug:extract euid/egid changed to: 0/0
:debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work to macports
:debug:extract euid/egid changed to: 502/501
:info:extract --->  Extracting clang-tools-extra-3.7.1.src.tar.xz
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/llvm/clang-tools-extra-3.7.1.src.tar.xz'
:debug:extract Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work" && /opt/local/bin/xz -dc '/opt/local/var/macports/distfiles/llvm/clang-tools-extra-3.7.1.src.tar.xz' | /usr/bin/tar -xf -'
:debug:extract Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work" && /opt/local/bin/xz -dc '/opt/local/var/macports/distfiles/llvm/clang-tools-extra-3.7.1.src.tar.xz' | /usr/bin/tar -xf - 
:debug:extract euid/egid changed to: 0/0
:debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work to macports
:debug:extract euid/egid changed to: 502/501
:debug:extract Executing proc-post-org.macports.extract-extract-0
:debug:extract Privilege de-escalation not attempted as not running as root.
:debug:patch patch phase started at Tue Jan 12 12:38:27 PST 2016
:debug:patch Executing org.macports.patch (clang-3.7)
:notice:patch --->  Applying patches to clang-3.7
:info:patch --->  Applying 0001-Set-the-Mach-O-CPU-Subtype-to-ppc7400-when-targeting.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_tarballs_ports_lang_llvm-3.7/clang-3.7/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-3.7/files/0001-Set-the-Mach-O-CPU-Subtype-to-ppc7400-when-targeting.patch'
:info:patch patching file lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
:info:patch --->  Applying 0002-Define-EXC_MASK_CRASH-and-MACH_EXCEPTION_CODES-if-th.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_tarballs_ports_lang_llvm-3.7/clang-3.7/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-3.7/files/0002-Define-EXC_MASK_CRASH-and-MACH_EXCEPTION_CODES-if-th.patch'
:info:patch patching file lib/Support/Unix/Signals.inc
:info:patch --->  Applying 0003-MacPorts-Only-Update-install-targets-for-clang-subpo.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_tarballs_ports_lang_llvm-3.7/clang-3.7/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-3.7/files/0003-MacPorts-Only-Update-install-targets-for-clang-subpo.patch'
:info:patch patching file Makefile
:info:patch --->  Applying 0004-MacPorts-Only-Use-full-path-for-the-dylib-id-instead.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_tarballs_ports_lang_llvm-3.7/clang-3.7/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-3.7/files/0004-MacPorts-Only-Use-full-path-for-the-dylib-id-instead.patch'
:info:patch patching file Makefile.rules
:info:patch --->  Applying 0005-MacPorts-Only-Don-t-embed-the-deployment-target-in-t.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_tarballs_ports_lang_llvm-3.7/clang-3.7/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-3.7/files/0005-MacPorts-Only-Don-t-embed-the-deployment-target-in-t.patch'
:info:patch patching file lib/CodeGen/AsmPrinter/AsmPrinter.cpp
:info:patch --->  Applying 0006-MacPorts-Only-Skip-checking-for-python-in-configure.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_tarballs_ports_lang_llvm-3.7/clang-3.7/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-3.7/files/0006-MacPorts-Only-Skip-checking-for-python-in-configure.patch'
:info:patch patching file configure
:info:patch --->  Applying llvm-skip-unittests.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_tarballs_ports_lang_llvm-3.7/clang-3.7/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-3.7/files/llvm-skip-unittests.patch'
:info:patch patching file unittests/Makefile.unittest
:info:patch Hunk #1 succeeded at 61 with fuzz 1 (offset 7 lines).
:info:patch --->  Applying 1001-MacPorts-Only-Prepare-clang-format-for-replacement-w.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_tarballs_ports_lang_llvm-3.7/clang-3.7/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-3.7/files/1001-MacPorts-Only-Prepare-clang-format-for-replacement-w.patch'
:info:patch patching file tools/clang/tools/clang-format/clang-format-bbedit.applescript
:info:patch patching file tools/clang/tools/clang-format/clang-format-diff.py
:info:patch patching file tools/clang/tools/clang-format/clang-format-sublime.py
:info:patch patching file tools/clang/tools/clang-format/clang-format.el
:info:patch patching file tools/clang/tools/clang-format/clang-format.py
:info:patch --->  Applying 1002-MacPorts-Only-Fall-back-on-xcodebuild-sdk-when-xcrun.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_tarballs_ports_lang_llvm-3.7/clang-3.7/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-3.7/files/1002-MacPorts-Only-Fall-back-on-xcodebuild-sdk-when-xcrun.patch'
:info:patch patching file tools/clang/runtime/compiler-rt/Makefile
:info:patch --->  Applying 1003-MacPorts-Only-Fix-name-of-scan-view-executable-insid.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_tarballs_ports_lang_llvm-3.7/clang-3.7/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-3.7/files/1003-MacPorts-Only-Fix-name-of-scan-view-executable-insid.patch'
:info:patch patching file tools/clang/tools/scan-build/scan-build
:info:patch --->  Applying 1004-MacPorts-Only-Relocate-clang-resources-using-llvm-ve.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_tarballs_ports_lang_llvm-3.7/clang-3.7/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-3.7/files/1004-MacPorts-Only-Relocate-clang-resources-using-llvm-ve.patch'
:info:patch patching file tools/clang/lib/Headers/Makefile
:info:patch patching file tools/clang/runtime/compiler-rt/Makefile
:info:patch --->  Applying 1005-Default-to-ppc7400-for-OSX-10.5.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_tarballs_ports_lang_llvm-3.7/clang-3.7/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-3.7/files/1005-Default-to-ppc7400-for-OSX-10.5.patch'
:info:patch patching file tools/clang/lib/Driver/Tools.cpp
:info:patch --->  Applying 1006-Only-call-setpriority-PRIO_DARWIN_THREAD-0-PRIO_DARW.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_tarballs_ports_lang_llvm-3.7/clang-3.7/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-3.7/files/1006-Only-call-setpriority-PRIO_DARWIN_THREAD-0-PRIO_DARW.patch'
:info:patch patching file tools/clang/tools/libclang/CIndex.cpp
:info:patch --->  Applying 1007-Default-to-fragile-ObjC-runtime-when-targeting-darwi.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_tarballs_ports_lang_llvm-3.7/clang-3.7/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-3.7/files/1007-Default-to-fragile-ObjC-runtime-when-targeting-darwi.patch'
:info:patch patching file tools/clang/lib/Driver/ToolChains.h
:info:patch --->  Applying 2001-MacPorts-Only-Comment-out-SL-cctools-workaround.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_tarballs_ports_lang_llvm-3.7/clang-3.7/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-3.7/files/2001-MacPorts-Only-Comment-out-SL-cctools-workaround.patch'
:info:patch patching file projects/compiler-rt/make/platform/clang_darwin.mk
:info:patch --->  Applying 2002-Update-CheckArches-to-fallback-on-Intel-ppc-if-ld-v-.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_tarballs_ports_lang_llvm-3.7/clang-3.7/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-3.7/files/2002-Update-CheckArches-to-fallback-on-Intel-ppc-if-ld-v-.patch'
:info:patch patching file projects/compiler-rt/make/platform/clang_darwin.mk
:info:patch --->  Applying 2003-Fall-back-on-xcodebuild-sdk-when-xcrun-sdk-is-not-su.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_tarballs_ports_lang_llvm-3.7/clang-3.7/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-3.7/files/2003-Fall-back-on-xcodebuild-sdk-when-xcrun-sdk-is-not-su.patch'
:info:patch patching file projects/compiler-rt/make/platform/clang_darwin.mk
:info:patch --->  Applying 2004-On-darwin-build-ppc-slices-of-the-compiler-runtime-i.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_tarballs_ports_lang_llvm-3.7/clang-3.7/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-3.7/files/2004-On-darwin-build-ppc-slices-of-the-compiler-runtime-i.patch'
:info:patch patching file projects/compiler-rt/make/platform/clang_darwin.mk
:info:patch --->  Applying 2005-MacPorts-Only-Don-t-build-x86_64h-slice-of-compiler-.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_tarballs_ports_lang_llvm-3.7/clang-3.7/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-3.7/files/2005-MacPorts-Only-Don-t-build-x86_64h-slice-of-compiler-.patch'
:info:patch patching file projects/compiler-rt/make/platform/clang_darwin.mk
:info:patch --->  Applying 2006-Set-abort_on_error-to-true-by-default.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_tarballs_ports_lang_llvm-3.7/clang-3.7/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-3.7/files/2006-Set-abort_on_error-to-true-by-default.patch'
:info:patch patching file projects/compiler-rt/lib/asan/asan_flags.inc
:info:patch --->  Applying 2007-cherry-pick-RemoveANSIEscapeSequencesFromString-from.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_tarballs_ports_lang_llvm-3.7/clang-3.7/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-3.7/files/2007-cherry-pick-RemoveANSIEscapeSequencesFromString-from.patch'
:info:patch patching file projects/compiler-rt/lib/sanitizer_common/sanitizer_common.cc
:info:patch patching file projects/compiler-rt/lib/sanitizer_common/sanitizer_common.h
:info:patch --->  Applying 2008-Save-the-ASan-report-in-the-OS-X-crash-log.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_tarballs_ports_lang_llvm-3.7/clang-3.7/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-3.7/files/2008-Save-the-ASan-report-in-the-OS-X-crash-log.patch'
:info:patch patching file projects/compiler-rt/lib/asan/asan_report.cc
:info:patch --->  Applying 3001-buildit-build-fix-for-Leopard.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_tarballs_ports_lang_llvm-3.7/clang-3.7/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-3.7/files/3001-buildit-build-fix-for-Leopard.patch'
:info:patch patching file projects/libcxx/lib/buildit
:info:patch --->  Applying 3002-buildit-Set-compatibility-version-to-RC_ProjectSourc.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_tarballs_ports_lang_llvm-3.7/clang-3.7/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-3.7/files/3002-buildit-Set-compatibility-version-to-RC_ProjectSourc.patch'
:info:patch patching file projects/libcxx/lib/buildit
:info:patch --->  Applying 3003-Fix-local-and-iterator-when-building-with-Lion-and-n.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_tarballs_ports_lang_llvm-3.7/clang-3.7/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-3.7/files/3003-Fix-local-and-iterator-when-building-with-Lion-and-n.patch'
:info:patch patching file projects/libcxx/include/iterator
:info:patch patching file projects/libcxx/include/locale
:info:patch Hunk #1 succeeded at 1474 (offset 1 line).
:info:patch --->  Applying 3004-Fix-missing-long-long-math-prototypes-when-using-the.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_tarballs_ports_lang_llvm-3.7/clang-3.7/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-3.7/files/3004-Fix-missing-long-long-math-prototypes-when-using-the.patch'
:info:patch patching file projects/libcxx/include/cmath
:info:patch --->  Applying 3005-implement-atomic-using-mutex-lock_guard-for-64b-ops-.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_tarballs_ports_lang_llvm-3.7/clang-3.7/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-3.7/files/3005-implement-atomic-using-mutex-lock_guard-for-64b-ops-.patch'
:info:patch patching file projects/libcxx/include/__atomic_locked
:info:patch patching file projects/libcxx/include/atomic
:info:patch Hunk #1 succeeded at 1796 (offset 3 lines).
:info:patch --->  Applying compiler_rt-toolchain.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_tarballs_ports_lang_llvm-3.7/clang-3.7/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-3.7/files/compiler_rt-toolchain.patch'
:info:patch patching file projects/compiler-rt/make/platform/clang_darwin.mk
:info:patch Hunk #1 succeeded at 63 (offset 10 lines).
:info:patch patching file projects/compiler-rt/make/platform/clang_macho_embedded.mk
:info:patch --->  Applying openmp-locations.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_tarballs_ports_lang_llvm-3.7/clang-3.7/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-3.7/files/openmp-locations.patch'
:info:patch patching file tools/clang/lib/Driver/Tools.cpp
:info:patch Hunk #1 succeeded at 4089 (offset 25 lines).
:info:patch Hunk #2 FAILED at 6558.
:info:patch Hunk #3 succeeded at 8269 (offset 13 lines).
:info:patch Hunk #4 succeeded at 8283 (offset 13 lines).
:info:patch 1 out of 4 hunks FAILED -- saving rejects to file tools/clang/lib/Driver/Tools.cpp.rej
:info:patch Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-3.7/files/openmp-locations.patch'
:info:patch Exit code: 1
:error:patch org.macports.patch for port clang-3.7 returned: command execution failed
:debug:patch Error code: CHILDSTATUS 53829 1
:debug:patch Backtrace: command execution failed
    while executing
"system $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec patch "" "< '$patch'""
    (procedure "portpatch::patch_main" line 35)
    invoked from within
"portpatch::patch_main org.macports.patch"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:patch Warning: targets not executed for clang-3.7: org.macports.install org.macports.patch org.macports.configure org.macports.build org.macports.destroot
:notice:patch Please see the log file for port clang-3.7 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/main.log

I am using OS X 10.10.5, Xcode 7.2, and ld64 @2_0+ld64_xcode.

Attachments (2)

clang-3.7.main.log (5.2 KB) - added by mouse07410 (Mouse) 9 years ago.
main.log for clang-3.7 upgrade
openmp-locations.patch (2.0 KB) - added by eborisch (Eric A. Borisch) 9 years ago.

Download all attachments as: .zip

Change History (13)

Changed 9 years ago by mouse07410 (Mouse)

Attachment: clang-3.7.main.log added

main.log for clang-3.7 upgrade

comment:1 Changed 9 years ago by mouse07410 (Mouse)

Same problem, same configuration.

In the evening I'll try this upgrade on El Capitan (also Xcode-7.2), but not optimistic.

comment:2 in reply to:  1 Changed 9 years ago by udbraumann

Got the same error on 10.6.8.

FWIW, I add /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src/tools/clang/lib/Driver/Tools.cpp.rej

***************
*** 6556,6567 ****
                     options::OPT_fno_openmp, false)) {
      switch (getOpenMPRuntime(getToolChain(), Args)) {
      case OMPRT_OMP:
        CmdArgs.push_back("-lomp");
        break;
      case OMPRT_GOMP:
        CmdArgs.push_back("-lgomp");
        break;
      case OMPRT_IOMP5:
        CmdArgs.push_back("-liomp5");
        break;
      case OMPRT_Unknown:
--- 6558,6575 ----
                     options::OPT_fno_openmp, false)) {
      switch (getOpenMPRuntime(getToolChain(), Args)) {
      case OMPRT_OMP:
+       // Automatically find MacPorts' libomp
+       CmdArgs.push_back("-L@@PREFIX@@/lib/libomp");
        CmdArgs.push_back("-lomp");
        break;
      case OMPRT_GOMP:
+       // Automatically find MacPorts' libgomp (libomp)
+       CmdArgs.push_back("-L@@PREFIX@@/lib/libomp");
        CmdArgs.push_back("-lgomp");
        break;
      case OMPRT_IOMP5:
+       // Automatically find MacPorts' libiomp5 (libomp)
+       CmdArgs.push_back("-L@@PREFIX@@/lib/libomp");
        CmdArgs.push_back("-liomp5");
        break;
      case OMPRT_Unknown:

comment:3 Changed 9 years ago by udbraumann

Cc: braumann@… added

Cc Me!

comment:4 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Owner: changed from macports-tickets@… to eborisch@…

comment:5 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Cc: jeremyhu@… removed

Cc Me!

comment:6 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Cc: jeremyhu@… added

Cc Me!

comment:7 Changed 9 years ago by eborisch (Eric A. Borisch)

(The soon to be) attached updated patchfile (replace the one in files/) should work -- but I don't have time to test it out just now. Please report back if someone does. (The patch applies; haven't tried the resulting functionality from the compile.)

Changed 9 years ago by eborisch (Eric A. Borisch)

Attachment: openmp-locations.patch added

comment:8 in reply to:  7 Changed 9 years ago by udbraumann

Thanks, apparently your correction for openmp-locations.patch has worked, however, I run into more trouble, when I try to install clang-3.7 @3.7.1_2 with the same variants as I did for 3.7.0_2:

$ sudo port -s patch clang-3.7 +analyzer +assertions +openmp
...
:info:patch patching file lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
:info:patch Reversed (or previously applied) patch detected!  Assume -R? [n]
:info:patch Apply anyway? [n]
:info:patch Skipping patch.
:info:patch 2 out of 2 hunks ignored -- saving rejects to file lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp.rej
:info:patch Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/llvm-3.7/files/0001-Set-the-Mach-O-CPU-Subtype-to-ppc7400-when-targeting.patch'
:info:patch Exit code: 1
...

Inside /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/clang-3.7/work/llvm-3.7.1.src/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp.rej I found:

***************
*** 201,216 ****
  // FIXME: This should be in a separate file.
  namespace {
    class DarwinPPCAsmBackend : public PPCAsmBackend {
    public:
-     DarwinPPCAsmBackend(const Target &T) : PPCAsmBackend(T, false) { }

      MCObjectWriter *createObjectWriter(raw_pwrite_stream &OS) const override {
        bool is64 = getPointerSize() == 8;
        return createPPCMachObjectWriter(
            OS,
            /*Is64Bit=*/is64,
            (is64 ? MachO::CPU_TYPE_POWERPC64 : MachO::CPU_TYPE_POWERPC),
-           MachO::CPU_SUBTYPE_POWERPC_ALL);
      }
    };

--- 201,223 ----
  // FIXME: This should be in a separate file.
  namespace {
    class DarwinPPCAsmBackend : public PPCAsmBackend {
+     Triple TheTriple;
    public:
+     DarwinPPCAsmBackend(const Target &T, const Triple &TT) : PPCAsmBackend(T, false), TheTriple(TT) { }

      MCObjectWriter *createObjectWriter(raw_pwrite_stream &OS) const override {
        bool is64 = getPointerSize() == 8;
+       MachO::CPUSubTypePowerPC CS = MachO::CPU_SUBTYPE_POWERPC_ALL;
+
+       if (TheTriple.isOSDarwin() && !TheTriple.isMacOSXVersionLT(10,5)) {
+           CS = MachO::CPU_SUBTYPE_POWERPC_7400;
+       }
+
        return createPPCMachObjectWriter(
            OS,
            /*Is64Bit=*/is64,
            (is64 ? MachO::CPU_TYPE_POWERPC64 : MachO::CPU_TYPE_POWERPC),
+           CS);
      }
    };

***************
*** 232,238 ****
                                          const MCRegisterInfo &MRI,
                                          const Triple &TT, StringRef CPU) {
    if (TT.isOSDarwin())
-     return new DarwinPPCAsmBackend(T);

    uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TT.getOS());
    bool IsLittleEndian = TT.getArch() == Triple::ppc64le;
--- 239,245 ----
                                          const MCRegisterInfo &MRI,
                                          const Triple &TT, StringRef CPU) {
    if (TT.isOSDarwin())
+     return new DarwinPPCAsmBackend(T, TT);

    uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TT.getOS());
    bool IsLittleEndian = TT.getArch() == Triple::ppc64le;

Hope you have an idea on how to fix this problem, thanks.

comment:9 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

It looks like you didn't clean first. That's failing at the first patch (which is known good). That usually happens if you retry without cleaning after a failed patch phase.

comment:10 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed

comment:11 in reply to:  9 Changed 9 years ago by udbraumann

I swear that I had fully cleaned up using the --all switch. Thanks for the fix.

Note: See TracTickets for help on using tickets.