Bug#624767: libbuffy-bindings: FTBFS
On Sun, May 01, 2011 at 02:14:34PM +0100, Dominic Hargreaves wrote: This package fails to build from source in a clean sid chroot: creating build/temp.linux-i686-2.7 gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -O2 -fPIC -I/usr/include/glib-2.0 -I/usr/l ib/glib-2.0/include -I/usr/include/python2.7 -c buffy_wrap.cpp -o build/temp.linux-i686-2.7/buffy_wrap.o cc1plus: warning: command line option '-Wstrict-prototypes' is valid for Ada/C/ObjC but not for C++ [enabled by default] buffy_wrap.cpp:2862:13: error: 'ptrdiff_t' does not name a type It looks as though this is an issue with swig the new version of python, which has been fixed at some point in swig 2.0. This package builds fine for me if I use swig2.0 instead of swig1.3 to build, so should just be a case of changing the build-dep. -- Chris Butler chr...@debian.org GnuPG Key ID: 4096R/49E3ACD3 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#624767: libbuffy-bindings: FTBFS
Package: libbuffy-bindings Version: 2.3.0-2 Severity: serious Justification: FTBFS This package fails to build from source in a clean sid chroot: creating build/temp.linux-i686-2.7 gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -O2 -fPIC -I/usr/include/glib-2.0 -I/usr/l ib/glib-2.0/include -I/usr/include/python2.7 -c buffy_wrap.cpp -o build/temp.linux-i686-2.7/buffy_wrap.o cc1plus: warning: command line option '-Wstrict-prototypes' is valid for Ada/C/ObjC but not for C++ [enabled by default] buffy_wrap.cpp:2862:13: error: 'ptrdiff_t' does not name a type buffy_wrap.cpp:2899:21: error: expected ';' at end of member declaration buffy_wrap.cpp:2899:39: error: expected ')' before 'n' buffy_wrap.cpp:2914:34: error: declaration of 'operator+=' as non-function buffy_wrap.cpp:2914:30: error: expected ';' at end of member declaration buffy_wrap.cpp:2914:44: error: expected ')' before 'n' buffy_wrap.cpp:2919:34: error: declaration of 'operator-=' as non-function buffy_wrap.cpp:2919:30: error: expected ';' at end of member declaration buffy_wrap.cpp:2919:44: error: expected ')' before 'n' buffy_wrap.cpp:2924:33: error: declaration of 'operator+' as non-function buffy_wrap.cpp:2924:30: error: expected ';' at end of member declaration buffy_wrap.cpp:2924:43: error: expected ')' before 'n' buffy_wrap.cpp:2929:33: error: declaration of 'operator-' as non-function buffy_wrap.cpp:2929:30: error: expected ';' at end of member declaration buffy_wrap.cpp:2929:43: error: expected ')' before 'n' buffy_wrap.cpp:2934:5: error: 'ptrdiff_t' does not name a type buffy_wrap.cpp:3090:23: error: 'SWIG_From_ptrdiff_t' declared as an 'inline' variable buffy_wrap.cpp:3090:23: error: 'ptrdiff_t' was not declared in this scope buffy_wrap.cpp:3090:23: note: suggested alternatives: /usr/include/c++/4.6/i486-linux-gnu/bits/c++config.h:156:28: note: 'std::ptrdiff_t' /usr/include/c++/4.6/i486-linux-gnu/bits/c++config.h:156:28: note: 'std::ptrdiff_t' buffy_wrap.cpp:3091:1: error: expected ',' or ';' before '{' token buffy_wrap.cpp:3143:39: error: 'ptrdiff_t' has not been declared buffy_wrap.cpp: In function 'int SWIG_AsVal_ptrdiff_t(PyObject*, int*)': buffy_wrap.cpp:3147:50: error: expected type-specifier before 'ptrdiff_t' buffy_wrap.cpp:3147:50: error: expected '' before 'ptrdiff_t' buffy_wrap.cpp:3147:50: error: expected '(' before 'ptrdiff_t' buffy_wrap.cpp:3147:50: error: 'ptrdiff_t' was not declared in this scope buffy_wrap.cpp:3147:50: note: suggested alternatives: /usr/include/c++/4.6/i486-linux-gnu/bits/c++config.h:156:28: note: 'std::ptrdiff_t' /usr/include/c++/4.6/i486-linux-gnu/bits/c++config.h:156:28: note: 'std::ptrdiff_t' buffy_wrap.cpp:3147:64: error: expected ')' before ';' token buffy_wrap.cpp: At global scope: buffy_wrap.cpp:3703:15: error: 'swig::check_index' declared as an 'inline' variable buffy_wrap.cpp:3703:15: error: 'ptrdiff_t' was not declared in this scope buffy_wrap.cpp:3703:15: note: suggested alternatives: /usr/include/c++/4.6/i486-linux-gnu/bits/c++config.h:156:28: note: 'std::ptrdiff_t' /usr/include/c++/4.6/i486-linux-gnu/bits/c++config.h:156:28: note: 'std::ptrdiff_t' buffy_wrap.cpp:3703:35: error: expected primary-expression before 'size' buffy_wrap.cpp:3703:41: error: expected primary-expression before 'bool' buffy_wrap.cpp:3703:60: error: expression list treated as compound expression in initializer [-fpermissive] buffy_wrap.cpp:3703:62: error: expected ',' or ';' before '{' token buffy_wrap.cpp:13209:1: error: expected '}' at end of input error: command 'gcc' failed with exit status 1 dh_auto_build: python2.7 setup.py build --force returned exit code 1 Dominic -- Dominic Hargreaves | http://www.larted.org.uk/~dom/ PGP key 5178E2A5 from the.earth.li (keyserver,web,email) libembperl-perl_2.3.0-2-i386-20110429-1933.gz Description: Binary data