[MacPorts] #34214: Install clang development headers
MacPorts
noreply at macports.org
Tue Jun 12 09:27:33 PDT 2012
#34214: Install clang development headers
--------------------------------------+-------------------------------------
Reporter: jonesc@… | Owner: jeremyhu@…
Type: enhancement | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Keywords: | Port: clang-3.1
--------------------------------------+-------------------------------------
Comment(by jonesc@…):
Small correction. In the MacPorts build the directory in the work are
appears to be Release+Debug+Asserts/lib
However, I just ran a test with this area added to the DIRS in the patch
file install_target.patch (for clang-3.2)
{{{
--- a/Makefile.orig 2012-01-22 17:34:02.000000000 -0800
+++ b/Makefile 2012-01-22 17:34:14.000000000 -0800
@@ -70,8 +70,7 @@ ifeq ($(MAKECMDGOALS),install-clang)
DIRS := tools/clang/tools/driver tools/clang/lib/Headers \
tools/clang/tools/libclang tools/clang/tools/c-index-test \
- tools/clang/include/clang-c \
- tools/clang/runtime tools/clang/docs \
- tools/lto runtime
+ tools/clang/include Release+Debug+Asserts/lib \
+ tools/clang/runtime tools/clang/docs
OPTIONAL_DIRS :=
NO_INSTALL = 1
endif
}}}
and the build failed at the end with
{{{
:info:destroot make[1]: Entering directory
`/opt/local/var/macports/build/_Users_chris_Projects_MacPorts_portfiles_lang_clang-3.2/clang-3.2/work/trunk/Release+Debug+Asserts/lib'
:info:destroot make[1]: *** No rule to make target `install'. Stop.
:info:destroot make[1]: Leaving directory
`/opt/local/var/macports/build/_Users_chris_Projects_MacPorts_portfiles_lang_clang-3.2/clang-3.2/work/trunk/Release+Debug+Asserts/lib'
:info:destroot make: *** [install] Error 1
:info:destroot make: Leaving directory
`/opt/local/var/macports/build/_Users_chris_Projects_MacPorts_portfiles_lang_clang-3.2/clang-3.2/work/trunk'
:info:destroot Command failed: cd
"/opt/local/var/macports/build/_Users_chris_Projects_MacPorts_portfiles_lang_clang-3.2/clang-3.2/work/trunk"
&& /usr/bin/make -w install-clang
DESTDIR=/opt/local/var/macports/build/_Users_chris_Projects_MacPorts_portfiles_lang_clang-3.2/clang-3.2/work/destroot
:info:destroot Exit code: 2
:error:destroot org.macports.destroot for port clang-3.2 returned: command
execution failed
:debug:destroot Error code: CHILDSTATUS 75108 2
:debug:destroot Backtrace: command execution failed
while executing
"system -nice 0 $fullcmdstring"
("eval" body line 1)
invoked from within
"eval system $notty $nice \$fullcmdstring"
invoked from within
"command_exec destroot"
(procedure "portdestroot::destroot_main" line 2)
invoked from within
"$procedure $targetname"
:info:destroot Warning: targets not executed for clang-3.2:
org.macports.activate org.macports.destroot org.macports.install
:notice:destroot Please see the log file for port clang-3.2 for details:
/opt/local/var/macports/logs/_Users_chris_Projects_MacPorts_portfiles_lang_clang-3.2/clang-3.2/main.log
}}}
Not sure what that means.... Maybe it doesn't like the directory name with
+ ??
Chris
--
Ticket URL: <https://trac.macports.org/ticket/34214#comment:31>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list