compilation terminated due to -Wfatal-errors

Get help for specific problems
Posts: 11
Joined: 15 Jul 2016

2635599

I'm running manjaro and attempting to install FreeFileSync from the AUR and get the below

compilation terminated due to -Wfatal-errors

~~~
░▒▓ ~  yay -S freefilesync                                                                        ✔ ▓▒░
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1]  freefilesync-11.4-1

  1 freefilesync                             (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> A
:: Deleting (1/1): ~/.cache/yay/freefilesync
:: (1/1) Downloaded PKGBUILD: freefilesync
:: (1/1) Parsing SRCINFO: freefilesync
==> Making package: freefilesync 11.4-1 (Sat 03 Sep 2022 01:25:53 PM PDT)
==> Retrieving sources...
  -> Downloading FreeFileSync_11.4_Source.zip...
Authenticating for download ...
Downloading ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 2430k  100 2430k    0     0  1656k      0  0:00:01  0:00:01 --:--:-- 7836k
Checking ...
  -> Found reversions_11-1.patch
  -> Found theme_fixes.patch
  -> Found revert_xdg_config_path.patch
  -> Found revert_bulk_append.patch
  -> Found revert_linkflags.patch
  -> Found FreeFileSync.desktop
  -> Found RealTimeSync.desktop
  -> Found dlagent
==> Validating source files with sha256sums...
    FreeFileSync_11.4_Source.zip ... Passed
    reversions_11-1.patch ... Passed
    theme_fixes.patch ... Passed
    revert_xdg_config_path.patch ... Passed
    revert_bulk_append.patch ... Passed
    revert_linkflags.patch ... Passed
    FreeFileSync.desktop ... Passed
    RealTimeSync.desktop ... Passed
    dlagent ... Passed
==> Making package: freefilesync 11.4-1 (Sat 03 Sep 2022 01:25:56 PM PDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found FreeFileSync_11.4_Source.zip
  -> Found reversions_11-1.patch
  -> Found theme_fixes.patch
  -> Found revert_xdg_config_path.patch
  -> Found revert_bulk_append.patch
  -> Found revert_linkflags.patch
  -> Found FreeFileSync.desktop
  -> Found RealTimeSync.desktop
  -> Found dlagent
==> Validating source files with sha256sums...
    FreeFileSync_11.4_Source.zip ... Passed
    reversions_11-1.patch ... Passed
    theme_fixes.patch ... Passed
    revert_xdg_config_path.patch ... Passed
    revert_bulk_append.patch ... Passed
    revert_linkflags.patch ... Passed
    FreeFileSync.desktop ... Passed
    RealTimeSync.desktop ... Passed
    dlagent ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting FreeFileSync_11.4_Source.zip with bsdtar
==> Starting prepare()...
patching file FreeFileSync/Source/ffs_paths.cpp
Hunk #1 succeeded at 78 (offset -2 lines).
patching file FreeFileSync/Source/ui/command_box.cpp
Hunk #1 succeeded at 119 (offset -1 lines).
patching file FreeFileSync/Source/ui/folder_history_box.cpp
patching file FreeFileSync/Source/ui/small_dlgs.cpp
Hunk #1 succeeded at 300 (offset 7 lines).
patching file wx+/choice_enum.h
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 79 with fuzz 1.
patching file FreeFileSync/Source/ui/gui_status_handler.cpp
patching file FreeFileSync/Source/ui/gui_status_handler.h
patching file wx+/grid.cpp
patching file FreeFileSync/Source/ui/file_grid.cpp
patching file FreeFileSync/Source/ui/triple_splitter.cpp
patching file FreeFileSync/Source/Makefile
Hunk #1 succeeded at 4 with fuzz 1.
patching file FreeFileSync/Source/RealTimeSync/Makefile
Hunk #1 succeeded at 4 with fuzz 1.
==> Sources are ready.
==> Making package: freefilesync 11.4-1 (Sat 03 Sep 2022 01:25:58 PM PDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
compiler g++ 12.2.0 x86_64-pc-linux-gnu
mkdir -p /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/
mkdir -p /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/
mkdir -p /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/
mkdir -p /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/
mkdir -p /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/
mkdir -p /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/
mkdir -p /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/
mkdir -p /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/
mkdir -p /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/
mkdir -p /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/base/
mkdir -p /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/base/
mkdir -p /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/base/
g++ -std=c++2a -pipe -DWXINTL_NO_GETTEXT_MACRO -I../.. -I../../zenXml -include "zen/i18n.h" -include "zen/warn_static.h" -Wall -Wfatal-errors -Wmissing-include-dirs -Wswitch-enum -Wcast-align -Wnon-virtual-dtor -Wno-unused-function -Wshadow -Wno-maybe-uninitialized -O3 -DNDEBUG `wx-config --cxxflags --debug=no` -pthread `pkg-config --cflags openssl` `pkg-config --cflags libcurl` `pkg-config --cflags libssh2` `pkg-config --cflags gtk+-2.0` -isystem/usr/include/gtk-2.0 -c application.cpp -o /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/application.cpp.o
g++ -std=c++2a -pipe -DWXINTL_NO_GETTEXT_MACRO -I../.. -I../../zenXml -include "zen/i18n.h" -include "zen/warn_static.h" -Wall -Wfatal-errors -Wmissing-include-dirs -Wswitch-enum -Wcast-align -Wnon-virtual-dtor -Wno-unused-function -Wshadow -Wno-maybe-uninitialized -O3 -DNDEBUG `wx-config --cxxflags --debug=no` -pthread `pkg-config --cflags openssl` `pkg-config --cflags libcurl` `pkg-config --cflags libssh2` `pkg-config --cflags gtk+-2.0` -isystem/usr/include/gtk-2.0 -c base_tools.cpp -o /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/base_tools.cpp.o
g++ -std=c++2a -pipe -DWXINTL_NO_GETTEXT_MACRO -I../.. -I../../zenXml -include "zen/i18n.h" -include "zen/warn_static.h" -Wall -Wfatal-errors -Wmissing-include-dirs -Wswitch-enum -Wcast-align -Wnon-virtual-dtor -Wno-unused-function -Wshadow -Wno-maybe-uninitialized -O3 -DNDEBUG `wx-config --cxxflags --debug=no` -pthread `pkg-config --cflags openssl` `pkg-config --cflags libcurl` `pkg-config --cflags libssh2` `pkg-config --cflags gtk+-2.0` -isystem/usr/include/gtk-2.0 -c config.cpp -o /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/config.cpp.o
g++ -std=c++2a -pipe -DWXINTL_NO_GETTEXT_MACRO -I../.. -I../../zenXml -include "zen/i18n.h" -include "zen/warn_static.h" -Wall -Wfatal-errors -Wmissing-include-dirs -Wswitch-enum -Wcast-align -Wnon-virtual-dtor -Wno-unused-function -Wshadow -Wno-maybe-uninitialized -O3 -DNDEBUG `wx-config --cxxflags --debug=no` -pthread `pkg-config --cflags openssl` `pkg-config --cflags libcurl` `pkg-config --cflags libssh2` `pkg-config --cflags gtk+-2.0` -isystem/usr/include/gtk-2.0 -c ffs_paths.cpp -o /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/ffs_paths.cpp.o
g++ -std=c++2a -pipe -DWXINTL_NO_GETTEXT_MACRO -I../.. -I../../zenXml -include "zen/i18n.h" -include "zen/warn_static.h" -Wall -Wfatal-errors -Wmissing-include-dirs -Wswitch-enum -Wcast-align -Wnon-virtual-dtor -Wno-unused-function -Wshadow -Wno-maybe-uninitialized -O3 -DNDEBUG `wx-config --cxxflags --debug=no` -pthread `pkg-config --cflags openssl` `pkg-config --cflags libcurl` `pkg-config --cflags libssh2` `pkg-config --cflags gtk+-2.0` -isystem/usr/include/gtk-2.0 -c icon_buffer.cpp -o /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/icon_buffer.cpp.o
g++ -std=c++2a -pipe -DWXINTL_NO_GETTEXT_MACRO -I../.. -I../../zenXml -include "zen/i18n.h" -include "zen/warn_static.h" -Wall -Wfatal-errors -Wmissing-include-dirs -Wswitch-enum -Wcast-align -Wnon-virtual-dtor -Wno-unused-function -Wshadow -Wno-maybe-uninitialized -O3 -DNDEBUG `wx-config --cxxflags --debug=no` -pthread `pkg-config --cflags openssl` `pkg-config --cflags libcurl` `pkg-config --cflags libssh2` `pkg-config --cflags gtk+-2.0` -isystem/usr/include/gtk-2.0 -c localization.cpp -o /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/localization.cpp.o
g++ -std=c++2a -pipe -DWXINTL_NO_GETTEXT_MACRO -I../.. -I../../zenXml -include "zen/i18n.h" -include "zen/warn_static.h" -Wall -Wfatal-errors -Wmissing-include-dirs -Wswitch-enum -Wcast-align -Wnon-virtual-dtor -Wno-unused-function -Wshadow -Wno-maybe-uninitialized -O3 -DNDEBUG `wx-config --cxxflags --debug=no` -pthread `pkg-config --cflags openssl` `pkg-config --cflags libcurl` `pkg-config --cflags libssh2` `pkg-config --cflags gtk+-2.0` -isystem/usr/include/gtk-2.0 -c log_file.cpp -o /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/log_file.cpp.o
g++ -std=c++2a -pipe -DWXINTL_NO_GETTEXT_MACRO -I../.. -I../../zenXml -include "zen/i18n.h" -include "zen/warn_static.h" -Wall -Wfatal-errors -Wmissing-include-dirs -Wswitch-enum -Wcast-align -Wnon-virtual-dtor -Wno-unused-function -Wshadow -Wno-maybe-uninitialized -O3 -DNDEBUG `wx-config --cxxflags --debug=no` -pthread `pkg-config --cflags openssl` `pkg-config --cflags libcurl` `pkg-config --cflags libssh2` `pkg-config --cflags gtk+-2.0` -isystem/usr/include/gtk-2.0 -c perf_check.cpp -o /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/perf_check.cpp.o
g++ -std=c++2a -pipe -DWXINTL_NO_GETTEXT_MACRO -I../.. -I../../zenXml -include "zen/i18n.h" -include "zen/warn_static.h" -Wall -Wfatal-errors -Wmissing-include-dirs -Wswitch-enum -Wcast-align -Wnon-virtual-dtor -Wno-unused-function -Wshadow -Wno-maybe-uninitialized -O3 -DNDEBUG `wx-config --cxxflags --debug=no` -pthread `pkg-config --cflags openssl` `pkg-config --cflags libcurl` `pkg-config --cflags libssh2` `pkg-config --cflags gtk+-2.0` -isystem/usr/include/gtk-2.0 -c status_handler.cpp -o /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/status_handler.cpp.o
g++ -std=c++2a -pipe -DWXINTL_NO_GETTEXT_MACRO -I../.. -I../../zenXml -include "zen/i18n.h" -include "zen/warn_static.h" -Wall -Wfatal-errors -Wmissing-include-dirs -Wswitch-enum -Wcast-align -Wnon-virtual-dtor -Wno-unused-function -Wshadow -Wno-maybe-uninitialized -O3 -DNDEBUG `wx-config --cxxflags --debug=no` -pthread `pkg-config --cflags openssl` `pkg-config --cflags libcurl` `pkg-config --cflags libssh2` `pkg-config --cflags gtk+-2.0` -isystem/usr/include/gtk-2.0 -c base/algorithm.cpp -o /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/base/algorithm.cpp.o
g++ -std=c++2a -pipe -DWXINTL_NO_GETTEXT_MACRO -I../.. -I../../zenXml -include "zen/i18n.h" -include "zen/warn_static.h" -Wall -Wfatal-errors -Wmissing-include-dirs -Wswitch-enum -Wcast-align -Wnon-virtual-dtor -Wno-unused-function -Wshadow -Wno-maybe-uninitialized -O3 -DNDEBUG `wx-config --cxxflags --debug=no` -pthread `pkg-config --cflags openssl` `pkg-config --cflags libcurl` `pkg-config --cflags libssh2` `pkg-config --cflags gtk+-2.0` -isystem/usr/include/gtk-2.0 -c base/comparison.cpp -o /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/base/comparison.cpp.o
g++ -std=c++2a -pipe -DWXINTL_NO_GETTEXT_MACRO -I../.. -I../../zenXml -include "zen/i18n.h" -include "zen/warn_static.h" -Wall -Wfatal-errors -Wmissing-include-dirs -Wswitch-enum -Wcast-align -Wnon-virtual-dtor -Wno-unused-function -Wshadow -Wno-maybe-uninitialized -O3 -DNDEBUG `wx-config --cxxflags --debug=no` -pthread `pkg-config --cflags openssl` `pkg-config --cflags libcurl` `pkg-config --cflags libssh2` `pkg-config --cflags gtk+-2.0` -isystem/usr/include/gtk-2.0 -c base/binary.cpp -o /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/base/binary.cpp.o
In file included from ../../zen/i18n.h:12,
                 from <command-line>:
../../zen/globals.h:215:10: error: #error implement + rewiew improvements
  215 |         #error implement + rewiew improvements
      |          ^~~~~
In file included from ../../zen/i18n.h:12,
                 from <command-line>:
../../zen/globals.h:215:10: error: #error implement + rewiew improvements
  215 |         #error implement + rewiew improvements
      |          ^~~~~
In file included from ../../zen/i18n.h:12,
                 from <command-line>:
../../zen/globals.h:215:10: error: #error implement + rewiew improvements
  215 |         #error implement + rewiew improvements
      |          ^~~~~
compilation terminated due to -Wfatal-errors.
compilation terminated due to -Wfatal-errors.
compilation terminated due to -Wfatal-errors.
In file included from ../../zen/i18n.h:12,
                 from <command-line>:
../../zen/globals.h:215:10: error: #error implement + rewiew improvements
  215 |         #error implement + rewiew improvements
      |          ^~~~~
compilation terminated due to -Wfatal-errors.
In file included from ../../zen/i18n.h:12,
                 from <command-line>:
../../zen/globals.h:215:10: error: #error implement + rewiew improvements
  215 |         #error implement + rewiew improvements
      |          ^~~~~
compilation terminated due to -Wfatal-errors.
In file included from ../../zen/i18n.h:12,
                 from <command-line>:
../../zen/globals.h:215:10: error: #error implement + rewiew improvements
  215 |         #error implement + rewiew improvements
      |          ^~~~~
compilation terminated due to -Wfatal-errors.
In file included from ../../zen/i18n.h:12,
                 from <command-line>:
../../zen/globals.h:215:10: error: #error implement + rewiew improvements
  215 |         #error implement + rewiew improvements
      |          ^~~~~
compilation terminated due to -Wfatal-errors.
In file included from ../../zen/i18n.h:12,
                 from <command-line>:
../../zen/globals.h:215:10: error: #error implement + rewiew improvements
  215 |         #error implement + rewiew improvements
      |          ^~~~~
compilation terminated due to -Wfatal-errors.
In file included from ../../zen/i18n.h:12,
                 from <command-line>:
../../zen/globals.h:215:10: error: #error implement + rewiew improvements
  215 |         #error implement + rewiew improvements
      |          ^~~~~
compilation terminated due to -Wfatal-errors.
In file included from ../../zen/i18n.h:12,
                 from <command-line>:
../../zen/globals.h:215:10: error: #error implement + rewiew improvements
  215 |         #error implement + rewiew improvements
      |          ^~~~~
make: *** [Makefile:123: /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/perf_check.cpp.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Makefile:123: /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/icon_buffer.cpp.o] Error 1
compilation terminated due to -Wfatal-errors.
make: *** [Makefile:123: /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/application.cpp.o] Error 1
make: *** [Makefile:123: /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/ffs_paths.cpp.o] Error 1
In file included from ../../zen/i18n.h:12,
                 from <command-line>:
../../zen/globals.h:215:10: error: #error implement + rewiew improvements
  215 |         #error implement + rewiew improvements
      |          ^~~~~
compilation terminated due to -Wfatal-errors.
make: *** [Makefile:123: /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/localization.cpp.o] Error 1
make: *** [Makefile:123: /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/base/comparison.cpp.o] Error 1
make: *** [Makefile:123: /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/log_file.cpp.o] Error 1
make: *** [Makefile:123: /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/base_tools.cpp.o] Error 1
make: *** [Makefile:123: /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/config.cpp.o] Error 1
make: *** [Makefile:123: /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/base/algorithm.cpp.o] Error 1
make: *** [Makefile:123: /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/base/binary.cpp.o] Error 1
In file included from ../../zen/i18n.h:12,
                 from <command-line>:
../../zen/globals.h:215:10: error: #error implement + rewiew improvements
  215 |         #error implement + rewiew improvements
      |          ^~~~~
compilation terminated due to -Wfatal-errors.
make: *** [Makefile:123: /home/locutus/~/.cache/yay/freefilesync/src/FreeFileSync/tmp_ffs/ffs/src/status_handler.cpp.o] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: freefilesync
░▒▓ ~                      
~~~