[MacPorts] #46006: llvm-3.5: fails in apply patches on Mountain Lion

MacPorts noreply at macports.org
Mon Nov 24 16:15:36 PST 2014


#46006: llvm-3.5: fails in apply patches on Mountain Lion
-----------------------+------------------------
  Reporter:  ram@…     |      Owner:  jeremyhu@…
      Type:  defect    |     Status:  closed
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.3
Resolution:  fixed     |   Keywords:
      Port:  llvm-3.5  |
-----------------------+------------------------
Description changed by jeremyhu@…:

Old description:

> llvm-3.5 is failing on Mountain Lion with the following:
>
> {{{
> :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.5/llvm-3.5/work/llvm-3.5.0.src"
> && /usr/bin/patch -p1 <
> '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-3.5/files/install_target.patch'
> :info:patch can't find file to patch at input line 3
> :info:patch Perhaps you used the wrong -p or --strip option?
> :info:patch The text leading up to this was:
> :info:patch --------------------------
> :info:patch |--- a/Makefile     2013-10-02 08:42:23.000000000 -0700
> :info:patch |+++ b/Makefile     2013-10-24 10:57:33.000000000 -0700
> :info:patch --------------------------
> :info:patch File to patch:
> :info:patch Skip this patch? [y]
> :info:patch Skipping patch.
> :info:patch 1 out of 1 hunk ignored
> :info:patch Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.5/llvm-3.5/work/llvm-3.5.0.src"
> && /usr/bin/patch -p1 <
> '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-3.5/files/install_target.patch'
> :info:patch Exit code: 1
> }}}
>
> Mavericks doesn't seem to be affected by this. A full build log is
> attached.

New description:

 llvm-3.5 is failing on Mountain Lion with the following:

 {{{
 --->  Extracting llvm-3.5
 --->  Extracting llvm-3.5.0.src.tar.xz
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_mports_dports_lang_llvm-3.5/llvm-3.5/work"
 && /usr/bin/gzip -dc
 '/opt/local/var/macports/distfiles/llvm/llvm-3.5.0.src.tar.xz' |
 /usr/bin/gnutar --no-same-owner -xf -'
 DEBUG: Executing command line:  cd
 "/opt/local/var/macports/build/_opt_mports_dports_lang_llvm-3.5/llvm-3.5/work"
 && /usr/bin/gzip -dc
 '/opt/local/var/macports/distfiles/llvm/llvm-3.5.0.src.tar.xz' |
 /usr/bin/gnutar --no-same-owner -xf -

 gzip: /opt/local/var/macports/distfiles/llvm/llvm-3.5.0.src.tar.xz: not in
 gzip format
 DEBUG: euid/egid changed to: 0/0
 DEBUG: chowned
 /opt/local/var/macports/build/_opt_mports_dports_lang_llvm-3.5/llvm-3.5/work
 to macports
 DEBUG: euid/egid changed to: 502/501
 DEBUG: Executing proc-post-org.macports.extract-extract-0
 DEBUG: Privilege de-escalation not attempted as not running as root.
 DEBUG: patch phase started at Mon Nov 24 15:30:11 PST 2014
 DEBUG: Executing org.macports.patch (llvm-3.5)
 --->  Applying patches to llvm-3.5
 --->  Applying install_target.patch
 DEBUG: Creating patch directory:
 /opt/local/var/macports/build/_opt_mports_dports_lang_llvm-3.5/llvm-3.5/work/llvm-3.5.0.src
 DEBUG: Environment:
 CC_PRINT_OPTIONS='YES'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_mports_dports_lang_llvm-3.5/llvm-3.5/work/.CC_PRINT_OPTIONS'
 CPATH='/opt/local/include'
 LIBRARY_PATH='/opt/local/lib'
 MACOSX_DEPLOYMENT_TARGET='10.8'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_mports_dports_lang_llvm-3.5/llvm-3.5/work/llvm-3.5.0.src"
 && /usr/bin/patch -p1'
 DEBUG: Executing command line:  cd
 "/opt/local/var/macports/build/_opt_mports_dports_lang_llvm-3.5/llvm-3.5/work/llvm-3.5.0.src"
 && /usr/bin/patch -p1 <
 '/opt/mports/dports/lang/llvm-3.5/files/install_target.patch'
 can't find file to patch at input line 3
 }}}

 Mavericks doesn't seem to be affected by this. A full build log is
 attached.

--

-- 
Ticket URL: <https://trac.macports.org/ticket/46006#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list