On Fri, Jul 01, 2016 at 02:20:47PM +0200, Baptiste Jonglez wrote:
> On Thu, Jun 30, 2016 at 03:11:45PM -0400, Guillaume Roguez wrote:
> > As you seen the patch that requires the build of our contrib gnutls + patch
> > is the reordering packet issue.
> > Yes, this patch is only on gnutls master branch and planned for 3.4.14
> > release.
> >
> > As we build our own gnutls, this requests to build deps associated with,
> > as on some distribution like Fedora, their nettle package is missing some
> > symboles.
> > This causes incompatibility between distribution packages and our contrib.
> >
> > Don't forget: when gnutls 3.4.14 will be released, distribution will take
> > more time to adopt it.
> >
> > How do you think we can resolve that?
>
> Sorry, I should have mentioned, I was asking about this as the Archlinux
> package maintainer. So, for instance, we will adopt gnutls 3.4.14 as soon
> as it gets out.
>
> When packaging, I want to avoid static libs as much as possible, and up to
> now, the only one really required was pjproject, since it's heavily
> patched.
>
> To only build pjproject from contrib/, I was doing this:
>
> mkdir -p contrib/native
> cd contrib/native
> ../bootstrap
> make .pjproject
>
> But now, when I do this, the build system builds pjproject, gmp, nettle
> and gnutls from contrib (gmp and nettle are built as dependencies of
> gnutls, as you mentioned). I like to be able to choose what I build, so I
> consider this as a bug.
>
> The change occurred between f86f2a179e ("contrib: bump opendht") and
> 36e857fcf0 ("removing IAX account and libiax dependency").
I found the issue: pjproject depends on gnutls, and 4628559534 ("security:
re-enable anonymous gnutls handshake") bumped the required version of
gnutls to 3.4.14. Because Arch has 3.4.13, the build system does not
consider the system version of gnutls and tries to build it locally.
contrib/src/pjproject/rules.mak:45 DEPS_pjproject += gnutls
Anyway, I think I will just package a patched version of pjproject
separately, so that the Arch package would not need contrib/ at all. It
will be cleaner and avoid this issue and all future similar issues.
Sorry for the noise,
Baptiste
signature.asc
Description: PGP signature
_______________________________________________ Ring mailing list [email protected] https://lists.savoirfairelinux.net/mailman/listinfo/ring
