LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   regression on -current with speech-dispatcher (https://www.linuxquestions.org/questions/slackware-14/regression-on-current-with-speech-dispatcher-4175693119/)

nobodino 04-04-2021 09:57 AM

regression on -current with speech-dispatcher
 
speech-dispatcher doesn't build anymore on -current,see errors below:
-------------------------
In file included from /usr/include/glib-2.0/glib/gatomic.h:31,
from /usr/include/glib-2.0/glib/gthread.h:32,
from /usr/include/glib-2.0/glib/gasyncqueue.h:32,
from /usr/include/glib-2.0/glib.h:32,
from module_utils.h:31,
from kali.cpp:37:
/usr/include/c++/10.2.0/type_traits:2930:3: error: template with C linkage
2930 | template<typename _Fn, typename... _Args>
| ^~~~~~~~
kali.cpp:28:1: note: 'extern "C"' linkage started here
28 | extern "C" {
| ^~~~~~~~~~
make[3]: *** [Makefile:1171: sd_kali-kali.o] Error 1
make[3]: Leaving directory '/tmp/speech-dispatcher-0.10.2/src/modules'
make[2]: *** [Makefile:452: all-recursive] Error 1
make[2]: Leaving directory '/tmp/speech-dispatcher-0.10.2/src'
make[1]: *** [Makefile:586: all-recursive] Error 1
make[1]: Leaving directory '/tmp/speech-dispatcher-0.10.2'
make: *** [Makefile:474: all] Error 2
-------------------------------
same culprit glib2-2.68.0, downgrading solves the problem.

ponce 04-05-2021 05:34 AM

https://github.com/brailcom/speechd/...a235e25a.patch

Didier Spaier 04-05-2021 07:18 AM

Quote:

Originally Posted by ponce (Post 6237362)

Maybe I'll suggest Samuel to tag 0.10.3, as there has been a lot of changes since 25 November 2020 in the tree. I will build from git master first, but usually there's no regression.

nobodino 04-05-2021 11:39 AM

that solves the speech-distacher build (modify SlackBuild)
---------------------------------
# patch to build with glib2-2.68.0
cat $CWD/a2faab416e42cbdf3d73f98578a89eb7a235e25a.patch | patch -Esp1 --verbose || exit 1
--------------------------------

nobodino 04-06-2021 10:40 PM

fixed in -current tree.


All times are GMT -5. The time now is 12:09 PM.