Bug#1001303: alure: FTBFS: -pthread: not found

Steve Langasek steve.langasek at ubuntu.com
Wed Dec 8 01:39:26 GMT 2021


Source: alure
Version: 1.2-8
Severity: serious
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu jammy

Dear maintainers,

alure currently fails to build from source in sid because something in its
build system produces a semicolon-separated list of build flags, which it
then tries to pass directly on the commandline:

[...]
/usr/bin/c++ -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -I/tmp/alure-1.2/include -I/tmp/alure-1.2/obj-x86_64-linux-gnu -I/usr/include/AL -g -O2 -ffile-prefix-map=/tmp/alure-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2   -Wextra -Wall -funswitch-loops -fvisibility=hidden -pthread  -DALURE_STATIC_LIBRARY -fPIC -D_REENTRANT;-pthread;-D_REENTRANT;-D_DEFAULT_SOURCE;-D_XOPEN_SOURCE=600;-I/usr/include/dbus-1.0;-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include;-I/usr/include/libinstpatch-2;-I/usr/include/glib-2.0;-I/usr/lib/x86_64-linux-gnu/glib-2.0/include;-I/usr/include/opus;-I/usr/include/SDL2 -MD -MT CMakeFiles/alure-static.dir/src/codec_fluidsynth.o -MF CMakeFiles/alure-static.dir/src/codec_fluidsynth.o.d -o CMakeFiles/alure-static.dir/src/codec_fluidsynth.o -c /tmp/alure-1.2/src/codec_fluidsynth.cpp
c++: fatal error: no input files
compilation terminated.
/bin/sh: 1: -pthread: not found
/bin/sh: 1: -D_REENTRANT: not found
/bin/sh: 1: -D_DEFAULT_SOURCE: not found
/bin/sh: 1: -D_XOPEN_SOURCE=600: not found
/bin/sh: 1: -I/usr/include/dbus-1.0: not found
[...]

I don't know what is causing this misbehavior of the build system; if I look
at obj-x86_64-linux-gnu/CMakeCache.txt I see other variables using similar
separators but these only seem to leak onto the commandline for the
fluidsynth cflags:

FLUIDSYNTH_CFLAGS:INTERNAL=-D_REENTRANT;-pthread;-D_REENTRANT;-D_DEFAULT_SOURCE;-D_XOPEN_SOURCE=600;-I/usr/include/dbus-1.0;-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include;-I/usr/include/libinstpatch-2;-I/usr/include/glib-2.0;-I/usr/lib/x86_64-linux-gnu/glib-2.0/include;-I/usr/include/opus;-I/usr/include/SDL2

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-games-devel/attachments/20211207/c64b9a50/attachment.sig>


More information about the Pkg-games-devel mailing list