D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/mtink-1.0.16-25.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.25cVNo + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf mtink-1.0.16 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/mtink-1.0.16.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mtink-1.0.16 + rm -rf /home/pterjan/rpmbuild/BUILD/mtink-1.0.16-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/mtink-1.0.16-SPECPARTS + /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 + echo 'Patch #5 (mtkink-fix-spelling-errors.patch):' Patch #5 (mtkink-fix-spelling-errors.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file mainSrc/d4lib.c patching file mainSrc/tres.c patching file html/mtinkd.html patching file server/mtinkd.c + echo 'Patch #6 (mtkink-fix-non-void-function-return.patch):' Patch #6 (mtkink-fix-non-void-function-return.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file mainSrc/rdRes.c + echo 'Patch #7 (mtkink-fix-function-declarations.patch):' Patch #7 (mtkink-fix-function-declarations.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file mainSrc/cmd.h patching file mainSrc/rw.c patching file mainSrc/cmd.c patching file mainSrc/gimp-mtink.c patching file detect/askPrinter.c + echo 'Patch #8 (mtkink-gcc-10.patch):' Patch #8 (mtkink-gcc-10.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file mainSrc/mtink.h + cp /home/pterjan/rpmbuild/SOURCES/mtinkd.service mtinkd.service + cp /home/pterjan/rpmbuild/SOURCES/mtinkd.sysconfig mtinkd.sysconfig + cp /home/pterjan/rpmbuild/SOURCES/printutils.png printutils.png + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.KdTgqV + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd mtink-1.0.16 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full|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 Binary path: /usr/bin The documentation files will be installed under: /usr/mtink + /usr/bin/make -O -j16 V=1 VERBOSE=1 'LDFLAGS=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' Compile rw.c Compile d4lib.c Compile cfg1.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 fsb.c Compile resource.c 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 wheelmouse.c Compile usbHlp.c Compile cfg2.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 tooltip.c Compile access.c Compile checkenv.c Compile micon.c Compile rdRes.c Compile and link askPrinter.c 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:980, from mainSrc/mtink.c:24: In function 'sprintf', inlined from 'help_CB' at mainSrc/mtink.c:2925:8: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 13 and 1045 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ mainSrc/mtink.c: In function 'help_CB': 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 function 'sprintf', inlined from 'help_CB' at mainSrc/mtink.c:2933:11: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 12 and 1035 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 d4lib.c Compile bldRes.c Compile ttink.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 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:980, from server/mtinkd.c:28: In function 'fgets', inlined from 'killServer' at server/mtinkd.c:247:18: /usr/include/bits/stdio2.h:202:12: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer [-Wattribute-warning] 202 | return __fgets_chk_warn (__s, sz, __n, __stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compile and link gimp-mtink.c /usr/bin/ld: /tmp/ccnpvL3h.o: relocation R_X86_64_32 against symbol `PLUG_IN_INFO' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: failed to set dynamic section sizes: bad value collect2: error: ld returned 1 exit status make: [Makefile:243: gimp-mtink] Error 1 (ignored) Compile cmd.c Link mtink /usr/bin/ld: mainSrc/rw.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: failed to set dynamic section sizes: bad value collect2: error: ld returned 1 exit status make: *** [Makefile:234: mtink] Error 1 make: *** Waiting for unfinished jobs.... Compile cmd.c Compile cmd.c as nXcmd.o error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.KdTgqV (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.KdTgqV (%build) I: [iurt_root_command] ERROR: chroot