D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/eso-midas-23FEBpl1.0-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Lkxdl6 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.5wgMpj + umask 022 + cd /home/pterjan/rpmbuild/BUILD/eso-midas-23FEBpl1.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/eso-midas-23FEBpl1.0-build + rm -rf midas + /usr/bin/mkdir -p midas + cd midas + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/23FEBpl1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/calib_src.tar.gz + 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/23FEBpl1.0-flags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/23FEBpl1.0-fixbuild.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + find -name makefile -exec sed -i 's/DEV_NULL =.*/DEV_NULL =/' '{}' ';' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.HgFptl + umask 022 + cd /home/pterjan/rpmbuild/BUILD/eso-midas-23FEBpl1.0-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -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 -fcommon -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 -fcommon -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 -fcommon -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 + cd midas + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export MIDVERS=23FEBpl1.0 + MIDVERS=23FEBpl1.0 ++ pwd + export MIDASHOME=/home/pterjan/rpmbuild/BUILD/eso-midas-23FEBpl1.0-build/midas + MIDASHOME=/home/pterjan/rpmbuild/BUILD/eso-midas-23FEBpl1.0-build/midas + sed -i 's|$(MGAFLAGS)|-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wno-implicit|g' /home/pterjan/rpmbuild/BUILD/eso-midas-23FEBpl1.0-build/midas/23FEBpl1.0/install/unix/systems/Linux/make_options + sed -i 's|$(MGAFLAGS)|-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wno-implicit|g' /home/pterjan/rpmbuild/BUILD/eso-midas-23FEBpl1.0-build/midas/23FEBpl1.0/install/unix/systems/Linux_AMD64/make_options + pushd 23FEBpl1.0/install/unix ~/rpmbuild/BUILD/eso-midas-23FEBpl1.0-build/midas/23FEBpl1.0/install/unix ~/rpmbuild/BUILD/eso-midas-23FEBpl1.0-build/midas + ./preinstall -a Your current definitions: ------------------------ MIDASHOME=/home/pterjan/rpmbuild/BUILD/eso-midas-23FEBpl1.0-build/midas MIDVERS=23FEBpl1.0 Do you want to modify these definitions [yn]? (n): File /home/pterjan/rpmbuild/BUILD/eso-midas-23FEBpl1.0-build/midas/23FEBpl1.0/local/default.mk created. system chosen: Linux_AMD64 All files from the directory will be copied into your directory Do you want to continue [yn]? (y): . ./make_shared ./setup ./make_options ./README **************************** IMPORTANT NOTES ********************************** 001220: We do not use the library `libtermcap.a' anymore instead `libncurses.a' is used 050531: the development packages (which contain the include files) are needed for Motif, the curses library and X11 names differ from distro to distro, e.g. openmotif-devel, ncurses-devel and XFree86-devel for Suse 071114: for Kubuntu 7.10 we also had to install the package x11proto-print-dev (for the printing extension protocol) besides the packages libmotif-dev, libmotif3 to make the Motif check work in the Midas installation (because in Xm/Xm.h reference was made to X11/extension/Print.h) ******************************************************************************* Type to continue.... Your MAKE_OPTIONS after pre-install: CC=gcc LDCC=gcc F77=gfortran F_OPT=-O -fPIC -std=legacy -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wno-implicit C_OPT=-O -fPIC -fcommon -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wno-implicit SYS=-DLinuxAMD64 -DGCC -ltirpc -I/usr/include/tirpc SLIB=-Wl,-rpath $(MIDASHOME)/$(MIDVERS)/lib -ltirpc -lnsl SH_OPT=-fPIC SH_CMD=$(MIDASHOME)/$(MIDVERS)/local/make_shared GUI_OPT=-DPATH_MAX=1024 -Ddg88 EDITFLAGS=-DVOID_SIGHANDLER -DHAVE_ALLOCA -DHAVE_ALLOCA_H -DUSG -DUSGr3 -DHAVE_GETPW_DECLS -DHAVE_DIRENT_H -DHAVE_STRING_H -DLinux -DHAVE_UNISTD_H -DHAVE_STDLIB_H EDITLIBS=-lreadline -lncurses -ltirpc -lnsl Preinstallation of MIDAS completed. Type to continue.... + ./select all LIST OF AVAILABLE PACKAGES IN MIDAS: Category Name Status ======================================== stty: 'standard input': Inappropriate ioctl for device egrep: warning: egrep is obsolescent; using grep -E applic display (selected) applic fit (selected) applic general (selected) applic plot (selected) applic statist (selected) applic table (selected) egrep: warning: egrep is obsolescent; using grep -E stdred ccdred (selected) stdred ccdtest (selected) stdred do (selected) stdred echelle (selected) stdred feros (selected) stdred irac2 (selected) stdred irspec (selected) stdred long (selected) stdred mmf (selected) stdred mos (selected) stdred optopus (selected) stdred pisco (selected) stdred qc (selected) stdred spec (selected) egrep: warning: egrep is obsolescent; using grep -E contrib astromet (selected) contrib baches (selected) contrib cloud (selected) contrib daophot (selected) contrib esolv (selected) contrib geotest (selected) contrib hst (selected) contrib imres (selected) contrib invent (selected) contrib iue (selected) contrib lyman (selected) contrib pepsys (selected) contrib rgb (selected) contrib romafot (selected) contrib surfphot (selected) contrib template (selected) contrib tsa (selected) contrib wavelet (selected) egrep: warning: egrep is obsolescent; using grep -E gui GraphLib (selected) gui XAlice (selected) gui XBatch (selected) gui XDisplay (selected) gui XDo (selected) gui XEchelle (selected) gui XFilter (selected) gui XHelp (selected) gui XIdent (selected) gui XIrspec (selected) gui XLong (selected) stty: 'standard input': Inappropriate ioctl for device + ./install1 -a Your current MAKE_OPTIONS: CC=gcc LDCC=gcc F77=gfortran F_OPT=-O -fPIC -std=legacy -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wno-implicit C_OPT=-O -fPIC -fcommon -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wno-implicit SYS=-DLinuxAMD64 -DGCC -ltirpc -I/usr/include/tirpc SLIB=-Wl,-rpath $(MIDASHOME)/$(MIDVERS)/lib -ltirpc -lnsl SH_OPT=-fPIC SH_CMD=$(MIDASHOME)/$(MIDVERS)/local/make_shared GUI_OPT=-DPATH_MAX=1024 -Ddg88 EDITFLAGS=-DVOID_SIGHANDLER -DHAVE_ALLOCA -DHAVE_ALLOCA_H -DUSG -DUSGr3 -DHAVE_GETPW_DECLS -DHAVE_DIRENT_H -DHAVE_STRING_H -DLinux -DHAVE_UNISTD_H -DHAVE_STDLIB_H EDITLIBS=-lreadline -lncurses -ltirpc -lnsl *** MIDAS INSTALLATION TESTS *** *** Checking the C compiler....OK. *** Use *** Use (new) /home/pterjan/rpmbuild/BUILD/eso-midas-23FEBpl1.0-build/midas/23FEBpl1.0/system/ftoc-new *** and copy ...-2 files for f2c work *** Checking the C linker....OK. *** Checking the MIDAS oserror definition....OK. installing Midas on a 64 bit system *** Checking the Fortran compiler....OK. *** Checking the Fortran linker....OK. *** Checking some standard math routines....makefile:28: warning: overriding recipe for target '.for.f' ../../../local/default.mk:80: warning: ignoring old recipe for target '.for.f' makefile:31: warning: overriding recipe for target '.for.o' ../../../local/default.mk:76: warning: ignoring old recipe for target '.for.o' rm -f mathf.f cp mathf.for mathf.f gfortran -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O -fPIC -std=legacy -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wno-implicit -c mathf.f f951: Warning: command-line option '-Wformat=1' is valid for C/C++/ObjC/ObjC++ but not for Fortran f951: Warning: '-Werror=' argument '-Werror=format-security' is not valid for Fortran f951: Warning: command-line option '-Wformat=1' is valid for C/C++/ObjC/ObjC++ but not for Fortran f951: Warning: '-Werror=' argument '-Werror=format-security' is not valid for Fortran f951: Warning: command-line option '-Wno-implicit' is valid for C/ObjC but not for Fortran rm -f mathf.f gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fcommon -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wno-implicit -DLinuxAMD64 -DGCC -ltirpc -I/usr/include/tirpc -DNOVARARGS -I/home/pterjan/rpmbuild/BUILD/eso-midas-23FEBpl1.0-build/midas/23FEBpl1.0/incl -fPIC -fcommon -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wno-implicit -DLinuxAMD64 -DGCC -ltirpc -I/usr/include/tirpc -DVOID_SIGHANDLER -DHAVE_ALLOCA -DHAVE_ALLOCA_H -DUSG -DUSGr3 -DHAVE_GETPW_DECLS -DHAVE_DIRENT_H -DHAVE_STRING_H -DLinux -DHAVE_UNISTD_H -DHAVE_STDLIB_H -I. -I/home/pterjan/rpmbuild/BUILD/eso-midas-23FEBpl1.0-build/midas/23FEBpl1.0/incl -c mathc.c gfortran -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 mathf.o mathc.o -Wl,-rpath /home/pterjan/rpmbuild/BUILD/eso-midas-23FEBpl1.0-build/midas/23FEBpl1.0/lib -ltirpc -lnsl -o math.exe OK. *** Checking the ln command....(soft) OK. *** Checking the strip command....OK. *** STRIP set to echo. *** Checking the ranlib command....OK. *** Checking ncurses development library....OK. *** Checking X11 include directory....OK. *** Checking X11 libraries....OK. *** X11 release 6 found. *** Motif release 2.0 (2000) expected. *** Checking Motif Xm include directory....OK. *** Motif release 2003 found. *** Checking Motif library....OK. gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fcommon -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -Wno-implicit -DLinuxAMD64 -DGCC -ltirpc -I/usr/include/tirpc -DNOVARARGS -I/home/pterjan/rpmbuild/BUILD/eso-midas-23FEBpl1.0-build/midas/23FEBpl1.0/incl -c esoext.c esoext.c: In function 'main': esoext.c:83:5: warning: old-style function definition [-Wold-style-definition] 83 | int main(argc, argv) | ^~~~ esoext.c:183:14: error: too many arguments to function 'new_ext'; expected 0, have 2 183 | o_name = new_ext(f_name,"f"); | ^~~~~~~ ~~~~~~ esoext.c:89:38: note: declared here 89 | char *f_name, *o_name, *table, *new_ext(); | ^~~~~~~ esoext.c:201:19: error: too many arguments to function 'pop_fp'; expected 0, have 1 201 | if (!(fp=pop_fp(fp))) break; /* if no include file */ | ^~~~~~ ~~ esoext.c:93:35: note: declared here 93 | FILE *fp, *ofp, *push_fp(), *pop_fp(); | ^~~~~~ esoext.c:258:13: error: too many arguments to function 'get_line'; expected 0, have 1 258 | c = get_line(fp); | ^~~~~~~~ ~~ esoext.c:91:37: note: declared here 91 | char *p,cont, *plab, label[6], get_line(); | ^~~~~~~~ esoext.c:263:20: error: too many arguments to function 'line_type'; expected 0, have 1 263 | action = line_type(&stype); | ^~~~~~~~~ ~~~~~~ esoext.c:87:44: note: declared here 87 | int c, ns, n, i, stype, action, nip, line_type(); | ^~~~~~~~~ esoext.c:265:25: error: too many arguments to function 'incl_file'; expected 0, have 1 265 | incl_name = incl_file(stmt); | ^~~~~~~~~ ~~~~ esoext.c:90:44: note: declared here 90 | char *incl_path[MXINCP], *incl_name, *incl_file(); | ^~~~~~~~~ esoext.c:268:18: error: too many arguments to function 'push_fp'; expected 0, have 3 268 | fp = push_fp(fp,incl_path,incl_name); | ^~~~~~~ ~~ esoext.c:93:23: note: declared here 93 | FILE *fp, *ofp, *push_fp(), *pop_fp(); | ^~~~~~~ esoext.c:269:20: error: too many arguments to function 'push_lab'; expected 0, have 1 269 | plab = push_lab(plab); | ^~~~~~~~ ~~~~ esoext.c:92:12: note: declared here 92 | char *push_lab(), *pop_lab(), *new_file(); | ^~~~~~~~ esoext.c:276:13: error: too many arguments to function 'put_line'; expected 0, have 4 276 | put_line(ofp,action,stype,labno); | ^~~~~~~~ ~~~ esoext.c:88:27: note: declared here 88 | int hstat[MXFSTAT], put_line(), labno,chk_id(); | ^~~~~~~~ esoext.c:295:11: error: too many arguments to function 'get_line'; expected 0, have 1 295 | c = get_line(fp); | ^~~~~~~~ ~~ esoext.c:91:37: note: declared here 91 | char *p,cont, *plab, label[6], get_line(); | ^~~~~~~~ esoext.c:300:16: error: too many arguments to function 'line_type'; expected 0, have 1 300 | action = line_type(&stype); | ^~~~~~~~~ ~~~~~~ esoext.c:87:44: note: declared here 87 | int c, ns, n, i, stype, action, nip, line_type(); | ^~~~~~~~~ esoext.c:301:7: error: too many arguments to function 'put_line'; expected 0, have 4 301 | put_line(ofp,action,stype,labno); | ^~~~~~~~ ~~~ esoext.c:88:27: note: declared here 88 | int hstat[MXFSTAT], put_line(), labno,chk_id(); | ^~~~~~~~ esoext.c:174:14: warning: ignoring return value of 'fopen' declared with attribute 'warn_unused_result' [-Wunused-result] 174 | if (table) fopen(table,"r"); | ^~~~~~~~~~~~~~~~ make: *** [../../local/default.mk:89: esoext.o] Error 1 Error building esoext. + cat '../../tmp/install.*' cat: '../../tmp/install.*': No such file or directory error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.HgFptl (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.HgFptl (%build) I: [iurt_root_command] ERROR: chroot