D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. warning: %make is deprecated, use %make_build instead Installing /home/iurt/rpmbuild/SRPMS/xmag-1.0.6-3.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.o1MgcK + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf xmag-1.0.6 + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/xmag-1.0.6.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xmag-1.0.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.faZgQl + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd xmag-1.0.6 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=aarch64-mageia-linux-gnu --build=aarch64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for aarch64-mageia-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for gcc option to accept ISO C99... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether __clang__ is declared... no checking whether __INTEL_COMPILER is declared... no checking whether __SUNPRO_C is declared... no checking for aarch64-mageia-linux-gnu-pkg-config... /usr/bin/aarch64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking build system type... aarch64-mageia-linux-gnu checking host system type... aarch64-mageia-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking if gcc supports -Werror=unknown-warning-option... no checking if gcc supports -Werror=unused-command-line-argument... no checking if gcc supports -Wall... yes checking if gcc supports -Wpointer-arith... yes checking if gcc supports -Wmissing-declarations... yes checking if gcc supports -Wformat=2... yes checking if gcc supports -Wstrict-prototypes... yes checking if gcc supports -Wmissing-prototypes... yes checking if gcc supports -Wnested-externs... yes checking if gcc supports -Wbad-function-cast... yes checking if gcc supports -Wold-style-definition... yes checking if gcc supports -Wdeclaration-after-statement... yes checking if gcc supports -Wunused... yes checking if gcc supports -Wuninitialized... yes checking if gcc supports -Wshadow... yes checking if gcc supports -Wmissing-noreturn... yes checking if gcc supports -Wmissing-format-attribute... yes checking if gcc supports -Wredundant-decls... yes checking if gcc supports -Wlogical-op... yes checking if gcc supports -Werror=implicit... yes checking if gcc supports -Werror=nonnull... yes checking if gcc supports -Werror=init-self... yes checking if gcc supports -Werror=main... yes checking if gcc supports -Werror=missing-braces... yes checking if gcc supports -Werror=sequence-point... yes checking if gcc supports -Werror=return-type... yes checking if gcc supports -Werror=trigraphs... yes checking if gcc supports -Werror=array-bounds... yes checking if gcc supports -Werror=write-strings... yes checking if gcc supports -Werror=address... yes checking if gcc supports -Werror=int-to-pointer-cast... yes checking if gcc supports -Werror=pointer-to-int-cast... yes checking if gcc supports -pedantic... yes checking if gcc supports -Werror... yes checking if gcc supports -Werror=attributes... yes checking whether make supports nested variables... (cached) yes checking for nanosleep... yes checking for poll... yes checking for select... yes checking for library containing floor... -lm checking for library containing lrint... none required checking for lrint... yes checking for XMAG... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j8 /usr/bin/make all-recursive Making all in man make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/xmag-1.0.6/man' GEN xmag.1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/xmag-1.0.6/man' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/xmag-1.0.6' CC RootWin.o RootWin.c:39:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 39 | /* class_name */ "RootWindow", | ^~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/xmag-1.0.6' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/xmag-1.0.6' CC CutPaste.o make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/xmag-1.0.6' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/xmag-1.0.6' CC xmag.o xmag.c:158:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 158 | {"geometry", "Geometry", XtRString, sizeof(String), | ^~~~~~~~~~ xmag.c:158:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 158 | {"geometry", "Geometry", XtRString, sizeof(String), | ^~~~~~~~~~ xmag.c:160:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 160 | {"mag", "Mag", XtRString, sizeof(String), | ^~~~~ xmag.c:160:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 160 | {"mag", "Mag", XtRString, sizeof(String), | ^~~~~ xmag.c:162:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 162 | {"source", "Source", XtRString, sizeof(String), | ^~~~~~~~ xmag.c:162:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 162 | {"source", "Source", XtRString, sizeof(String), | ^~~~~~~~ xmag.c:164:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 164 | {"title", XtCString, XtRString, sizeof(char *), | ^~~~~~~ xmag.c:165:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 165 | Offset(title), XtRString, "xmag"}, | ^~~~~~ xmag.c:170:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 170 | {"-bd", "*borderColor", XrmoptionSepArg, (XtPointer)NULL}, | ^~~~~ xmag.c:170:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 170 | {"-bd", "*borderColor", XrmoptionSepArg, (XtPointer)NULL}, | ^~~~~~~~~~~~~~ xmag.c:171:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 171 | {"-bg", "*background", XrmoptionSepArg, (XtPointer)NULL}, | ^~~~~ xmag.c:171:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 171 | {"-bg", "*background", XrmoptionSepArg, (XtPointer)NULL}, | ^~~~~~~~~~~~~ xmag.c:172:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 172 | {"-bw", "*borderWidth", XrmoptionSepArg, (XtPointer)NULL}, | ^~~~~ xmag.c:172:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 172 | {"-bw", "*borderWidth", XrmoptionSepArg, (XtPointer)NULL}, | ^~~~~~~~~~~~~~ xmag.c:174:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 174 | {"-geometry", "*geometry", XrmoptionSepArg, (XtPointer)NULL}, | ^~~~~~~~~~~ xmag.c:174:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 174 | {"-geometry", "*geometry", XrmoptionSepArg, (XtPointer)NULL}, | ^~~~~~~~~~~ xmag.c:175:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 175 | {"-mag", "*mag", XrmoptionSepArg, (XtPointer)NULL}, | ^~~~~~ xmag.c:175:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 175 | {"-mag", "*mag", XrmoptionSepArg, (XtPointer)NULL}, | ^~~~~~ xmag.c:176:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 176 | {"-source", "*source", XrmoptionSepArg, (XtPointer)NULL}, | ^~~~~~~~~ xmag.c:176:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 176 | {"-source", "*source", XrmoptionSepArg, (XtPointer)NULL}, | ^~~~~~~~~ xmag.c:177:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 177 | {"-title", "*title", XrmoptionSepArg, (XtPointer)NULL}, | ^~~~~~~~ xmag.c:177:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 177 | {"-title", "*title", XrmoptionSepArg, (XtPointer)NULL}, | ^~~~~~~~ xmag.c:185:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 185 | {"close", CloseAP}, | ^~~~~~~ xmag.c:186:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 186 | {"set-colors", SetCmapPropsAP}, | ^~~~~~~~~~~~ xmag.c:187:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 187 | {"unset-colors", UnsetCmapPropsAP}, | ^~~~~~~~~~~~~~ xmag.c:188:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 188 | {"new", NewAP}, | ^~~~~ xmag.c:189:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 189 | {"replace", ReplaceAP}, | ^~~~~~~~~ xmag.c:190:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 190 | {"popup-pixel", PopupPixelAP}, | ^~~~~~~~~~~~~ xmag.c:191:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 191 | {"update-pixel", UpdatePixelAP}, | ^~~~~~~~~~~~~~ xmag.c:192:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 192 | {"popdown-pixel", PopdownPixelAP}, | ^~~~~~~~~~~~~~~ xmag.c:193:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 193 | {"select-region", SelectRegionAP} | ^~~~~~~~~~~~~~~ xmag.c: In function 'Error': xmag.c:203:16: warning: declaration of 'dpy' shadows a global declaration [-Wshadow] 203 | Error(Display *dpy, XErrorEvent *err) | ~~~~~~~~~^~~ xmag.c:107:17: note: shadowed declaration is here 107 | static Display *dpy; | ^~~ xmag.c: In function 'CloseAP': xmag.c:221:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 221 | XtSetArg(wargs[0], XtNuserData, &data); n++; | ^~~~~~~~ xmag.c: In function 'SetCmapPropsAP': xmag.c:240:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 240 | XtSetArg(wargs[0], XtNuserData, &data); n++; | ^~~~~~~~ xmag.c: In function 'UnsetCmapPropsAP': xmag.c:260:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 260 | XtSetArg(wargs[0], XtNuserData, &data); n++; | ^~~~~~~~ xmag.c: In function 'ReplaceAP': xmag.c:291:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 291 | XtSetArg(wargs[0], XtNuserData, &data); n++; | ^~~~~~~~ xmag.c: In function 'PopupPixelAP': xmag.c:313:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 313 | XtSetArg(wargs[0], XtNuserData, &data); n++; | ^~~~~~~~ xmag.c: In function 'UpdatePixelAP': xmag.c:361:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 361 | XtSetArg(wargs[0], XtNuserData, &data); n++; | ^~~~~~~~ xmag.c: In function 'PopdownPixelAP': xmag.c:393:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 393 | XtSetArg(wargs[0], XtNuserData, &data); n++; | ^~~~~~~~ xmag.c: In function 'PopupNewScale': xmag.c:998:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 998 | XtSetArg(warg, XtNuserData, data); | ^~~~~~~~ xmag.c:1011:44: warning: cast from function call of type 'Pixel' {aka 'long unsigned int'} to non-matching type 'void *' [-Wbad-function-cast] 1011 | XtNforeground, (XtPointer)GetMaxIntensity(data), | ^ xmag.c:1012:44: warning: cast from function call of type 'Pixel' {aka 'long unsigned int'} to non-matching type 'void *' [-Wbad-function-cast] 1012 | XtNbackground, (XtPointer)GetMinIntensity(data), | ^ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/xmag-1.0.6' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/xmag-1.0.6' CC Scale.o In file included from ScaleP.h:36, from Scale.c:46: Scale.h:85:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 85 | #define XtNgravity "gravity" | ^~~~~~~~~ Scale.c:70:2: note: in expansion of macro 'XtNgravity' 70 | {XtNgravity, XtCGravity, XtRGravity, sizeof(XtGravity), | ^~~~~~~~~~ Scale.h:86:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 86 | #define XtCGravity "Gravity" | ^~~~~~~~~ Scale.c:70:14: note: in expansion of macro 'XtCGravity' 70 | {XtNgravity, XtCGravity, XtRGravity, sizeof(XtGravity), | ^~~~~~~~~~ Scale.h:79:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 79 | #define XtNautoscale "autoscale" | ^~~~~~~~~~~ Scale.c:78:2: note: in expansion of macro 'XtNautoscale' 78 | {XtNautoscale, XtCAutoscale, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~ Scale.h:80:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 80 | #define XtCAutoscale "Autoscale" | ^~~~~~~~~~~ Scale.c:78:16: note: in expansion of macro 'XtCAutoscale' 78 | {XtNautoscale, XtCAutoscale, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~ Scale.h:81:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 81 | #define XtNproportional "proportional" | ^~~~~~~~~~~~~~ Scale.c:80:2: note: in expansion of macro 'XtNproportional' 80 | {XtNproportional, XtCProportional, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~ Scale.h:82:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 82 | #define XtCProportional "Proportional" | ^~~~~~~~~~~~~~ Scale.c:80:19: note: in expansion of macro 'XtCProportional' 80 | {XtNproportional, XtCProportional, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~ Scale.h:76:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 76 | #define XtNscaleX "scaleX" | ^~~~~~~~ Scale.c:82:2: note: in expansion of macro 'XtNscaleX' 82 | {XtNscaleX, XtCScaleFactor, XtRString, sizeof(String), | ^~~~~~~~~ Scale.h:78:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 78 | #define XtCScaleFactor "ScaleFactor" | ^~~~~~~~~~~~~ Scale.c:82:13: note: in expansion of macro 'XtCScaleFactor' 82 | {XtNscaleX, XtCScaleFactor, XtRString, sizeof(String), | ^~~~~~~~~~~~~~ Scale.h:77:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 77 | #define XtNscaleY "scaleY" | ^~~~~~~~ Scale.c:84:2: note: in expansion of macro 'XtNscaleY' 84 | {XtNscaleY, XtCScaleFactor, XtRString, sizeof(String), | ^~~~~~~~~ Scale.h:78:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 78 | #define XtCScaleFactor "ScaleFactor" | ^~~~~~~~~~~~~ Scale.c:84:13: note: in expansion of macro 'XtCScaleFactor' 84 | {XtNscaleY, XtCScaleFactor, XtRString, sizeof(String), | ^~~~~~~~~~~~~~ Scale.h:72:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 72 | #define XtNaspectRatio "aspectRatio" | ^~~~~~~~~~~~~ Scale.c:86:2: note: in expansion of macro 'XtNaspectRatio' 86 | {XtNaspectRatio, XtCAspectRatio, XtRString, sizeof(String), | ^~~~~~~~~~~~~~ Scale.h:73:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 73 | #define XtCAspectRatio "AspectRatio" | ^~~~~~~~~~~~~ Scale.c:86:18: note: in expansion of macro 'XtCAspectRatio' 86 | {XtNaspectRatio, XtCAspectRatio, XtRString, sizeof(String), | ^~~~~~~~~~~~~~ Scale.h:83:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | #define XtNprecision "precision" | ^~~~~~~~~~~ Scale.c:88:2: note: in expansion of macro 'XtNprecision' 88 | {XtNprecision, XtCPrecision, XtRString, sizeof(String), | ^~~~~~~~~~~~ Scale.h:84:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 84 | #define XtCPrecision "Precision" | ^~~~~~~~~~~ Scale.c:88:16: note: in expansion of macro 'XtCPrecision' 88 | {XtNprecision, XtCPrecision, XtRString, sizeof(String), | ^~~~~~~~~~~~ Scale.h:89:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 89 | #define XtNimage "image" | ^~~~~~~ Scale.c:90:2: note: in expansion of macro 'XtNimage' 90 | {XtNimage, XtCImage, XtRImage, sizeof(XImage*), | ^~~~~~~~ Scale.h:90:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 90 | #define XtCImage "image" | ^~~~~~~ Scale.c:90:12: note: in expansion of macro 'XtCImage' 90 | {XtNimage, XtCImage, XtRImage, sizeof(XImage*), | ^~~~~~~~ Scale.h:96:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | #define XtRImage "Image" | ^~~~~~~ Scale.c:90:22: note: in expansion of macro 'XtRImage' 90 | {XtNimage, XtCImage, XtRImage, sizeof(XImage*), | ^~~~~~~~ Scale.h:87:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 87 | #define XtNpasteBuffer "pasteBuffer" | ^~~~~~~~~~~~~ Scale.c:92:2: note: in expansion of macro 'XtNpasteBuffer' 92 | {XtNpasteBuffer, XtCPasteBuffer, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~ Scale.h:88:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 88 | #define XtCPasteBuffer "PasteBuffer" | ^~~~~~~~~~~~~ Scale.c:92:18: note: in expansion of macro 'XtCPasteBuffer' 92 | {XtNpasteBuffer, XtCPasteBuffer, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~ Scale.h:74:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 74 | #define XtNbufferSize "bufferSize" | ^~~~~~~~~~~~ Scale.c:94:2: note: in expansion of macro 'XtNbufferSize' 94 | {XtNbufferSize, XtCBufferSize, XtRCardinal, sizeof(Cardinal), | ^~~~~~~~~~~~~ Scale.h:75:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 75 | #define XtCBufferSize "BufferSize" | ^~~~~~~~~~~~ Scale.c:94:17: note: in expansion of macro 'XtCBufferSize' 94 | {XtNbufferSize, XtCBufferSize, XtRCardinal, sizeof(Cardinal), | ^~~~~~~~~~~~~ Scale.h:93:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 93 | #define XtNuserData "userData" | ^~~~~~~~~~ Scale.c:96:2: note: in expansion of macro 'XtNuserData' 96 | {XtNuserData, XtCuserData, XtRuserData, sizeof(XtPointer), | ^~~~~~~~~~~ Scale.h:94:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 94 | #define XtCuserData "UserData" | ^~~~~~~~~~ Scale.c:96:15: note: in expansion of macro 'XtCuserData' 96 | {XtNuserData, XtCuserData, XtRuserData, sizeof(XtPointer), | ^~~~~~~~~~~ Scale.h:95:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 95 | #define XtRuserData "UserData" | ^~~~~~~~~~ Scale.c:96:28: note: in expansion of macro 'XtRuserData' 96 | {XtNuserData, XtCuserData, XtRuserData, sizeof(XtPointer), | ^~~~~~~~~~~ Scale.h:98:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | #define XtNvisual "visual" | ^~~~~~~~ Scale.c:98:3: note: in expansion of macro 'XtNvisual' 98 | { XtNvisual, XtCvisual, XtRVisual, sizeof(Visual*), | ^~~~~~~~~ Scale.h:100:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 100 | #define XtCvisual "Visual" | ^~~~~~~~ Scale.c:98:14: note: in expansion of macro 'XtCvisual' 98 | { XtNvisual, XtCvisual, XtRVisual, sizeof(Visual*), | ^~~~~~~~~ Scale.c:140:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 140 | {"unscale", SWUnscale}, | ^~~~~~~~~ Scale.c:141:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 141 | {"autoscale", SWAutoscale}, | ^~~~~~~~~~~ Scale.c:142:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 142 | {"initial-size", SWInitialSize}, | ^~~~~~~~~~~~~~ Scale.c:143:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 143 | {"paste", RequestSelection}, | ^~~~~~~ Scale.c:144:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 144 | {"cut", GrabSelection} | ^~~~~ Scale.c:157:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 157 | /* class_name */ "Scale", | ^~~~~~~ Scale.c: In function 'SWGetImagePixel': Scale.c:536:14: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] 536 | *img_x = (Position) floor(x / sw->scale.scale_x); | ^ Scale.c:537:14: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] 537 | *img_y = (Position) floor(y / sw->scale.scale_y); | ^ Scale.c: In function 'Redisplay': Scale.c:574:25: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] 574 | img_x = min(max((Position) floor((float) x | ^ Scale.c:56:21: note: in definition of macro 'min' 56 | #define min(x, y) ((x) > (y) ? (y) : (x)) | ^ Scale.c:574:21: note: in expansion of macro 'max' 574 | img_x = min(max((Position) floor((float) x | ^~~ Scale.c:574:25: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] 574 | img_x = min(max((Position) floor((float) x | ^ Scale.c:56:21: note: in definition of macro 'min' 56 | #define min(x, y) ((x) > (y) ? (y) : (x)) | ^ Scale.c:574:21: note: in expansion of macro 'max' 574 | img_x = min(max((Position) floor((float) x | ^~~ Scale.c:574:25: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] 574 | img_x = min(max((Position) floor((float) x | ^ Scale.c:56:39: note: in definition of macro 'min' 56 | #define min(x, y) ((x) > (y) ? (y) : (x)) | ^ Scale.c:574:21: note: in expansion of macro 'max' 574 | img_x = min(max((Position) floor((float) x | ^~~ Scale.c:574:25: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] 574 | img_x = min(max((Position) floor((float) x | ^ Scale.c:56:39: note: in definition of macro 'min' 56 | #define min(x, y) ((x) > (y) ? (y) : (x)) | ^ Scale.c:574:21: note: in expansion of macro 'max' 574 | img_x = min(max((Position) floor((float) x | ^~~ Scale.c:578:25: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] 578 | img_y = min(max((Position) floor((float) y | ^ Scale.c:56:21: note: in definition of macro 'min' 56 | #define min(x, y) ((x) > (y) ? (y) : (x)) | ^ Scale.c:578:21: note: in expansion of macro 'max' 578 | img_y = min(max((Position) floor((float) y | ^~~ Scale.c:578:25: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] 578 | img_y = min(max((Position) floor((float) y | ^ Scale.c:56:21: note: in definition of macro 'min' 56 | #define min(x, y) ((x) > (y) ? (y) : (x)) | ^ Scale.c:578:21: note: in expansion of macro 'max' 578 | img_y = min(max((Position) floor((float) y | ^~~ Scale.c:578:25: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] 578 | img_y = min(max((Position) floor((float) y | ^ Scale.c:56:39: note: in definition of macro 'min' 56 | #define min(x, y) ((x) > (y) ? (y) : (x)) | ^ Scale.c:578:21: note: in expansion of macro 'max' 578 | img_y = min(max((Position) floor((float) y | ^~~ Scale.c:578:25: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] 578 | img_y = min(max((Position) floor((float) y | ^ Scale.c:56:39: note: in definition of macro 'min' 56 | #define min(x, y) ((x) > (y) ? (y) : (x)) | ^ Scale.c:578:21: note: in expansion of macro 'max' 578 | img_y = min(max((Position) floor((float) y | ^~~ Scale.c:587:24: warning: cast from function call of type 'double' to non-matching type 'short unsigned int' [-Wbad-function-cast] 587 | (Dimension) ceil((float) width | ^ Scale.c:589:24: warning: cast from function call of type 'double' to non-matching type 'short unsigned int' [-Wbad-function-cast] 589 | (Dimension) ceil((float) height | ^ Scale.c: In function 'TryResize': Scale.c:603:13: warning: cast from function call of type 'double' to non-matching type 'short unsigned int' [-Wbad-function-cast] 603 | width = (Dimension) | ^ Scale.c:606:14: warning: cast from function call of type 'double' to non-matching type 'short unsigned int' [-Wbad-function-cast] 606 | height = (Dimension) | ^ Scale.c: In function 'SWSetImage': Scale.c:991:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 991 | XtSetArg(wargs[n], XtNimage, (XtArgVal) image); n++; | ^~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/xmag-1.0.6' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/xmag-1.0.6' CCLD xmag make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/xmag-1.0.6' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Qhr2uE + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/xmag-1.0.6-3.mga9.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/xmag-1.0.6-3.mga9.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/xmag-1.0.6-3.mga9.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/xmag-1.0.6-3.mga9.aarch64 + cd xmag-1.0.6 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILDROOT/xmag-1.0.6-3.mga9.aarch64 'INSTALL=/usr/bin/install -p' Making install in man make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/xmag-1.0.6/man' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/xmag-1.0.6/man' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/xmag-1.0.6-3.mga9.aarch64/usr/share/man/man1' /usr/bin/install -p -m 644 xmag.1 '/home/iurt/rpmbuild/BUILDROOT/xmag-1.0.6-3.mga9.aarch64/usr/share/man/man1' make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/xmag-1.0.6/man' make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xmag-1.0.6/man' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/xmag-1.0.6' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/xmag-1.0.6' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/xmag-1.0.6-3.mga9.aarch64/usr/bin' /usr/bin/install -p xmag '/home/iurt/rpmbuild/BUILDROOT/xmag-1.0.6-3.mga9.aarch64/usr/bin' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/xmag-1.0.6-3.mga9.aarch64/usr/share/X11/app-defaults' /usr/bin/install -p -m 644 app-defaults/Xmag '/home/iurt/rpmbuild/BUILDROOT/xmag-1.0.6-3.mga9.aarch64/usr/share/X11/app-defaults' make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/xmag-1.0.6' make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xmag-1.0.6' + mkdir -p /home/iurt/rpmbuild/BUILDROOT/xmag-1.0.6-3.mga9.aarch64/usr/share/icons/large + mkdir -p /home/iurt/rpmbuild/BUILDROOT/xmag-1.0.6-3.mga9.aarch64/usr/share/icons/mini + install -m0644 /home/iurt/rpmbuild/SOURCES/xmag.xpm /home/iurt/rpmbuild/BUILDROOT/xmag-1.0.6-3.mga9.aarch64/usr/share/icons/xmag.xpm + install -m0644 /home/iurt/rpmbuild/SOURCES/xmag.xpm.large /home/iurt/rpmbuild/BUILDROOT/xmag-1.0.6-3.mga9.aarch64/usr/share/icons/large/xmag.xpm + install -m0644 /home/iurt/rpmbuild/SOURCES/xmag.xpm.mini /home/iurt/rpmbuild/BUILDROOT/xmag-1.0.6-3.mga9.aarch64/usr/share/icons/mini/xmag.xpm + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.0.6-3.mga9 --unique-debug-suffix -1.0.6-3.mga9.aarch64 --unique-debug-src-base xmag-1.0.6-3.mga9.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/xmag-1.0.6 extracting debug info from /home/iurt/rpmbuild/BUILDROOT/xmag-1.0.6-3.mga9.aarch64/usr/bin/xmag dwz: ./usr/bin/xmag-1.0.6-3.mga9.aarch64.debug: Unknown debugging section .debug_line_str original debug info size: 128kB, size after compression: 128kB /usr/bin/sepdebugcrcfix: Updated 0 CRC32s, 1 CRC32s did match. 155 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 Processing files: xmag-1.0.6-3.mga9.aarch64 Provides: xmag = 1.0.6-3.mga9 xmag(aarch-64) = 1.0.6-3.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libX11.so.6()(64bit) libXaw.so.7()(64bit) libXmu.so.6()(64bit) libXt.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.34)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) Processing files: xmag-debugsource-1.0.6-3.mga9.aarch64 Provides: xmag-debugsource = 1.0.6-3.mga9 xmag-debugsource(aarch-64) = 1.0.6-3.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: xmag-debuginfo-1.0.6-3.mga9.aarch64 Provides: debuginfo(build-id) = c0e6727a0e2f5960a912a28dd48ceea73d45ee12 xmag-debuginfo = 1.0.6-3.mga9 xmag-debuginfo(aarch-64) = 1.0.6-3.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xmag-debugsource(aarch-64) = 1.0.6-3.mga9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/xmag-1.0.6-3.mga9.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/xmag-1.0.6-3.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/xmag-debugsource-1.0.6-3.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/xmag-debuginfo-1.0.6-3.mga9.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.3HTOCE + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd xmag-1.0.6 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/xmag-1.0.6-3.mga9.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.3I81Dm + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf xmag-1.0.6 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!