packages fail to build with libsdl1.2 on kbsd/hurd

Christian T. Steigies cts at debian.org
Fri Sep 14 18:58:30 BST 2018


Hi,
some of my packages fail to build on kbsd or hurd only, I hope you can give
me some advise.

https://buildd.debian.org/status/package.php?p=vectoroids
https://buildd.debian.org/status/package.php?p=madbomber

Failing reason for madbomber on hurd-i386:
> /usr/bin/ld: //usr/lib/i386-gnu/libSDL2-2.0.so.0: undefined reference to `sio_setpar'

I don't know why it is trying to use libSDL2, I thought the package is for
SDL1.2 only, but I noticed sdl2 in the amd64 buildlog as well, but the build
there does not fail. Why is SDL2 pulled in? Do I need to patch the source or use
the SDL2-dev package (on hurd) or is there another problem?


https://buildd.debian.org/status/package.php?p=luola
https://buildd.debian.org/status/fetch.php?pkg=luola&arch=kfreebsd-amd64&ver=1.3.2-11&stamp=1536878770&raw=0

Tail of log for luola on kfreebsd-amd64:
#define HAVE_STRCASECMP 1
#define HAVE_STRCHR 1
#define HAVE_STRDUP 1
#define HAVE_STRRCHR 1
#define HAVE_LIBSDL_MIXER 1
#define HAVE_LIBSDL_TTF 1
#define HAVE_LIBSDL_GFX 1

configure: exit 1
dh_auto_configure: ./configure --build=x86_64-kfreebsd-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/x86_64-kfreebsd-gnu --libexecdir=\${prefix}/lib/x86_64-kfreebsd-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --datadir=/usr/share/games --bindir=/usr/games --enable-sound --enable-sdl-gfx returned exit code 1

from the build log: checking for SDL - version >= 1.1.5... no

but according to the build log, it installs:  libsdl1.2debian kfreebsd-amd64 1.2.15+dfsg2-1
which should fulfill >= 1.1.5

thanks,
Christian



More information about the Pkg-sdl-maintainers mailing list