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

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Sat Oct 20 18:04:13 BST 2018


Hi,

Em sex, 14 de set de 2018 às 19:58, Christian T. Steigies
<cts at debian.org> escreveu:
>
> 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?

libsdl2 might be pulled in by some dependency.  However, vectoroids
only depends on libsdl*1.2, and at least today, libsdl2-dev doesn't
get pulled in transitively, so I am not sure of what happens there.
Maybe it was some temporary mistake in the dependency of some package?

vlc depends on libsdl*1.2 and got built several times in the last few months:
  https://buildd.debian.org/status/logs.php?pkg=vlc&arch=hurd-i386

and flare-engine depends on libsdl2* and also got built successfully
around the same time:
  https://buildd.debian.org/status/logs.php?pkg=flare-engine&arch=hurd-i386

>
>
> 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

It's the same problem actually, look at the line in the middle:

configure:5433: result: no
configure:5466: gcc -o conftest -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-Wformat -Werror=format-security -I/usr/include/SDL -D_GNU_SOURCE=1
-D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now
-lm conftest.c -lSDL_gfx -lSDL_ttf -lSDL_mixer -lSDL_image
-L/usr/lib/x86_64-kfreebsd-gnu -lSDL >&5
/usr/bin/ld: warning: libsndio.so, needed by
//usr/lib/x86_64-kfreebsd-gnu/libSDL2-2.0.so.0, not found (try using
-rpath or -rpath-link)
configure:5466: $? = 0
configure:5490: error: *** SDL >= 1.1.5 not installed - please install first ***
tainers

-- 
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>



More information about the Pkg-sdl-maintainers mailing list