Bug#624982: csound: FTBFS: interfaces/python_interface_wrap.cc:3402:13: error: 'ptrdiff_t' does not name a type

Lucas Nussbaum lucas at lucas-nussbaum.net
Mon May 2 12:30:28 UTC 2011


Source: csound
Version: 1:5.13.0~dfsg-3
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20110502 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> x86_64-linux-gnu-g++ -o interfaces/python_interface_wrap.os -c -Wno-format -O3 -mtune=generic -ftree-vectorize -ffast-math -Wno-format -DGNU_GETTEXT -g -fomit-frame-pointer -freorder-blocks -DLINUX -DPIPES -fPIC -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DUSE_DOUBLE -DHAVE_SOCKETS -DHAVE_PTHREAD_BARRIER_INIT -DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -D__BUILDING_LIBCSOUND -D_CSOUND_RELEASE_ -DCS_DEFAULT_PLUGINDIR=\"/usr/lib/csound/plugins64-5.2\" -D__BUILDING_CSOUND_INTERFACES -I. -IH -I/usr/include/lua5.1 -I/usr/include/tcl -I/usr/lib/jvm/default-java/include -I/usr/lib/jvm/default-java/include/linux -I/usr/include/stk -I/usr/local/include -I/usr/include -I/usr/include -I/usr/X11R6/include -Iinterfaces -I/usr/include/lua5.1 -I/usr/include/python2.6 -I/usr/local/include/python2.6 interfaces/python_interface_wrap.cc
> frontends/CsoundAC/Node.hpp:82: Warning(473): Returning a pointer or reference in a director method is not recommended.
> interfaces/python_interface_wrap.cc:3402:13: error: 'ptrdiff_t' does not name a type
> interfaces/python_interface_wrap.cc:3439:21: error: expected ';' at end of member declaration
> interfaces/python_interface_wrap.cc:3439:39: error: expected ')' before 'n'
> interfaces/python_interface_wrap.cc:3454:34: error: declaration of 'operator+=' as non-function
> interfaces/python_interface_wrap.cc:3454:30: error: expected ';' at end of member declaration
> interfaces/python_interface_wrap.cc:3454:44: error: expected ')' before 'n'
> interfaces/python_interface_wrap.cc:3459:34: error: declaration of 'operator-=' as non-function
> interfaces/python_interface_wrap.cc:3459:30: error: expected ';' at end of member declaration
> interfaces/python_interface_wrap.cc:3459:44: error: expected ')' before 'n'
> interfaces/python_interface_wrap.cc:3464:33: error: declaration of 'operator+' as non-function
> interfaces/python_interface_wrap.cc:3464:30: error: expected ';' at end of member declaration
> interfaces/python_interface_wrap.cc:3464:43: error: expected ')' before 'n'
> interfaces/python_interface_wrap.cc:3469:33: error: declaration of 'operator-' as non-function
> interfaces/python_interface_wrap.cc:3469:30: error: expected ';' at end of member declaration
> interfaces/python_interface_wrap.cc:3469:43: error: expected ')' before 'n'
> interfaces/python_interface_wrap.cc:3474:5: error: 'ptrdiff_t' does not name a type
> interfaces/python_interface_wrap.cc:3630:23: error: 'SWIG_From_ptrdiff_t' declared as an 'inline' variable
> interfaces/python_interface_wrap.cc:3630:23: error: 'ptrdiff_t' was not declared in this scope
> interfaces/python_interface_wrap.cc:3630:23: note: suggested alternatives:
> /usr/include/c++/4.6/x86_64-linux-gnu/bits/c++config.h:156:28: note:   'std::ptrdiff_t'
> /usr/include/c++/4.6/x86_64-linux-gnu/bits/c++config.h:156:28: note:   'std::ptrdiff_t'
> interfaces/python_interface_wrap.cc:3631:1: error: expected ',' or ';' before '{' token
> interfaces/python_interface_wrap.cc:3683:39: error: 'ptrdiff_t' has not been declared
> interfaces/python_interface_wrap.cc: In function 'int SWIG_AsVal_ptrdiff_t(PyObject*, int*)':
> interfaces/python_interface_wrap.cc:3687:50: error: expected type-specifier before 'ptrdiff_t'
> interfaces/python_interface_wrap.cc:3687:50: error: expected '>' before 'ptrdiff_t'
> interfaces/python_interface_wrap.cc:3687:50: error: expected '(' before 'ptrdiff_t'
> interfaces/python_interface_wrap.cc:3687:50: error: 'ptrdiff_t' was not declared in this scope
> interfaces/python_interface_wrap.cc:3687:50: note: suggested alternatives:
> /usr/include/c++/4.6/x86_64-linux-gnu/bits/c++config.h:156:28: note:   'std::ptrdiff_t'
> /usr/include/c++/4.6/x86_64-linux-gnu/bits/c++config.h:156:28: note:   'std::ptrdiff_t'
> interfaces/python_interface_wrap.cc:3687:64: error: expected ')' before ';' token
> x86_64-linux-gnu-g++ -o frontends/CsoundAC/Lindenmayer.os -c -Wno-format -DVST_FORCE_DEPRECATED=0 -O3 -mtune=generic -ftree-vectorize -ffast-math -Wno-format -DGNU_GETTEXT -g -fomit-frame-pointer -freorder-blocks -DLINUX -DPIPES -fPIC -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DUSE_DOUBLE -DHAVE_SOCKETS -DHAVE_PTHREAD_BARRIER_INIT -DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -D_THREAD_SAFE -D_REENTRANT -Ifrontends/CsoundAC -Iinterfaces -I. -IH -I/usr/include/lua5.1 -I/usr/include/tcl -I/usr/lib/jvm/default-java/include -I/usr/lib/jvm/default-java/include/linux -I/usr/include/stk -I/usr/local/include -I/usr/include -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/python2.6 -I/usr/local/include/python2.6 frontends/CsoundAC/Lindenmayer.cpp
> interfaces/python_interface_wrap.cc: At global scope:
> interfaces/python_interface_wrap.cc:4747:15: error: 'swig::check_index' declared as an 'inline' variable
> interfaces/python_interface_wrap.cc:4747:15: error: 'ptrdiff_t' was not declared in this scope
> interfaces/python_interface_wrap.cc:4747:15: note: suggested alternatives:
> /usr/include/c++/4.6/x86_64-linux-gnu/bits/c++config.h:156:28: note:   'std::ptrdiff_t'
> /usr/include/c++/4.6/x86_64-linux-gnu/bits/c++config.h:156:28: note:   'std::ptrdiff_t'
> interfaces/python_interface_wrap.cc:4747:35: error: expected primary-expression before 'size'
> interfaces/python_interface_wrap.cc:4747:41: error: expected primary-expression before 'bool'
> interfaces/python_interface_wrap.cc:4747:60: error: expression list treated as compound expression in initializer [-fpermissive]
> interfaces/python_interface_wrap.cc:4747:62: error: expected ',' or ';' before '{' token
> interfaces/python_interface_wrap.cc:38254:1: error: expected '}' at end of input
> scons: *** [interfaces/python_interface_wrap.os] Error 1
> Processing types...
> C++ analysis...
> Generating wrappers...
> scons: building terminated because of errors.
> make: *** [debian/stamp-scons-build] Error 2

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/05/02/csound_1:5.13.0~dfsg-3_lsid64.buildlog

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the pkg-multimedia-maintainers mailing list