<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Apt repository's have invalid paths in cmake files (Debian 8)"
href="https://llvm.org/bugs/show_bug.cgi?id=23359">23359</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Apt repository's have invalid paths in cmake files (Debian 8)
</td>
</tr>
<tr>
<th>Product</th>
<td>Build scripts
</td>
</tr>
<tr>
<th>Version</th>
<td>3.6
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>cmake
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>andreas@fink.org
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>freshly installed Debian 8
Did execute this:
#
# LLVM 3.6
#
FILE=/etc/apt/sources.list.d/llvm.list
echo "deb <a href="http://llvm.org/apt/jessie/">http://llvm.org/apt/jessie/</a> llvm-toolchain-jessie-3.6 main" > $FILE
echo "deb-src <a href="http://llvm.org/apt/jessie/">http://llvm.org/apt/jessie/</a> llvm-toolchain-jessie-3.6 main" >>
$FILE
wget -O - <a href="http://llvm.org/apt/llvm-snapshot.gpg.key">http://llvm.org/apt/llvm-snapshot.gpg.key</a> >
/tmp/llvm-snapshot.gpg.key
apt-key add /tmp/llvm-snapshot.gpg.key
apt-get update
apt-get install clang-3.6 clang-3.6-doc libclang-common-3.6-dev
libclang-3.6-dev libclang1-3.6 libclang1-3.6-dbg libllvm-3.6-ocaml-dev
libllvm3.6 libllvm3.6-dbg lldb-3.6 llvm-3.6 llvm-3.6-dev llvm-3.6-doc
llvm-3.6-examples llvm-3.6-runtime clang-modernize-3.6 clang-format-3.6
python-clang-3.6 lldb-3.6-dev libc++-dev libc++-helpers libc++-test libc++1
then I downloaded gnustep which I need to build for ObjectiveC 2.0 support
(ARC).
wget <a href="http://download.gna.org/gnustep/libobjc2-1.7.tar.bz2">http://download.gna.org/gnustep/libobjc2-1.7.tar.bz2</a>
wget <a href="http://ftpmain.gnustep.org/pub/gnustep/core/gnustep-make-2.6.6.tar.gz">http://ftpmain.gnustep.org/pub/gnustep/core/gnustep-make-2.6.6.tar.gz</a>
wget <a href="http://ftpmain.gnustep.org/pub/gnustep/core/gnustep-base-1.24.7.tar.gz">http://ftpmain.gnustep.org/pub/gnustep/core/gnustep-base-1.24.7.tar.gz</a>
wget <a href="http://ftpmain.gnustep.org/pub/gnustep/core/gnustep-gui-0.24.0.tar.gz">http://ftpmain.gnustep.org/pub/gnustep/core/gnustep-gui-0.24.0.tar.gz</a>
wget <a href="http://ftpmain.gnustep.org/pub/gnustep/core/gnustep-back-0.24.0.tar.gz">http://ftpmain.gnustep.org/pub/gnustep/core/gnustep-back-0.24.0.tar.gz</a>
tar -xvjf libobjc2-1.7.tar.bz2
tar -xvzf gnustep-make-2.6.6.tar.gz
tar -xvzf gnustep-back-0.24.0.tar.gz
tar -xvzf gnustep-base-1.24.7.tar.gz
tar -xvzf gnustep-gui-0.24.0.tar.gz
cd gnustep-make-2.6.6
./configure CC=clang-3.6 CXX=clang++-3.6 --disable-importing-config-file
--enable-debug-by-default --enable-objc-nonfragile-abi
make install
cd ../libobjc2-1.7
mkdir build
cd build
cmake ..
this fails wit a cmake include file not found
Fix for this part: in file
/usr/share/llvm-3.6/cmake/LLVMConfig.cmake
the line
set(LLVM_CMAKE_DIR "/usr/lib/llvm-3.6/share/llvm/cmake")
should be
set(LLVM_CMAKE_DIR "/usr/share/llvm-3.6/cmake")
(its being referenced by libobjc and line 53 fails)
When this is fixed, the make process gets further but still fails at a later
stage in the AddLLVM.cmake file (couldn't figure out yet how to fix that part
yet).</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>