Bug#792386: fltk1.3: Wrong .cmake file or lib filename

2015-07-14 Thread Leopold Palomo-Avellaneda
Source: fltk1.3
Version: 1.3.3-1
Severity: normal

Dear Maintainer,

* What led up to the situation?

We are trying to use the libfltk-dev package to build some piece of software 
and 
we are getting CMake Errors:

CMake Error at /usr/lib/fltk/FLTK-Targets.cmake:102 (message):
  The imported target fltk_cairo_SHARED references the file

 /usr/lib/x86_64-linux-gnu/libfltk_cairo.so.1.3.3

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

 /usr/lib/fltk/FLTK-Targets.cmake

  but not all the files it references.

* What exactly did you do (or not do) that was effective (or
  ineffective)?

using it with cmake


The question is that that file expects to have 
/usr/lib/x86_64-linux-gnu/libfltk_cairo.so.1.3.3. 
Looking on the sources and your rules file the file is not created. However, 
calling 
cmake with plain parameters the file and the corresponding links are created:

lrwxrwxrwx 1 root drp  20 jul 14 10:56 libfltk_cairo.so - 
libfltk_cairo.so.1.3
lrwxrwxrwx 1 root drp  22 jul 14 10:56 libfltk_cairo.so.1.3 - 
libfltk_cairo.so.1.3.3
-rwxr-xr-x 1 root drp   15936 jul 14 10:56 libfltk_cairo.so.1.3.3

So, it's something related to your rules. The package is no built with needed 
links.
Please could you take on eye on it because for us the package is unusable?


*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 8.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#792386: fltk1.3: Wrong .cmake file or lib filename

2015-07-14 Thread Aaron M. Ucko
Leopold Palomo-Avellaneda l...@alaxarxa.net writes:

   The imported target fltk_cairo_SHARED references the file

  /usr/lib/x86_64-linux-gnu/libfltk_cairo.so.1.3.3

   but this file does not exist.  Possible reasons include:

Hi, Leo!

Sorry my latest change accidentally broke your setup; I'll release a fix
soon.  Meanwhile, here's the explanation, if you're curious:

There are two ways to build FLTK: through traditional human-maintained
makefiles in conjunction with an Autoconf-generated configure script,
and through CMake.  For various reasons, I've historically stuck with
the former, which works well apart from (naturally) leaving out
/usr/lib/fltk/*.cmake.  For a while, I handled those files by producing
them from templates under debian/ I maintained on the basis of CMake's
output.  However, when that output changed once again, I decided to try
arranging to run CMake in an auxiliary directory and populating
/usr/lib/fltk on the basis of its actual output, while otherwise
continuing to use the traditional build system.  When I made this
switch, I accdentally overlooked a slight library naming difference:
CMake uses library names of the form libfltk*.so.1.3.x, with
libfltk*.so.1.3 merely symlinking to them, whereas the traditional
system uses libfltk*.so.1.3 as the actual library names.  I will correct
for that difference now that you've called it to my attention.

Thanks for the report!

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?a...@monk.mit.edu


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org