BIND 10 #710: Compilation error on Python 3.2 systems
BIND 10 Development
do-not-reply at isc.org
Wed Jun 15 10:53:30 UTC 2011
#710: Compilation error on Python 3.2 systems
-------------------------------------+-------------------------------------
Reporter: shane | Owner: UnAssigned
Type: | Status: reviewing
defect | Milestone:
Priority: minor | Sprint-20110628
Component: build | Resolution:
system | Sensitive: 0
Keywords: | Sub-Project: DNS
Defect Severity: N/A | Estimated Difficulty: 2.0
Feature Depending on Ticket: | Total Hours: 0
Add Hours to Ticket: 0 |
Internal?: 0 |
-------------------------------------+-------------------------------------
Changes (by jelte):
* owner: jelte => UnAssigned
* status: assigned => reviewing
Comment:
Three commits, the most important one is the first; I've added a configure
check that checks if we need -Wno-unused-parameter to include Python.h. If
so, it is added to PYTHON_INCLUDES (not the very best place to put it, but
this way we do know it'll only be used for things that actually use
Python.h, and we don't need to add any workarounds to the various
Makefiles).
The second fix is for a failing test (and presumably for failing code);
apparently one of the APIs changed (or rather, a default parameter in a
call), so I added an explicit str() around it.
And lastly, python 3.2 now stores .pyc files in {{{__pycache__}}}
directories, which need to be removed (for distcheck, mainly). This does
update a lot of makefiles. I could not find a way to completely remove
directories through a magic automake variable, so I added CLEANDIRS and a
clean-local target in all directories containing python code.
--
Ticket URL: <http://bind10.isc.org/ticket/710#comment:12>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list