Control: tags -1 confirmed pending

* Adrian Bunk <> [2017-08-12 15:07]:

Source: praat
Version: 6.0.30-1
Severity: serious
Tags: patch

... g++ -std=c++11 -DNO_GUI -DNO_NETWORK -D_FILE_OFFSET_BITS=64 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -DUNIX -Dlinux -Werror=missing-prototypes -Werror=implicit -Wreturn-type -Wunused -Wunused-parameter -Wuninitialized -O3 -g1 -pthread -Wshadow -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/sys=. -fstack-protector-strong -Wformat -Werror=format-security -I ../sys -I ../num -I ../dwsys -I ../kar -I ../external/portaudio -I ../external/flac -I ../external/mp3 -c -o melder_audio.o melder_audio.cpp In file included from /usr/include/glib-2.0/glib/galloca.h:32:0, from /usr/include/glib-2.0/glib.h:30, from /usr/include/pango-1.0/pango/pango-coverage.h:25, from /usr/include/pango-1.0/pango/pango-font.h:25, from /usr/include/pango-1.0/pango/pango-attributes.h:25, from /usr/include/pango-1.0/pango/pango.h:25, from Gui.h:62, from melder_audio.cpp:46: /usr/include/glib-2.0/glib/gtypes.h:32:10: fatal error: glibconfig.h: No such file or directory #include <glibconfig.h> ^~~~~~~~~~~~~~ compilation terminated. <builtin>: recipe for target 'melder_audio.o' failed make[3]: *** [melder_audio.o] Error 1

Fix is attached.

Thanks for the heads up and for the patch. I have already noticed the problem earlier today and uploaded a fixed version 6.0.30-2 to unstable. Unfortunately, I patched the package in a slightly worse way than what you propose, by giving "gtk+-2.0" instead of "pangocairo" as argument to pkg-config. My patch seems to work, though. Anyway, I will release a new version of the package that integrates your more elegant patch.


Reply via email to