[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#534243: openoffice.org-core: Please switch to libneon27-gnutls



On Tue, Jun 23, 2009 at 11:42:16AM +0200, Rene Engelhard wrote:
> Hi,

Hi René,

> Adrian Bunk wrote:
> > > No idea why it does not result in a dependency on amd64/i386, but...
> > 
> > On architectures other than i386/amd64 the build log says:
> > dpkg-shlibdeps: warning: dependency on libcrypto.so.0.9.8 could be avoided if "debian/openoffice.org-core/usr/lib/openoffice/basis3.1/program/libucpdav1.so" were not uselessly linked against it (they use none of its symbols).
> > dpkg-shlibdeps: warning: dependency on libssl.so.0.9.8 could be avoided if "debian/openoffice.org-core/usr/lib/openoffice/basis3.1/program/libucpdav1.so" were not uselessly linked against it (they use none of its symbols).
> 
> Hmm. Interesting.
> 
> > On i386/amd64 the build log says:
> > Making: ../../../unxlngi6.pro/lib/libucpdav1.so
> > i486-linux-gnu-g++ -Wl,-z,noexecstack -Wl,-z,combreloc -Wl,-z,defs -Wl,--as-needed ...
> 
> Ah, that explains it...
> 
> > I don't know why the -Wl,--as-needed is only passed on i386/amd64,
> > but it seems in no case OpenSSL is used directly by OOo.
> 
> OOo has a compiler flag definition for every arch *separately*, and
> it seems Novell added  -Wl,--as-needed - but only for i386/amd64.... ;-)
> 
> Anyway, I'll fix this but I am not convinced that we should move from
> SSl to Gnutls (except for curl which must be at gnutls for now because
> of librdf0-dev. When it'll be removed with 3.2 I'll switch that to openssl, too)

I have reported this year 12 RC bugs, 5 of them still open, against 
GPLed software linked with the OpenSSL versions of libcurl/libneon.

This is a common mistake, and in most cases the solution was simply 
to switch to the gnutls version since they were only mistakenly linking 
against the OpenSSL version.

For libneon, OOo is one out of only two remaining users of the OpenSSL 
version.

That's why, if it doesn't cause breakage for OOo, it would be nice if 
OOo would switch to libneon27-gnutls.

> Grüße/Regards,
> 
> René

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed




Reply to: