D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/mtink-1.0.16-22.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.AQZGKC + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf mtink-1.0.16 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/mtink-1.0.16.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mtink-1.0.16 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (mtink-1.0.14-ru_font.patch):' Patch #0 (mtink-1.0.14-ru_font.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file mainSrc/resource.c Hunk #1 succeeded at 2815 (offset 6 lines). patching file utils/Mtink.Ru + echo 'Patch #1 (mtink-fhs_fixes.diff):' Patch #1 (mtink-fhs_fixes.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file etc/mtink-cups patching file html/mtink.De.html patching file html/mtinkd.html patching file html/mtinkd.Hu.html patching file html/mtink.html patching file html/mtink.Hu.html patching file html/OLVASS_EL patching file html/README patching file html/ttink.html patching file html/ttink.Hu.html patching file mainSrc/cfg1.c patching file mainSrc/usbHlp.h patching file pyink/pyinkHTTPHandler.py patching file server/mtinkd.c + echo 'Patch #2 (mtink-path_to_printer.desc.diff):' Patch #2 (mtink-path_to_printer.desc.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file mainSrc/rdPrtDesc.c Hunk #1 succeeded at 432 (offset -3 lines). + echo 'Patch #3 (mtink-1.0.16-link.patch):' Patch #3 (mtink-1.0.16-link.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file Makefile.ORG + echo 'Patch #4 (mtink-1.0.16-mga-www-browser.patch):' Patch #4 (mtink-1.0.16-mga-www-browser.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file mainSrc/mtink.c + cp /home/iurt/rpmbuild/SOURCES/mtinkd.init mtinkd.init + cp /home/iurt/rpmbuild/SOURCES/mtinkd.sysconfig mtinkd.sysconfig + cp /home/iurt/rpmbuild/SOURCES/printutils.png printutils.png + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.koUdsR + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd mtink-1.0.16 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + export 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + export 'RPM_OPT_FLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + RPM_OPT_FLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + perl -p -i -e 's|(/usr/X11R6)/lib\b|\1/lib64|g' Makefile.ORG + perl -p -i -e 's|(/usr)/lib\b|\1/lib64|g' Makefile.ORG + perl -p -i -e 's|(/usr)/lib$|\1/lib64|g' Configure + perl -p -i -e 's|(/usr/)lib()|$1lib64$2|g' checkMotifVersion.sh + perl -pi -e 's|^DBG = .*|DBG = -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables|g' Makefile.ORG + ./Configure --no-suid --prefix /usr ./checkMotifVersion.sh: line 178: /dev/tty: No such device or address ./checkMotifVersion.sh: line 178: /dev/tty: No such device or address Gimp development package not installed. Plugins will not be compiled Please install the gimp package if you want the gimp plugins. Binary path: /usr/bin The documentation files will be installed under: /usr/mtink + /usr/bin/make -O -j8 V=1 VERBOSE=1 'LDFLAGS= -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' Compile rw.c mainSrc/rw.c: In function 'readLine': mainSrc/rw.c:51:16: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 51 | if ( strncmp(buf, "Recv:",5) == 0 ) | ^~~~~~~ mainSrc/rw.c:27:1: note: include '' or provide a declaration of 'strncmp' 26 | #include +++ |+#include 27 | mainSrc/rw.c:51:37: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 51 | if ( strncmp(buf, "Recv:",5) == 0 ) | ^ : note: built-in 'strncmp' declared here mainSrc/rw.c: In function 'convertBuf': mainSrc/rw.c:80:31: warning: implicit declaration of function 'strtol' [-Wimplicit-function-declaration] 80 | buf[i] = (unsigned char)strtol(buffer, &buffer, 16)&0xff; | ^~~~~~ Compile d4lib.c Compile resource.c Compile fsb.c Compile rdPrtDesc.c mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:57:41: note: in expansion of macro 'OFFSET' 57 | { ".name:", A_STR, OFFSET(name) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:58:41: note: in expansion of macro 'OFFSET' 58 | { ".colorsNb:", A_NB, OFFSET(colors) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:59:41: note: in expansion of macro 'OFFSET' 59 | { ".mainProt:", A_PROT, OFFSET(prot) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:60:41: note: in expansion of macro 'OFFSET' 60 | { ".stateFlg:", A_FLAG, OFFSET(state) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:61:41: note: in expansion of macro 'OFFSET' 61 | { ".exchangeFlg:", A_FLAG, OFFSET(exchange) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:62:41: note: in expansion of macro 'OFFSET' 62 | { ".exchangeSeparateFlg:", A_FLAG, OFFSET(exchangeSeparate) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:63:41: note: in expansion of macro 'OFFSET' 63 | { ".cleanSeparateFlg:", A_FLAG, OFFSET(cleanSeparate) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:64:41: note: in expansion of macro 'OFFSET' 64 | { ".resetProt:", A_PROT, OFFSET(reset) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:65:41: note: in expansion of macro 'OFFSET' 65 | { ".alignProt:", A_PROT, OFFSET(align) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:66:41: note: in expansion of macro 'OFFSET' 66 | { ".idFlg:", A_FLAG, OFFSET(id) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:67:41: note: in expansion of macro 'OFFSET' 67 | { ".passesNb:", A_NB, OFFSET(passes) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:68:41: note: in expansion of macro 'OFFSET' 68 | { ".choicesNb:", A_NB, OFFSET(choices) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:69:41: note: in expansion of macro 'OFFSET' 69 | { ".colorPassesNb:", A_NB, OFFSET(color_passes) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:70:41: note: in expansion of macro 'OFFSET' 70 | { ".colorChoicesNb:", A_NB, OFFSET(color_choices) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:71:41: note: in expansion of macro 'OFFSET' 71 | { ".checkNozzleNeedReset:",A_FLAG, OFFSET(checkNeedReset) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:72:41: note: in expansion of macro 'OFFSET' 72 | { ".alignFunctionName:", A_FNAME, OFFSET(alignFunction) }, | ^~~~~~ Compile alignbt.c mainSrc/alignbt.c: In function 'createAlignButtons': mainSrc/alignbt.c:172:74: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 172 | XtAddCallback(align_PB[(i*5)+j], XmNactivateCallback, align_CB, (XtPointer) (i*5)+j); | ^ mainSrc/alignbt.c: In function 'align_CB': mainSrc/alignbt.c:265:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 265 | int where = (int)clientData; | ^ mainSrc/alignbt.c: In function 'popupAlignNextWindow': mainSrc/alignbt.c:355:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 355 | align_CB(NULL,(XtPointer)(data->choices/2), NULL); | ^ Compile scrtxt.c Compile usbHlp.c Compile cfg1.c Compile rcfile.c mainSrc/rcfile.c: In function 'saveConfig': mainSrc/rcfile.c:180:16: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 180 | seteuid(getuid()); | ^~~~~~~~~~~~~~~~~ Compile wheelmouse.c Compile access.c Compile cfg2.c Compile checkenv.c Compile tooltip.c Compile rdRes.c Compile micon.c Compile and link mtinkc.c chooser/mtinkc.c: In function 'callCommand': chooser/mtinkc.c:285:4: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 285 | system(command); | ^~~~~~~~~~~~~~~ Compile and link askPrinter.c detect/askPrinter.c: In function 'get_deviceid': detect/askPrinter.c:18:8: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 18 | if (read (fd, buffer, 2) < 2) | ^~~~ | fread detect/askPrinter.c: In function 'main': detect/askPrinter.c:78:15: warning: implicit declaration of function 'access' [-Wimplicit-function-declaration] 78 | if ( access(dev, R_OK|W_OK) == -1 ) | ^~~~~~ detect/askPrinter.c:117:10: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 117 | close (fd); | ^~~~~ | pclose Compile d4lib.c Compile bldRes.c Compile rdPrtDesc.c mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:57:41: note: in expansion of macro 'OFFSET' 57 | { ".name:", A_STR, OFFSET(name) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:58:41: note: in expansion of macro 'OFFSET' 58 | { ".colorsNb:", A_NB, OFFSET(colors) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:59:41: note: in expansion of macro 'OFFSET' 59 | { ".mainProt:", A_PROT, OFFSET(prot) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:60:41: note: in expansion of macro 'OFFSET' 60 | { ".stateFlg:", A_FLAG, OFFSET(state) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:61:41: note: in expansion of macro 'OFFSET' 61 | { ".exchangeFlg:", A_FLAG, OFFSET(exchange) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:62:41: note: in expansion of macro 'OFFSET' 62 | { ".exchangeSeparateFlg:", A_FLAG, OFFSET(exchangeSeparate) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:63:41: note: in expansion of macro 'OFFSET' 63 | { ".cleanSeparateFlg:", A_FLAG, OFFSET(cleanSeparate) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:64:41: note: in expansion of macro 'OFFSET' 64 | { ".resetProt:", A_PROT, OFFSET(reset) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:65:41: note: in expansion of macro 'OFFSET' 65 | { ".alignProt:", A_PROT, OFFSET(align) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:66:41: note: in expansion of macro 'OFFSET' 66 | { ".idFlg:", A_FLAG, OFFSET(id) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:67:41: note: in expansion of macro 'OFFSET' 67 | { ".passesNb:", A_NB, OFFSET(passes) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:68:41: note: in expansion of macro 'OFFSET' 68 | { ".choicesNb:", A_NB, OFFSET(choices) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:69:41: note: in expansion of macro 'OFFSET' 69 | { ".colorPassesNb:", A_NB, OFFSET(color_passes) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:70:41: note: in expansion of macro 'OFFSET' 70 | { ".colorChoicesNb:", A_NB, OFFSET(color_choices) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:71:41: note: in expansion of macro 'OFFSET' 71 | { ".checkNozzleNeedReset:",A_FLAG, OFFSET(checkNeedReset) }, | ^~~~~~ mainSrc/rdPrtDesc.c:45:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | #define OFFSET(a) ((int)(&((configData_t*)0)->a)) | ^ mainSrc/rdPrtDesc.c:72:41: note: in expansion of macro 'OFFSET' 72 | { ".alignFunctionName:", A_FNAME, OFFSET(alignFunction) }, | ^~~~~~ Compile chckRes mainSrc/rdRes.c: In function 'searchCmp': mainSrc/rdRes.c:605:19: warning: 'return' with no value, in function returning non-void 605 | return; | ^~~~~~ mainSrc/rdRes.c:581:5: note: declared here 581 | int searchCmp(char *key, char **res) | ^~~~~~~~~ Compile ttink.c Compile mtinkd.c server/mtinkd.c: In function 'main': server/mtinkd.c:993:7: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 993 | chown(fifoName, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~ server/mtinkd.c:1086:4: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 1086 | chown(fifoName, sBuf.st_uid, sBuf.st_gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/mtinkd.c:1641:19: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 1641 | chown(fifoName, sBuf.st_uid, sBuf.st_gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from server/mtinkd.c:28: In function 'fgets', inlined from 'killServer.part.0' at server/mtinkd.c:247:18: /usr/include/bits/stdio2.h:270:16: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer [-Wattribute-warning] 270 | return __fgets_chk_warn (__s, __glibc_objsize (__s), __n, __stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compile mtink.c mainSrc/mtink.c: In function 'deleteWindow_CB': mainSrc/mtink.c:477:14: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 477 | seteuid(getuid()); | ^~~~~~~~~~~~~~~~~ mainSrc/mtink.c: In function 'help_CB': mainSrc/mtink.c:2917:5: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 2917 | getcwd(localDir, sizeof(localDir)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mainSrc/mtink.c: In function 'callBrowser': mainSrc/mtink.c:2871:10: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 2871 | seteuid(getuid()); | ^~~~~~~~~~~~~~~~~ mainSrc/mtink.c:2872:10: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2872 | system(command); | ^~~~~~~~~~~~~~~ mainSrc/mtink.c: In function 'help_CB': mainSrc/mtink.c:2925:24: warning: '/mtink.' directive writing 7 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 2925 | sprintf(file,"%s/mtink.%s.html", dir[0],guiLanguage ); | ^~~~~~~ In file included from /usr/include/stdio.h:888, from mainSrc/mtink.c:24: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 13 and 1045 bytes into a destination of size 1024 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ mainSrc/mtink.c:2933:27: warning: '/mtink.html' directive writing 11 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 2933 | sprintf(file,"%s/mtink.html", dir[0]); | ^~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from mainSrc/mtink.c:24: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 12 and 1035 bytes into a destination of size 1024 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ Compile cmd.c Link mtink Compile cmd.c as nXcmd.o Link ttink Compile cmd.c Link mtinkd + perl -p -i -e 's!chmod 744 /etc/init.d/mtink!!' etc/installInitScript.sh + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.9MGzGy + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64 + cd mtink-1.0.16 + '[' 1 -eq 1 ']' + install -d /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64/etc/sysconfig + install -d /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64/etc/rc.d/init.d + install -d /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64/usr/bin + install -d /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64/usr/sbin + install -d /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64/usr/lib/cups/backend + install -d /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64/var/lib/mtink + install -d /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64/usr/share/mtink + install -m0755 mtink /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64/usr/bin/ + install -m0755 ttink /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64/usr/bin/ + install -m0755 mtinkc /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64/usr/bin/ + install -m0755 mtinkd /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64/usr/sbin/ + install -m0755 mtinkd.init /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64/etc/rc.d/init.d/mtinkd + install -m0644 mtinkd.sysconfig /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64/etc/sysconfig/mtinkd + install -m0644 utils/printer.desc.bldin /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64/usr/share/mtink/printer.desc + install -m0644 utils/C42.align /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64/usr/share/mtink/ + install -m0755 etc/installInitScript.sh /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64/usr/sbin/mtink-installInitScript + install -m0755 detect/askPrinter /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64/usr/sbin/ + install -m0755 etc/mtink-cups /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64/usr/lib/cups/backend/mtink + cp -ax etc/readme README.mtinkd.startup + mkdir -p /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64/usr/share/icons/hicolor/16x16/apps/ + install -m 644 printutils.png /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64/usr/share/icons/hicolor/16x16/apps/ + mkdir -p /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64//usr/share/icons/mini + mkdir -p /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64//usr/share/icons + mkdir -p /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64//usr/share/icons/large + convert /home/iurt/rpmbuild/SOURCES/micon.gif -resize 16x16 /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64//usr/share/icons/mini/mtink.png + convert /home/iurt/rpmbuild/SOURCES/micon.gif -resize 32x32 /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64//usr/share/icons/mtink.png + convert /home/iurt/rpmbuild/SOURCES/micon.gif -resize 48x48 /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64//usr/share/icons/large/mtink.png + mkdir -p /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64/usr/share/applications + cat + mkdir -p /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64/usr/lib/tmpfiles.d + cat + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.0.16-22.mga9 --unique-debug-suffix -1.0.16-22.mga9.aarch64 --unique-debug-src-base mtink-1.0.16-22.mga9.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/mtink-1.0.16 extracting debug info from /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64/usr/bin/mtinkc extracting debug info from /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64/usr/bin/mtink extracting debug info from /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64/usr/bin/ttink extracting debug info from /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64/usr/sbin/askPrinter extracting debug info from /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64/usr/sbin/mtinkd gdb-add-index: No index was created for /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64/usr/sbin/askPrinter gdb-add-index: [Was there no debuginfo? Was there already an index?] dwz: ./usr/bin/mtink-1.0.16-22.mga9.aarch64.debug: Unknown debugging section .debug_line_str dwz: ./usr/bin/mtinkc-1.0.16-22.mga9.aarch64.debug: Unknown debugging section .debug_line_str dwz: ./usr/bin/ttink-1.0.16-22.mga9.aarch64.debug: Unknown debugging section .debug_line_str dwz: ./usr/sbin/mtinkd-1.0.16-22.mga9.aarch64.debug: Unknown debugging section .debug_line_str dwz: Too few files for multifile optimization original debug info size: 656kB, size after compression: 656kB /usr/bin/sepdebugcrcfix: Updated 0 CRC32s, 5 CRC32s did match. 1292 blocks + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 0 + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/src/debug/mtink-1.0.16-22.mga9.aarch64/chooser/mtinkc.c is executable but has no shebang, removing executable bit mangling shebang in /usr/lib/cups/backend/mtink from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/sbin/mtink-installInitScript from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/rc.d/init.d/mtinkd from /bin/bash to #!/usr/bin/bash Processing files: mtink-1.0.16-22.mga9.aarch64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.BGjDI7 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd mtink-1.0.16 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64/usr/share/doc/mtink + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64/usr/share/doc/mtink + cp -pr README.mtinkd.startup /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64/usr/share/doc/mtink + cp -pr CHANGE.LOG /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64/usr/share/doc/mtink + cp -pr doc/ADD_NEW_PRINTER doc/ADD_NEW_PRINTER.html doc/AJOUT_IMPRIMANTE doc/AJOUT_IMPRIMANTE.html doc/Building_RPM_packages.Hu.html doc/Building_RPM_packages.html doc/FORDITAS doc/LEGGIMI doc/LESE-MICH doc/LICENCE doc/LISEZ-MOI doc/NEUEN_DRUCKER_HINZUFUEGEN doc/NEUEN_DRUCKER_HINZUFUEGEN.html doc/OLVASS_EL doc/README doc/TRADUCTION doc/TRADUZIONE doc/TRANSLATION doc/UEBERSETZUNG doc/UJ_NYOMTATO_HOZZAADASA doc/UJ_NYOMTATO_HOZZAADASA.html doc/align1.De.gif doc/align1.Hu.gif doc/align1.It.gif doc/align1.gif doc/align2.De.gif doc/align2.Hu.gif doc/align2.It.gif doc/align2.gif doc/align3.De.gif doc/align3.Hu.gif doc/align3.It.gif doc/align3.gif doc/align4.De.gif doc/align4.Hu.gif doc/align4.It.gif doc/align4.gif doc/bldRes.De.txt doc/bldRes.Hu.txt doc/bldRes.txt doc/configure.De.gif doc/configure.Hu.gif doc/configure.It.gif doc/configure.gif doc/gimp-installInitScript.Hu.html doc/gimp-installInitScript.html doc/index.html doc/micon.gif doc/mtink-chooser.De.gif doc/mtink-chooser.Fr.gif doc/mtink-chooser.Hu.gif doc/mtink-chooser.gif doc/mtink.De.gif doc/mtink.De.html doc/mtink.Hu.gif doc/mtink.Hu.html doc/mtink.It.gif doc/mtink.It.html doc/mtink.gif doc/mtink.html doc/mtinkc.Hu.html doc/mtinkc.html doc/mtinkd.Hu.html doc/mtinkd.html doc/rdPrtDesc.De.txt doc/rdPrtDesc.Fr.txt doc/rdPrtDesc.Hu.txt doc/rdPrtDesc.It.txt doc/rdPrtDesc.txt doc/ttink.Hu.html doc/ttink.html /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64/usr/share/doc/mtink + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(mageia-mtink.desktop) config(mtink) = 1.0.16-22.mga9 mtink = 1.0.16-22.mga9 mtink(aarch-64) = 1.0.16-22.mga9 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh rpm-helper systemd >= 195 Requires(preun): /bin/sh rpm-helper Requires(postun): /bin/sh Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libX11.so.6()(64bit) libXm.so.4()(64bit) libXt.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) Processing files: mtink-debugsource-1.0.16-22.mga9.aarch64 Provides: mtink-debugsource = 1.0.16-22.mga9 mtink-debugsource(aarch-64) = 1.0.16-22.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mtink-debuginfo-1.0.16-22.mga9.aarch64 Provides: debuginfo(build-id) = 1950c7d1645a6aa2b8dd02c201d82463e4fee6f7 debuginfo(build-id) = 8513707e548cbdf3f82c1d2a5fed2dfa76881898 debuginfo(build-id) = c37904ba3c0fa3962c4e3ef8b81389b0a4e46158 debuginfo(build-id) = ced956f1d9c9e4557a63e2dc762b731cc6a4029d debuginfo(build-id) = f7afafeec386f4bb93e8fddcb65b7916d4027a83 mtink-debuginfo = 1.0.16-22.mga9 mtink-debuginfo(aarch-64) = 1.0.16-22.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mtink-debugsource(aarch-64) = 1.0.16-22.mga9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/mtink-debuginfo-1.0.16-22.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/mtink-debugsource-1.0.16-22.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/mtink-1.0.16-22.mga9.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.XnzuK0 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd mtink-1.0.16 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/mtink-1.0.16-22.mga9.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.BMeYcn + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf mtink-1.0.16 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!