Between versions could most likely be packaging, upstream or something in the
build env changing.
Most changes are in the upstream version, so let me try how
https://github.com/libsdl-org/SDL.git behaves.
This is only what is in
libsdl2-2.0-0:amd64 2.30.9+dfsg-1
Not the other sources that are creating:
libsdl2-image-2.0-0:amd64 2.8.2+dfsg-1build2
libsdl2-mixer-2.0-0:amd64 2.8.0+dfsg-1build3
Build steps after bdeps:
$ git checkout release-2.30.9
$ prefix=/usr/local/
$ autoreconf
$ ./configure --build=x86_64-linux-gnu --prefix=/usr
--includedir=${prefix}/include --mandir=${prefix}/share/man
--infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var
--disable-option-checking --disable-silent-rules
--libdir=${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-
maintainer-mode --disable-dependency-tracking --disable-alsa-shared
--disable-arts --disable-directx --disable-esd --disable-fusionsound
--disable-jack --disable-joystick-mfi --disable-kmsdrm-shared --disable-
libsamplerate-shared --disable-nas --disable-pulseaudio-shared
--disable-render-d3d --disable-rpath --disable-video-cocoa --disable-
video-directfb --disable-video-metal --disable-video-opengles1
--disable-video-rpi --disable-video-vivante --disable-wasapi --disable-
wayland-shared --disable-x11-shared --disable-xinput --enable-alsa
--enable-dbus --enable-fcitx --enable-hidapi --enable-hidapi-joystick
--enable-ibus --enable-libsamplerate --enable-pulseaudio --enable-
sdl2-config --enable-sndio "--enable-vendor-info=Ubuntu 2.30.6+dfsg-1"
--enable-video-kmsdrm --enable-video-opengl --enable-video-opengles
--enable-video-opengles2 --enable-video-x11 --enable-libdecor --enable-
libudev --enable-pipewire --enable-video-vulkan --enable-video-wayland
ac_cv_header_libunwind_h=no
$ make -j4 V=1
$ sudo make -j1 install AM_UPDATE_INFO_DIR=no
I have now from the package:
$ find /lib/x86_64-linux-gnu/ -name '*SDL2-2*'
/lib/x86_64-linux-gnu/libSDL2-2.0.so.0
/lib/x86_64-linux-gnu/libSDL2-2.0.so.0.3000.9
And from this build
$ find /usr/local -name '*SDL2-2*'
/usr/local/lib/x86_64-linux-gnu/libSDL2-2.0.so.0
/usr/local/lib/x86_64-linux-gnu/libSDL2-2.0.so.0.3000.9
$ export LD_LIBRARY_PATH=/usr/local/lib/x86_64-linux-gnu:/lib:/usr/lib
$ ldd /usr/games/wesnoth-1.18 | grep -i sdl
libSDL2_image-2.0.so.0 => /lib/x86_64-linux-gnu/libSDL2_image-2.0.so.0
(0x000075c13248e000)
libSDL2-2.0.so.0 => /usr/local/lib/x86_64-linux-gnu/libSDL2-2.0.so.0
(0x000075c132200000)
libSDL2_mixer-2.0.so.0 => /lib/x86_64-linux-gnu/libSDL2_mixer-2.0.so.0
(0x000075c1321d5000)
With that build from git, the test works :-/
I mean good that it works, but that means no bisecting as that is 2.30.9 just
as in plucky but working from git.
So it either are details to the build process or Debian/Ubuntu delta.
There isn't much delta (generic libdir for multiarch and no unifont).
So instead we might have to look at cflags and such if this could be the
culprint ....
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python3-defaults in
Ubuntu.
https://bugs.launchpad.net/bugs/2089779
Title:
Buffer overflow in autopkgtest of wesnoth
Status in boost1.83 package in Ubuntu:
New
Status in libsdl2 package in Ubuntu:
Incomplete
Status in python3-defaults package in Ubuntu:
New
Status in wesnoth package in Ubuntu:
Triaged
Status in wesnoth-1.18 package in Ubuntu:
New
Bug description:
https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-
plucky/plucky/amd64/w/wesnoth-1.18/20241127_064901_ac814@/log.gz
Repeats on reruns triggered by others.
Blocks multiple migrations, atm
- libsdl2
- python3-defaults
- boost1.83
Unblocking all of these is surely worth it :-)
I'll have a look tomorrow.
229s autopkgtest [06:48:46]: test command1: /usr/games/wesnoth-1.18 -m
--controller 1:ai --controller 2:ai --nogui
229s autopkgtest [06:48:46]: test command1: [-----------------------
229s Battle for Wesnoth v1.18.3 x86_64
229s Started on Wed Nov 27 06:48:46 2024
229s
229s Automatically found a possible data directory at:
/tmp/autopkgtest.kgIWzV/build.Cyz/src
229s
229s Data directory: /tmp/autopkgtest.kgIWzV/build.Cyz/src
229s User configuration directory: /home/USER/.config/wesnoth-1.18
229s User data directory: /home/USER/.config/wesnoth-1.18
229s Cache directory: /home/USER/.config/wesnoth-1.18/cache
229s
229s
229s error: XDG_RUNTIME_DIR is invalid or not set in the environment.
229s *** buffer overflow detected ***: terminated
230s Aborted (core dumped)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/boost1.83/+bug/2089779/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp