D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/motion-4.5.1-1.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.MFtOBc + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf motion-release-4.5.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/motion-release-4.5.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd motion-release-4.5.1 + rm -rf /home/pterjan/rpmbuild/BUILD/motion-release-4.5.1-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/motion-release-4.5.1-SPECPARTS + /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/pterjan/rpmbuild/tmp/rpm-tmp.OEHdqJ + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd motion-release-4.5.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -fi Copying file ABOUT-NLS Copying file config.rpath Creating directory m4 Copying file m4/codeset.m4 Copying file m4/extern-inline.m4 Copying file m4/fcntl-o.m4 Copying file m4/gettext.m4 Copying file m4/glibc2.m4 Copying file m4/glibc21.m4 Copying file m4/iconv.m4 Copying file m4/intdiv0.m4 Copying file m4/intl.m4 Copying file m4/intldir.m4 Copying file m4/intlmacosx.m4 Copying file m4/intmax.m4 Copying file m4/inttypes-pri.m4 Copying file m4/inttypes_h.m4 Copying file m4/lcmessage.m4 Copying file m4/lib-ld.m4 Copying file m4/lib-link.m4 Copying file m4/lib-prefix.m4 Copying file m4/lock.m4 Copying file m4/longlong.m4 Copying file m4/nls.m4 Copying file m4/po.m4 Copying file m4/printf-posix.m4 Copying file m4/progtest.m4 Copying file m4/size_max.m4 Copying file m4/stdint_h.m4 Copying file m4/threadlib.m4 Copying file m4/uintmax_t.m4 Copying file m4/visibility.m4 Copying file m4/wchar_t.m4 Copying file m4/wint_t.m4 Copying file m4/xsize.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 configure.ac:6: warning: The macro 'AC_GNU_SOURCE' is obsolete. configure.ac:6: You should run autoupdate. ./lib/autoconf/specific.m4:489: AC_GNU_SOURCE is expanded from... configure.ac:6: the top level configure.ac:4: installing './compile' configure.ac:9: installing './config.guess' configure.ac:9: installing './config.sub' configure.ac:2: installing './install-sh' configure.ac:2: installing './missing' src/Makefile.am: installing './depcomp' + 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 + 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=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 --without-optimizecpu --with-webp checking for a BSD-compatible install... /usr/bin/install -c 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 whether to enable maintainer-specific portions of Makefiles... 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 the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none 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 wchar.h... yes checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking how to run the C preprocessor... gcc -E checking for egrep -e... /usr/bin/grep -E checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for stdio.h... (cached) yes checking for stdlib.h... (cached) yes checking for sys/time.h... yes checking for sys/wait.h... yes checking for sys/ioctl.h... yes checking for sys/mman.h... yes checking for sys/param.h... yes checking for sys/socket.h... yes checking for stdarg.h... yes checking for fcntl.h... yes checking for time.h... yes checking for signal.h... yes checking for limits.h... yes checking for errno.h... yes checking for assert.h... yes checking for netdb.h... yes checking for ctype.h... yes checking for regex.h... yes checking for math.h... yes checking for locale.h... yes checking for dirent.h... yes checking for ctype.h... (cached) yes checking for arpa/inet.h... yes checking for netinet/in.h... yes checking for termios.h... yes checking for pkg-config... yes checking for pthread.h... yes checking for setjmp.h... yes checking for jerror.h... yes checking for jpeglib.h... yes checking jpg libraries... yes checking for microhttpd.h... yes checking libmicrohttpd libraries... yes checking for pthread_np.h... no checking for pthread_setname_np... yes checking for pthread_getname_np... yes checking for XSI strerror_r... no checking for dev/bktr/ioctl_meteor.h... no checking for dev/bktr/ioctl_bt848.h... no checking for dev/ic/bt8xx.h... no checking for linux/videodev2.h... yes checking for webp... yes checking MMAL pkg-config path... .:/opt/vc/lib/pkgconfig checking for MMAL... no checking FFmpeg pkg-config path... :/usr/lib64/pkgconfig:/usr/share/pkgconfig checking for FFmpeg... yes checking MariaDB pkg-config path... :/usr/lib64/pkgconfig:/usr/share/pkgconfig checking for MariaDB... yes checking MySQL pkg-config path... :/usr/lib64/pkgconfig:/usr/share/pkgconfig checking for MySQL... no checking PostgreSQL pkg-config path... :/usr/lib64/pkgconfig:/usr/share/pkgconfig checking for PostgreSQL... yes checking for sqlite3.h... yes checking for kill... /usr/bin/kill checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating po/Makefile.in config.status: creating man/Makefile config.status: creating data/camera1-dist.conf config.status: creating data/camera2-dist.conf config.status: creating data/camera3-dist.conf config.status: creating data/camera4-dist.conf config.status: creating data/motion-dist.conf config.status: creating data/motion.service config.status: creating config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile ************************** Configure status motion 4.5.1 ************************** CFLAGS: -D_THREAD_SAFE -I/usr/include/p11-kit-1 -I/usr/include/webp -I/usr/include/mysql/ -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 LIBS: -pthread -ljpeg -lmicrohttpd -lwebpmux -lavutil -lavformat -lavcodec -lswscale -lavdevice -L/usr/lib64/ -lmariadb -lpq -lsqlite3 LDFLAGS: -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags OS : linux-gnu pthread_np : no pthread_setname_np : yes pthread_getname_np : yes XSI error : no webp support : yes V4L2 support : yes BKTR support : no MMAL support : no FFmpeg support : yes libavformat version : 59.27.100 SQLite3 support : yes MYSQL support : no PostgreSQL support : yes MariaDB support : yes Install prefix: /usr + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -Dsysconfdir=\"/etc/motion\" -DLOCALEDIR=\"/usr/share/locale\" -D_THREAD_SAFE -I/usr/include/p11-kit-1 -I/usr/include/webp -I/usr/include/mysql/ -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 -c -o logger.o logger.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -Dsysconfdir=\"/etc/motion\" -DLOCALEDIR=\"/usr/share/locale\" -D_THREAD_SAFE -I/usr/include/p11-kit-1 -I/usr/include/webp -I/usr/include/mysql/ -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 -c -o draw.o draw.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -Dsysconfdir=\"/etc/motion\" -DLOCALEDIR=\"/usr/share/locale\" -D_THREAD_SAFE -I/usr/include/p11-kit-1 -I/usr/include/webp -I/usr/include/mysql/ -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 -c -o video_loopback.o video_loopback.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -Dsysconfdir=\"/etc/motion\" -DLOCALEDIR=\"/usr/share/locale\" -D_THREAD_SAFE -I/usr/include/p11-kit-1 -I/usr/include/webp -I/usr/include/mysql/ -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 -c -o jpegutils.o jpegutils.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -Dsysconfdir=\"/etc/motion\" -DLOCALEDIR=\"/usr/share/locale\" -D_THREAD_SAFE -I/usr/include/p11-kit-1 -I/usr/include/webp -I/usr/include/mysql/ -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 -c -o video_bktr.o video_bktr.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -Dsysconfdir=\"/etc/motion\" -DLOCALEDIR=\"/usr/share/locale\" -D_THREAD_SAFE -I/usr/include/p11-kit-1 -I/usr/include/webp -I/usr/include/mysql/ -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 -c -o conf.o conf.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -Dsysconfdir=\"/etc/motion\" -DLOCALEDIR=\"/usr/share/locale\" -D_THREAD_SAFE -I/usr/include/p11-kit-1 -I/usr/include/webp -I/usr/include/mysql/ -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 -c -o video_common.o video_common.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -Dsysconfdir=\"/etc/motion\" -DLOCALEDIR=\"/usr/share/locale\" -D_THREAD_SAFE -I/usr/include/p11-kit-1 -I/usr/include/webp -I/usr/include/mysql/ -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 -c -o netcam.o netcam.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -Dsysconfdir=\"/etc/motion\" -DLOCALEDIR=\"/usr/share/locale\" -D_THREAD_SAFE -I/usr/include/p11-kit-1 -I/usr/include/webp -I/usr/include/mysql/ -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 -c -o netcam_ftp.o netcam_ftp.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -Dsysconfdir=\"/etc/motion\" -DLOCALEDIR=\"/usr/share/locale\" -D_THREAD_SAFE -I/usr/include/p11-kit-1 -I/usr/include/webp -I/usr/include/mysql/ -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 -c -o netcam_jpeg.o netcam_jpeg.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -Dsysconfdir=\"/etc/motion\" -DLOCALEDIR=\"/usr/share/locale\" -D_THREAD_SAFE -I/usr/include/p11-kit-1 -I/usr/include/webp -I/usr/include/mysql/ -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 -c -o netcam_wget.o netcam_wget.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -Dsysconfdir=\"/etc/motion\" -DLOCALEDIR=\"/usr/share/locale\" -D_THREAD_SAFE -I/usr/include/p11-kit-1 -I/usr/include/webp -I/usr/include/mysql/ -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 -c -o netcam_http.o netcam_http.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -Dsysconfdir=\"/etc/motion\" -DLOCALEDIR=\"/usr/share/locale\" -D_THREAD_SAFE -I/usr/include/p11-kit-1 -I/usr/include/webp -I/usr/include/mysql/ -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 -c -o video_v4l2.o video_v4l2.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -Dsysconfdir=\"/etc/motion\" -DLOCALEDIR=\"/usr/share/locale\" -D_THREAD_SAFE -I/usr/include/p11-kit-1 -I/usr/include/webp -I/usr/include/mysql/ -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 -c -o translate.o translate.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -Dsysconfdir=\"/etc/motion\" -DLOCALEDIR=\"/usr/share/locale\" -D_THREAD_SAFE -I/usr/include/p11-kit-1 -I/usr/include/webp -I/usr/include/mysql/ -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 -c -o rotate.o rotate.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -Dsysconfdir=\"/etc/motion\" -DLOCALEDIR=\"/usr/share/locale\" -D_THREAD_SAFE -I/usr/include/p11-kit-1 -I/usr/include/webp -I/usr/include/mysql/ -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 -c -o motion.o motion.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -Dsysconfdir=\"/etc/motion\" -DLOCALEDIR=\"/usr/share/locale\" -D_THREAD_SAFE -I/usr/include/p11-kit-1 -I/usr/include/webp -I/usr/include/mysql/ -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 -c -o track.o track.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -Dsysconfdir=\"/etc/motion\" -DLOCALEDIR=\"/usr/share/locale\" -D_THREAD_SAFE -I/usr/include/p11-kit-1 -I/usr/include/webp -I/usr/include/mysql/ -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 -c -o event.o event.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -Dsysconfdir=\"/etc/motion\" -DLOCALEDIR=\"/usr/share/locale\" -D_THREAD_SAFE -I/usr/include/p11-kit-1 -I/usr/include/webp -I/usr/include/mysql/ -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 -c -o picture.o picture.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -Dsysconfdir=\"/etc/motion\" -DLOCALEDIR=\"/usr/share/locale\" -D_THREAD_SAFE -I/usr/include/p11-kit-1 -I/usr/include/webp -I/usr/include/mysql/ -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 -c -o netcam_rtsp.o netcam_rtsp.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -Dsysconfdir=\"/etc/motion\" -DLOCALEDIR=\"/usr/share/locale\" -D_THREAD_SAFE -I/usr/include/p11-kit-1 -I/usr/include/webp -I/usr/include/mysql/ -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 -c -o alg.o alg.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -Dsysconfdir=\"/etc/motion\" -DLOCALEDIR=\"/usr/share/locale\" -D_THREAD_SAFE -I/usr/include/p11-kit-1 -I/usr/include/webp -I/usr/include/mysql/ -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 -c -o webu_status.o webu_status.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -Dsysconfdir=\"/etc/motion\" -DLOCALEDIR=\"/usr/share/locale\" -D_THREAD_SAFE -I/usr/include/p11-kit-1 -I/usr/include/webp -I/usr/include/mysql/ -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 -c -o dbse.o dbse.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -Dsysconfdir=\"/etc/motion\" -DLOCALEDIR=\"/usr/share/locale\" -D_THREAD_SAFE -I/usr/include/p11-kit-1 -I/usr/include/webp -I/usr/include/mysql/ -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 -c -o mmalcam.o mmalcam.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -Dsysconfdir=\"/etc/motion\" -DLOCALEDIR=\"/usr/share/locale\" -D_THREAD_SAFE -I/usr/include/p11-kit-1 -I/usr/include/webp -I/usr/include/mysql/ -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 -c -o webu_stream.o webu_stream.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -Dsysconfdir=\"/etc/motion\" -DLOCALEDIR=\"/usr/share/locale\" -D_THREAD_SAFE -I/usr/include/p11-kit-1 -I/usr/include/webp -I/usr/include/mysql/ -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 -c -o ffmpeg.o ffmpeg.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -Dsysconfdir=\"/etc/motion\" -DLOCALEDIR=\"/usr/share/locale\" -D_THREAD_SAFE -I/usr/include/p11-kit-1 -I/usr/include/webp -I/usr/include/mysql/ -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 -c -o webu_html.o webu_html.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -Dsysconfdir=\"/etc/motion\" -DLOCALEDIR=\"/usr/share/locale\" -D_THREAD_SAFE -I/usr/include/p11-kit-1 -I/usr/include/webp -I/usr/include/mysql/ -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 -c -o util.o util.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -Dsysconfdir=\"/etc/motion\" -DLOCALEDIR=\"/usr/share/locale\" -D_THREAD_SAFE -I/usr/include/p11-kit-1 -I/usr/include/webp -I/usr/include/mysql/ -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 -c -o webu_text.o webu_text.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -Dsysconfdir=\"/etc/motion\" -DLOCALEDIR=\"/usr/share/locale\" -D_THREAD_SAFE -I/usr/include/p11-kit-1 -I/usr/include/webp -I/usr/include/mysql/ -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 -c -o webu.o webu.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' gcc -D_THREAD_SAFE -I/usr/include/p11-kit-1 -I/usr/include/webp -I/usr/include/mysql/ -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 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -o motion motion.o logger.o conf.o draw.o jpegutils.o video_loopback.o video_v4l2.o video_common.o video_bktr.o netcam.o netcam_http.o netcam_ftp.o netcam_jpeg.o netcam_wget.o netcam_rtsp.o track.o alg.o event.o picture.o rotate.o translate.o ffmpeg.o util.o dbse.o webu_status.o webu.o webu_html.o webu_stream.o webu_text.o mmalcam.o -pthread -ljpeg -lmicrohttpd -lwebpmux -lavutil -lavformat -lavcodec -lswscale -lavdevice -L/usr/lib64/ -lmariadb -lpq -lsqlite3 /usr/bin/ld: picture.o: undefined reference to symbol 'WebPMemoryWriterInit' /usr/bin/ld: /usr/lib64/libwebp.so.7: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[2]: *** [Makefile:422: motion] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/motion-release-4.5.1/src' make[1]: *** [Makefile:553: all-recursive] Error 1 make: *** [Makefile:397: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.OEHdqJ (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.OEHdqJ (%build) I: [iurt_root_command] ERROR: chroot