Your message dated Fri, 14 Oct 2016 11:53:16 +0000
with message-id <e1bv136-000448...@franck.debian.org>
and subject line Bug#836604: Removed package(s) from unstable
has caused the Debian Bug report #785931,
regarding llvm-3.6-dev: LLVM CMake files broken by Debian packaging
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
785931: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=785931
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: llvm-3.6-dev
Version: 1:3.6-2
Severity: normal

Dear Maintainer,

The issue reported in bug #735592 is not fully resolved (as reported
in some follow-up posts in that issue).  While that problem has been
resolved in upstream LLVM 3.6, another problem is caused by Debian
packaging.

When a CMake-based project does

 find_package(LLVM)

on Debian one gets:

 CMake Error at /usr/share/llvm-3.6/cmake/LLVMConfig.cmake:52 (include):
   include could not find load file:

     /usr/lib/llvm-3.6/share/llvm/cmake/LLVMExports.cmake

The problem does not occur with upstream LLVM 3.6.  It is caused by
the adjustment of the installed file layout done by Debian packaging.

First 'debian/rules' configures with

  --prefix=/usr/lib/llvm-$(LLVM_VERSION)

The build generates content in

  debian/tmp/usr/lib/llvm-@LLVM_VERSION@/share/llvm/cmake/LLVMConfig.cmake

that references the directory

  /usr/lib/llvm-@LLVM_VERSION@/share/llvm/cmake

because that is where files are installed by upstream for the given prefix.

Then 'debian/llvm-X.Y-dev.install.in' has:

  debian/tmp/usr/lib/llvm-@LLVM_VERSION@/share/llvm/cmake/*.cmake 
usr/share/llvm-@LLVM_VERSION@/cmake/

This moves these files to a different location during packaging,
but the content of 'LLVMConfig.cmake' expects the original location.
I'm able to work around the issue locally by running

 $ sudo ln -s /usr/share/llvm-3.6 /usr/lib/llvm-3.6/share/llvm

to restore the existence of the original path to the files.  The
Debian package should be updated to add this symlink.  Or, it can
install the files to the original location and add a symlink in
the other direction (to satisfy default find_package search paths).

Thanks,
-Brad

--- End Message ---
--- Begin Message ---
Version: 1:3.6.2-4+rm

Dear submitter,

as the package llvm-toolchain-3.6 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/836604

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmas...@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to