[Opendnssec-user] RE: after update

Willem Toorop willem at nlnetlabs.nl
Tue Jul 16 12:42:34 UTC 2013


Hi Ondřej, Bas,

This is unfortunate.
Those symbols disappeared in 1.6.14 when addressing bugfix #459.
(https://www.nlnetlabs.nl/bugs-script/show_bug.cgi?id=459)

B.t.w. I cannot reproduce myself. When I compile OpenDNSSEC 1.3.14 or
1.3.4 with ldns 1.6.11, configure detects the absence of strlcpy and
compiles and links the replacement function via libcompat.a (even though
strlcpy is also available in libldns.so.1 !). This is with gcc 4.6.3. It
would be interesting to see the output of the build process, to see
where it differs.

I am reluctant to release current trunk (actually HEAD :) as ldns-1.7.0
with soname libldns.so.2, because it still has some issues I have to
take care of. Also, next week I will be on vacation for three weeks, so
I can only properly do it (including reviews from our dev-crew) after
august 12th.

I could just take 1.6.16, modify it so it installs with soname
libldns.so.2 and release it as 1.6.17. This would resolve your issue,
but would cause problems with FreeBSD (and other ports like packaging
systems). With such systems, a version number increase in a shared
library means rebuilding everything dependent on it. This is not
automatically detected. That is quite a dramatic change for a minor
release. Even more so because FreeBSD did not have the problem in the
first place; strlcpy is provided in its libc!

Most convenient for me would be to postpone the soname bumping release
(1.7.0) until the end of August (to be on the safe side). Would that be
acceptable for you? It means that the libldns1 package may not be
updated to 1.6.14 or beyond until that time. Alternatively you could
package a patched libldns1 1.6.16 that does export the strlcpy symbol
(nasty). I have attached a patch that does just that.

I wonder if other Linux systems (fedora) have the same problem... Paul?


-- Willem

PS. Yes, I have also thought about only bumping soname to .so.2 when
strlcpy is absent, but that is a bit wild. Lets explore other
possibilities first...


Op 16-07-13 07:36, Ondřej Surý schreef:
> That means that ldns has to bump the SONAME. I saw the missing symbols,
> but I thought that nobody was using the symbols since it was not a
> public API.
> 
> Willem, could you please release new ldns with bumped SONAME? (Or
> reintroduce the symbols back.) It breaks the linked software since ABI
> has changed.
> 
> O.
> 
> 
> On Mon, Jul 15, 2013 at 10:09 PM, Bas van den Dikkenberg
> <bas at dikkenberg.net <mailto:bas at dikkenberg.net>> wrote:
> 
>     I found the problem .____
> 
>     __ __
> 
>     The versio that was build in the ppa was build against the ldns that
>     is in ubuntu repo ____
> 
>     __ __
> 
>     I used the that was in in ppa __ __
> 
>     Get:8 http://ppa.launchpad.net/pkg-opendnssec/ppa/ubuntu/
>     precise/main dh-autoreconf all 7~precise+1 [15.4 kB]____
> 
>     Get:9 http://ppa.launchpad.net/pkg-opendnssec/ppa/ubuntu/
>     precise/main libldns1 i386 1.6.16-1~precise+1 [166 kB]____
> 
>     Get:10 http://ppa.launchpad.net/pkg-opendnssec/ppa/ubuntu/
>     precise/main libldns-dev i386 1.6.16-1~precise+1 [623 kB]____
> 
>     __ __
> 
>     That solved the isue  so maybe ondrej could rebuild and use its own
>     version of ldns instead of the one in the repo .____
> 
>     __ __
> 
>     If you want to take a look i have buil dit also in my own ppa see:
>     https://launchpad.net/~bas-dikkenberg/+archive/opendnssec____
> 
>     __ __
> 
>     __ __
> 
>     __ __
> 
>     Met vriendelijke groet,____
> 
>     __ __
> 
>     Bas van den Dikkenberg____
> 
>     __ __
> 
>     __ __
> 
>     *Van:*opendnssec-user-bounces at lists.opendnssec.org
>     <mailto:opendnssec-user-bounces at lists.opendnssec.org>
>     [mailto:opendnssec-user-bounces at lists.opendnssec.org
>     <mailto:opendnssec-user-bounces at lists.opendnssec.org>] *Namens *Bas
>     van den Dikkenberg
>     *Verzonden:* zaterdag 13 juli 2013 17:40
>     *Aan:* opendnssec-user at lists.opendnssec.org
>     <mailto:opendnssec-user at lists.opendnssec.org>
>     *Onderwerp:* [Opendnssec-user] after update ____
> 
>     __ __
> 
>     The ppa for ubuntu was updated this week.____
> 
>     But when update opendnssec the signer won’t start any more.____
> 
>     The messages is get is:____
> 
>     __ __
> 
>     /usr/sbin/ods-signerd: symbol lookup error: /usr/sbin/ods-signerd:
>     undefined symbol: strlcpy____
> 
>     __ __
> 
>     Any sugestion would be welkome____
> 
>     __ __
> 
>     With kind regards,____
> 
>     __ __
> 
>     Bas van den Dikkenberg____
> 
> 
>     _______________________________________________
>     Opendnssec-user mailing list
>     Opendnssec-user at lists.opendnssec.org
>     <mailto:Opendnssec-user at lists.opendnssec.org>
>     https://lists.opendnssec.org/mailman/listinfo/opendnssec-user
> 
> 
> 
> 
> -- 
> Ondřej Surý <ondrej at sury.org <mailto:ondrej at sury.org>>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ldns-1.6.16-export-strlcpy.patch
Type: text/x-patch
Size: 1320 bytes
Desc: not available
URL: <http://lists.opendnssec.org/pipermail/opendnssec-user/attachments/20130716/902d4019/attachment.bin>


More information about the Opendnssec-user mailing list