A 0.7.0-1 release was made last week to address this issue more systematically.
On Jan 23, 2018 11:08 AM, "Gwyn Ciesla" <limburg...@gmail.com> wrote: > > On 01/23/2018 12:13 PM, Juhani Numminen wrote: > > On Fri, 12 Jan 2018 17:56:13 +0100 Andreas Beckmann <a...@debian.org> > wrote: > >> Source: uqm > >> Version: 0.6.2.dfsg-9.4 > >> Severity: serious > >> > >> Hi, > >> > >> uqm recently started to FTBFS in sid and buster: > >> > >> gcc -c -o "obj/release/src/sc2code/comm/arilou/arilouc.c.o" -g -O2 > -fdebug-prefix-map=/build/uqm-0.6.2.dfsg=. > -specs=/usr/share/dpkg/no-pie-compile.specs > -fstack-protector-strong -Wformat -Werror=format-security > >> -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL > -D_GNU_SOURCE=1 -D_REENTRANT -O3 -DGFXMODULE_SDL -DHAVE_OPENGL > -DSOUNDMODULE_SDL -DNETPLAY=NETPLAY_FULL -DHAVE_JOYSTICK -DHAVE_ZIP=1 > -DUSE_PLA > >> TFORM_ACCEL -I "." -g -Wdate-time -D_FORTIFY_SOURCE=2 -I src -I > src/sc2code -I src/sc2code/libs "src/sc2code/comm/arilou/arilouc.c" > >> In file included from src/sc2code/comm/commall.h:22:0, > >> from src/sc2code/comm/arilou/arilouc.c:19: > >> src/sc2code/comm/arilou/arilouc.c: In function 'ExitConversation': > >> src/sc2code/comm/arilou/arilouc.c:231:22: error: 'bye_angry_space' > undeclared (first use in this function) > >> if (PLAYER_SAID (R, bye_angry_space)) > >> [...] > > The declaration for bye_angry_space is in the adjacent > uqm/comm/arilou/strings.h[1]. > > However, I think some other strings.h gets included instead. That's > possibly because > > some system header started including strings.h recently. My suggestion > (based on a > > similar issue[2]) is to rename the local header to some other name. > > > > [1] https://sourceforge.net/p/sc2/uqm/ci/master/tree/sc2/src/ > uqm/comm/arilou/strings.h#l119 > > [2] https://github.com/markfasheh/ocfs2-tools/issues/17 > > > > This bug is in various bug trackers: > > * Upstream: https://bugs.uqm.stack.nl/show_bug.cgi?id=1212 > > * Debian: https://bugs.debian.org/887028 > > * Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1525239 > > > > > > Regards, > > Juhani > This works: the following bash allows uqm to build and run. > > #rename internal strings.h file to fix FTBFS. > cd src/uqm/comm/ > for d in */ ; do > cd $d > mv strings.h ustrings.h > cd .. > done > find . -type f -name '*.c' | xargs sed -i s/strings.h/ustrings.h/g > find . -type f -name '*.h' | xargs sed -i s/STRINGS/USTRINGS/g > > -G > > -- > http://cecinestpasunefromage.wordpress.com/ > ------------------------------------------------ > in your fear, seek only peace > in your fear, seek only love > > -d. bowie > > >