D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/pg2plplot-0.4.1-3.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.BHzZca + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf pg2plplot-0.4.1 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/pg2plplot-0.4.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pg2plplot-0.4.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/pg2plplot-0.4.1-cmake-link.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/pg2plplot-0.4.1-modulesdir.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/pg2plplot-0.4.1-soname.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.sjCWvd + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd pg2plplot-0.4.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export MODULEDIR=/usr/lib/gcc/x86_64-mageia-linux-gnu/7.2.1//finclude + MODULEDIR=/usr/lib/gcc/x86_64-mageia-linux-gnu/7.2.1//finclude + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export FFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + mkdir -p build + cd build + /usr/bin/cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=/usr/libexec -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_SKIP_RPATH:BOOL=ON -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 -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_STATIC_LIB:BOOL=ON -- The Fortran compiler identification is GNU 7.2.1 -- Check for working Fortran compiler: /usr/bin/gfortran -- Check for working Fortran compiler: /usr/bin/gfortran -- works -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - done -- Checking whether /usr/bin/gfortran supports Fortran 90 -- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes -- -- Looking for PLplot... -- Found components for PLplot: -- * PLplot_INCLUDE_DIR = /usr/lib/gcc/x86_64-mageia-linux-gnu/7.2.1/finclude/plplot -- * PLplot_LIBRARIES = /usr/lib64/libplplot.so;/usr/lib64/libplplotcxx.so;/usr/lib64/libplplotwxwidgets.so -- -- Using Fortran compiler: gfortran 7.2.1 (/usr/bin/gfortran) -- Compiling with warnings: -Wall -Wextra -- Compiling with library options: -fPIC -g -- Compiler flags used: -std=f2008 -fall-intrinsics -pedantic -fwhole-file -pipe -funroll-all-loops -O2 -fPIC -g -Wall -Wextra -I/usr/lib/gcc/x86_64-mageia-linux-gnu/7.2.1/finclude/plplot -g -ffpe-trap=zero,invalid -fsignaling-nans -fbacktrace -- Package plplot-f95 was not found in the pkg-config search path. Perhaps you should add the directory containing `plplot-f95.pc' to the PKG_CONFIG_PATH environment variable No package 'plplot-f95' found Package plplot-f95 was not found in the pkg-config search path. Perhaps you should add the directory containing `plplot-f95.pc' to the PKG_CONFIG_PATH environment variable No package 'plplot-f95' found -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_STATIC_LIBS CMAKE_CXX_FLAGS_RELWITHDEBINFO CMAKE_C_FLAGS_RELWITHDEBINFO CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_SYSCONFDIR CMAKE_STATIC_LIB INCLUDE_INSTALL_DIR LIB_INSTALL_DIR SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /home/pterjan/rpmbuild/BUILD/pg2plplot-0.4.1/build + /usr/bin/make /usr/bin/cmake -H/home/pterjan/rpmbuild/BUILD/pg2plplot-0.4.1 -B/home/pterjan/rpmbuild/BUILD/pg2plplot-0.4.1/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /home/pterjan/rpmbuild/BUILD/pg2plplot-0.4.1/build/CMakeFiles /home/pterjan/rpmbuild/BUILD/pg2plplot-0.4.1/build/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/pg2plplot-0.4.1/build' /usr/bin/make -f CMakeFiles/pg2plplot_static.dir/build.make CMakeFiles/pg2plplot_static.dir/depend make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pg2plplot-0.4.1/build' cd /home/pterjan/rpmbuild/BUILD/pg2plplot-0.4.1/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pterjan/rpmbuild/BUILD/pg2plplot-0.4.1 /home/pterjan/rpmbuild/BUILD/pg2plplot-0.4.1 /home/pterjan/rpmbuild/BUILD/pg2plplot-0.4.1/build /home/pterjan/rpmbuild/BUILD/pg2plplot-0.4.1/build /home/pterjan/rpmbuild/BUILD/pg2plplot-0.4.1/build/CMakeFiles/pg2plplot_static.dir/DependInfo.cmake --color= Scanning dependencies of target pg2plplot_static make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pg2plplot-0.4.1/build' /usr/bin/make -f CMakeFiles/pg2plplot_static.dir/build.make CMakeFiles/pg2plplot_static.dir/requires make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pg2plplot-0.4.1/build' make[2]: Nothing to be done for 'CMakeFiles/pg2plplot_static.dir/requires'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pg2plplot-0.4.1/build' /usr/bin/make -f CMakeFiles/pg2plplot_static.dir/build.make CMakeFiles/pg2plplot_static.dir/build make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pg2plplot-0.4.1/build' [ 25%] Building Fortran object CMakeFiles/pg2plplot_static.dir/src/pg2plplot.f90.o /usr/bin/gfortran -std=f2008 -fall-intrinsics -pedantic -fwhole-file -pipe -funroll-all-loops -O2 -fPIC -g -Wall -Wextra -I/usr/lib/gcc/x86_64-mageia-linux-gnu/7.2.1/finclude/plplot -std=f2008 -fall-intrinsics -pedantic -fwhole-file -pipe -funroll-all-loops -O2 -fPIC -g -Wall -Wextra -I/usr/lib/gcc/x86_64-mageia-linux-gnu/7.2.1/finclude/plplot -g -ffpe-trap=zero,invalid -fsignaling-nans -fbacktrace -J../usr/include/pg2plplot -c /home/pterjan/rpmbuild/BUILD/pg2plplot-0.4.1/src/pg2plplot.f90 -o CMakeFiles/pg2plplot_static.dir/src/pg2plplot.f90.o /home/pterjan/rpmbuild/BUILD/pg2plplot-0.4.1/src/pg2plplot.f90:985:28: call plsetopt("db", "") 1 Error: There is no specific subroutine for the generic 'plsetopt' at (1) /home/pterjan/rpmbuild/BUILD/pg2plplot-0.4.1/src/pg2plplot.f90:1043:28: call plsetopt("db", "") 1 Error: There is no specific subroutine for the generic 'plsetopt' at (1) make[2]: *** [CMakeFiles/pg2plplot_static.dir/build.make:66: CMakeFiles/pg2plplot_static.dir/src/pg2plplot.f90.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pg2plplot-0.4.1/build' make[1]: *** [CMakeFiles/Makefile2:72: CMakeFiles/pg2plplot_static.dir/all] Error 2 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pg2plplot-0.4.1/build' make: *** [Makefile:133: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.sjCWvd (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.sjCWvd (%build) I: [iurt_root_command] ERROR: chroot