Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 586316 Details for
Bug 691838
dev-python/kaa-display-0.1.0-r1 : src/sdl.c:48:5: error: unknown type name PySurfaceObject
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-python:kaa-display-0.1.0-r1:20190809-043249.log
dev-python:kaa-display-0.1.0-r1:20190809-043249.log (text/plain), 11.69 KB, created by
Toralf Förster
on 2019-08-09 15:28:42 UTC
(
hide
)
Description:
dev-python:kaa-display-0.1.0-r1:20190809-043249.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2019-08-09 15:28:42 UTC
Size:
11.69 KB
patch
obsolete
> * Package: dev-python/kaa-display-0.1.0-r1 > * Repository: gentoo > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>>> Unpacking source... >>>> Unpacking kaa-display-0.1.0.tar.gz to /var/tmp/portage/dev-python/kaa-display-0.1.0-r1/work >>>> Source unpacked in /var/tmp/portage/dev-python/kaa-display-0.1.0-r1/work >>>> Preparing source in /var/tmp/portage/dev-python/kaa-display-0.1.0-r1/work/kaa-display-0.1.0 ... > * Will copy sources from /var/tmp/portage/dev-python/kaa-display-0.1.0-r1/work/kaa-display-0.1.0 > * python2_7: copying to /var/tmp/portage/dev-python/kaa-display-0.1.0-r1/work/kaa-display-0.1.0-python2_7 >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/kaa-display-0.1.0-r1/work/kaa-display-0.1.0 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/kaa-display-0.1.0-r1/work/kaa-display-0.1.0 ... > * python2_7: running distutils-r1_run_phase distutils-r1_python_compile >python2.7 setup.py build >checking for X11 ... ok >checking for imlib2 >= 1.1.1 ... 1.5.1 >checking for pygame ... pygame 1.9.6 >Hello from the pygame community. https://www.pygame.org/contribute.html >ok >checking for pygame header files ... ok >checking for sdl >= 1.2.5 ... 1.2.15 >checking for XComposite ... ok >+ X11 (imlib2) >+ Framebuffer (imlib2) >+ SDL (imlib2) >running build >running build_py >creating /var/tmp/portage/dev-python/kaa-display-0.1.0-r1/work/kaa-display-0.1.0-python2_7/build/lib/kaa >creating /var/tmp/portage/dev-python/kaa-display-0.1.0-r1/work/kaa-display-0.1.0-python2_7/build/lib/kaa/display >copying src/lcdproc.py -> /var/tmp/portage/dev-python/kaa-display-0.1.0-r1/work/kaa-display-0.1.0-python2_7/build/lib/kaa/display >copying src/x11.py -> /var/tmp/portage/dev-python/kaa-display-0.1.0-r1/work/kaa-display-0.1.0-python2_7/build/lib/kaa/display >copying src/gtkwin.py -> /var/tmp/portage/dev-python/kaa-display-0.1.0-r1/work/kaa-display-0.1.0-python2_7/build/lib/kaa/display >copying src/fb.py -> /var/tmp/portage/dev-python/kaa-display-0.1.0-r1/work/kaa-display-0.1.0-python2_7/build/lib/kaa/display >copying src/version.py -> /var/tmp/portage/dev-python/kaa-display-0.1.0-r1/work/kaa-display-0.1.0-python2_7/build/lib/kaa/display >copying src/__init__.py -> /var/tmp/portage/dev-python/kaa-display-0.1.0-r1/work/kaa-display-0.1.0-python2_7/build/lib/kaa/display >copying src/sdl.py -> /var/tmp/portage/dev-python/kaa-display-0.1.0-r1/work/kaa-display-0.1.0-python2_7/build/lib/kaa/display >warning: build_py: byte-compiling is disabled, skipping. > >running build_ext >building 'kaa.display._X11module' extension >creating /var/tmp/portage/dev-python/kaa-display-0.1.0-r1/work/kaa-display-0.1.0-python2_7/build/temp.linux-x86_64-2.7 >creating /var/tmp/portage/dev-python/kaa-display-0.1.0-r1/work/kaa-display-0.1.0-python2_7/build/temp.linux-x86_64-2.7/src >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -I/usr/include/python2.7 -c src/x11.c -o /var/tmp/portage/dev-python/kaa-display-0.1.0-r1/work/kaa-display-0.1.0-python2_7/build/temp.linux-x86_64-2.7/src/x11.o -Wall >In file included from /usr/include/python2.7/Python.h:83, > from src/x11.c:33: >src/x11.c: In function âinit_X11â: >/usr/include/python2.7/object.h:769:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > 769 | ((PyObject*)(op))->ob_refcnt++) > | ~^~~~~~~~~~~~~~~~ >src/x11.c:156:5: note: in expansion of macro âPy_INCREFâ > 156 | Py_INCREF(&X11Display_PyObject_Type); > | ^~~~~~~~~ >/usr/include/python2.7/object.h:769:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > 769 | ((PyObject*)(op))->ob_refcnt++) > | ~^~~~~~~~~~~~~~~~ >src/x11.c:161:5: note: in expansion of macro âPy_INCREFâ > 161 | Py_INCREF(&X11Window_PyObject_Type); > | ^~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -I/usr/include/python2.7 -c src/x11display.c -o /var/tmp/portage/dev-python/kaa-display-0.1.0-r1/work/kaa-display-0.1.0-python2_7/build/temp.linux-x86_64-2.7/src/x11display.o -Wall >In file included from /usr/include/python2.7/Python.h:83, > from src/x11display.c:35: >src/x11display.c: In function âX11Display_PyObject__glx_supportedâ: >/usr/include/python2.7/object.h:769:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > 769 | ((PyObject*)(op))->ob_refcnt++) > | ~^~~~~~~~~~~~~~~~ >src/x11display.c:229:5: note: in expansion of macro âPy_INCREFâ > 229 | Py_INCREF(Py_False); > | ^~~~~~~~~ >src/x11display.c: In function âX11Display_PyObject__composite_supportedâ: >/usr/include/python2.7/object.h:769:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > 769 | ((PyObject*)(op))->ob_refcnt++) > | ~^~~~~~~~~~~~~~~~ >src/x11display.c:249:6: note: in expansion of macro âPy_INCREFâ > 249 | Py_INCREF(Py_True); > | ^~~~~~~~~ >/usr/include/python2.7/object.h:769:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > 769 | ((PyObject*)(op))->ob_refcnt++) > | ~^~~~~~~~~~~~~~~~ >src/x11display.c:254:5: note: in expansion of macro âPy_INCREFâ > 254 | Py_INCREF(Py_False); > | ^~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -I/usr/include/python2.7 -c src/x11window.c -o /var/tmp/portage/dev-python/kaa-display-0.1.0-r1/work/kaa-display-0.1.0-python2_7/build/temp.linux-x86_64-2.7/src/x11window.o -Wall >src/x11window.c: In function âX11Window_PyObject__set_fullscreenâ: >src/x11window.c:326:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 326 | data[0] = (void *)(fs ? _NET_WM_STATE_ADD : _NET_WM_STATE_REMOVE); > | ^ >src/x11window.c: In function âX11Window_PyObject__get_propertiesâ: >src/x11window.c:532:57: warning: passing argument 3 of âPyObject_AsWriteBufferâ from incompatible pointer type [-Wincompatible-pointer-types] > 532 | PyObject_AsWriteBuffer(pydata, &buffer_ptr, &buffer_len); > | ^~~~~~~~~~~ > | | > | int * >In file included from /usr/include/python2.7/Python.h:136, > from src/x11window.c:33: >/usr/include/python2.7/abstract.h:519:56: note: expected âPy_ssize_t *â {aka âlong int *â} but argument is of type âint *â > 519 | Py_ssize_t *buffer_len); > | ~~~~~~~~~~~~^~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -I/usr/include/python2.7 -c src/common.c -o /var/tmp/portage/dev-python/kaa-display-0.1.0-r1/work/kaa-display-0.1.0-python2_7/build/temp.linux-x86_64-2.7/src/common.o -Wall >x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native /var/tmp/portage/dev-python/kaa-display-0.1.0-r1/work/kaa-display-0.1.0-python2_7/build/temp.linux-x86_64-2.7/src/x11.o /var/tmp/portage/dev-python/kaa-display-0.1.0-r1/work/kaa-display-0.1.0-python2_7/build/temp.linux-x86_64-2.7/src/x11display.o /var/tmp/portage/dev-python/kaa-display-0.1.0-r1/work/kaa-display-0.1.0-python2_7/build/temp.linux-x86_64-2.7/src/x11window.o /var/tmp/portage/dev-python/kaa-display-0.1.0-r1/work/kaa-display-0.1.0-python2_7/build/temp.linux-x86_64-2.7/src/common.o -L/usr/lib64 -L/usr/lib64 -lrt -lXcomposite -lImlib2 -lpython2.7 -o /var/tmp/portage/dev-python/kaa-display-0.1.0-r1/work/kaa-display-0.1.0-python2_7/build/lib/kaa/display/_X11module.so >building 'kaa.display._FBmodule' extension >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -I/usr/include/python2.7 -c src/fb.c -o /var/tmp/portage/dev-python/kaa-display-0.1.0-r1/work/kaa-display-0.1.0-python2_7/build/temp.linux-x86_64-2.7/src/fb.o -Wall >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -I/usr/include/python2.7 -c src/common.c -o /var/tmp/portage/dev-python/kaa-display-0.1.0-r1/work/kaa-display-0.1.0-python2_7/build/temp.linux-x86_64-2.7/src/common.o -Wall >x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native /var/tmp/portage/dev-python/kaa-display-0.1.0-r1/work/kaa-display-0.1.0-python2_7/build/temp.linux-x86_64-2.7/src/fb.o /var/tmp/portage/dev-python/kaa-display-0.1.0-r1/work/kaa-display-0.1.0-python2_7/build/temp.linux-x86_64-2.7/src/common.o -L/usr/lib64 -L/usr/lib64 -lImlib2 -lpython2.7 -o /var/tmp/portage/dev-python/kaa-display-0.1.0-r1/work/kaa-display-0.1.0-python2_7/build/lib/kaa/display/_FBmodule.so >building 'kaa.display._SDLmodule' extension >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -I/usr/include/python2.7/pygame -I/usr/include/SDL -I_GNU_SOURCE=1 -I_REENTRANT -I/usr/include/python2.7 -c src/sdl.c -o /var/tmp/portage/dev-python/kaa-display-0.1.0-r1/work/kaa-display-0.1.0-python2_7/build/temp.linux-x86_64-2.7/src/sdl.o -Wall >src/sdl.c: In function âimage_to_surfaceâ: >src/sdl.c:48:5: error: unknown type name âPySurfaceObjectâ; did you mean âpgSurfaceObjectâ? > 48 | PySurfaceObject *pysurf; > | ^~~~~~~~~~~~~~~ > | pgSurfaceObject >src/sdl.c:61:28: error: âPySurface_Typeâ undeclared (first use in this function); did you mean âpgSurface_Typeâ? > 61 | &PySurface_Type, &pysurf)) > | ^~~~~~~~~~~~~~ > | pgSurface_Type >src/sdl.c:61:28: note: each undeclared identifier is reported only once for each function it appears in >src/sdl.c:67:18: error: request for member âsurfâ in something not a structure or union > 67 | memcpy(pysurf->surf->pixels, pixels, imlib_image_get_width() * > | ^~ >error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1 > * ERROR: dev-python/kaa-display-0.1.0-r1::gentoo failed (compile phase): > * (no error message) > * > * Call stack: > * ebuild.sh, line 125: Called src_compile > * environment, line 3560: Called distutils-r1_src_compile > * environment, line 941: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' > * environment, line 374: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' > * environment, line 3113: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' > * environment, line 2286: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' > * environment, line 2284: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' > * environment, line 659: Called distutils-r1_run_phase 'distutils-r1_python_compile' > * environment, line 932: Called distutils-r1_python_compile > * environment, line 802: Called esetup.py 'build' > * environment, line 1413: Called die > * The specific snippet of code: > * "${@}" || die "${die_args[@]}"; > * > * If you need support, post the output of `emerge --info '=dev-python/kaa-display-0.1.0-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/kaa-display-0.1.0-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-python:kaa-display-0.1.0-r1:20190809-043249.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/kaa-display-0.1.0-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/kaa-display-0.1.0-r1/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/kaa-display-0.1.0-r1/work/kaa-display-0.1.0-python2_7' > * S: '/var/tmp/portage/dev-python/kaa-display-0.1.0-r1/work/kaa-display-0.1.0'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 691838
:
586314
| 586316 |
586318
|
586320
|
586322
|
586324