D: [iurt_root_command] chroot Installing /home/baz/rpmbuild/SRPMS/bulk-extractor-2.1.1-0.3.mga.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/baz/rpmbuild/tmp/rpm-tmp.ZscKcU + umask 022 + cd /home/baz/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/baz/rpmbuild/BUILD + rm -rf bulk-extractor-2.1.1 + /usr/lib/rpm/rpmuncompress -x /home/baz/rpmbuild/SOURCES/bulk-extractor-2.1.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd bulk-extractor-2.1.1 + rm -rf /home/baz/rpmbuild/BUILD/bulk-extractor-2.1.1-SPECPARTS + /usr/bin/mkdir -p /home/baz/rpmbuild/BUILD/bulk-extractor-2.1.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + ./bootstrap.sh configure.ac:30: installing 'build-aux/compile' configure.ac:24: installing 'build-aux/install-sh' configure.ac:24: installing 'build-aux/missing' src/Makefile.am: installing 'build-aux/depcomp' parallel-tests: installing 'build-aux/test-driver' The bootstrap.sh is complete. Be sure to run ./configure. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/baz/rpmbuild/tmp/rpm-tmp.4NJcT6 + umask 022 + cd /home/baz/rpmbuild/BUILD + cd bulk-extractor-2.1.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + 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 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 configure: at start CPPFLAGS are checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes 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 whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib 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 flex... no checking for lex... no checking whether g++ supports C++17 features with -std=gnu++17... yes 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 string... yes configure: C++ Warnings to test: -Wall -MD -Wpointer-arith -Wshadow -Wwrite-strings -Wcast-align -Wredundant-decls -Wdisabled-optimization -Wfloat-equal -Wmultichar -Wmissing-noreturn -Woverloaded-virtual -Wsign-promo -Weffc++ checking whether g++ understands -Wall... yes checking whether g++ understands -MD... yes checking whether g++ understands -Wpointer-arith... yes checking whether g++ understands -Wshadow... yes checking whether g++ understands -Wwrite-strings... yes checking whether g++ understands -Wcast-align... yes checking whether g++ understands -Wredundant-decls... yes checking whether g++ understands -Wdisabled-optimization... yes checking whether g++ understands -Wfloat-equal... yes checking whether g++ understands -Wmultichar... yes checking whether g++ understands -Wmissing-noreturn... yes checking whether g++ understands -Woverloaded-virtual... yes checking whether g++ understands -Wsign-promo... yes checking whether g++ understands -Weffc++... yes configure: dfxml_cpp/src/dfxml_configure.m4 start checking for expat.h... yes checking for sys/resource.h... yes checking for sys/utsname.h... yes checking for unistd.h... (cached) yes checking for winsock2.h... no checking for boost/version.hpp... no checking for pwd.h... yes checking for uuid/uuid.h... no checking for gmtime_r... yes checking for getuid... yes checking for gethostname... yes checking for getpwuid... yes checking for getrusage... yes checking for vasprintf... yes configure: dfxml_cpp/src/dfxml_configure.m4 checked initial headers and funcs checking for expat.h... (cached) yes checking for XML_ParserCreate in -lexpat... yes checking for git... yes configure: git commit 85471cf-667-gb2279ce-dirty configure: have_cpuid: yes configure: dfxml_cpp/src/dfxml_configure.m4 mingw check1 configure: dfxml_cpp/src/dfxml_configure.m4 crypto check checking for CommonCrypto/CommonDigest.h... no checking for gcrypt.h... no checking for gpg_strerror in -lgpg-error... no checking for gcry_md_open in -lgcrypt... no checking for openssl/aes.h... yes checking for openssl/bio.h... yes checking for openssl/evp.h... yes checking for openssl/hmac.h... yes checking for openssl/md5.h... yes checking for openssl/pem.h... yes checking for openssl/rand.h... yes checking for openssl/rsa.h... yes checking for openssl/sha.h... yes checking for openssl/pem.h... (cached) yes checking for openssl/x509.h... yes checking for EVP_get_digestbyname in -lcrypto... yes checking for SSL_library_init in -lssl... no checking for gcry_md_open... no checking for CC_MD2_Init... no checking for EVP_get_digestbyname... yes configure: dfxml_cpp/src/dfxml_configure.m4 end configure: adding -O3 to CFLAGS and CXXFLAGS configure: be20_api/be20_configure.m4 start checking whether byte ordering is bigendian... no checking for dlfcn.h... yes checking for fcntl.h... yes checking for limits.h... yes checking for limits/limits.h... no checking for linux/if_ether.h... yes checking for net/ethernet.h... yes checking for netinet/if_ether.h... yes checking for netinet/in.h... yes checking for pcap.h... no checking for pcap/pcap.h... no checking for sqlite3.h... no checking for sys/cdefs.h... yes checking for sys/mman.h... yes checking for sys/stat.h... (cached) yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking for sys/vmmeter.h... no checking for unistd.h... (cached) yes checking for windows.h... no checking for windows.h... (cached) no checking for windowsx.h... no checking for winsock2.h... (cached) no checking for wpcap/pcap.h... no checking for mach/mach.h... no checking for mach-o/dyld.h... no checking for gmtime_r... (cached) yes checking for ishexnumber... no checking for isxdigit... yes checking for localtime_r... yes checking for unistd.h... no checking for mmap... yes checking for err... yes checking for errx... yes checking for warn... yes checking for warnx... yes checking for pread64... yes checking for pread... yes checking for strptime... yes checking for _lseeki64... no checking for task_info... no checking for utimes... yes checking for host_statistics64... no checking for sqlite3_libversion in -lsqlite3... no checking for sqlite3_create_function_v2... no checking for sysctlbyname... no configure: be20_configure: CPPFLAGS are now -DUTC_OFFSET=+0000 checking for re2/re2.h... yes 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 re2... yes configure: re2 detected checking for pcre.h... yes checking for libpcre... yes configure: pcre detected configure: be20_api/be20_configure.m4 end configure: Compiling under x86_64-mageia-linux-gnu. configure: checking /usr/local/include configure: *** ADDING /usr/local/include to CPPFLAGS *** configure: *** ADDING /usr/local/lib to LDFLAGS *** configure: checking /opt/local/include configure: checking /sw/include configure: checking /usr/local/ssl/include configure: CPPFLAGS = -DUTC_OFFSET=+0000 -I/usr/local/include configure: 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 -L/usr/local/lib configure: error: gnu flex is required. error: Bad exit status from /home/baz/rpmbuild/tmp/rpm-tmp.4NJcT6 (%build) RPM build errors: Bad exit status from /home/baz/rpmbuild/tmp/rpm-tmp.4NJcT6 (%build) I: [iurt_root_command] ERROR: chroot