D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/italc-3.0.3-4.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.BbXHmr + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf italc-3.0.3 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/italc-3.0.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd italc-3.0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #2 (italc-3.0.3-mga-globalconfig.patch):' Patch #2 (italc-3.0.3-mga-globalconfig.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ima/src/main.cpp + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.T5rvdr + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd italc-3.0.3 + '[' 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 + /usr/bin/cmake -Wno-dev -S . -B build -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=/usr/libexec -DCMAKE_INSTALL_RUNSTATEDIR:PATH=/run -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DLIB_SUFFIX=64 -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON '-DCMAKE_MODULE_LINKER_FLAGS=-Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF -- The C compiler identification is GNU 10.2.0 -- The CXX compiler identification is GNU 10.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "1.7.3") -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Performing Test ITALC_HAVE_TLS -- Performing Test ITALC_HAVE_TLS - Success -- Looking for include file arpa/inet.h -- Looking for include file arpa/inet.h - found -- Looking for include file unistd.h -- Looking for include file unistd.h - found -- Looking for include file fcntl.h -- Looking for include file fcntl.h - found -- Looking for include file limits.h -- Looking for include file limits.h - found -- Looking for include file memory.h -- Looking for include file memory.h - found -- Looking for include file netdb.h -- Looking for include file netdb.h - found -- Looking for include file netinet/in.h -- Looking for include file netinet/in.h - found -- Looking for include file stdint.h -- Looking for include file stdint.h - found -- Looking for include file stdlib.h -- Looking for include file stdlib.h - found -- Looking for include file stdbool.h -- Looking for include file stdbool.h - found -- Looking for include file string.h -- Looking for include file string.h - found -- Looking for include file strings.h -- Looking for include file strings.h - found -- Looking for include file sys/ioctl.h -- Looking for include file sys/ioctl.h - found -- Looking for include file sys/socket.h -- Looking for include file sys/socket.h - found -- Looking for include file sys/time.h -- Looking for include file sys/time.h - found -- Looking for include file sys/timeb.h -- Looking for include file sys/timeb.h - found -- Looking for include file sys/stat.h -- Looking for include file sys/stat.h - found -- Looking for include file syslog.h -- Looking for include file syslog.h - found -- Looking for include file pwd.h -- Looking for include file pwd.h - found -- Looking for include file sys/types.h -- Looking for include file sys/types.h - found -- Looking for include file utmpx.h -- Looking for include file utmpx.h - found -- Looking for include file sys/wait.h -- Looking for include file sys/wait.h - found -- Looking for include file time.h -- Looking for include file time.h - found -- Looking for include file errno.h -- Looking for include file errno.h - found -- Looking for include file pthread.h -- Looking for include file pthread.h - found -- Looking for include file sys/ipc.h -- Looking for include file sys/ipc.h - found -- Looking for include file sys/shm.h -- Looking for include file sys/shm.h - found -- Looking for include file stdarg.h -- Looking for include file stdarg.h - found -- Looking for include file signal.h -- Looking for include file signal.h - found -- Looking for include file ctype.h -- Looking for include file ctype.h - found -- Looking for include file process.h -- Looking for include file process.h - not found -- Looking for include file dlfcn.h -- Looking for include file dlfcn.h - found -- Looking for include file inttypes.h -- Looking for include file inttypes.h - found -- Looking for include file vfork.h -- Looking for include file vfork.h - not found -- Looking for include file linux/fb.h -- Looking for include file linux/fb.h - found -- Looking for include file linux/input.h -- Looking for include file linux/input.h - found -- Looking for include file linux/uinput.h -- Looking for include file linux/uinput.h - found -- Looking for include file linux/videodev.h -- Looking for include file linux/videodev.h - not found -- Looking for include file linux/videodev2.h -- Looking for include file linux/videodev2.h - found -- Looking for include file ws2tcpip.h -- Looking for include file ws2tcpip.h - not found -- Performing Test PAM_MESSAGE_CONST -- Performing Test PAM_MESSAGE_CONST - Success -- Found PAM: /usr/lib64/libpam.so;/usr/lib64/libdl.so -- Looking for dup2 -- Looking for dup2 - found -- Looking for floor -- Looking for floor - found -- Looking for ftime -- Looking for ftime - found -- Looking for geteuid -- Looking for geteuid - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for gethostname -- Looking for gethostname - found -- Looking for getpwnam -- Looking for getpwnam - found -- Looking for getpwuid -- Looking for getpwuid - found -- Looking for getspnam -- Looking for getspnam - found -- Looking for gettimeofday -- Looking for gettimeofday - found -- Looking for getuid -- Looking for getuid - found -- Looking for grantpt -- Looking for grantpt - found -- Looking for inet_ntoa -- Looking for inet_ntoa - found -- Looking for initgroups -- Looking for initgroups - found -- Looking for memcmp -- Looking for memcmp - found -- Looking for memcpy -- Looking for memcpy - found -- Looking for memmove -- Looking for memmove - found -- Looking for memset -- Looking for memset - found -- Looking for mkfifo -- Looking for mkfifo - found -- Looking for mmap -- Looking for mmap - found -- Looking for pow -- Looking for pow - found -- Looking for putenv -- Looking for putenv - found -- Looking for select -- Looking for select - found -- Looking for seteuid -- Looking for seteuid - found -- Looking for setpgrp -- Looking for setpgrp - found -- Looking for setsid -- Looking for setsid - found -- Looking for setutxent -- Looking for setutxent - found -- Looking for socket -- Looking for socket - found -- Looking for strchr -- Looking for strchr - found -- Looking for strdup -- Looking for strdup - found -- Looking for strerror -- Looking for strerror - found -- Looking for strpbrk -- Looking for strpbrk - found -- Looking for strrchr -- Looking for strrchr - found -- Looking for strstr -- Looking for strstr - found -- Looking for uname -- Looking for uname - found -- Looking for waitpid -- Looking for waitpid - found -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- Found JPEG: /usr/lib64/libjpeg.so (found version "80") -- Found OpenSSL: /usr/lib64/libcrypto.so (found version "1.1.1g") -- Found PNG: /usr/lib64/libpng.so (found version "1.6.37") -- Found X11: /usr/include -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Looking for XReadScreen -- Looking for XReadScreen - not found -- Looking for FBPMForceLevel -- Looking for FBPMForceLevel - not found -- Looking for DPMSForceLevel -- Looking for DPMSForceLevel - found -- Looking for XTestGrabControl -- Looking for XTestGrabControl - found -- Looking for XRecordEnableContextAsync -- Looking for XRecordEnableContextAsync - found -- Looking for include file X11/extensions/readdisplay.h -- Looking for include file X11/extensions/readdisplay.h - not found -- Looking for include file X11/XKBlib.h -- Looking for include file X11/XKBlib.h - found -- Looking for XkbSelectEvents -- Looking for XkbSelectEvents - found -- Found Java: /usr/bin/java (found version "11.0.9-ea") iTALC build summary -------------------- * Version : 3.0.3.0 (3.0.3) * Install prefix : /usr * Build type : relwithdebinfo * Platform : x86_64 (x86_64-mageia-linux-gnu) * Builtin JavaViewer support : yes * Compile flags : -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall (CXX: -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -fno-exceptions -std=c++11 ) ----------------------------------------------------------------- IMPORTANT: After installing missing packages, remove CMakeCache.txt before running cmake again! ----------------------------------------------------------------- -- Configuring done CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: X11_Xdamage_LIB (ADVANCED) linked by target "ica" in directory /home/iurt/rpmbuild/BUILD/italc-3.0.3/ica -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_STATIC_LIBS INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR CMake Generate step failed. Build files cannot be regenerated correctly. error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.T5rvdr (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.T5rvdr (%build) I: [iurt_root_command] ERROR: chroot