D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/fitscut-1.4.4-10.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.9xPc4K + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf fitscut-1.4.4 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/fitscut-1.4.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd fitscut-1.4.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.E4zIUl + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd fitscut-1.4.4 + '[' 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 + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + /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 + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + '[' -f ./configure.in -o -f ./configure.ac ']' + CONFIGURE_XPATH='--x-includes=/usr/include --x-libraries=/usr/lib64' + ./configure --build=x86_64-mageia-linux-gnu --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 --x-includes=/usr/include --x-libraries=/usr/lib64 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking whether ln -s works... yes checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for string.h... (cached) yes checking for stdlib.h... (cached) yes checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking jpeglib.h usability... yes checking jpeglib.h presence... yes checking for jpeglib.h... yes checking cfitsio/fitsio.h usability... no checking cfitsio/fitsio.h presence... no checking for cfitsio/fitsio.h... no checking fitsio.h usability... yes checking fitsio.h presence... yes checking for fitsio.h... yes checking for sin in -lm... yes checking for connect in -lsocket... no checking for main in -lnsl... yes checking for png_read_info in -lpng... yes checking for jpeg_destroy_decompress in -ljpeg... yes checking for ffvers in -lcfitsio... yes checking for wcsinit in -lwcs... yes checking what warning flags to pass to the C compiler... -Wall -Wmissing-prototypes checking what language compliance flags to pass to the C compiler... checking return type of signal handlers... void configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands configure: creating ./config.status config.status: creating Makefile config.status: creating fitscut.spec config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands + /usr/bin/make -O -j8 /usr/bin/make all-am make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fitscut-1.4.4' if gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wmissing-prototypes -MT getopt1.o -MD -MP -MF ".deps/getopt1.Tpo" -c -o getopt1.o getopt1.c; \ then mv -f ".deps/getopt1.Tpo" ".deps/getopt1.Po"; else rm -f ".deps/getopt1.Tpo"; exit 1; fi make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fitscut-1.4.4' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fitscut-1.4.4' if gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wmissing-prototypes -MT colormap.o -MD -MP -MF ".deps/colormap.Tpo" -c -o colormap.o colormap.c; \ then mv -f ".deps/colormap.Tpo" ".deps/colormap.Po"; else rm -f ".deps/colormap.Tpo"; exit 1; fi colormap.c: In function 'get_colormap': colormap.c:132:27: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] CM = (ColorMap *) malloc (sizeof (ColorMap)); ^~~~~~ colormap.c:132:27: warning: incompatible implicit declaration of built-in function 'malloc' colormap.c:132:27: note: include '' or provide a declaration of 'malloc' colormap.c:43:1: +#include colormap.c:132:27: CM = (ColorMap *) malloc (sizeof (ColorMap)); ^~~~~~ colormap.c: In function 'get_png_palette': colormap.c:179:33: warning: incompatible implicit declaration of built-in function 'malloc' palette = (png_color *) malloc (sizeof (png_color) * nvals); ^~~~~~ colormap.c:179:33: note: include '' or provide a declaration of 'malloc' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fitscut-1.4.4' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fitscut-1.4.4' if gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wmissing-prototypes -MT file_check.o -MD -MP -MF ".deps/file_check.Tpo" -c -o file_check.o file_check.c; \ then mv -f ".deps/file_check.Tpo" ".deps/file_check.Po"; else rm -f ".deps/file_check.Tpo"; exit 1; fi file_check.c: In function 'check_output_file': file_check.c:219:31: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void)fgets (response, sizeof (response)-1, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fitscut-1.4.4' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fitscut-1.4.4' if gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wmissing-prototypes -MT getopt.o -MD -MP -MF ".deps/getopt.Tpo" -c -o getopt.o getopt.c; \ then mv -f ".deps/getopt.Tpo" ".deps/getopt.Po"; else rm -f ".deps/getopt.Tpo"; exit 1; fi make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fitscut-1.4.4' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fitscut-1.4.4' if gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wmissing-prototypes -MT histogram.o -MD -MP -MF ".deps/histogram.Tpo" -c -o histogram.o histogram.c; \ then mv -f ".deps/histogram.Tpo" ".deps/histogram.Po"; else rm -f ".deps/histogram.Tpo"; exit 1; fi make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fitscut-1.4.4' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fitscut-1.4.4' if gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wmissing-prototypes -MT extract.o -MD -MP -MF ".deps/extract.Tpo" -c -o extract.o extract.c; \ then mv -f ".deps/extract.Tpo" ".deps/extract.Po"; else rm -f ".deps/extract.Tpo"; exit 1; fi make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fitscut-1.4.4' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fitscut-1.4.4' if gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wmissing-prototypes -MT fitscut.o -MD -MP -MF ".deps/fitscut.Tpo" -c -o fitscut.o fitscut.c; \ then mv -f ".deps/fitscut.Tpo" ".deps/fitscut.Po"; else rm -f ".deps/fitscut.Tpo"; exit 1; fi fitscut.c:108:10: fatal error: libwcs/wcs.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:329: fitscut.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fitscut-1.4.4' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fitscut-1.4.4' if gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wmissing-prototypes -MT output_fits.o -MD -MP -MF ".deps/output_fits.Tpo" -c -o output_fits.o output_fits.c; \ then mv -f ".deps/output_fits.Tpo" ".deps/output_fits.Po"; else rm -f ".deps/output_fits.Tpo"; exit 1; fi output_fits.c: In function 'fitscut_write_primary': output_fits.c:72:14: warning: variable 'nelements' set but not used [-Wunused-but-set-variable] long nelements; ^~~~~~~~~ output_fits.c:70:14: warning: variable 'fpixel' set but not used [-Wunused-but-set-variable] long fpixel[3]; ^~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fitscut-1.4.4' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fitscut-1.4.4' if gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wmissing-prototypes -MT output_jpg.o -MD -MP -MF ".deps/output_jpg.Tpo" -c -o output_jpg.o output_jpg.c; \ then mv -f ".deps/output_jpg.Tpo" ".deps/output_jpg.Po"; else rm -f ".deps/output_jpg.Tpo"; exit 1; fi output_jpg.c: In function 'write_to_jpg': output_jpg.c:328:46: warning: pointer targets in passing argument 3 of 'jpeg_write_marker' differ in signedness [-Wpointer-sign] jpeg_write_marker (&cinfo, JPEG_COM, comment_text, strlen (comment_text)); ^~~~~~~~~~~~ In file included from output_jpg.c:37: /usr/include/jpeglib.h:968:14: note: expected 'const JOCTET *' {aka 'const unsigned char *'} but argument is of type 'char *' EXTERN(void) jpeg_write_marker(j_compress_ptr cinfo, int marker, ^~~~~~~~~~~~~~~~~ output_jpg.c:273:24: warning: variable 'num_palette' set but not used [-Wunused-but-set-variable] int bit_depth, num_palette; ^~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fitscut-1.4.4' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fitscut-1.4.4' if gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wmissing-prototypes -MT resize.o -MD -MP -MF ".deps/resize.Tpo" -c -o resize.o resize.c; \ then mv -f ".deps/resize.Tpo" ".deps/resize.Po"; else rm -f ".deps/resize.Tpo"; exit 1; fi make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fitscut-1.4.4' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fitscut-1.4.4' if gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wmissing-prototypes -MT output_png.o -MD -MP -MF ".deps/output_png.Tpo" -c -o output_png.o output_png.c; \ then mv -f ".deps/output_png.Tpo" ".deps/output_png.Po"; else rm -f ".deps/output_png.Tpo"; exit 1; fi make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fitscut-1.4.4' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fitscut-1.4.4' if gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wmissing-prototypes -MT draw.o -MD -MP -MF ".deps/draw.Tpo" -c -o draw.o draw.c; \ then mv -f ".deps/draw.Tpo" ".deps/draw.Po"; else rm -f ".deps/draw.Tpo"; exit 1; fi make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fitscut-1.4.4' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/fitscut-1.4.4' if gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wmissing-prototypes -MT image_scale.o -MD -MP -MF ".deps/image_scale.Tpo" -c -o image_scale.o image_scale.c; \ then mv -f ".deps/image_scale.Tpo" ".deps/image_scale.Po"; else rm -f ".deps/image_scale.Tpo"; exit 1; fi image_scale.c: In function 'log_image': image_scale.c:216:15: warning: variable 'user_threshold' set but not used [-Wunused-but-set-variable] float user_threshold; ^~~~~~~~~~~~~~ image_scale.c:215:15: warning: variable 'threshold' set but not used [-Wunused-but-set-variable] float threshold; ^~~~~~~~~ image_scale.c: In function 'sqrt_image': image_scale.c:257:15: warning: variable 'threshold' set but not used [-Wunused-but-set-variable] float threshold; ^~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/fitscut-1.4.4' make: *** [Makefile:223: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.E4zIUl (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.E4zIUl (%build) I: [iurt_root_command] ERROR: chroot