Trouble building filezilla-3.47.2.1 (-current)
by kgha from LinuxQuestions.org on (#50KGM)
Although I had no problems building version 3.47.1 with the official SBo script a few weeks ago, trying to build the latest version fails with
Code:mv -f .deps/filezilla-chmoddialog.Tpo .deps/filezilla-chmoddialog.Po
g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../../src/include -I./../include -I/usr/include/p11-kit-1 -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fpch-preprocess -g -O2 -Wall -MT filezilla-clearprivatedata.o -MD -MP -MF .deps/filezilla-clearprivatedata.Tpo -c -o filezilla-clearprivatedata.o `test -f 'clearprivatedata.cpp' || echo './'`clearprivatedata.cpp
In file included from clearprivatedata.cpp:6:
Mainfrm.h:80:24: error: 'std::list' has not been declared
80 | void FocusNextEnabled(std::list<wxWindow*>& windowOrder, std::list<wxWindow*>::iterator iter, bool skipFirst, bool forward);
| ^~~
Mainfrm.h:80:33: error: expected ',' or '...' before '<' token
80 | void FocusNextEnabled(std::list<wxWindow*>& windowOrder, std::list<wxWindow*>::iterator iter, bool skipFirst, bool forward);
| ^
make[4]: *** [Makefile:1407: filezilla-clearprivatedata.o] Error 1
make[4]: Leaving directory '/tmp/SBo/filezilla-3.47.2.1/src/interface'
make[3]: *** [Makefile:3123: all-recursive] Error 1
make[3]: Leaving directory '/tmp/SBo/filezilla-3.47.2.1/src/interface'
make[2]: *** [Makefile:970: all] Error 2
make[2]: Leaving directory '/tmp/SBo/filezilla-3.47.2.1/src/interface'
make[1]: *** [Makefile:436: all-recursive] Error 1
make[1]: Leaving directory '/tmp/SBo/filezilla-3.47.2.1/src'
make: *** [Makefile:617: all-recursive] Error 1
bash-5.0#3.47.2.1 requires the latest libfilezilla-0.20.2 which built flawlessly.
There might of course be something amiss with the filezilla source file. Googling doesn't show any bug reports, though.
Grateful for suggestions how to solve this


Code:mv -f .deps/filezilla-chmoddialog.Tpo .deps/filezilla-chmoddialog.Po
g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../../src/include -I./../include -I/usr/include/p11-kit-1 -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fpch-preprocess -g -O2 -Wall -MT filezilla-clearprivatedata.o -MD -MP -MF .deps/filezilla-clearprivatedata.Tpo -c -o filezilla-clearprivatedata.o `test -f 'clearprivatedata.cpp' || echo './'`clearprivatedata.cpp
In file included from clearprivatedata.cpp:6:
Mainfrm.h:80:24: error: 'std::list' has not been declared
80 | void FocusNextEnabled(std::list<wxWindow*>& windowOrder, std::list<wxWindow*>::iterator iter, bool skipFirst, bool forward);
| ^~~
Mainfrm.h:80:33: error: expected ',' or '...' before '<' token
80 | void FocusNextEnabled(std::list<wxWindow*>& windowOrder, std::list<wxWindow*>::iterator iter, bool skipFirst, bool forward);
| ^
make[4]: *** [Makefile:1407: filezilla-clearprivatedata.o] Error 1
make[4]: Leaving directory '/tmp/SBo/filezilla-3.47.2.1/src/interface'
make[3]: *** [Makefile:3123: all-recursive] Error 1
make[3]: Leaving directory '/tmp/SBo/filezilla-3.47.2.1/src/interface'
make[2]: *** [Makefile:970: all] Error 2
make[2]: Leaving directory '/tmp/SBo/filezilla-3.47.2.1/src/interface'
make[1]: *** [Makefile:436: all-recursive] Error 1
make[1]: Leaving directory '/tmp/SBo/filezilla-3.47.2.1/src'
make: *** [Makefile:617: all-recursive] Error 1
bash-5.0#3.47.2.1 requires the latest libfilezilla-0.20.2 which built flawlessly.
There might of course be something amiss with the filezilla source file. Googling doesn't show any bug reports, though.
Grateful for suggestions how to solve this