Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Dec 2010 12:52:55 -0600
From:      Jeremy Messenger <mezz.freebsd@gmail.com>
To:        glarkin@freebsd.org
Cc:        David Demelier <demelier.david@gmail.com>, freebsd-ports@freebsd.org
Subject:   Re: libksba update broken
Message-ID:  <AANLkTi=ngOk5pDZSfpxpNRGjMPEUV2FZfyh18mqT=NHw@mail.gmail.com>
In-Reply-To: <4D0FDB77.4020604@FreeBSD.org>
References:  <4D0A3090.6060100@gmail.com> <4D0A33CD.3060205@FreeBSD.org> <4D0A3682.4000502@gmail.com> <4D0A3937.5090607@FreeBSD.org> <AANLkTimDaZ=A%2BEujoNJBXvCxaiRk8OvbmJZ7n1AnJDs1@mail.gmail.com> <4D0FDB77.4020604@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 20, 2010 at 4:40 PM, Greg Larkin <glarkin@freebsd.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Jeremy Messenger wrote:
<snip>
>>> In the next version or next shared library bump, can you following add =
this?
>>
>>> USE_AUTOTOOLS=3D =A0 =A0 =A0 libtool
>>> USE_GNOME=3D =A0 ltverhack
>>
>>> It will fix libtool bug and that way it won't bump the shared library
>>> version with no reason. There is no ABI break between 1.0.8 and 1.1.0.
>>> With the add of two lines, looks like this:
>>
>>> 1.0.8:
>>> ---------------------------
>>> @@ -3,5 +3,5 @@
>>> =A0lib/libksba.a
>>> =A0lib/libksba.la
>>> =A0lib/libksba.so
>>> -lib/libksba.so.17
>>> +lib/libksba.so.8
>>> =A0share/aclocal/ksba.m4
>>> ---------------------------
>>
>>> 1.1.0:
>>> ---------------------------
>>> @@ -3,5 +3,5 @@
>>> =A0lib/libksba.a
>>> =A0lib/libksba.la
>>> =A0lib/libksba.so
>>> -lib/libksba.so.18
>>> +lib/libksba.so.8
>>> =A0share/aclocal/ksba.m4
>>> ---------------------------
>>
>>> Cheers,
>>> Mezz
>>
>
> Hi Mezz,
>
> Thanks very much for that tip, and I'll make a note of it for the next
> release. =A0I wasn't aware of ltverhack, but it looks like a great idea
> for this port!

No problem. For anyone that want to learn more about libtool issue.
jylefort (left FreeBSD) has discovered an issue with libtool. Here's
his comments in IRC back in Aug 2005:

<decadix> it might be that libtool is incorrectly numbering libraries,
on FreeBSD
<decadix>         freebsd-elf)
<decadix>           major=3D".$current"
<decadix>         linux)
<decadix>           major=3D.`expr $current - $age`
<decadix> this means that on FreeBSD, the library major number will be
increased even if the ABI is preserved
<FreeBSDMarcus> I wonder why they thought FreeBSD would be different.
<decadix> i wonder, too
<decadix> i'll do some calculations using gtk20 as reference
<decadix> LT_VERSION_INFO =3D 600:9:600
<decadix> that's what gtk+ 2.6.9 passes as -version-info
<decadix> on linux, it results in 600 - 600 =3D gtk-2.0.so.0
<decadix> on FreeBSD, it results as 600 =3D gtk-2.0.so.600
<decadix> this makes me think that ltmain.sh should be fixed
<FreeBSDMarcus> I agree.
<decadix> we might want to change ltverhack to fix ltmain.sh

Cheers,
Mezz

> Thank you,
> Greg
> - --
> Greg Larkin
>
> http://www.FreeBSD.org/ =A0 =A0 =A0 =A0 =A0 - The Power To Serve
> http://www.sourcehosting.net/ =A0 =A0 - Ready. Set. Code.
> http://twitter.com/sourcehosting/ - Follow me, follow you
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iD8DBQFND9t20sRouByUApARAqmDAJ97jFiTFqPSglTYsQC2VNJ+qLhukACfUOi4
> H2mHHrP6KQ72eDFv/x8sFOI=3D
> =3Dexg8
> -----END PGP SIGNATURE-----


--=20
mezz.freebsd@gmail.com - mezz@FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=ngOk5pDZSfpxpNRGjMPEUV2FZfyh18mqT=NHw>