Bug#980658: pygame-sdl2: FTBFS: dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 2

Simon McVittie smcv at debian.org
Wed Jan 20 23:05:22 GMT 2021


On Wed, 20 Jan 2021 at 22:01:14 +0100, Lucas Nussbaum wrote:
> >  dpkg-source -b .

Are you deliberately rebuilding the source package? That seems unusual
for testing whether packages FTBFS...

> > dpkg-source: info: local changes detected, the modified files are:
> >  pygame-sdl2-7.4.0/gen3/color_dict.html
> >  pygame-sdl2-7.4.0/gen3/controller.html
> >  pygame-sdl2-7.4.0/gen3/event_list.html
> >  pygame-sdl2-7.4.0/gen3/event_names.html
> >  pygame-sdl2-7.4.0/gen3/glattr.html
> >  pygame-sdl2-7.4.0/gen3/keycode_list.html
> >  pygame-sdl2-7.4.0/gen3/pygame_sdl2.color.c
> >  pygame-sdl2-7.4.0/gen3/pygame_sdl2.color.html

(etc.)

This seems to be because pygame-sdl2 rebuilds parts of itself during
`debian/rules clean`, possibly triggered by being built with a newer
version of SDL. That seems strange, and at least arguably a bug in its
own right?

Deleting these files in debian/clean would probably resolve this.

    smcv



More information about the Pkg-games-devel mailing list