Source: kivy
Version: 2.2.1-2
Severity: minor
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: [email protected]
Usertags: qa-doublebuild

Hi,

This package fails to build a source package after a successful build
(dpkg-buildpackage ; dpkg-buildpackage -S).

This is probably a clear violation of Debian Policy section 4.9 (clean target),
but this is filed as severity:minor for now, because a discussion on
debian-devel showed that we might want to revisit the requirement of a working
'clean' target.

More information about this class of issues, included common problems and
solutions, is available at
https://wiki.debian.org/qa.debian.org/FTBFS/SourceAfterBuild

Relevant part of the build log:
> cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env 
> -us -uc -rfakeroot -S
> ---------------------------------------------------------------------------------------------------------------
> 
> dpkg-buildpackage: info: source package kivy
> dpkg-buildpackage: info: source version 2.2.1-2
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Jeroen Ploemen <[email protected]>
>  dpkg-source --before-build .
> dpkg-source: info: using options from kivy-2.2.1/debian/source/options: 
> --extend-diff-ignore=kivy/version.py
>  debian/rules clean
> dh clean --with python3,elpa --buildsystem=pybuild
>    dh_auto_clean -O--buildsystem=pybuild
> I: pybuild base:275: python3.11 setup.py clean 
> [INFO   ] [Logger      ] Record log in 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/.kivy/logs/kivy_23-08-12_3.txt
> [INFO   ] [Kivy        ] v2.2.1
> [INFO   ] [Kivy        ] Installed at "/<<PKGBUILDDIR>>/kivy/__init__.py"
> [INFO   ] [Python      ] v3.11.4 (main, Jun  7 2023, 10:13:09) [GCC 12.2.0]
> [INFO   ] [Python      ] Interpreter at "/usr/bin/python3.11"
> [INFO   ] [Logger      ] Purge log fired. Processing...
> [INFO   ] [Logger      ] Purge finished!
> [INFO   ] running clean
> [INFO   ] removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build' (and 
> everything under it)
> [WARNING] 'build/bdist.linux-x86_64' does not exist -- can't clean it
> [WARNING] 'build/scripts-3.11' does not exist -- can't clean it
> ###############################################
> WARNING: KIVY_DEPS_ROOT is not set, using system provided SDL
> which is not recommended as it may be incompatible with Kivy.
> Please build dependencies from source via the provided script
> and set KIVY_DEPS_ROOT to the root of the dependencies directory.
> ###############################################
> Current directory is: /<<PKGBUILDDIR>>
> Source and initial build directory is: /<<PKGBUILDDIR>>
> Python path is:
> /<<PKGBUILDDIR>>
> /usr/lib/python311.zip
> /usr/lib/python3.11
> /usr/lib/python3.11/lib-dynload
> /usr/local/lib/python3.11/dist-packages
> /usr/lib/python3/dist-packages
> /<<PKGBUILDDIR>>/kivy/modules
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/.kivy/mods
> 
> 
> Found Cython at /usr/lib/python3/dist-packages/Cython/__init__.py
> Detected supported Cython version 0.29.36
> 
> This version of Cython is untested with Kivy. While this version may
> work perfectly fine, it is possible that you may experience issues.
> Please downgrade to a supported version, or update cython_max in
> setup.cfg to your version of Cython. It is best to use the newest
> supported version, 0.29.33, but the minimum supported version is 0.24.
> 
> If your platform provides a Cython package, check if you can downgrade
> to a supported version. Otherwise, uninstall the platform package and
> install Cython via pip:
> 
>     pip install -I "cython>=0.24,<=0.29.33,!=0.27,!=0.27.2"
> 
> Please note that the following versions of Cython are not supported
> at all: 0.27, 0.27.2
> 
> Using this graphics system: OpenGL
> GStreamer found via pkg-config
> SDL2 found via pkg-config
> SDL2: found SDL header at /usr/include/SDL2/SDL.h
> SDL2: found SDL_mixer header at /usr/include/SDL2/SDL_mixer.h
> SDL2: found SDL_ttf header at /usr/include/SDL2/SDL_ttf.h
> SDL2: found SDL_image header at /usr/include/SDL2/SDL_image.h
> Pango: pangoft2 found via pkg-config
> {'libraries': ['pangoft2-1.0', 'pango-1.0', 'gobject-2.0', 'glib-2.0', 
> 'harfbuzz', 'fontconfig', 'freetype'], 'include_dirs': 
> ['/<<PKGBUILDDIR>>/kivy/include', '/usr/include/pango-1.0', 
> '/usr/include/glib-2.0', '/usr/lib/x86_64-linux-gnu/glib-2.0/include', 
> '/usr/include/harfbuzz', '/usr/include/freetype2', '/usr/include/libpng16', 
> '/usr/include/libmount', '/usr/include/blkid', '/usr/include/fribidi', 
> '/usr/include/cairo', '/usr/include/pixman-1'], 'library_dirs': [], 
> 'extra_link_args': [], 'extra_compile_args': [], 'depends': 
> ['lib/pango/pangoft2.pxi', 'lib/pango/pangoft2.h']}
>    dh_autoreconf_clean -O--buildsystem=pybuild
>    dh_clean -O--buildsystem=pybuild
>  dpkg-source -b .
> dpkg-source: info: using options from kivy-2.2.1/debian/source/options: 
> --extend-diff-ignore=kivy/version.py
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building kivy using existing ./kivy_2.2.1.orig.tar.gz
> dpkg-source: info: local changes detected, the modified files are:
>  kivy-2.2.1/Kivy.egg-info/PKG-INFO
>  kivy-2.2.1/Kivy.egg-info/SOURCES.txt
>  kivy-2.2.1/Kivy.egg-info/requires.txt
>  kivy-2.2.1/kivy/_clock.c
>  kivy-2.2.1/kivy/_event.c
>  kivy-2.2.1/kivy/_metrics.c
>  kivy-2.2.1/kivy/core/audio/audio_sdl2.c
>  kivy-2.2.1/kivy/core/clipboard/_clipboard_sdl2.c
>  kivy-2.2.1/kivy/core/image/_img_sdl2.c
>  kivy-2.2.1/kivy/core/text/_text_pango.c
>  kivy-2.2.1/kivy/core/text/_text_sdl2.c
>  kivy-2.2.1/kivy/core/text/text_layout.c
>  kivy-2.2.1/kivy/core/window/_window_sdl2.c
>  kivy-2.2.1/kivy/core/window/window_info.c
>  kivy-2.2.1/kivy/graphics/boxshadow.c
>  kivy-2.2.1/kivy/graphics/buffer.c
>  kivy-2.2.1/kivy/graphics/cgl.c
>  kivy-2.2.1/kivy/graphics/cgl.h
>  kivy-2.2.1/kivy/graphics/cgl_backend/cgl_debug.c
>  kivy-2.2.1/kivy/graphics/cgl_backend/cgl_gl.c
>  kivy-2.2.1/kivy/graphics/cgl_backend/cgl_glew.c
>  kivy-2.2.1/kivy/graphics/cgl_backend/cgl_mock.c
>  kivy-2.2.1/kivy/graphics/cgl_backend/cgl_sdl2.c
>  kivy-2.2.1/kivy/graphics/compiler.c
>  kivy-2.2.1/kivy/graphics/context.c
>  kivy-2.2.1/kivy/graphics/context_instructions.c
>  kivy-2.2.1/kivy/graphics/fbo.c
>  kivy-2.2.1/kivy/graphics/gl_instructions.c
>  kivy-2.2.1/kivy/graphics/instructions.c
>  kivy-2.2.1/kivy/graphics/opengl.c
>  kivy-2.2.1/kivy/graphics/opengl_utils.c
>  kivy-2.2.1/kivy/graphics/scissor_instructions.c
>  kivy-2.2.1/kivy/graphics/shader.c
>  kivy-2.2.1/kivy/graphics/stencil_instructions.c
>  kivy-2.2.1/kivy/graphics/svg.c
>  kivy-2.2.1/kivy/graphics/tesselator.c
>  kivy-2.2.1/kivy/graphics/texture.c
>  kivy-2.2.1/kivy/graphics/transformation.c
>  kivy-2.2.1/kivy/graphics/vbo.c
>  kivy-2.2.1/kivy/graphics/vertex.c
>  kivy-2.2.1/kivy/graphics/vertex_instructions.c
>  kivy-2.2.1/kivy/include/config.h
>  kivy-2.2.1/kivy/include/config.pxi
>  kivy-2.2.1/kivy/lib/gstplayer/_gstplayer.c
>  kivy-2.2.1/kivy/properties.c
>  kivy-2.2.1/kivy/setupconfig.py
>  kivy-2.2.1/kivy/tools/highlight/kivy-mode.el
>  kivy-2.2.1/kivy/weakproxy.c
> dpkg-source: error: aborting due to unexpected upstream changes, see 
> /tmp/kivy_2.2.1-2.diff.ZwS4nT
> dpkg-source: info: Hint: make sure the version in debian/changelog matches 
> the unpacked source tree
> dpkg-source: info: you can integrate the local changes with dpkg-source 
> --commit
> dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 2
> 
> E: Command 'cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage 
> --sanitize-env -us -uc -rfakeroot -S' failed to run.


The full build log is available from:
http://qa-logs.debian.net/2023/08/13/kivy_2.2.1-2_unstable.log

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to