D: [iurt_root_command] chroot warning: %patchN is deprecated (10 usages found), use %patch N (or %patch -P N) Installing /home/pterjan/rpmbuild/SRPMS/libunicap-0.9.12-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.bnPWDQ + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf libunicap-0.9.12 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/libunicap-0.9.12.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libunicap-0.9.12 + rm -rf /home/pterjan/rpmbuild/BUILD/libunicap-0.9.12-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/libunicap-0.9.12-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (unicap-0.9.6-v4l1.patch):' Patch #0 (unicap-0.9.6-v4l1.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file cpi/v4l2cpi/uvcvideo.h + echo 'Patch #1 (libunicap-0.9.12-link.patch):' Patch #1 (libunicap-0.9.12-link.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file src/Makefile.am patching file src/Makefile.in patching file cpi/euvccam/Makefile.am patching file cpi/euvccam/Makefile.in + echo 'Patch #2 (libunicap-0.9.12-includes.patch):' Patch #2 (libunicap-0.9.12-includes.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file cpi/v4l2cpi/buffermanager.c + echo 'Patch #3 (libunicap-0.9.12-memerrs.patch):' Patch #3 (libunicap-0.9.12-memerrs.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file cpi/dcam/dcam_v_modes.c patching file cpi/euvccam/euvccam_capture.c patching file cpi/v4l/v4l.c patching file cpi/v4l2cpi/v4l2.c patching file cpi/vid21394/vid21394_cpi.c patching file src/unicap.c + echo 'Patch #4 (libunicap-0.9.12-arraycmp.patch):' Patch #4 (libunicap-0.9.12-arraycmp.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file cpi/vid21394/vid21394_base.c patching file cpi/vid21394/vid21394_cpi.c patching file src/unicap_helpers.c + echo 'Patch #5 (libunicap-0.9.12-warnings.patch):' Patch #5 (libunicap-0.9.12-warnings.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file cpi/dcam/dcam_capture.c patching file cpi/dcam/dcam_property.c patching file cpi/euvccam/debayer.c patching file cpi/euvccam/euvccam_colorproc.c patching file cpi/euvccam/euvccam_cpi.c patching file cpi/euvccam/euvccam_device.c patching file cpi/euvccam/euvccam_usb.c patching file cpi/euvccam/logging.c patching file cpi/v4l2cpi/buffermanager.c patching file cpi/v4l2cpi/tiseuvccam.c patching file cpi/v4l2cpi/tisuvccam.c patching file cpi/v4l2cpi/v4l2.c Hunk #2 succeeded at 1437 (offset -2 lines). Hunk #3 succeeded at 1915 (offset -2 lines). Hunk #4 succeeded at 1948 (offset -2 lines). Hunk #5 succeeded at 2064 (offset -2 lines). Hunk #6 succeeded at 2163 (offset -2 lines). patching file cpi/vid21394/vid21394_base.c patching file src/unicap_helpers.c + echo 'Patch #6 (libunicap-bz641623.patch):' Patch #6 (libunicap-bz641623.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file cpi/v4l2cpi/v4l2.c Hunk #1 succeeded at 1926 (offset -2 lines). + echo 'Patch #7 (libunicap-bz642118.patch):' Patch #7 (libunicap-bz642118.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file include/unicap.h patching file src/unicap.c + echo 'Patch #8 (libunicap-0.9.12-udevrules-dir.patch):' Patch #8 (libunicap-0.9.12-udevrules-dir.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file data/Makefile.am patching file data/Makefile.in + echo 'Patch #9 (libunicap-0.9.12-datadirname.patch):' Patch #9 (libunicap-0.9.12-datadirname.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file po/Makefile.in.in + sed -i -e 's/\(SYSFS\|ATTRS\)/ATTRS/g' data/50-euvccam.rules + sed -i -e 's/AM_GNU_GETTEXT.*/AM_GNU_GETTEXT([external])\nAM_GNU_GETTEXT_REQUIRE_VERSION([0.21])/' configure.ac + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.bCfIf6 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd libunicap-0.9.12 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: running: autopoint --force Copying file ABOUT-NLS Copying file config.rpath Creating directory m4 Copying file m4/build-to-host.m4 Copying file m4/gettext.m4 Copying file m4/host-cpu-c-abi.m4 Copying file m4/iconv.m4 Copying file m4/intlmacosx.m4 Copying file m4/lib-ld.m4 Copying file m4/lib-link.m4 Copying file m4/lib-prefix.m4 Copying file m4/nls.m4 Copying file m4/po.m4 Copying file m4/progtest.m4 Copying file po/Makefile.in.in Copying file po/Makevars.template Copying file po/Rules-quot Copying file po/boldquot.sed Copying file po/en@boldquot.header Copying file po/en@quot.header Copying file po/insert-header.sin Copying file po/quot.sed Copying file po/remove-potcdate.sin autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: running: intltoolize --copy --force autoreconf: running: gtkdocize --copy autoreconf: running: aclocal --force autoreconf: running: /usr/bin/autoconf --force configure.ac:6: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.ac:6: You should use the 'AC_CONFIG_HEADERS' macro instead. aclocal.m4:1051: AM_CONFIG_HEADER is expanded from... configure.ac:6: the top level configure.ac:27: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:773: AM_INIT_AUTOMAKE is expanded from... configure.ac:27: the top level configure.ac:44: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.ac:44: You should run autoupdate. m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... configure.ac:44: the top level configure.ac:45: warning: The macro 'AM_PROG_LIBTOOL' is obsolete. configure.ac:45: You should run autoupdate. m4/libtool.m4:101: AM_PROG_LIBTOOL is expanded from... configure.ac:45: the top level configure.ac:49: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.ac:49: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.ac:49: the top level configure.ac:55: warning: The macro 'AC_HEADER_TIME' is obsolete. configure.ac:55: You should run autoupdate. ./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from... configure.ac:55: the top level configure.ac:62: warning: The macro 'AC_PROG_GCC_TRADITIONAL' is obsolete. configure.ac:62: You should run autoupdate. ./lib/autoconf/c.m4:1676: AC_PROG_GCC_TRADITIONAL is expanded from... configure.ac:62: the top level autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:27: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.ac:27: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.ac:41: installing './compile' configure.ac:27: installing './missing' common/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') common/Makefile.am: installing './depcomp' cpi/dcam/Makefile.am:2: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') cpi/euvccam/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') cpi/thing/Makefile.am:2: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') cpi/v4l/Makefile.am:2: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') cpi/v4l2cpi/Makefile.am:2: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') cpi/vid21394/Makefile.am:2: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') doc/libunicap/Makefile.am:70: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/Makefile.am:2: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') autoreconf: Leaving directory '.' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -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 -fcommon -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 -fcommon -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 -fcommon -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 + 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 Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/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 --disable-v4l --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... true checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking whether ln -s works... yes checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-mageia-linux-gnu-file... no checking for file... file checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking for sys/param.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for egrep... (cached) /usr/bin/grep -E checking for fcntl.h... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/ioctl.h... yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking for working volatile... yes checking whether closedir returns void... no checking for GNU libc compatible malloc... yes checking for getpagesize... yes checking for working mmap... yes checking for atexit... yes checking for bzero... yes checking for gettimeofday... yes checking for memset... yes checking for munmap... yes checking for strerror... yes checking for strncasecmp... yes checking for strstr... yes checking whether NLS is requested... yes checking for intltool >= 0.35.0... 0.51.0 found checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.38.2 checking for XML::Parser... ok checking for msgfmt... (cached) /usr/bin/msgfmt checking for gmsgfmt... (cached) /usr/bin/msgfmt checking for xgettext... (cached) /usr/bin/xgettext checking for msgmerge... (cached) /usr/bin/msgmerge checking for ld... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking for shared library run path origin... done checking 32-bit host C ABI... no checking how to run the C preprocessor... gcc -E checking for egrep -e... (cached) /usr/bin/grep -E checking for ELF binary format... yes checking for the common suffixes of directories in the library search path... lib,lib,lib64 checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyPreferredLanguages... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for gtk-doc... yes checking for gtkdoc-check... gtkdoc-check.test checking for gtkdoc-check... /usr/bin/gtkdoc-check checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase checking for gtkdoc-mkpdf... no checking whether to build gtk-doc documentation... no checking for glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0... no checking for dlopen in -ldl... yes checking for sin in -lm... yes checking for pthread_create in -lpthread... yes checking for shm_open in -lrt... yes checking for libraw1394 <= 1.0.0... no checking for libraw1394 >= 1.1.0... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating include/unicap_version.h config.status: creating po/Makefile.in config.status: creating include/Makefile config.status: creating src/Makefile config.status: creating common/Makefile config.status: creating Makefile config.status: creating libunicap.pc config.status: creating cpi/vid21394/Makefile config.status: creating cpi/dcam/Makefile config.status: creating cpi/v4l/Makefile config.status: creating cpi/v4l2cpi/Makefile config.status: creating cpi/euvccam/Makefile config.status: creating cpi/thing/Makefile config.status: creating cpi/Makefile config.status: creating cpi/include/Makefile config.status: creating doc/libunicap/Makefile config.status: creating doc/Makefile config.status: creating data/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing po/stamp-it commands ****************************************************** Unicap 0.9.12 ****************************************************** This software is distributed under the terms and conditions of the GNU GENERAL PUBLIC LICENSE ( GPL ). See the file COPYING for the full license text. ****************************************************** Configuration: libraw1394 version: RAW1394_1_1_API installation goes to: /usr Plugins: video-to-1394: yes IIDC 1394 camera: yes video-4-linux: no video-4-linux v2: yes euvccam: yes ****************************************************** *** Please read the file README.troubleshooting *** *** if you have any trouble using this software. *** ****************************************************** + /usr/bin/make -O -j16 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in include make[2]: Nothing to be done for 'all'. Making all in common make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libunicap-0.9.12/common' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o queue.lo queue.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c queue.c -fPIC -DPIC -o .libs/queue.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libunicap-0.9.12/common' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libunicap-0.9.12/common' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -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 -o libucutils.la queue.lo libtool: link: ar cr .libs/libucutils.a .libs/queue.o libtool: link: ranlib .libs/libucutils.a libtool: link: ( cd ".libs" && rm -f "libucutils.la" && ln -s "../libucutils.la" "libucutils.la" ) make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libunicap-0.9.12/common' Making all in src make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libunicap-0.9.12/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../cpi/include -DINSTALL_PREFIX="\"/usr\"" -DPKGLIBDIR="\"/usr/lib64/unicap2\"" -DPKG_VERSION="\"2\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o unicap_cache.lo unicap_cache.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../cpi/include -DINSTALL_PREFIX=\"/usr\" -DPKGLIBDIR=\"/usr/lib64/unicap2\" -DPKG_VERSION=\"2\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c unicap_cache.c -fPIC -DPIC -o .libs/unicap_cache.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libunicap-0.9.12/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libunicap-0.9.12/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../cpi/include -DINSTALL_PREFIX="\"/usr\"" -DPKGLIBDIR="\"/usr/lib64/unicap2\"" -DPKG_VERSION="\"2\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o check_match.lo check_match.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../cpi/include -DINSTALL_PREFIX=\"/usr\" -DPKGLIBDIR=\"/usr/lib64/unicap2\" -DPKG_VERSION=\"2\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c check_match.c -fPIC -DPIC -o .libs/check_match.o check_match.c: In function '_check_device_match': check_match.c:52:21: warning: 'strncmp' specified bound 256 exceeds source size 128 [-Wstringop-overread] 52 | if( strncmp( specifier->identifier, device->identifier, 256 ) ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/check_match.h:23, from check_match.c:24: ../include/unicap.h:83:14: note: source object allocated here 83 | char identifier[128]; | ^~~~~~~~~~ check_match.c:65:21: warning: 'strncmp' specified bound 256 exceeds source size 128 [-Wstringop-overread] 65 | if( strncmp( specifier->model_name, device->model_name, 256 ) ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/unicap.h:84:14: note: source object allocated here 84 | char model_name[128]; | ^~~~~~~~~~ check_match.c:74:21: warning: 'strncmp' specified bound 256 exceeds source size 128 [-Wstringop-overread] 74 | if( strncmp( specifier->vendor_name, device->vendor_name, 256 ) ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/unicap.h:85:14: note: source object allocated here 85 | char vendor_name[128]; | ^~~~~~~~~~~ check_match.c: In function '_check_format_match': check_match.c:139:17: warning: 'strncmp' specified bound 256 exceeds source size 128 [-Wstringop-overread] 139 | strncmp( specifier->identifier, format->identifier, 256 ) ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/unicap.h:160:12: note: source object allocated here 160 | char identifier[128]; | ^~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libunicap-0.9.12/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libunicap-0.9.12/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../cpi/include -DINSTALL_PREFIX="\"/usr\"" -DPKGLIBDIR="\"/usr/lib64/unicap2\"" -DPKG_VERSION="\"2\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o unicap_helpers.lo unicap_helpers.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../cpi/include -DINSTALL_PREFIX=\"/usr\" -DPKGLIBDIR=\"/usr/lib64/unicap2\" -DPKG_VERSION=\"2\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c unicap_helpers.c -fPIC -DPIC -o .libs/unicap_helpers.o unicap_helpers.c: In function 'unicap_describe_device': unicap_helpers.c:101:18: warning: '%s' directive writing up to 1023 bytes into a region of size between 19 and 435 [-Wformat-overflow=] 101 | "Device id: %s\n"\ 102 | "Model name: %s\n"\ In file included from /usr/include/stdio.h:980, from unicap_helpers.c:22: In function 'sprintf', inlined from 'unicap_describe_device' at unicap_helpers.c:100:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 88 and 2550 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ unicap_helpers.c: In function 'unicap_describe_property': unicap_helpers.c:280:18: warning: ' property data size: ' directive writing 21 bytes into a region of size between 4 and 433 [-Wformat-overflow=] 280 | "Property name: %s\n"\ 281 | "class: %s\n"\ unicap_helpers.c:280:18: note: using the range [-2147483648, 2147483647] for directive argument In function 'sprintf', inlined from 'unicap_describe_property' at unicap_helpers.c:279:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 103 and 542 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libunicap-0.9.12/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libunicap-0.9.12/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../cpi/include -DINSTALL_PREFIX="\"/usr\"" -DPKGLIBDIR="\"/usr/lib64/unicap2\"" -DPKG_VERSION="\"2\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o unicap.lo unicap.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../cpi/include -DINSTALL_PREFIX=\"/usr\" -DPKGLIBDIR=\"/usr/lib64/unicap2\" -DPKG_VERSION=\"2\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c unicap.c -fPIC -DPIC -o .libs/unicap.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libunicap-0.9.12/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libunicap-0.9.12/src' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -version-info 4:0:2 -lrt -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 -o libunicap.la -rpath /usr/lib64 unicap.lo unicap_cache.lo check_match.lo unicap_helpers.lo -ldl -lpthread -lm libtool: link: gcc -shared -Wl,--as-needed -fPIC -DPIC .libs/unicap.o .libs/unicap_cache.o .libs/check_match.o .libs/unicap_helpers.o -O2 -g -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lrt -ldl -lpthread -lm -Wl,-soname -Wl,libunicap.so.2 -o .libs/libunicap.so.2.2.0 libtool: link: (cd ".libs" && rm -f "libunicap.so.2" && ln -s "libunicap.so.2.2.0" "libunicap.so.2") libtool: link: (cd ".libs" && rm -f "libunicap.so" && ln -s "libunicap.so.2.2.0" "libunicap.so") libtool: link: ( cd ".libs" && rm -f "libunicap.la" && ln -s "../libunicap.la" "libunicap.la" ) make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libunicap-0.9.12/src' Making all in doc Making all in libunicap make[3]: Nothing to be done for 'all'. make[3]: Nothing to be done for 'all-am'. Making all in po make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libunicap-0.9.12/po' grep: warning: stray \ before # grep: warning: stray \ before # grep: warning: stray \ before # make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libunicap-0.9.12/po' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libunicap-0.9.12/po' file=`echo ru | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file ru.po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libunicap-0.9.12/po' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libunicap-0.9.12/po' file=`echo fr | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file fr.po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libunicap-0.9.12/po' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libunicap-0.9.12/po' file=`echo de | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file de.po de.po: warning: Charset "" is not a portable encoding name. Message conversion to user's charset might not work. /usr/bin/msgfmt: present charset "" is not a portable encoding name make[2]: *** [Makefile:95: de.gmo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libunicap-0.9.12/po' make[1]: *** [Makefile:530: all-recursive] Error 1 make: *** [Makefile:439: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.bCfIf6 (%build) RPM build warnings: %patchN is deprecated (10 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.bCfIf6 (%build) I: [iurt_root_command] ERROR: chroot