[Python-modules-team] Bug#625092: shiboken: FTBFS: densehashtable.h:150:11: error: 'ptrdiff_t' does not name a type

Lucas Nussbaum lucas at lucas-nussbaum.net
Mon May 2 12:38:16 UTC 2011


Source: shiboken
Version: 1.0.1-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:
> make[4]: Entering directory `/build/user-shiboken_1.0.1-3-amd64-7KWY3a/shiboken-1.0.1/build-2.7-dbg'
> /usr/bin/cmake -E cmake_progress_report /build/user-shiboken_1.0.1-3-amd64-7KWY3a/shiboken-1.0.1/build-2.7-dbg/CMakeFiles 
> [ 35%] /usr/bin/cmake -E cmake_progress_report /build/user-shiboken_1.0.1-3-amd64-7KWY3a/shiboken-1.0.1/build-2.7-dbg/CMakeFiles 1
> /usr/bin/cmake -E cmake_progress_report /build/user-shiboken_1.0.1-3-amd64-7KWY3a/shiboken-1.0.1/build-2.7-dbg/CMakeFiles 2
> [ 36%] Building CXX object tests/libother/CMakeFiles/libother.dir/number.cpp.o
> cd /build/user-shiboken_1.0.1-3-amd64-7KWY3a/shiboken-1.0.1/build-2.7-dbg/tests/libother && /usr/bin/c++   -Dlibother_EXPORTS -DPy_DEBUG -DLIBOTHER_BUILD -g -O2  -Wall -fvisibility=hidden -Wno-strict-aliasing -g -fPIC -I/build/user-shiboken_1.0.1-3-amd64-7KWY3a/shiboken-1.0.1/tests/libother -I/build/user-shiboken_1.0.1-3-amd64-7KWY3a/shiboken-1.0.1/tests/libsample -I/build/user-shiboken_1.0.1-3-amd64-7KWY3a/shiboken-1.0.1/tests/libsample/..   -o CMakeFiles/libother.dir/number.cpp.o -c /build/user-shiboken_1.0.1-3-amd64-7KWY3a/shiboken-1.0.1/tests/libother/number.cpp
> [ 37%] /usr/bin/cmake -E cmake_progress_report /build/user-shiboken_1.0.1-3-amd64-7KWY3a/shiboken-1.0.1/build-2.7-dbg/CMakeFiles 
> Building CXX object tests/libother/CMakeFiles/libother.dir/otherderived.cpp.o
> cd /build/user-shiboken_1.0.1-3-amd64-7KWY3a/shiboken-1.0.1/build-2.7-dbg/tests/libother && /usr/bin/c++   -Dlibother_EXPORTS -DPy_DEBUG -DLIBOTHER_BUILD -g -O2  -Wall -fvisibility=hidden -Wno-strict-aliasing -g -fPIC -I/build/user-shiboken_1.0.1-3-amd64-7KWY3a/shiboken-1.0.1/tests/libother -I/build/user-shiboken_1.0.1-3-amd64-7KWY3a/shiboken-1.0.1/tests/libsample -I/build/user-shiboken_1.0.1-3-amd64-7KWY3a/shiboken-1.0.1/tests/libsample/..   -o CMakeFiles/libother.dir/otherderived.cpp.o -c /build/user-shiboken_1.0.1-3-amd64-7KWY3a/shiboken-1.0.1/tests/libother/otherderived.cpp
> [ 37%] Building CXX object tests/libother/CMakeFiles/libother.dir/othermultiplederived.cpp.o
> cd /build/user-shiboken_1.0.1-3-amd64-7KWY3a/shiboken-1.0.1/build-2.7-dbg/tests/libother && /usr/bin/c++   -Dlibother_EXPORTS -DPy_DEBUG -DLIBOTHER_BUILD -g -O2  -Wall -fvisibility=hidden -Wno-strict-aliasing -g -fPIC -I/build/user-shiboken_1.0.1-3-amd64-7KWY3a/shiboken-1.0.1/tests/libother -I/build/user-shiboken_1.0.1-3-amd64-7KWY3a/shiboken-1.0.1/tests/libsample -I/build/user-shiboken_1.0.1-3-amd64-7KWY3a/shiboken-1.0.1/tests/libsample/..   -o CMakeFiles/libother.dir/othermultiplederived.cpp.o -c /build/user-shiboken_1.0.1-3-amd64-7KWY3a/shiboken-1.0.1/tests/libother/othermultiplederived.cpp
> Building CXX object tests/libother/CMakeFiles/libother.dir/otherobjecttype.cpp.o
> cd /build/user-shiboken_1.0.1-3-amd64-7KWY3a/shiboken-1.0.1/build-2.7-dbg/tests/libother && /usr/bin/c++   -Dlibother_EXPORTS -DPy_DEBUG -DLIBOTHER_BUILD -g -O2  -Wall -fvisibility=hidden -Wno-strict-aliasing -g -fPIC -I/build/user-shiboken_1.0.1-3-amd64-7KWY3a/shiboken-1.0.1/tests/libother -I/build/user-shiboken_1.0.1-3-amd64-7KWY3a/shiboken-1.0.1/tests/libsample -I/build/user-shiboken_1.0.1-3-amd64-7KWY3a/shiboken-1.0.1/tests/libsample/..   -o CMakeFiles/libother.dir/otherobjecttype.cpp.o -c /build/user-shiboken_1.0.1-3-amd64-7KWY3a/shiboken-1.0.1/tests/libother/otherobjecttype.cpp
> In file included from /usr/include/google/dense_hash_map:104:0,
>                  from /build/user-shiboken_1.0.1-3-amd64-7KWY3a/shiboken-1.0.1/libshiboken/typeresolver.cpp:24:
> /usr/include/google/sparsehash/densehashtable.h:150:11: error: 'ptrdiff_t' does not name a type
> /usr/include/google/sparsehash/densehashtable.h:200:11: error: 'ptrdiff_t' does not name a type
> /usr/include/google/sparsehash/densehashtable.h:254:11: error: 'ptrdiff_t' does not name a type
> In file included from /build/user-shiboken_1.0.1-3-amd64-7KWY3a/shiboken-1.0.1/libshiboken/typeresolver.cpp:24:0:
> /usr/include/google/dense_hash_map: In instantiation of 'google::dense_hash_map<std::basic_string<char>, Shiboken::TypeResolver*>':
> /build/user-shiboken_1.0.1-3-amd64-7KWY3a/shiboken-1.0.1/libshiboken/typeresolver.cpp:33:24:   instantiated from here
> /usr/include/google/dense_hash_map:148:40: error: no type named 'difference_type' in 'class google::dense_hashtable<std::pair<const std::basic_string<char>, Shiboken::TypeResolver*>, std::basic_string<char>, std::tr1::hash<std::basic_string<char> >, google::dense_hash_map<std::basic_string<char>, Shiboken::TypeResolver*>::SelectKey, google::dense_hash_map<std::basic_string<char>, Shiboken::TypeResolver*>::SetKey, std::equal_to<std::basic_string<char> >, std::allocator<Shiboken::TypeResolver*> >'
> make[4]: *** [libshiboken/CMakeFiles/libshiboken.dir/typeresolver.cpp.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/05/02/shiboken_1.0.1-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 Python-modules-team mailing list