[Unbound-users] patches to also build with Python 3.x

Pavel Simerda psimerda at redhat.com
Fri Sep 19 09:53:55 UTC 2014


Hi,

I'm posting another patch to fix searching of /usr/lib64/libpython3.4m.so

See https://bugzilla.redhat.com/show_bug.cgi?id=1144112

Plus it clears out some parts that are not needed and are buggy anyway.

Please update generated files accordingly (or remove them from source control).

Cheers,

Pavel

----- Original Message -----
> From: "W.C.A. Wijngaards" <wouter at nlnetlabs.nl>
> To: "Pavel Simerda" <psimerda at redhat.com>
> Sent: Thursday, September 18, 2014 3:33:12 PM
> Subject: Re: [Unbound-users] patches to also build with Python 3.x
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi Pavel,
> 
> Thanks!  I have committed the two patches.  The aclocal.m4 that my
> aclocal produces is not changed, but I took the configure.ac and
> acx_python updates.  (and the .i file updates, of course).
> 
> Best regards,
>    Wouter
> 
> On 09/17/2014 12:04 PM, Pavel Simerda wrote:
> > Hi,
> > 
> > I started working on getting unbound work with Python 3.x and here
> > are the first results. With the attached patches, the unbound
> > source code still builds with Python 2.x but also builds with
> > Python 3.x.
> > 
> > To test it, you need to configure the sources to build all the
> > python stuff:
> > 
> > ./configure --with-pythonmodule --with-pyunbound
> > 
> > So far I tested on Gentoo with the exact command above, as
> > /usr/bin/python is Python 3.x by default. I also tested it using a
> > live Gentoo ebuild[1] and I'm going to build it for Fedora[2] as
> > part of the feature to use Python 3.x as the default implementation
> > on Fedora[3].
> > 
> > [1]
> > https://github.com/okias/ixit/blob/master/net-dns/unbound/unbound-9999.ebuild
> >
> > 
> [2] https://bugzilla.redhat.com/show_bug.cgi?id=1115489
> > [3] https://fedoraproject.org/wiki/Changes/Python_3_as_Default
> > 
> > Note that the two patches represent the minimal changes needed to
> > *build* unbound with Python 3.x, that doesn't say whether the
> > successful build will also *work* properly, it is just the first
> > step for it. Next step will be to identify the issues that arise.
> > 
> > Cheers,
> > 
> > Pavel
> > 
> > 
> > 
> > _______________________________________________ Unbound-users
> > mailing list Unbound-users at unbound.net
> > http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users
> > 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
> 
> iQIcBAEBAgAGBQJUGt8YAAoJEJ9vHC1+BF+N64wQAKlzhdml/8SH4Zc18EQwmJjg
> 3BZ/o4cgpOjqa/e7bTAnZjf4bv7hnJ+gkM1be9H3DvbSyOhw0CTrzGWz8jHsc39B
> jZJ2vdthK5H+HcpX6gWFyiM6lHA0dea5KDMwyAyp3MRyRl0zrbVl77AGMRzRQlNn
> +ywbJ/b+K02MB1n45bOp5dsFvLSE50MNfhmaPUkyEvSxzoctQ+XtoHGYxB66eD/0
> dWvxQOk32xpjQ8vU0zx9WSduIDe7qeZzXE0p4N7Vv5xaLXKlVtzx2E5YmDYoF2rE
> 5oeI8okgEfyGhr1HJknQ2GhKGoSBh0wQKm6KKWBojq2cERnjgA4lOEp6Gym2sDgX
> G39Zl72fGihCCsihCrirHtLbaz2tuW/17dEA7EP/BEZLDRnwtuMmQzw1d8UIH0SX
> rm020ZvMjQ96a9UDKYmenmJmsEpDRFqMyH7PbAqMMq9wftwlA8aOC5qtVdKcjqfl
> W2p8C31uRbEabmWJTEUMeWv9NRLOxe4KYraONgrIb6juYW8I6qn2Max8fRq413qZ
> G28apzW13HpYRN8z5s6jnYPRmOsRtQ3kvgRd0FYMyUI2Bn1BYR5KhrdzPujR3g47
> lTKTPxIlWLdWnGFPr0Im6lhwRKChuH6QePeUV1fhnjYz4yEC0r01PJNzLU7bC/WC
> nX/C0l9WODk4MTyMLgeE
> =Lpk3
> -----END PGP SIGNATURE-----
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: py3.patch
Type: text/x-patch
Size: 4840 bytes
Desc: not available
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20140919/4ade99d9/attachment.bin>


More information about the Unbound-users mailing list