Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#16045 closed defect (fixed)

[llvm-gcc42] installation fails on 10.4.11/macports 1.7

Reported by: roberto@… Owned by: erickt@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc: landonf (Landon Fuller)
Port:

Description

I'm using MacPorts from svn (see below which revision) and lang/llvm-gcc42 fails installation with the following message:


test -z "/Users/Common/darwinports/var/macports/build/_Volumes_Users_Common_darwinports_dports_lang_llvm-gcc42/work/destroot/opt/local/lib/llvm-gcc42/gcc/i386-apple-darwin8.11.1/4.2.1/include"
/bin/sh ../../../llvm-gcc4.2-2.3.source/libgomp/../mkinstalldirs "/Users/Common/darwinports/var/macports/build/_Volumes_Users_Common_darwinports_dports_lang_llvm-gcc42/work/destroot/opt/local/lib/llvm-gcc42/gcc/i386-apple-darwin8.11.1/4.2.1/include"

/usr/bin/install -c -m 644 'omp.h' '/Users/Common/darwinports/var/macports/build/_Volumes_Users_Common_darwinports_dports_lang_llvm-gcc42/work/destroot/opt/local/lib/llvm-gcc42/gcc/i386-apple-darwin8.11.1/4.2.1/include/omp.h'

Error: Target org.macports.destroot returned: invalid command name "cd" Warning: the following items did not execute (for llvm-gcc42): org.macports.activate org.macports.destroot org.macports.install Error: Status 1 encountered during processing.


BTW I had to regenerate files/patch-gcc_Makefile.in because patching phase failed. Diff attached.

My MacPorts:


URL: http://svn.macports.org/repository/macports/trunk/base Repository Root: http://svn.macports.org/repository/macports Repository UUID: d073be05-634f-4543-b044-5fe20cf6d1d6 Revision: 38453 Node Kind: directory Schedule: normal Last Changed Author: raimue@… Last Changed Rev: 38344 Last Changed Date: 2008-07-16 17:00:40 +0200 (Wed, 16 Jul 2008)


Attachments (2)

llvm-gcc42.diff (1.9 KB) - added by roberto@… 16 years ago.
Patch to the llvm-gcc42 port to compile
llvm-gcc42_removecd.diff (608 bytes) - added by blb@… 16 years ago.
diff to Portfile to remove cd

Download all attachments as: .zip

Change History (5)

Changed 16 years ago by roberto@…

Attachment: llvm-gcc42.diff added

Patch to the llvm-gcc42 port to compile

comment:1 Changed 16 years ago by blb@…

Component: baseports
Milestone: Port Bugs
Owner: changed from macports-tickets@… to erickt@…

Assigning to maintainer.

FYI, the cd command was removed as a valid command in Portfiles on trunk, which is why you're experiencing the error on that (cd still works on 1.6). Will attach a patch that should take care of that.

Changed 16 years ago by blb@…

Attachment: llvm-gcc42_removecd.diff added

diff to Portfile to remove cd

comment:2 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: landonf@… added
Resolution: fixed
Status: newclosed

Landon fixed this in r39446.

comment:3 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.