BIND 10 #710: Compilation error on Arch Linux
BIND 10 Development
do-not-reply at isc.org
Thu Mar 17 21:33:46 UTC 2011
#710: Compilation error on Arch Linux
-------------------------------------+-------------------------------------
Reporter: shane | Owner: jreed
Type: defect | Status: new
Priority: minor | Milestone: A-Team-
Component: build system | Task-Backlog
Sensitive: 0 | Keywords:
Add Hours to Ticket: 0 | Estimated Number of Hours: 0
Total Hours: 0 | Billable?: 1
| Internal?: 0
-------------------------------------+-------------------------------------
It seems like the Python wrapper doesn't want to compile without warnings
under Arch Linux:
{{{
/bin/sh ../../../../libtool --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/lib
-I../../../../src/lib -I/usr/include/python3.2mu
-I/usr/include/python3.2mu -I../../../../ext/asio
-I../../../../ext/coroutine -DASIO_DISABLE_THREADS=1 -Wall -Wextra
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Werror -fPIC -g
-O2 -MT pydnspp_la-pydnspp.lo -MD -MP -MF .deps/pydnspp_la-pydnspp.Tpo -c
-o pydnspp_la-pydnspp.lo `test -f 'pydnspp.cc' || echo './'`pydnspp.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../..
-I../../../../src/lib -I../../../../src/lib -I/usr/include/python3.2mu
-I/usr/include/python3.2mu -I../../../../ext/asio
-I../../../../ext/coroutine -DASIO_DISABLE_THREADS=1 -Wall -Wextra
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Werror -fPIC -g
-O2 -MT pydnspp_la-pydnspp.lo -MD -MP -MF .deps/pydnspp_la-pydnspp.Tpo -c
pydnspp.cc -fPIC -DPIC -o .libs/pydnspp_la-pydnspp.o
cc1plus: warnings being treated as errors
In file included from /usr/include/python3.2mu/Python.h:52:0,
from pydnspp.cc:27:
/usr/include/python3.2mu/pyatomic.h:59:1: error: unused parameter
'address'
make[1]: *** [pydnspp_la-pydnspp.lo] Error 1
make[1]: Leaving directory
`/home/shane/isc/bind10/git/bind10/src/lib/dns/python'
make: *** [all-recursive] Error 1
}}}
Arch tends to use bleeding-edge versions of stuff. Here's what is
installed:
{{{
[shane at shane-eeepc ~]$ python
Python 3.2 (r32:88445, Feb 21 2011, 01:54:01)
[GCC 4.5.2 20110127 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
[shane at shane-eeepc ~]$ g++ --version
g++ (GCC) 4.5.2 20110127 (prerelease)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
}}}
I can work around this by removing -Werror in the Makefile in that
directory.
--
Ticket URL: <https://bind10.isc.org/ticket/710>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list