Hi, Adrian Bunk wrote: > mssh-terminal.c: In function 'mssh_terminal_start_session': > mssh-terminal.c:70:5: error: 'vte_terminal_spawn_sync' is deprecated > [-Werror=deprecated-declarations] > vte_terminal_spawn_sync(VTE_TERMINAL(terminal), > ^~~~~~~~~~~~~~~~~~~~~~~ > compilation terminated due to -Wfatal-errors. > cc1: all warnings being treated as errors > Makefile:378: recipe for target 'mssh-terminal.o' failed > make[3]: *** [mssh-terminal.o] Error 1
According to https://developer.gnome.org/vte/0.50/VteTerminal.html#vte-terminal-spawn-sync vte_terminal_spawn_sync() has been replaced by vte_terminal_spawn_async() which seems to work differently, i.e. it need more than just a simple replacement. One way to postpone this issue for a while would be this patch: --- mssh-2.2/debian/patches/disable-pedantic-errors.patch 2016-09-01 00:02:49.000000000 +0200 +++ mssh-2.2/debian/patches/disable-pedantic-errors.patch 2017-10-02 14:33:52.000000000 +0200 @@ -1,12 +1,14 @@ -Description: Disable pedantic errors to fix FTBFS with GCC 6 +Description: Disable pedantic errors and don't make deprecation warnings fatal to fix FTBFS with GCC 6 or vte 0.50 Author: Axel Beckert <a...@debian.org> Bug-Debian: https://bugs.debian.org/811684 +Bug-Debian: https://bugs.debian.org/876685 +Last-Update: 2017-10-02 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,4 +1,4 @@ -AM_CFLAGS = -pedantic-errors -Werror -Wall -Wfatal-errors -Wwrite-strings -+AM_CFLAGS = -Werror -Wall -Wfatal-errors -Wwrite-strings ++AM_CFLAGS = -Wall -Wfatal-errors -Wwrite-strings AM_CPPFLAGS = $(MSSH_CFLAGS) (JFTR: Removing just -Wfatal-errors did not suffice.) But if that patch is applied on a short term base, I'd not close this bug report but just downgrade it to "important", until vte_terminal_spawn_sync() is not only deprecated but also removed. Then, the severity needs to be bumped to RC again. Deliberately not setting the patch tag on this bug report as this patch is just to buy some more time to develop a real fix. Regards, Axel -- ,''`. | Axel Beckert <a...@debian.org>, https://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 `- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE