Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#46006 closed defect (fixed)

llvm-3.5: fails in apply patches on Mountain Lion

Reported by: skymoo (Adam Mercer) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: llvm-3.5

Description (last modified by jeremyhu (Jeremy Huddleston Sequoia))

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.

Attachments (1)

main.log (8.9 KB) - added by skymoo (Adam Mercer) 10 years ago.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by skymoo (Adam Mercer)

Attachment: main.log added

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

Resolution: fixed
Status: newclosed

It's failing to patch because it failed to extract because it tried to use gzip on an xz compressed file.

I guess certain versions of base don't deal well with that, so hopefully r128648 will work.

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

Description: modified (diff)
Note: See TracTickets for help on using tickets.