Bug#505101: Reopening #505101: fix in 2.2.2-9 broken; libupsclient.la also points to /usr/lib

2008-11-26 Thread Arnaud Quette
Hi Sebastian,

thanks for poping this up.

Morten Kjeldgaard, from Ubuntu, already pointed it and provided an
excellent package update, using debhelper files:
https://bugs.edge.launchpad.net/ubuntu/+source/nut/+bug/299489

as told, I'll do my best to integrate these update and upload 2.2.2-10.
though my top 1 priority is currently to have 2.4.0 released for Christmas...

thanks for your support and help,
Arnaud
-- 
Linux / Unix Expert RD - MGE Office Protection Systems - http://www.mgeops.com
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
Free Software Developer - http://arnaud.quette.free.fr/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#505101: Reopening #505101: fix in 2.2.2-9 broken; libupsclient.la also points to /usr/lib

2008-11-23 Thread Sebastian Harl
reopen 505101
reassign 505101 libupsclient1-dev
thanks

Hi Arnaud,

On Fri, Nov 21, 2008 at 09:39:09AM +, Debian Bug Tracking System wrote:
* debian/rules: also move libupsclient.so to /lib, otherwise the link is
  broken (Closes: #505101)

Unfortunately, this fix is broken. In debian/rules you do:

  mv $(CURDIR)/debian/nut/usr/lib/*.so $(CURDIR)/debian/libupsclient1-dev/lib

However, $(CURDIR)/debian/libupsclient1-dev/lib does not exist at that
point, so you create /lib as a symlink to libupsclient.so.1.0.0.

Also, libupsclient.la (currently found in /usr/lib) points to /usr/lib
as well (libdir='/usr/lib'). Because of that, libtool is looking for
/usr/lib/libupsclient.so. Since the .la file references libupsclient.a
as well, I guess, changing libdir to '/lib' won't do it, because libtool
then won't be able to find the static lib any longer. I suppose, the
only way to solve that is to move the .a and .la to /lib as well.

Cheers,
Sebastian

-- 
Sebastian tokkee Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin



signature.asc
Description: Digital signature