Info: creating stash file /build/ukui-control-center/src/ukui-control-center-3.0.4/.qmake.stash process shell/res/i18n/bo_CN.ts Updating 'shell/res/i18n/bo_CN.qm'... Generated 0 translation(s) (0 finished and 0 unfinished) Ignored 950 untranslated source text(s) process shell/res/i18n/bo.ts Updating 'shell/res/i18n/bo.qm'... Generated 0 translation(s) (0 finished and 0 unfinished) Ignored 1256 untranslated source text(s) process shell/res/i18n/en_US.ts Updating 'shell/res/i18n/en_US.qm'... Generated 0 translation(s) (0 finished and 0 unfinished) Ignored 1256 untranslated source text(s) process shell/res/i18n/fa.ts Updating 'shell/res/i18n/fa.qm'... Generated 12 translation(s) (12 finished and 0 unfinished) Ignored 938 untranslated source text(s) process shell/res/i18n/tr.ts Updating 'shell/res/i18n/tr.qm'... Generated 671 translation(s) (516 finished and 155 unfinished) Ignored 585 untranslated source text(s) process shell/res/i18n/zh_CN.ts Updating 'shell/res/i18n/zh_CN.qm'... Generated 1194 translation(s) (1189 finished and 5 unfinished) Ignored 68 untranslated source text(s) cd changeOtherUserPwd/ && ( test -e Makefile || /usr/bin/qmake-qt5 -o Makefile /build/ukui-control-center/src/ukui-control-center-3.0.4/changeOtherUserPwd/changeOtherUserPwd.pro PREFIX=/usr ) && /usr/bin/make -f Makefile make[1]: Entering directory '/build/ukui-control-center/src/ukui-control-center-3.0.4/changeOtherUserPwd' g++ -c -pipe -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -std=gnu++11 -pthread -pthread -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o main.o main.cpp g++ -c -pipe -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -std=gnu++11 -pthread -pthread -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o run-passwd2.o run-passwd2.cpp run-passwd2.cpp: In function ‘gboolean io_watch_stdout(GIOChannel*, GIOCondition, PasswdHandler*)’: run-passwd2.cpp:217:67: warning: unused parameter ‘condition’ [-Wunused-parameter] 217 | static gboolean io_watch_stdout (GIOChannel *source, GIOCondition condition, PasswdHandler *passwd_handler) | ~~~~~~~~~~~~~^~~~~~~~~ run-passwd2.cpp: In function ‘void child_watch_cb(GPid, gint, PasswdHandler*)’: run-passwd2.cpp:453:34: warning: unused parameter ‘pid’ [-Wunused-parameter] 453 | static void child_watch_cb (GPid pid, gint status, PasswdHandler *passwd_handler) | ~~~~~^~~ run-passwd2.cpp: In function ‘gboolean spawn_passwd(PasswdHandler*, const char*, GError**)’: run-passwd2.cpp:493:15: warning: ISO C++ forbids converting a string constant to ‘gchar*’ {aka ‘char*’} [-Wwrite-strings] 493 | argv[0] = "/usr/bin/passwd"; /* Is it safe to rely on a hard-coded path? */ | ^~~~~~~~~~~~~~~~~ main.cpp: In function ‘void auth_cb(PasswdHandler*, GError*, gpointer)’: main.cpp:47:25: warning: unused parameter ‘passwd_handler’ [-Wunused-parameter] 47 | auth_cb (PasswdHandler *passwd_handler, GError *error, gpointer user_data) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ main.cpp:47:49: warning: unused parameter ‘error’ [-Wunused-parameter] 47 | auth_cb (PasswdHandler *passwd_handler, GError *error, gpointer user_data) | ~~~~~~~~^~~~~ main.cpp:47:65: warning: unused parameter ‘user_data’ [-Wunused-parameter] 47 | auth_cb (PasswdHandler *passwd_handler, GError *error, gpointer user_data) | ~~~~~~~~~^~~~~~~~~ main.cpp: In function ‘void chpasswd_cb(PasswdHandler*, GError*, gpointer)’: main.cpp:61:29: warning: unused parameter ‘user_data’ [-Wunused-parameter] 61 | gpointer user_data) | ~~~~~~~~~~~~~~~^~~~~~~~~ main.cpp: At global scope: main.cpp:47:1: warning: ‘void auth_cb(PasswdHandler*, GError*, gpointer)’ defined but not used [-Wunused-function] 47 | auth_cb (PasswdHandler *passwd_handler, GError *error, gpointer user_data) | ^~~~~~~ g++ -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -fPIC -o changeotheruserpwd main.o run-passwd2.o -lgio-2.0 -lgobject-2.0 -lglib-2.0 /usr/lib/libQt5Core.so -pthread make[1]: Leaving directory '/build/ukui-control-center/src/ukui-control-center-3.0.4/changeOtherUserPwd' cd changeUserPwd/ && ( test -e Makefile || /usr/bin/qmake-qt5 -o Makefile /build/ukui-control-center/src/ukui-control-center-3.0.4/changeUserPwd/changeUserPwd.pro PREFIX=/usr ) && /usr/bin/make -f Makefile make[1]: Entering directory '/build/ukui-control-center/src/ukui-control-center-3.0.4/changeUserPwd' g++ -c -pipe -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -std=gnu++11 -pthread -pthread -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o main.o main.cpp g++ -c -pipe -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -std=gnu++11 -pthread -pthread -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o run-passwd.o run-passwd.cpp run-passwd.cpp: In function ‘gboolean io_watch_stdout(GIOChannel*, GIOCondition, PasswdHandler*)’: run-passwd.cpp:379:41: error: format not a string literal and no format arguments [-Werror=format-security] 379 | error = g_error_new (PASSWD_ERROR, PASSWD_ERROR_UNKNOWN, | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 380 | str->str); | ~~~~~~~~~ run-passwd.cpp:217:67: warning: unused parameter ‘condition’ [-Wunused-parameter] 217 | static gboolean io_watch_stdout (GIOChannel *source, GIOCondition condition, PasswdHandler *passwd_handler) | ~~~~~~~~~~~~~^~~~~~~~~ run-passwd.cpp: In function ‘void child_watch_cb(GPid, gint, PasswdHandler*)’: run-passwd.cpp:452:34: warning: unused parameter ‘pid’ [-Wunused-parameter] 452 | static void child_watch_cb (GPid pid, gint status, PasswdHandler *passwd_handler) | ~~~~~^~~ run-passwd.cpp: In function ‘gboolean spawn_passwd(PasswdHandler*, GError**)’: run-passwd.cpp:492:15: warning: ISO C++ forbids converting a string constant to ‘gchar*’ {aka ‘char*’} [-Wwrite-strings] 492 | argv[0] = "/usr/bin/passwd"; /* Is it safe to rely on a hard-coded path? */ | ^~~~~~~~~~~~~~~~~ run-passwd.cpp: In function ‘void passwd_authenticate(PasswdHandler*, const char*, PasswdCallback, gpointer)’: run-passwd.cpp:661:63: warning: cast between incompatible function types from ‘void (*)(gpointer)’ {aka ‘void (*)(void*)’} to ‘GFunc’ {aka ‘void (*)(void*, void*)’} [-Wcast-function-type] 661 | g_queue_foreach (passwd_handler->backend_stdin_queue, (GFunc) g_free, NULL); | ^~~~~~~~~~~~~~ cc1plus: some warnings being treated as errors make[1]: *** [Makefile:673: run-passwd.o] Error 1 make[1]: *** Waiting for unfinished jobs.... main.cpp: In function ‘void chpasswd_cb(PasswdHandler*, GError*, gpointer)’: main.cpp:81:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 81 | secondary_text = ""; | ^~ main.cpp:73:29: warning: unused parameter ‘user_data’ [-Wunused-parameter] 73 | gpointer user_data) | ~~~~~~~~~~~~~~~^~~~~~~~~ make[1]: Leaving directory '/build/ukui-control-center/src/ukui-control-center-3.0.4/changeUserPwd' make: *** [Makefile:97: sub-changeUserPwd-make_first-ordered] Error 2 ==> ERROR: A failure occurred in build().  Aborting...