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

W.C.A. Wijngaards wouter at nlnetlabs.nl
Fri Sep 19 10:47:59 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Pavel,

Not everyone has autoconf ready, thus the generated files in the
repository; this makes the repository as easy to use as a tarball from
the download page.

Best regards,
   Wouter

On 09/19/2014 12:09 PM, Pavel Simerda wrote:
> 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
>> 
> 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

iQIcBAEBAgAGBQJUHAneAAoJEJ9vHC1+BF+NrZ4P/3Aeis8Cpp4SgqFsImenhyWI
IBUPhLVQAk2+bW6TdmRQRRbEAHFo07mtvbGBT0GO3FqjPEQmG5hOe7IIqaIcMNuk
t9/c5Z+/R3PxFI70rKpGfThs278SYs9eeMD5EHPHdZCvheRRcdUWAg6s8VQCTP+F
GLapoy5JC/kbj7QTXTFdbYBrwVYwE0PuzZXIi4Ik3X0py1UgY/Ts7cVQ1bqiqQWX
k4FejQIhhgux5ePwH1svYKPcxKd95BWaABgrO6IGURzb8iDaGGyyqUAEUmKGnwSL
VRBfn3IB777Xfh0jajxEFo2XYQA8O8OTsINMiLQNBMArifqRsW0nRw5jtdpJoUcX
N/n4EMh41nJAAMSEiaUdmRkRcZWMosoKI2bJYeIjaVvMkRWhcswzRaiTZpy6uU50
yv+JSNsVdOKJZ7guLQN3eqw8b0gjoxJQWNGqWecy04Tz8UIhrnmynmEzLiWBct7i
4wo/daiRk5Fx4Ye0Fgx6D+bm/Pmb8DH+MXr0okTBNdkTK0Vne0MPM7lXbsqysz5a
Ha6ggh1uRmuN2MSMBXrQ7UeY7PfCdpyZervfoAthMg7lxDACkrx/d8v5aGtKs0Q4
/14pTboViVVhXsoiElGzOz48N6348PiM/vfu/b/viQRJoHhqYi+kJu+8JTFwwrEw
jE1iSBkcaRr5WCA9cQSa
=fUZE
-----END PGP SIGNATURE-----



More information about the Unbound-users mailing list