Bug#628253: python-sfml: FTBFS: glext.h:5040:9: error: 'ptrdiff_t' does not name a type

Lucas Nussbaum lucas at lucas-nussbaum.net
Sat May 28 11:58:05 UTC 2011


Source: python-sfml
Version: 1.5-2
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20110528 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -O2 -fPIC -I../include -I/usr/include/python2.6 -c src/Image.cpp -o build/temp.linux-x86_64-2.6/src/Image.o
> cc1plus: warning: command line option '-Wstrict-prototypes' is valid for Ada/C/ObjC but not for C++ [enabled by default]
> In file included from /usr/include/GL/gl.h:2091:0,
>                  from /usr/include/SFML/Window/OpenGL.hpp:47,
>                  from /usr/include/SFML/Window.hpp:40,
>                  from /usr/include/SFML/Graphics.hpp:32,
>                  from src/RenderWindow.hpp:30,
>                  from src/Image.cpp:26:
> /usr/include/GL/glext.h:5040:9: error: 'ptrdiff_t' does not name a type
> /usr/include/GL/glext.h:5041:9: error: 'ptrdiff_t' does not name a type
> /usr/include/GL/glext.h:5046:9: error: 'ptrdiff_t' does not name a type
> /usr/include/GL/glext.h:5047:9: error: 'ptrdiff_t' does not name a type
> In file included from /usr/include/GL/gl.h:2091:0,
>                  from /usr/include/SFML/Window/OpenGL.hpp:47,
>                  from /usr/include/SFML/Window.hpp:40,
>                  from /usr/include/SFML/Graphics.hpp:32,
>                  from src/RenderWindow.hpp:30,
>                  from src/Image.cpp:26:
> /usr/include/GL/glext.h:5129:9: error: 'GLintptr' does not name a type
> /usr/include/GL/glext.h:5461:62: error: 'GLsizeiptr' has not been declared
> /usr/include/GL/glext.h:5462:65: error: 'GLintptr' has not been declared
> /usr/include/GL/glext.h:5462:82: error: 'GLsizeiptr' has not been declared
> /usr/include/GL/glext.h:5463:68: error: 'GLintptr' has not been declared
> /usr/include/GL/glext.h:5463:85: error: 'GLsizeiptr' has not been declared
> /usr/include/GL/glext.h:5754:96: error: 'GLintptr' has not been declared
> /usr/include/GL/glext.h:5754:113: error: 'GLsizeiptr' has not been declared
> /usr/include/GL/glext.h:6297:65: error: 'GLsizeiptrARB' has not been declared
> /usr/include/GL/glext.h:6298:68: error: 'GLintptrARB' has not been declared
> /usr/include/GL/glext.h:6298:88: error: 'GLsizeiptrARB' has not been declared
> /usr/include/GL/glext.h:6299:71: error: 'GLintptrARB' has not been declared
> /usr/include/GL/glext.h:6299:91: error: 'GLsizeiptrARB' has not been declared
> /usr/include/GL/glext.h:6572:69: error: 'GLintptr' has not been declared
> /usr/include/GL/glext.h:6572:86: error: 'GLsizeiptr' has not been declared
> /usr/include/GL/glext.h:6573:74: error: 'GLintptr' has not been declared
> /usr/include/GL/glext.h:6573:91: error: 'GLsizeiptr' has not been declared
> /usr/include/GL/glext.h:6635:93: error: 'GLintptr' has not been declared
> /usr/include/GL/glext.h:6635:114: error: 'GLintptr' has not been declared
> /usr/include/GL/glext.h:6635:136: error: 'GLsizeiptr' has not been declared
> In file included from /usr/include/GL/gl.h:2091:0,
>                  from /usr/include/SFML/Window/OpenGL.hpp:47,
>                  from /usr/include/SFML/Window.hpp:40,
>                  from /usr/include/SFML/Graphics.hpp:32,
>                  from src/RenderWindow.hpp:30,
>                  from src/Image.cpp:26:
> /usr/include/GL/glext.h:9713:79: error: 'GLintptr' has not been declared
> /usr/include/GL/glext.h:9713:96: error: 'GLsizeiptr' has not been declared
> /usr/include/GL/glext.h:9975:98: error: 'GLintptr' has not been declared
> /usr/include/GL/glext.h:9975:115: error: 'GLsizeiptr' has not been declared
> /usr/include/GL/glext.h:9976:99: error: 'GLintptr' has not been declared
> /usr/include/GL/glext.h:9995:18: error: typedef 'GLintptr' is initialized (use decltype instead)
> /usr/include/GL/glext.h:9995:29: error: 'PFNGLGETUNIFORMOFFSETEXTPROC' was not declared in this scope
> /usr/include/GL/glext.h:10065:99: error: 'GLintptr' has not been declared
> /usr/include/GL/glext.h:10065:116: error: 'GLsizeiptr' has not been declared
> /usr/include/GL/glext.h:10066:100: error: 'GLintptr' has not been declared
> /usr/include/GL/glext.h:10438:70: error: 'GLsizeiptr' has not been declared
> /usr/include/GL/glext.h:10439:73: error: 'GLintptr' has not been declared
> /usr/include/GL/glext.h:10439:90: error: 'GLsizeiptr' has not been declared
> /usr/include/GL/glext.h:10442:77: error: 'GLintptr' has not been declared
> /usr/include/GL/glext.h:10442:94: error: 'GLsizeiptr' has not been declared
> /usr/include/GL/glext.h:10443:82: error: 'GLintptr' has not been declared
> /usr/include/GL/glext.h:10443:99: error: 'GLsizeiptr' has not been declared
> /usr/include/GL/glext.h:10444:101: error: 'GLintptr' has not been declared
> /usr/include/GL/glext.h:10444:122: error: 'GLintptr' has not been declared
> /usr/include/GL/glext.h:10444:144: error: 'GLsizeiptr' has not been declared
> /usr/include/GL/glext.h:10447:76: error: 'GLintptr' has not been declared
> /usr/include/GL/glext.h:10447:93: error: 'GLsizeiptr' has not been declared
> /usr/include/GL/glext.h:10677:130: error: 'GLintptrARB' has not been declared
> /usr/include/GL/glext.h:10764:106: error: 'GLsizeiptr' has not been declared
> /usr/include/GL/glext.h:10833:154: error: 'GLintptr' has not been declared
> /usr/include/GL/glext.h:11016:26: error: typedef 'GLvdpauSurfaceNV' is initialized (use decltype instead)
> /usr/include/GL/glext.h:11016:37: error: 'PFNGLVDPAUREGISTERVIDEOSURFACENVPROC' was not declared in this scope
> /usr/include/GL/glext.h:11017:26: error: typedef 'GLvdpauSurfaceNV' is initialized (use decltype instead)
> /usr/include/GL/glext.h:11017:37: error: 'PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC' was not declared in this scope
> /usr/include/GL/glext.h:11018:53: error: typedef 'PFNGLVDPAUISSURFACENVPROC' is initialized (use decltype instead)
> /usr/include/GL/glext.h:11018:53: error: 'GLvdpauSurfaceNV' was not declared in this scope
> /usr/include/GL/glext.h:11019:61: error: typedef 'PFNGLVDPAUUNREGISTERSURFACENVPROC' is initialized (use decltype instead)
> /usr/include/GL/glext.h:11019:61: error: 'GLvdpauSurfaceNV' was not declared in this scope
> /usr/include/GL/glext.h:11020:56: error: typedef 'PFNGLVDPAUGETSURFACEIVNVPROC' is initialized (use decltype instead)
> /usr/include/GL/glext.h:11020:56: error: 'GLvdpauSurfaceNV' was not declared in this scope
> /usr/include/GL/glext.h:11020:89: error: expected primary-expression before 'pname'
> /usr/include/GL/glext.h:11020:104: error: expected primary-expression before 'bufSize'
> /usr/include/GL/glext.h:11020:121: error: expected primary-expression before '*' token
> /usr/include/GL/glext.h:11020:122: error: 'length' was not declared in this scope
> /usr/include/GL/glext.h:11020:136: error: expected primary-expression before '*' token
> /usr/include/GL/glext.h:11020:137: error: 'values' was not declared in this scope
> /usr/include/GL/glext.h:11021:57: error: typedef 'PFNGLVDPAUSURFACEACCESSNVPROC' is initialized (use decltype instead)
> /usr/include/GL/glext.h:11021:57: error: 'GLvdpauSurfaceNV' was not declared in this scope
> /usr/include/GL/glext.h:11021:90: error: expected primary-expression before 'access'
> /usr/include/GL/glext.h:11022:82: error: 'GLvdpauSurfaceNV' does not name a type
> /usr/include/GL/glext.h:11023:83: error: 'GLvdpauSurfaceNV' does not name a type
> error: command 'gcc' failed with exit status 1
> make: *** [build-python2.6] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/05/28/python-sfml_1.5-2_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-games-devel mailing list