Re: [Kea-users] Build warnings under Debian Stretch

2018-02-05 Thread Jason Guy
Thanks for confirming Francis.

Owen,

I am working with the debian maintainer, and the git repo is basically up
to date, minus the latest patches I sent him today:
https://anonscm.debian.org/cgit/collab-maint/isc-kea.git/
It seems to build fine, and seems to work.

Cheers,
Jason


On Mon, Feb 5, 2018 at 11:33 AM, Francis Dupont  wrote:

> Jason Guy writes:
> > This is the 1.3 source package I am helping the maintainer with. So the
> > hooks are whatever is in the 1.3.0 tar. Everything builds, and I am going
> > to be deploying with this package. But I wanted to get a second opinion.
> :)
>
> => I thought about a change in the legal log/forensic hook to take lease
> changes by the lease cmds hook into account. But it did not add a
> requirement for the config / cfg-client library. IMHO it was supposed
> a tool from the library would be used and at the end it was not so
> the library is useless. The next time the hook will be updated it will
> be reconsidered and if still useless removed... BTW it has no impact
> as anything using the hook really requires the library so it is just
> an extra entry in a table.
>
> Thanks
>
> Francis Dupont 
>
___
Kea-users mailing list
Kea-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users


Re: [Kea-users] Build warnings under Debian Stretch

2018-02-05 Thread Francis Dupont
Jason Guy writes:
> This is the 1.3 source package I am helping the maintainer with. So the
> hooks are whatever is in the 1.3.0 tar. Everything builds, and I am going
> to be deploying with this package. But I wanted to get a second opinion. :)

=> I thought about a change in the legal log/forensic hook to take lease
changes by the lease cmds hook into account. But it did not add a
requirement for the config / cfg-client library. IMHO it was supposed
a tool from the library would be used and at the end it was not so
the library is useless. The next time the hook will be updated it will
be reconsidered and if still useless removed... BTW it has no impact
as anything using the hook really requires the library so it is just
an extra entry in a table.

Thanks

Francis Dupont 
___
Kea-users mailing list
Kea-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users


Re: [Kea-users] Build warnings under Debian Stretch

2018-02-05 Thread Owen Dunn

On Mon, 5 Feb 2018, Jason Guy wrote:


Hi Francis,

This is the 1.3 source package I am helping the maintainer with. So the
hooks are whatever is in the 1.3.0 tar. Everything builds, and I am going
to be deploying with this package. But I wanted to get a second opinion. :)


If you point me at your work in progress I can compare it with my Debian 
package of 1.3 :-).


http://www.chiark.greenend.org.uk/~owend/2018/02/

Owen
___
Kea-users mailing list
Kea-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users


Re: [Kea-users] Build warnings under Debian Stretch

2018-02-05 Thread Jason Guy
Hi Francis,

This is the 1.3 source package I am helping the maintainer with. So the
hooks are whatever is in the 1.3.0 tar. Everything builds, and I am going
to be deploying with this package. But I wanted to get a second opinion. :)

Thanks,
Jason

On Mon, Feb 5, 2018 at 7:18 AM Francis Dupont  wrote:

> Jason Guy writes:
> > In my latest build, I see a few warnings, and I was not sure if these are
> > something I should file a bug for, or simply ignore under Debian. None of
> > these cause a problem, but I want to verify these will not be an issue:
>
> => useless dependency is just useless...
>
> > dpkg-shlibdeps: warning: package could avoid a useless dependency if
> > debian/kea-common/usr/lib/x86_64-linux-gnu/libkea-dhcpsrv.so.8.0.0 was
> not
> > linked against libz.so.1 (it uses none of the library's symbols)
>
> => I am afraid this libz dependency is very indirect, perhaps from
> a crypto library. config.status should say more but it should not be
> enough a problem to justify an effort to solve it.
>
> > dpkg-shlibdeps: warning: package could avoid a useless dependency if
> > debian/kea-common/usr/lib/x86_64-linux-gnu/hooks/libdhcp_lease_cmds.so
> > debian/kea-common/usr/lib/x86_64-linux-gnu/libkea-dhcp_ddns.so.1.0.2
> > debian/kea-common/usr/lib/x86_64-linux-gnu/libkea-process.so.1.0.0
> > debian/kea-common/usr/lib/x86_64-linux-gnu/libkea-dhcpsrv.so.8.0.0 were
> not
> > linked against libkea-cfgclient.so.4 (they use none of the library's
> > symbols)
> >dh_installdeb -O-B
> >dh_gencontrol -O-B
>
> => a bit more surprising. BTW what is the version of lease cmds hook code?
>
> > dpkg-gencontrol: warning: Depends field of package kea-dev: unknown
> > substitution variable ${shlibs:Depends}
> >dh_md5sums -O-B
> >dh_builddeb -O-B
>
> => fully Debian specific (and internal). IMHO this should be ignored.
>
> Thanks
>
> Francis Dupont 
>
> PS: I noted we should look at the Debian tool which detects useless
> dependencies.
>
___
Kea-users mailing list
Kea-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users


Re: [Kea-users] Build warnings under Debian Stretch

2018-02-05 Thread Francis Dupont
Jason Guy writes:
> In my latest build, I see a few warnings, and I was not sure if these are
> something I should file a bug for, or simply ignore under Debian. None of
> these cause a problem, but I want to verify these will not be an issue:

=> useless dependency is just useless...

> dpkg-shlibdeps: warning: package could avoid a useless dependency if
> debian/kea-common/usr/lib/x86_64-linux-gnu/libkea-dhcpsrv.so.8.0.0 was not
> linked against libz.so.1 (it uses none of the library's symbols)

=> I am afraid this libz dependency is very indirect, perhaps from
a crypto library. config.status should say more but it should not be
enough a problem to justify an effort to solve it.

> dpkg-shlibdeps: warning: package could avoid a useless dependency if
> debian/kea-common/usr/lib/x86_64-linux-gnu/hooks/libdhcp_lease_cmds.so
> debian/kea-common/usr/lib/x86_64-linux-gnu/libkea-dhcp_ddns.so.1.0.2
> debian/kea-common/usr/lib/x86_64-linux-gnu/libkea-process.so.1.0.0
> debian/kea-common/usr/lib/x86_64-linux-gnu/libkea-dhcpsrv.so.8.0.0 were not
> linked against libkea-cfgclient.so.4 (they use none of the library's
> symbols)
>dh_installdeb -O-B
>dh_gencontrol -O-B

=> a bit more surprising. BTW what is the version of lease cmds hook code?

> dpkg-gencontrol: warning: Depends field of package kea-dev: unknown
> substitution variable ${shlibs:Depends}
>dh_md5sums -O-B
>dh_builddeb -O-B

=> fully Debian specific (and internal). IMHO this should be ignored.

Thanks

Francis Dupont 

PS: I noted we should look at the Debian tool which detects useless
dependencies.
___
Kea-users mailing list
Kea-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users


Re: [Kea-users] Build warnings under Debian Stretch

2018-02-04 Thread Klaus Steden
I've seen "unknown substitution variable ${shlibs:Depends}" many times
building Debian packages but I can't recall that it's ever caused an issue.
I think you're probably okay to ignore that one, it's a message burped by
the packaging process but shouldn't affect the binaries themselves.

cheers,
Klaus

On Sat, Feb 3, 2018 at 9:15 AM, Jason Guy  wrote:

> Hi folks. I was working on getting the 1.3 debian package build tested.
> There are a few errors in the debian git repo that I need to get fixed, but
> I am trying to help the maintainer keep the kea package up to date, and
> hopefully stay that way.
>
> In my latest build, I see a few warnings, and I was not sure if these are
> something I should file a bug for, or simply ignore under Debian. None of
> these cause a problem, but I want to verify these will not be an issue:
>
> dpkg-shlibdeps: warning: package could avoid a useless dependency if
> debian/kea-common/usr/lib/x86_64-linux-gnu/libkea-dhcpsrv.so.8.0.0 was
> not linked against libz.so.1 (it uses none of the library's symbols)
>
> dpkg-shlibdeps: warning: package could avoid a useless dependency if
> debian/kea-common/usr/lib/x86_64-linux-gnu/hooks/libdhcp_lease_cmds.so
> debian/kea-common/usr/lib/x86_64-linux-gnu/libkea-dhcp_ddns.so.1.0.2
> debian/kea-common/usr/lib/x86_64-linux-gnu/libkea-process.so.1.0.0
> debian/kea-common/usr/lib/x86_64-linux-gnu/libkea-dhcpsrv.so.8.0.0 were
> not linked against libkea-cfgclient.so.4 (they use none of the library's
> symbols)
>dh_installdeb -O-B
>dh_gencontrol -O-B
>
> dpkg-gencontrol: warning: Depends field of package kea-dev: unknown
> substitution variable ${shlibs:Depends}
>dh_md5sums -O-B
>dh_builddeb -O-B
>
> This last one is a little strange. I am not entirely why the kea-dev
> package would not have any shared library dependencies. This may be a
> Debian specific thing... Anyhow, looking for any help/advice on these.
>
> Thanks,
> Jason
>
> ___
> Kea-users mailing list
> Kea-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-users
>
>
___
Kea-users mailing list
Kea-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users


[Kea-users] Build warnings under Debian Stretch

2018-02-03 Thread Jason Guy
Hi folks. I was working on getting the 1.3 debian package build tested.
There are a few errors in the debian git repo that I need to get fixed, but
I am trying to help the maintainer keep the kea package up to date, and
hopefully stay that way.

In my latest build, I see a few warnings, and I was not sure if these are
something I should file a bug for, or simply ignore under Debian. None of
these cause a problem, but I want to verify these will not be an issue:

dpkg-shlibdeps: warning: package could avoid a useless dependency if
debian/kea-common/usr/lib/x86_64-linux-gnu/libkea-dhcpsrv.so.8.0.0 was not
linked against libz.so.1 (it uses none of the library's symbols)

dpkg-shlibdeps: warning: package could avoid a useless dependency if
debian/kea-common/usr/lib/x86_64-linux-gnu/hooks/libdhcp_lease_cmds.so
debian/kea-common/usr/lib/x86_64-linux-gnu/libkea-dhcp_ddns.so.1.0.2
debian/kea-common/usr/lib/x86_64-linux-gnu/libkea-process.so.1.0.0
debian/kea-common/usr/lib/x86_64-linux-gnu/libkea-dhcpsrv.so.8.0.0 were not
linked against libkea-cfgclient.so.4 (they use none of the library's
symbols)
   dh_installdeb -O-B
   dh_gencontrol -O-B

dpkg-gencontrol: warning: Depends field of package kea-dev: unknown
substitution variable ${shlibs:Depends}
   dh_md5sums -O-B
   dh_builddeb -O-B

This last one is a little strange. I am not entirely why the kea-dev
package would not have any shared library dependencies. This may be a
Debian specific thing... Anyhow, looking for any help/advice on these.

Thanks,
Jason
___
Kea-users mailing list
Kea-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users