Source: alure
Version: 1.2-8
Severity: serious
User: ubuntu-de...@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/
slanga...@ubuntu.com                                     vor...@debian.org

Attachment: signature.asc
Description: PGP signature

Reply via email to