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

Pavel Simerda psimerda at redhat.com
Fri Sep 19 10:09:48 UTC 2014


Thanks! Did you consider removing the generated files?

Pavel

----- Original Message -----
> From: "W.C.A. Wijngaards" <wouter at nlnetlabs.nl>
> To: "Pavel Simerda" <psimerda at redhat.com>
> Cc: unbound-users at unbound.net
> Sent: Friday, September 19, 2014 11:57:57 AM
> Subject: Re: [Unbound-users] patches to also build with Python 3.x
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi Pavel,
> 
> Thanks, applied with the previous patches.
> 
> Best regards, Wouter
> 
> On 09/19/2014 11:53 AM, Pavel Simerda wrote:
> > 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
> >> 
> > 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
> 
> iQIcBAEBAgAGBQJUG/4lAAoJEJ9vHC1+BF+NVXEP/iDJCofUBrJ6y67mN+HJIhr1
> CF6a5b/uVh2u//NgFZA20yzLFNNH3tPDPU8WmEKqL39SHfS09EqBXSw20LUvE13A
> vWiuuJZugK7pg1x+0muqcoKDNMvc9W1dhlxb7ie4IGQxI/xlTVQmedO+C+olAMu1
> oQRtJTuNaEalljyjXYzd48kxIb6BIwaFQS2z0X0BvTANS5SFiW9F/XbF1nJPYr4+
> ItID3L2LwIMFbN37mNO7gXkC1HVJ2liddsOAU82etexc3yga9fuSlCstAJ9A4CNT
> vSLj80O/AsH0Pl9BNKNe+5FwBToE4/N6cS1SYBjLnKQJ1PzvFSJ9QBXNDVl5lGCn
> rDPlBvxLCKWZiEYT69Z8KM7TnR00AouUwE67Lnw5bYxYf5MQynCrm9NKKd5iJ8vz
> XExm4u2kvkQAGXpjjDmnedDjub51UkgF/GAgaUiMDOJedX2NGVWgoQvvk5FYZvYd
> rjlozZj8wLhg7xnxfTeRmT26BtjuX6MrreWWyEr9OhE32N8fIQALYHz7RtZxJ+3J
> nxZyNzwBE5/T4NnRhQM7ppun/2X6QicJy9UpnnumGA1ETlxJCZvwNhTiHDPAfuFt
> 7oUZ6NTJtobNB5BVMQO3CTsNQWvHfEFD8oI+nrgaNMt6OznmaYIX0UXpPE4iZDTh
> X+Peo7eVUuCY0ciynKg0
> =0E6a
> -----END PGP SIGNATURE-----
> 



More information about the Unbound-users mailing list