D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/codec2-0.8.1-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.58j70A + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf codec2-0.8.1 + /usr/bin/xz -dc /home/iurt/rpmbuild/SOURCES/codec2-0.8.1.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd codec2-0.8.1 + /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/iurt/rpmbuild/tmp/rpm-tmp.5Rwbty + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd codec2-0.8.1 + '[' 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 -- 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 -- codec2 version: 0.8.1 -- Performing Test COMPILER_SUPPORTS_GNU11 -- Performing Test COMPILER_SUPPORTS_GNU11 - Success -- Build type is: RelWithDebInfo -- Compiler Flags: -DNDEBUG -- Looking for include file stdlib.h -- Looking for include file stdlib.h - found -- Looking for include file string.h -- Looking for include file string.h - found -- Looking for floor -- Looking for floor - found -- Looking for ceil -- Looking for ceil - found -- Looking for pow -- Looking for pow - found -- Looking for sqrt -- Looking for sqrt - found -- Looking for sin -- Looking for sin - found -- Looking for cos -- Looking for cos - found -- Looking for atan2 -- Looking for atan2 - found -- Looking for log10 -- Looking for log10 - found -- Looking for round -- Looking for round - found -- Looking for getopt -- Looking for getopt - found -- 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 -- Threads library flags: -lpthread -- Looking for Speex DSP library. -- Speex DSP headers: /usr/include -- Speex DSP library: /usr/lib64/libspeexdsp.so -- Looking for samplerate... -- samplerate headers: /usr/include -- samplerate library: /usr/lib64/libsamplerate.so -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_STATIC_LIBS CMAKE_CXX_FLAGS_RELWITHDEBINFO INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /home/iurt/rpmbuild/BUILD/codec2-0.8.1/build + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.EA4qtz + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/codec2-0.8.1-4.mga8.x86_64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/codec2-0.8.1-4.mga8.x86_64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/codec2-0.8.1-4.mga8.x86_64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/codec2-0.8.1-4.mga8.x86_64 + cd codec2-0.8.1 + '[' 1 -eq 1 ']' + DESTDIR=/home/iurt/rpmbuild/BUILDROOT/codec2-0.8.1-4.mga8.x86_64 + /usr/bin/cmake --install build -- Install configuration: "RelWithDebInfo" -- Installing: /home/iurt/rpmbuild/BUILDROOT/codec2-0.8.1-4.mga8.x86_64/usr/lib64/pkgconfig/codec2.pc CMake Error at build/src/cmake_install.cmake:60 (file): file INSTALL cannot find "/home/iurt/rpmbuild/BUILD/codec2-0.8.1/build/src/libcodec2.so.0.8": No such file or directory. Call Stack (most recent call first): build/cmake_install.cmake:59 (include) error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.EA4qtz (%install) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.EA4qtz (%install) I: [iurt_root_command] ERROR: chroot