D: [iurt_root_command] chroot warning: %patchN is deprecated (15 usages found), use %patch N (or %patch -P N) Installing /home/pterjan/rpmbuild/SRPMS/xsane-0.999-16.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.QR9zRJ + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf xsane-0.999 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/xsane-0.999.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd xsane-0.999 + rm -rf /home/pterjan/rpmbuild/BUILD/xsane-0.999-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/xsane-0.999-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (xsane-0.995-xdg-open.patch):' Patch #0 (xsane-0.995-xdg-open.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .xdg-open --fuzz=0 patching file src/xsane.h + echo 'Patch #1 (xsane-0.995-close-fds.patch):' Patch #1 (xsane-0.995-close-fds.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .close-fds --fuzz=0 patching file src/xsane.c + echo 'Patch #3 (xsane-0.997-off-root-build.patch):' Patch #3 (xsane-0.997-off-root-build.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .off-root-build --fuzz=0 patching file configure.in patching file doc/Makefile.in patching file lib/Makefile.in patching file src/Makefile.in + echo 'Patch #4 (xsane-0.999-no-file-selected.patch):' Patch #4 (xsane-0.999-no-file-selected.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .no-file-selected --fuzz=0 patching file src/xsane-back-gtk.c patching file src/xsane-front-gtk.c + echo 'Patch #5 (xsane-0.997-ipv6.patch):' Patch #5 (xsane-0.997-ipv6.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ipv6 --fuzz=0 patching file src/xsane-save.c + echo 'Patch #6 (xsane-0.998-preview-selection.patch):' Patch #6 (xsane-0.998-preview-selection.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .preview-selection.patch --fuzz=0 patching file src/xsane-preview.c + echo 'Patch #7 (xsane-0.998-libpng.patch):' Patch #7 (xsane-0.998-libpng.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .libpng --fuzz=0 patching file src/xsane-save.c + echo 'Patch #8 (xsane-0.998-wmclass.patch):' Patch #8 (xsane-0.998-wmclass.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .wmclass --fuzz=0 patching file src/xsane.c Hunk #1 succeeded at 6212 (offset 4 lines). + echo 'Patch #9 (xsane-desktop.patch):' Patch #9 (xsane-desktop.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .desktop-file --fuzz=0 patching file src/xsane.desktop + echo 'Patch #10 (xsane-0.999-man-page.patch):' Patch #10 (xsane-0.999-man-page.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .man-page --fuzz=0 patching file doc/xsane.man + echo 'Patch #11 (xsane-0.999-pdf-no-high-bpp.patch):' Patch #11 (xsane-0.999-pdf-no-high-bpp.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .pdf-no-high-bpp --fuzz=0 patching file src/xsane-save.c + echo 'Patch #12 (xsane-0.999-lcms2.patch):' Patch #12 (xsane-0.999-lcms2.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .lcms2 --fuzz=0 patching file configure.in patching file include/config.h.in patching file src/xsane-preview.c patching file src/xsane-save.c patching file src/xsane-viewer.c patching file src/xsane.h + echo 'Patch #13 (xsane-0.999-coverity.patch):' Patch #13 (xsane-0.999-coverity.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .coverity --fuzz=0 patching file src/xsane-back-gtk.c patching file src/xsane-batch-scan.c patching file src/xsane-email-project.c patching file src/xsane-fax-project.c patching file src/xsane-front-gtk.c patching file src/xsane-multipage-project.c patching file src/xsane-preview.c patching file src/xsane-save.c patching file src/xsane-scan.c patching file src/xsane-setup.c patching file src/xsane-text.h Hunk #1 succeeded at 801 (offset -2 lines). patching file src/xsane-viewer.c patching file src/xsane.c Hunk #1 succeeded at 580 (offset -5 lines). Hunk #2 succeeded at 596 (offset -5 lines). Hunk #3 succeeded at 1160 (offset -5 lines). Hunk #4 succeeded at 1397 (offset -5 lines). Hunk #5 succeeded at 1431 (offset -5 lines). Hunk #6 succeeded at 1579 (offset -5 lines). Hunk #7 succeeded at 2589 (offset -108 lines). Hunk #8 succeeded at 2624 (offset -108 lines). Hunk #9 succeeded at 2663 (offset -108 lines). Hunk #10 succeeded at 2671 (offset -108 lines). Hunk #11 succeeded at 2706 (offset -108 lines). Hunk #12 succeeded at 2787 (offset -108 lines). Hunk #13 succeeded at 2843 (offset -108 lines). Hunk #14 succeeded at 2914 (offset -108 lines). Hunk #15 succeeded at 3097 (offset -108 lines). Hunk #16 succeeded at 3123 (offset -108 lines). Hunk #17 succeeded at 3281 (offset -108 lines). Hunk #18 succeeded at 3696 (offset -111 lines). Hunk #19 succeeded at 4043 (offset -111 lines). Hunk #20 succeeded at 4053 (offset -111 lines). Hunk #21 succeeded at 4063 (offset -111 lines). Hunk #22 succeeded at 5605 (offset -111 lines). + echo 'Patch #14 (xsane-0.999-snprintf-update.patch):' Patch #14 (xsane-0.999-snprintf-update.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .snprintf-update --fuzz=0 patching file lib/snprintf.c + echo 'Patch #15 (xsane-0.999-signal-handling.patch):' Patch #15 (xsane-0.999-signal-handling.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .signal-handling --fuzz=0 patching file src/xsane.c Hunk #5 succeeded at 6138 (offset 4 lines). Hunk #6 succeeded at 6183 (offset 4 lines). + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.FLXAJB + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd xsane-0.999 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -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=2 -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=2 -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=2 -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 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --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' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name 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=x86_64-mageia-linux-gnu --build=x86_64-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 configure: WARNING: unrecognized options: --disable-dependency-tracking ************************************************************************** checking whether GTK+-2.0 is requested... yes checking whether GIMP plugin is requested... yes checking whether GIMP-2.0 is requested... yes checking whether JPEG support is requested... yes checking whether PNG support is requested... yes checking whether TIFF support is requested... yes checking whether LCMS (color management) support is requested... yes ************************************************************************** checking for x86_64-mageia-linux-gnu-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 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for library containing strerror... none required checking for x86_64-mageia-linux-gnu-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking how to run the C preprocessor... gcc -E checking whether gcc needs -traditional... no checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking for ANSI C header files... (cached) yes checking for windows.h... (cached) no checking os2.h usability... no checking os2.h presence... no checking for os2.h... no checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking libc.h usability... no checking libc.h presence... no checking for libc.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking return type of signal handlers... void checking for size_t... yes checking for pid_t... yes checking for ssize_t... yes checking for u_char... yes checking for u_int... yes checking for u_long... yes checking for sqrt in -lm... yes checking for deflateInit_ in -lz... yes checking for jpeg_start_decompress in -ljpeg... yes checking for TIFFOpen in -ltiff... yes checking for cmsOpenProfileFromFile in -llcms... no checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking for atexit... yes checking for mkdir... yes checking for sigprocmask... yes checking for strdup... yes checking for strndup... yes checking for strftime... yes checking for strstr... yes checking for strsep... yes checking for strtod... yes checking for snprintf... yes checking for usleep... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for lstat... yes checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking for off_t... yes checking argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking for sys/param.h... (cached) yes checking for getcwd... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for strchr... yes checking for strcasecmp... (cached) yes checking for __argz_count... yes checking for __argz_stringify... yes checking for __argz_next... yes checking for stpcpy... yes checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking whether included gettext is requested... no checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for gettext in libc... yes checking for msgfmt... /usr/bin/msgfmt checking for dcgettext... yes checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for catalogs to be installed... ca cs da de es fi fr hu it ja nl pa pl pt pt_BR ro ru sk sl sr sv vi tr zh zh_CN checking for sane-config... /usr/bin/sane-config checking for SANE - version >= 1.0.0... no *** Could not run SANE test program, checking why... *** The test program compiled, but did not run. This usually means *** that the run-time linker is not finding SANE or finding the wrong *** version of SANE. If it is not finding SANE, you'll need to set your *** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point *** to the installed location Also, make sure you have run ldconfig if that *** is required on your system *** *** If you have an old version installed, it is best to remove it, although *** you may also be able to get things to work by modifying LD_LIBRARY_PATH *** *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means SANE was incorrectly installed *** or that you have moved SANE since it was installed. In the latter case, you *** may want to edit the sane-config script: /usr/bin/sane-config checking for pkg-config... /usr/bin/pkg-config checking for GIMP - version >= 1.3.23... yes (version 2.10.36) checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking for png_create_info_struct in -lpng... yes **************************************************************** ERROR: SANE-1.0.0 or newer is needed for compiling xsane - if you installed SANE as rpm make sure you also included sane-devel **************************************************************** + /usr/bin/make -O -j8 V=1 VERBOSE=1 make: *** No targets specified and no makefile found. Stop. error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.FLXAJB (%build) RPM build warnings: %patchN is deprecated (15 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.FLXAJB (%build) I: [iurt_root_command] ERROR: chroot