Bug#812398: openldap: FTBFS: can't read /usr/lib/x86_64-linux-gnu/libhdb.la

2016-01-23 Thread Jelmer Vernooij
On Sun, Jan 24, 2016 at 11:44:53AM +1100, Brian May wrote:
> Ryan Tandy  writes:
> 
> > Since the .la files moved from /usr/lib/$arch to /usr/lib/$arch/heimdal, 
> > looks like their contents also need to be updated.
> 
> According to debian/changelog I deleted the *.la files in version
> 1.4.0-5 with a reference to #621340
> 
> #621340 seems to indicate it was removed for this very reason.
> 
> So I don't know what happened, apparently the *.la files seem to have
> come back again.

They were still installed in recent versions, but with my recent
upload te .la files have moved from /usr/lib/ to
/usr/lib//heimdal.

I'll re-remove them in the next upload.

Jelmer


signature.asc
Description: PGP signature


Bug#812398: openldap: FTBFS: can't read /usr/lib/x86_64-linux-gnu/libhdb.la

2016-01-23 Thread Jelmer Vernooij
On Sun, Jan 24, 2016 at 11:44:53AM +1100, Brian May wrote:
> Ryan Tandy  writes:
> 
> > Since the .la files moved from /usr/lib/$arch to /usr/lib/$arch/heimdal, 
> > looks like their contents also need to be updated.
> 
> According to debian/changelog I deleted the *.la files in version
> 1.4.0-5 with a reference to #621340
> 
> #621340 seems to indicate it was removed for this very reason.
> 
> So I don't know what happened, apparently the *.la files seem to have
> come back again.

They were still installed in recent versions, but with my recent
upload te .la files have moved from /usr/lib/ to
/usr/lib//heimdal.

I'll re-remove them in the next upload.

Jelmer


signature.asc
Description: PGP signature


Bug#812398: openldap: FTBFS: can't read /usr/lib/x86_64-linux-gnu/libhdb.la

2016-01-23 Thread Brian May
Ryan Tandy  writes:

> Since the .la files moved from /usr/lib/$arch to /usr/lib/$arch/heimdal, 
> looks like their contents also need to be updated.

According to debian/changelog I deleted the *.la files in version
1.4.0-5 with a reference to #621340

#621340 seems to indicate it was removed for this very reason.

So I don't know what happened, apparently the *.la files seem to have
come back again.
-- 
Brian May 



Bug#812398: openldap: FTBFS: can't read /usr/lib/x86_64-linux-gnu/libhdb.la

2016-01-23 Thread Ryan Tandy

reassign 812398 heimdal-multidev 1.7~git20150920+dfsg-3
retitle 812398 heimdal-multidev: broken file references in .la files
affects 812398 src:openldap
thanks

Hi Jelmer,

Since the .la files moved from /usr/lib/$arch to /usr/lib/$arch/heimdal, 
looks like their contents also need to be updated.


/usr/lib/x86_64-linux-gnu/heimdal/libhdb.la contains:

# Directory that this library needs to be installed in:
libdir='/usr/lib/x86_64-linux-gnu'

which is inaccurate now, and:

# Libraries that this one depends upon.
dependency_libs=' /usr/lib/x86_64-linux-gnu/libkrb5.la 
/usr/lib/x86_64-linux-gnu/libhx509.la /usr/lib/x86_64-linux-gnu/libwind.la 
/usr/lib/x86_64-linux-gnu/libheimbase.la -L/usr/lib 
/usr/lib/x86_64-linux-gnu/libhcrypto.la /usr/lib/x86_64-linux-gnu/libasn1.la 
-lcom_err /usr/lib/x86_64-linux-gnu/libsqlite3.la 
/usr/lib/x86_64-linux-gnu/libroken.la -lcrypt -lldap -llber -ldl -ldb -lresolv 
-lpthread'

pointing at files that have moved to .../heimdal/.

This is currently breaking the build of openldap (specifically 
smbk5pwd), which reads libkadm5srv.la and bails out when it can't find 
libhdb.la at the path indicated.


(Note that openldap has been building _without_ libkadm5srv.la until 
now, since we use heimdal-multidev and not heimdal-dev; but it does also 
build successfully with the older heimdal-dev.)


There is a second problem: the dependency_libs for some heimdal-multidev 
libraries now refer to libsqlite3.la, which is only available if 
libsqlite3-dev is installed (during openldap's build, it is not). The 
previous files didn't refer to libsqlite3.la at all. I guess this is 
related to deleting the dependency_libs cleanup from debian/rules.


Thanks,

Ryan