D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/netpbm-11.02.00-2.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.mLvSVF + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf netpbm-11.02.00 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/netpbm-11.02.00.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd netpbm-11.02.00 + rm -rf /home/pterjan/rpmbuild/BUILD/netpbm-11.02.00-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/netpbm-11.02.00-SPECPARTS + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/test-images.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/netpbm-security-scripts.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/netpbm-security-code.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/netpbm-ppmfadeusage.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/netpbm-CVE-2017-2587.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/netpbm-python3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/netpbm-time.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/netpbm-gcc4.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/netpbm-bmptopnm.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/netpbm-CAN-2005-2471.patch + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/netpbm-xwdfix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/netpbm-multilib.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/netpbm-glibc.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/netpbm-docfix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/netpbm-cmuwtopbm.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/netpbm-pamtojpeg2k.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/netpbm-manfix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/netpbm-config.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/netpbm-libdir-so.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/netpbm-message.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/netpbm-ppmtopict.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/netpbm-add-missing-stdio.h-header-in-camera.c.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + find . -type d -perm 0700 -exec chmod 755 '{}' ';' + find . -type f -perm 0555 -exec chmod 755 '{}' ';' + find . -type f -perm 0444 -exec chmod 644 '{}' ';' ++ find . -type d -name CVS ++ find . -type f -name '.cvs*' ++ find . -type f -name '.#*' + sed -i 's/PNGVER = .*/PNGVER = 16/g' config.mk.in + rm -rf converter/other/jpeg2000/libjasper/ + rm -rf converter/other/jbig/libjbig/ + rm -f userguide/pammixmulti.html + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.UdLXz5 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd netpbm-11.02.00 + '[' 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 This is the Netpbm configurator. It is an interactive dialog that helps you build the file 'config.mk' and prepare to build Netpbm. Do not be put off by all the questions. Configure gives you the opportunity to make a lot of choices, but you don't have to. If you don't have reason to believe you're smarter than Configure, just take the defaults (hit ENTER) and don't sweat it. If you are considering having a program feed answers to the questions below, please read doc/INSTALL, because that's probably the wrong thing to do. Hit ENTER to begin. Which of the following best describes your platform? gnu GNU/Linux win Windows/DOS (Cygwin, DJGPP, Mingw32) sun Solaris or SunOS hp HP-UX aix AIX tru64 Tru64 irix Irix bsd NetBSD, BSD/OS openbsd OpenBSD freebsd FreeBSD darwin Darwin or Mac OS X amigaos Amiga unixware Unixware sco SCO OpenServer beos BeOS none none of these are even close Platform [gnu] ==> Do you want a regular build or a merge build? If you don't know what this means, take the default or see doc/INSTALL regular or merge [regular] ==> Do you want libnetpbm to be statically linked or shared? static or shared [shared] ==> Do you want to build static libraries too (for linking to programs not in the Netpbm package? (y)es or (n)o [y] ==> What header file defines uint32_t, etc.? (Doing test compiles to choose a default for you -- ignore errors) Doing test compile: gcc -c -o /tmp/netpbm0.o -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 /tmp/netpbm0.c '#include' argument or NONE [] ==> (Doing test compiles to determine if you have int64 type -- ignore errors) Doing test compile: gcc -c -o /tmp/netpbm0.o -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 /tmp/netpbm0.c You do. (Doing test compiles to determine if your compiler has SSE intrinsics -- ignore errors) Doing test compile: gcc -c -o /tmp/netpbm0.o -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 /tmp/netpbm0.c It does. Use SSE instructions? (y)es or (n)o [y] ==> Doing test compile: gcc -c -o /tmp/netpbm0.o -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 /tmp/netpbm0.c The following questions concern the subroutine libraries that are Netpbm prerequisites. Every library has a compile-time part (header files) and a link-time part. In the case of a shared library, these are both part of the "development" component of the library, which may be separately installable from the runtime shared library. For each library, you must give the filename of the link library. If it is not in your linker's default search path, give the absolute pathname of the file. In addition, you will be asked for the directory in which the library's interface headers reside, and you can respond 'default' if they are in your compiler's default search path. If you don't have the library on your system, you can enter 'none' as the library filename and the builder will skip any part that requires that library. What is your JPEG (graphics format) library? library filename or 'none' [libjpeg.so] ==> Where are the interface headers for it? JPEG header directory [default] ==> What is your TIFF (graphics format) library? library filename or 'none' [libtiff.so] ==> Where are the interface headers for it? TIFF header directory [default] ==> What is your Z (compression) library? library filename or 'none' [libz.so] ==> Where are the interface headers for it? Z header directory [default] ==> What is your Svgalib library? library filename or 'none' [none] ==> Doing test compile: gcc -c -o /tmp/netpbm0.o -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 /tmp/netpbm0.c Doing test compile: gcc -c -o /tmp/netpbm0.o -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 /tmp/netpbm0.c Doing test compile/link: gcc -o /tmp/netpbm0 /tmp/netpbm0.c -nostartfiles /usr/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000401000 Doing test compile/link: gcc -o /tmp/netpbm0 /tmp/netpbm0.c -nostartfiles -ljpeg /usr/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000401000 Doing test compile: gcc -c -o /tmp/netpbm0.o -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 /tmp/netpbm0.c Doing test compile: gcc -c -o /tmp/netpbm0.o -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 -IUSE_PKG_CONFIG.a /tmp/netpbm0.c Doing test compile: gcc -c -o /tmp/netpbm0.o -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 -I/usr/include/libxml2 /tmp/netpbm0.c Doing test compile: gcc -c -o /tmp/netpbm0.o -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 -I/usr/include/libxml2 /tmp/netpbm0.c Doing test compile to see if -Wno-strict-overflow works: cc -c -o /dev/null -Wno-strict-overflow /tmp/netpbm0.c We have created the file 'config.mk'. You may want to look at it and edit it to your requirements and taste before doing the make. Now you may proceed with 'make' ++ pwd + TOP=/home/pterjan/rpmbuild/BUILD/netpbm-11.02.00 + make CC=gcc '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/home/pterjan/rpmbuild/BUILD/netpbm-11.02.00/pbm -L/home/pterjan/rpmbuild/BUILD/netpbm-11.02.00/pgm -L/home/pterjan/rpmbuild/BUILD/netpbm-11.02.00/pnm -L/home/pterjan/rpmbuild/BUILD/netpbm-11.02.00/ppm' '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 -fPIC -flax-vector-conversions -fno-strict-aliasing' 'LADD=-lm -ljpeg' TIFFLIB_DIR=/usr/lib64 TIFFLIB=-ltiff TIFFINC_DIR=/usr/include TIFFHDR_DIR=/usr/include JPEGLIB_DIR=/usr/lib64 JPEGLIB=-ljpeg JPEGHDR_DIR=/usr/include JPEGINC_DIR=/usr/include PNGLIB_DIR=/usr/lib64 'PNGLIB=-L/usr/lib64 -lpng16' PNGINC_DIR=/usr/include/libpng16 PNGHDR_DIR=/usr/include/libpng16 ZLIB_DIR=/usr/lib64 'ZLIB=-L/usr/lib64 -lz' ZHDR_DIR=/usr/include X11LIB_DIR=/usr/lib64 'X11LIB=-L/usr/lib64 -lX11' X11INC_DIR=/usr/include X11HDR_DIR=/usr/include JBIGLIB_DIR=/usr/lib64 'JBIGLIB=-L/usr/lib64 -ljbig' JBIGHDR_DIR=/usr/include XML2LIBS=NONE LINUXSVGALIB=NONE cat /dev/null >depend.mk make -C /home/pterjan/rpmbuild/BUILD/netpbm-11.02.00/buildtools/ -f /home/pterjan/rpmbuild/BUILD/netpbm-11.02.00/buildtools/Makefile \ SRCDIR=/home/pterjan/rpmbuild/BUILD/netpbm-11.02.00 BUILDDIR=/home/pterjan/rpmbuild/BUILD/netpbm-11.02.00 typegen make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/netpbm-11.02.00/buildtools' cat /dev/null >depend.mk gcc -c -o typegen.o typegen.c gcc -o typegen -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/home/pterjan/rpmbuild/BUILD/netpbm-11.02.00/pbm -L/home/pterjan/rpmbuild/BUILD/netpbm-11.02.00/pgm -L/home/pterjan/rpmbuild/BUILD/netpbm-11.02.00/pnm -L/home/pterjan/rpmbuild/BUILD/netpbm-11.02.00/ppm typegen.o /usr/bin/ld: typegen.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: failed to set dynamic section sizes: bad value collect2: error: ld returned 1 exit status make[1]: *** [/home/pterjan/rpmbuild/BUILD/netpbm-11.02.00/buildtools/Makefile:47: typegen] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/netpbm-11.02.00/buildtools' make: *** [GNUmakefile:166: /home/pterjan/rpmbuild/BUILD/netpbm-11.02.00/buildtools/typegen] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.UdLXz5 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.UdLXz5 (%build) I: [iurt_root_command] ERROR: chroot