Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jul 2014 07:56:22 +1200
From:      Stephen Woolerton <direct727@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Compiling clang33 port on arm - LibraryDependencies.inc required
Message-ID:  <F12FB50C-EFDE-44E3-8CAC-A0042810BDB6@gmail.com>

next in thread | raw e-mail | index | archive | help
Hi everyone,

I'm running 10.0-STABLE (r268038) on a Raspberry Pi, and trying to =
install the clang33 package.

Compilation of the llvm33 port is crashing as shown below.

I'm hoping someone can give me a hand to get the crash resolved. In =
particular, why is LibraryDependencies.inc not built...

Note: I googled and found that this issue can occur if python v2 is not =
available. Python27 is installed on this system but no "python" binary, =
and so I symlinked python27 to python in /usr/local/bin, but still the =
same fault.=20

Thank you
Stephen
--------------------
...

llvm-build: error: invalid native target: 'armv6' (not in project)
llvm[3]: Linking Release Shared Library libLLVM-3.3.so
gmake[3]: Leaving directory =
`/usr/ports/devel/llvm33/work/llvm-3.3.src/tools/llvm-shlib'
gmake[3]: Entering directory =
`/usr/ports/devel/llvm33/work/llvm-3.3.src/tools/llvm-config'
llvm[3]: Constructing LLVMBuild project information.
Usage: llvm-build [options]

llvm-build: error: invalid native target: 'armv6' (not in project)
llvm[3]: Building llvm-config BuildVariables.inc file.
llvm[3]: Compiling llvm-config.cpp for Release build
llvm-config.cpp:45:10: fatal error: 'LibraryDependencies.inc' file not =
found
#include "LibraryDependencies.inc"
         ^
1 error generated.
rm: =
/usr/ports/devel/llvm33/work/llvm-3.3.src/tools/llvm-config/Release/llvm-c=
onfig.d.tmp: No such file or directory
gmake[3]: *** =
[/usr/ports/devel/llvm33/work/llvm-3.3.src/tools/llvm-config/Release/llvm-=
config.o] Error 1
gmake[3]: Leaving directory =
`/usr/ports/devel/llvm33/work/llvm-3.3.src/tools/llvm-config'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/usr/ports/devel/llvm33/work/llvm-3.3.src'
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the =
failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/devel/llvm33
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/llvm33

=3D=3D=3D>>> make build failed for devel/llvm33
=3D=3D=3D>>> Aborting update

=3D=3D=3D>>> Update for devel/llvm33 failed
=3D=3D=3D>>> Aborting update

=3D=3D=3D>>> Update for lang/clang33 failed
=3D=3D=3D>>> Aborting update


=3D=3D=3D>>> You can restart from the point of failure with this command =
line:
       portmaster <flags> lang/clang33 devel/llvm33=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F12FB50C-EFDE-44E3-8CAC-A0042810BDB6>