--- Dependency check [begin] --- --- Dependency check [end] --- --- Distribution check [begin] --- Version 2.45 - 2018-02-13 (EO) Information: this ChangeLog entry matches the version number: Version 2.45 - 2018-02-13 (EO) Error: calpnalgo - Unexpected file ./combilibs/Make.depends Error: calpnalgo - Unexpected file ./combilibs/libcalpnalgo.a Error: calpnalgo - Unexpected binary file: ./combilibs/libcalpnalgo.so Error: calpnalgo - Unexpected binary file: ./combilibs/lib.so Error: calpnalgo - Unexpected file ./doc/Make.depends Error: calpnalgo - Unexpected file ./doc/calpnalgo/images.aux Warning: calpnalgo - Unexpected file ./doc/calpnalgo/images.ps Error: calpnalgo - Unexpected symbolic link: ./doc/calpnalgo/ChangeLog Warning: calpnalgo - Unexpected file ./doc/calpnalgo.ps.gz Error: calpnalgo - Unexpected file ./interface/Make.depends Error: calpnalgo - Unexpected file ./src/ctigain/Make.depends Error: calpnalgo - Unexpected file ./src/ctigain/sas_epn_gaincticorrect_mod.mod Error: calpnalgo - Unexpected file ./src/ctigain/libpnctigain.a Error: calpnalgo - Unexpected binary file: ./src/ctigain/libpnctigain.so Error: calpnalgo - Unexpected file ./src/rmf/Make.depends Error: calpnalgo - Unexpected file ./src/rmf/libpnrmf.a Error: calpnalgo - Unexpected binary file: ./src/rmf/libpnrmf.so Error: calpnalgo - Unexpected file ./src/Make.depends Error: calpnalgo - Unexpected file ./test/Make.depends Error: calpnalgo - Unexpected file ./Make.depends Error: calpnalgo - Unexpected file ./build_log_second Now checking git repository... --- Distribution check [end] --- result=0 ;\ for d in /workspaces/xmm_sas/lib /workspaces/xmm_sas/lib/perl5 /workspaces/xmm_sas/lib/python /workspaces/xmm_sas/lib/python/dists /workspaces/xmm_sas/lib/python/pysas /workspaces/xmm_sas/include /workspaces/xmm_sas/bin /workspaces/xmm_sas/bin/devel /workspaces/xmm_sas/config /workspaces/xmm_sas/doc /workspaces/xmm_sas/lib/data /workspaces/xmm_sas/lib/data/tmp /workspaces/xmm_sas/lib/testodf ; do \ if [ ! -d $d ] ; then\ echo WARNING $d does not exist. ;\ result=1 ;\ fi ;\ done ;\ if [ $result -ne 0 ] ; then \ echo ERROR: One of more required directories could not be found. This may prevent some of the symbolic links from being created correctly. This may also mean that you are in a directory that has nothing to do with the SAS, or that SAS_PATH is incorrectly configured. If you are in the right directory, you can create the missing directories by hand. Or type 'make required_dirs'. ;\ exit 1 ;\ fi /usr/bin/echo "# Make.depends" > Make.depends if [ -n "" ]; then \ ARGS=" " ;\ for n in $ARGS; do make PKGDIR=/workspaces/xmm_sas/packages/calpnalgo VERSION=2.45 PACKAGE=calpnalgo ${n}_BDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make PKGDIR=/workspaces/xmm_sas/packages/calpnalgo VERSION=2.45 PACKAGE=calpnalgo ${n}_CLDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make PKGDIR=/workspaces/xmm_sas/packages/calpnalgo VERSION=2.45 PACKAGE=calpnalgo ${n}_TCDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make PKGDIR=/workspaces/xmm_sas/packages/calpnalgo VERSION=2.45 PACKAGE=calpnalgo ${n}_TPDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make PKGDIR=/workspaces/xmm_sas/packages/calpnalgo VERSION=2.45 PACKAGE=calpnalgo ${n}_TPYDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make PKGDIR=/workspaces/xmm_sas/packages/calpnalgo VERSION=2.45 PACKAGE=calpnalgo ${n}_TFDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make PKGDIR=/workspaces/xmm_sas/packages/calpnalgo VERSION=2.45 PACKAGE=calpnalgo ${n}_LDEPEND || exit; done; \ fi if [ -n "" ]; then \ LANG=C /workspaces/xmm_sas/packages/sas/bin/f90depend -I/workspaces/xmm_sas/include -fimplicit-none -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC *.f90 >> Make.depends; \ fi if [ -n "" ]; then \ LANG=C /workspaces/xmm_sas/packages/sas/bin/f90depend -I/workspaces/xmm_sas/include -fimplicit-none -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC *.f95 >> Make.depends; \ fi if [ -n "" ]; then \ gcc -M -DUSE_POPUP -include /workspaces/xmm_sas/include/config-std.h -imacros /workspaces/xmm_sas/config.h -I/workspaces/xmm_sas/include -I. -Wall -std=gnu++14 -g -fPIC *.c >> Make.depends; \ fi if [ -n "" ]; then \ g++ -M -DUSE_POPUP -include /workspaces/xmm_sas/include/config-std.h -imacros /workspaces/xmm_sas/config.h -I/workspaces/xmm_sas/include -I. -Wall -DGFORTRAN -std=gnu++14 -g *.cc >> Make.depends; \ fi if [ -n "src combilibs interface doc test" ]; then \ ARGS="src combilibs interface doc test"; \ for n in $ARGS; do make PKGDIR=/workspaces/xmm_sas/packages/calpnalgo VERSION=2.45 PACKAGE=calpnalgo -C $n depend || exit; done; \ fi result=0 ;\ for d in /workspaces/xmm_sas/lib /workspaces/xmm_sas/lib/perl5 /workspaces/xmm_sas/lib/python /workspaces/xmm_sas/lib/python/dists /workspaces/xmm_sas/lib/python/pysas /workspaces/xmm_sas/include /workspaces/xmm_sas/bin /workspaces/xmm_sas/bin/devel /workspaces/xmm_sas/config /workspaces/xmm_sas/doc /workspaces/xmm_sas/lib/data /workspaces/xmm_sas/lib/data/tmp /workspaces/xmm_sas/lib/testodf ; do \ if [ ! -d $d ] ; then\ echo WARNING $d does not exist. ;\ result=1 ;\ fi ;\ done ;\ if [ $result -ne 0 ] ; then \ echo ERROR: One of more required directories could not be found. This may prevent some of the symbolic links from being created correctly. This may also mean that you are in a directory that has nothing to do with the SAS, or that SAS_PATH is incorrectly configured. If you are in the right directory, you can create the missing directories by hand. Or type 'make required_dirs'. ;\ exit 1 ;\ fi /usr/bin/echo "# Make.depends" > Make.depends if [ -n "" ]; then \ ARGS=" " ;\ for n in $ARGS; do make ${n}_BDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_CLDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_TCDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_TPDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_TPYDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_TFDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_LDEPEND || exit; done; \ fi if [ -n "" ]; then \ LANG=C /workspaces/xmm_sas/packages/sas/bin/f90depend -I/workspaces/xmm_sas/include -fimplicit-none -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC *.f90 >> Make.depends; \ fi if [ -n "" ]; then \ LANG=C /workspaces/xmm_sas/packages/sas/bin/f90depend -I/workspaces/xmm_sas/include -fimplicit-none -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC *.f95 >> Make.depends; \ fi if [ -n "" ]; then \ gcc -M -DUSE_POPUP -include /workspaces/xmm_sas/include/config-std.h -imacros /workspaces/xmm_sas/config.h -I/workspaces/xmm_sas/include -I. -Wall -std=gnu++14 -g -fPIC *.c >> Make.depends; \ fi if [ -n "" ]; then \ g++ -M -DUSE_POPUP -include /workspaces/xmm_sas/include/config-std.h -imacros /workspaces/xmm_sas/config.h -I/workspaces/xmm_sas/include -I. -Wall -DGFORTRAN -std=gnu++14 -g *.cc >> Make.depends; \ fi if [ -n "ctigain rmf" ]; then \ ARGS="ctigain rmf"; \ for n in $ARGS; do make -C $n depend || exit; done; \ fi result=0 ;\ for d in /workspaces/xmm_sas/lib /workspaces/xmm_sas/lib/perl5 /workspaces/xmm_sas/lib/python /workspaces/xmm_sas/lib/python/dists /workspaces/xmm_sas/lib/python/pysas /workspaces/xmm_sas/include /workspaces/xmm_sas/bin /workspaces/xmm_sas/bin/devel /workspaces/xmm_sas/config /workspaces/xmm_sas/doc /workspaces/xmm_sas/lib/data /workspaces/xmm_sas/lib/data/tmp /workspaces/xmm_sas/lib/testodf ; do \ if [ ! -d $d ] ; then\ echo WARNING $d does not exist. ;\ result=1 ;\ fi ;\ done ;\ if [ $result -ne 0 ] ; then \ echo ERROR: One of more required directories could not be found. This may prevent some of the symbolic links from being created correctly. This may also mean that you are in a directory that has nothing to do with the SAS, or that SAS_PATH is incorrectly configured. If you are in the right directory, you can create the missing directories by hand. Or type 'make required_dirs'. ;\ exit 1 ;\ fi (cd /workspaces/xmm_sas/lib; test -h libpnctigain.a || ln -s ../packages/calpnalgo/src/ctigain/libpnctigain.a .) cd /workspaces/xmm_sas/lib && \ (test -h libpnctigain.so || ln -s ../packages/calpnalgo/src/ctigain/libpnctigain.so libpnctigain.so) (cd /workspaces/xmm_sas/include; test -h pnctigain || ln -s ../packages/calpnalgo/src/ctigain pnctigain) /usr/bin/echo "# Make.depends" > Make.depends if [ -n "" ]; then \ ARGS=" " ;\ for n in $ARGS; do make ${n}_BDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_CLDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_TCDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_TPDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_TPYDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_TFDEPEND || exit; done; \ fi if [ -n "pnctigain" ]; then \ ARGS="pnctigain"; \ for n in $ARGS; do make ${n}_LDEPEND || exit; done; \ fi echo Dependencies for pnctigain if [ -z "evgn01 evcr03 cte_model_prec cte_model_noprec ch2px4 sas_epn_gaincticorrect_mod" -a -z "" ]; then /usr/bin/echo Missing pnctigain_OBJS or pnctigain_QOBJS for library pnctigain; exit 1; fi /usr/bin/echo "libpnctigain.a libpnctigain.so: evgn01.o evcr03.o cte_model_prec.o cte_model_noprec.o ch2px4.o sas_epn_gaincticorrect_mod.o" >> Make.depends /usr/bin/echo "libpnctigain.a libpnctigain.so: " >> Make.depends if [ -n "sas_epn_gaincticorrect_mod.f90" ]; then \ LANG=C /workspaces/xmm_sas/packages/sas/bin/f90depend -I/workspaces/xmm_sas/include -I/workspaces/xmm_sas/include/utils -fimplicit-none -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC *.f90 >> Make.depends; \ fi if [ -n "" ]; then \ LANG=C /workspaces/xmm_sas/packages/sas/bin/f90depend -I/workspaces/xmm_sas/include -I/workspaces/xmm_sas/include/utils -fimplicit-none -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC *.f95 >> Make.depends; \ fi if [ -n "" ]; then \ gcc -M -DUSE_POPUP -include /workspaces/xmm_sas/include/config-std.h -imacros /workspaces/xmm_sas/config.h -I/workspaces/xmm_sas/include -I/workspaces/xmm_sas/include/utils -I. -Wall -std=gnu++14 -g -fPIC *.c >> Make.depends; \ fi if [ -n "" ]; then \ g++ -M -DUSE_POPUP -include /workspaces/xmm_sas/include/config-std.h -imacros /workspaces/xmm_sas/config.h -I/workspaces/xmm_sas/include -I/workspaces/xmm_sas/include/utils -I. -Wall -DGFORTRAN -std=gnu++14 -g *.cc >> Make.depends; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make -C $n depend || exit; done; \ fi result=0 ;\ for d in /workspaces/xmm_sas/lib /workspaces/xmm_sas/lib/perl5 /workspaces/xmm_sas/lib/python /workspaces/xmm_sas/lib/python/dists /workspaces/xmm_sas/lib/python/pysas /workspaces/xmm_sas/include /workspaces/xmm_sas/bin /workspaces/xmm_sas/bin/devel /workspaces/xmm_sas/config /workspaces/xmm_sas/doc /workspaces/xmm_sas/lib/data /workspaces/xmm_sas/lib/data/tmp /workspaces/xmm_sas/lib/testodf ; do \ if [ ! -d $d ] ; then\ echo WARNING $d does not exist. ;\ result=1 ;\ fi ;\ done ;\ if [ $result -ne 0 ] ; then \ echo ERROR: One of more required directories could not be found. This may prevent some of the symbolic links from being created correctly. This may also mean that you are in a directory that has nothing to do with the SAS, or that SAS_PATH is incorrectly configured. If you are in the right directory, you can create the missing directories by hand. Or type 'make required_dirs'. ;\ exit 1 ;\ fi (cd /workspaces/xmm_sas/lib; test -h libpnrmf.a || ln -s ../packages/calpnalgo/src/rmf/libpnrmf.a .) cd /workspaces/xmm_sas/lib && \ (test -h libpnrmf.so || ln -s ../packages/calpnalgo/src/rmf/libpnrmf.so libpnrmf.so) (cd /workspaces/xmm_sas/include; test -h pnrmf || ln -s ../packages/calpnalgo/src/rmf pnrmf) /usr/bin/echo "# Make.depends" > Make.depends if [ -n "" ]; then \ ARGS=" " ;\ for n in $ARGS; do make ${n}_BDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_CLDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_TCDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_TPDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_TPYDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_TFDEPEND || exit; done; \ fi if [ -n "pnrmf" ]; then \ ARGS="pnrmf"; \ for n in $ARGS; do make ${n}_LDEPEND || exit; done; \ fi echo Dependencies for pnrmf if [ -z "getpnresp pem_model findindex lininterp" -a -z "" ]; then /usr/bin/echo Missing pnrmf_OBJS or pnrmf_QOBJS for library pnrmf; exit 1; fi /usr/bin/echo "libpnrmf.a libpnrmf.so: getpnresp.o pem_model.o findindex.o lininterp.o" >> Make.depends /usr/bin/echo "libpnrmf.a libpnrmf.so: " >> Make.depends if [ -n "" ]; then \ LANG=C /workspaces/xmm_sas/packages/sas/bin/f90depend -I/workspaces/xmm_sas/include -I/workspaces/xmm_sas/include/utils -fimplicit-none -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC *.f90 >> Make.depends; \ fi if [ -n "" ]; then \ LANG=C /workspaces/xmm_sas/packages/sas/bin/f90depend -I/workspaces/xmm_sas/include -I/workspaces/xmm_sas/include/utils -fimplicit-none -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC *.f95 >> Make.depends; \ fi if [ -n "" ]; then \ gcc -M -DUSE_POPUP -include /workspaces/xmm_sas/include/config-std.h -imacros /workspaces/xmm_sas/config.h -I/workspaces/xmm_sas/include -I/workspaces/xmm_sas/include/utils -I. -Wall -std=gnu++14 -g -fPIC *.c >> Make.depends; \ fi if [ -n "" ]; then \ g++ -M -DUSE_POPUP -include /workspaces/xmm_sas/include/config-std.h -imacros /workspaces/xmm_sas/config.h -I/workspaces/xmm_sas/include -I/workspaces/xmm_sas/include/utils -I. -Wall -DGFORTRAN -std=gnu++14 -g *.cc >> Make.depends; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make -C $n depend || exit; done; \ fi result=0 ;\ for d in /workspaces/xmm_sas/lib /workspaces/xmm_sas/lib/perl5 /workspaces/xmm_sas/lib/python /workspaces/xmm_sas/lib/python/dists /workspaces/xmm_sas/lib/python/pysas /workspaces/xmm_sas/include /workspaces/xmm_sas/bin /workspaces/xmm_sas/bin/devel /workspaces/xmm_sas/config /workspaces/xmm_sas/doc /workspaces/xmm_sas/lib/data /workspaces/xmm_sas/lib/data/tmp /workspaces/xmm_sas/lib/testodf ; do \ if [ ! -d $d ] ; then\ echo WARNING $d does not exist. ;\ result=1 ;\ fi ;\ done ;\ if [ $result -ne 0 ] ; then \ echo ERROR: One of more required directories could not be found. This may prevent some of the symbolic links from being created correctly. This may also mean that you are in a directory that has nothing to do with the SAS, or that SAS_PATH is incorrectly configured. If you are in the right directory, you can create the missing directories by hand. Or type 'make required_dirs'. ;\ exit 1 ;\ fi (cd /workspaces/xmm_sas/lib; test -h libcalpnalgo.a || ln -s ../packages/calpnalgo/combilibs/libcalpnalgo.a .) cd /workspaces/xmm_sas/lib && \ (test -h libcalpnalgo.so || ln -s ../packages/calpnalgo/combilibs/libcalpnalgo.so libcalpnalgo.so) if [ -n "" ]; then \ ARGS=" "; \ cd /workspaces/xmm_sas/include; \ for n in $ARGS; \ do (test -h $n && rm -f $n || true); done; \ fi /usr/bin/echo "# Make.depends" > Make.depends if [ -n "" ]; then \ ARGS=" " ;\ for n in $ARGS; do make ${n}_BDEPEND || exit; done; \ fi if [ -n "calpnalgo" ]; then \ ARGS="calpnalgo"; \ for n in $ARGS; do make ${n}_CLDEPEND || exit; done; \ fi echo Dependencies for calpnalgo if [ -z "pnctigain pnrmf" ]; then /usr/bin/echo Missing calpnalgo_LIBS for combilib calpnalgo; exit 1; fi /usr/bin/echo "libcalpnalgo.a libcalpnalgo.so: -lpnctigain -lpnrmf" >> Make.depends if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_TCDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_TPDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_TPYDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_TFDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_LDEPEND || exit; done; \ fi if [ -n "" ]; then \ LANG=C /workspaces/xmm_sas/packages/sas/bin/f90depend -I/workspaces/xmm_sas/include -I/workspaces/xmm_sas/include/utils -fimplicit-none -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC *.f90 >> Make.depends; \ fi if [ -n "" ]; then \ LANG=C /workspaces/xmm_sas/packages/sas/bin/f90depend -I/workspaces/xmm_sas/include -I/workspaces/xmm_sas/include/utils -fimplicit-none -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC *.f95 >> Make.depends; \ fi if [ -n "" ]; then \ gcc -M -DUSE_POPUP -include /workspaces/xmm_sas/include/config-std.h -imacros /workspaces/xmm_sas/config.h -I/workspaces/xmm_sas/include -I/workspaces/xmm_sas/include/utils -I. -Wall -std=gnu++14 -g -fPIC *.c >> Make.depends; \ fi if [ -n "" ]; then \ g++ -M -DUSE_POPUP -include /workspaces/xmm_sas/include/config-std.h -imacros /workspaces/xmm_sas/config.h -I/workspaces/xmm_sas/include -I/workspaces/xmm_sas/include/utils -I. -Wall -DGFORTRAN -std=gnu++14 -g *.cc >> Make.depends; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make -C $n depend || exit; done; \ fi result=0 ;\ for d in /workspaces/xmm_sas/lib /workspaces/xmm_sas/lib/perl5 /workspaces/xmm_sas/lib/python /workspaces/xmm_sas/lib/python/dists /workspaces/xmm_sas/lib/python/pysas /workspaces/xmm_sas/include /workspaces/xmm_sas/bin /workspaces/xmm_sas/bin/devel /workspaces/xmm_sas/config /workspaces/xmm_sas/doc /workspaces/xmm_sas/lib/data /workspaces/xmm_sas/lib/data/tmp /workspaces/xmm_sas/lib/testodf ; do \ if [ ! -d $d ] ; then\ echo WARNING $d does not exist. ;\ result=1 ;\ fi ;\ done ;\ if [ $result -ne 0 ] ; then \ echo ERROR: One of more required directories could not be found. This may prevent some of the symbolic links from being created correctly. This may also mean that you are in a directory that has nothing to do with the SAS, or that SAS_PATH is incorrectly configured. If you are in the right directory, you can create the missing directories by hand. Or type 'make required_dirs'. ;\ exit 1 ;\ fi (cd /workspaces/xmm_sas/include; \ test -h CalPnAlgo.h || ln -s ../packages/calpnalgo/interface/CalPnAlgo.h . ) if [ -n "" ]; then \ ARGS=" "; \ cd /workspaces/xmm_sas/include; \ for n in $ARGS; \ do (test -h $n && rm -f $n || true); done; \ fi /usr/bin/echo "# Make.depends" > Make.depends if [ -n "" ]; then \ ARGS=" " ;\ for n in $ARGS; do make ${n}_BDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_CLDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_TCDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_TPDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_TPYDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_TFDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_LDEPEND || exit; done; \ fi if [ -n "" ]; then \ LANG=C /workspaces/xmm_sas/packages/sas/bin/f90depend -I/workspaces/xmm_sas/include -fimplicit-none -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC *.f90 >> Make.depends; \ fi if [ -n "" ]; then \ LANG=C /workspaces/xmm_sas/packages/sas/bin/f90depend -I/workspaces/xmm_sas/include -fimplicit-none -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC *.f95 >> Make.depends; \ fi if [ -n "" ]; then \ gcc -M -DUSE_POPUP -include /workspaces/xmm_sas/include/config-std.h -imacros /workspaces/xmm_sas/config.h -I/workspaces/xmm_sas/include -I. -Wall -std=gnu++14 -g -fPIC *.c >> Make.depends; \ fi if [ -n "" ]; then \ g++ -M -DUSE_POPUP -include /workspaces/xmm_sas/include/config-std.h -imacros /workspaces/xmm_sas/config.h -I/workspaces/xmm_sas/include -I. -Wall -DGFORTRAN -std=gnu++14 -g *.cc >> Make.depends; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make -C $n depend || exit; done; \ fi result=0 ;\ for d in /workspaces/xmm_sas/lib /workspaces/xmm_sas/lib/perl5 /workspaces/xmm_sas/lib/python /workspaces/xmm_sas/lib/python/dists /workspaces/xmm_sas/lib/python/pysas /workspaces/xmm_sas/include /workspaces/xmm_sas/bin /workspaces/xmm_sas/bin/devel /workspaces/xmm_sas/config /workspaces/xmm_sas/doc /workspaces/xmm_sas/lib/data /workspaces/xmm_sas/lib/data/tmp /workspaces/xmm_sas/lib/testodf ; do \ if [ ! -d $d ] ; then\ echo WARNING $d does not exist. ;\ result=1 ;\ fi ;\ done ;\ if [ $result -ne 0 ] ; then \ echo ERROR: One of more required directories could not be found. This may prevent some of the symbolic links from being created correctly. This may also mean that you are in a directory that has nothing to do with the SAS, or that SAS_PATH is incorrectly configured. If you are in the right directory, you can create the missing directories by hand. Or type 'make required_dirs'. ;\ exit 1 ;\ fi (cd /workspaces/xmm_sas/doc; test -h calpnalgo || ln -s ../packages/calpnalgo/doc/calpnalgo .) (cd /workspaces/xmm_sas/doc; test -h calpnalgo.ps.gz || ln -s ../packages/calpnalgo/doc/calpnalgo.ps.gz .) (cd /workspaces/xmm_sas/doc; test -h calpnalgo.pdf || ln -s ../packages/calpnalgo/doc/calpnalgo.pdf .) (cd /workspaces/xmm_sas/doc; test -h calpnalgo/calpnalgo.html || test ! -r ../packages/calpnalgo/doc/calpnalgo/calpnalgo.html || ln -s ../packages/calpnalgo/doc/calpnalgo/calpnalgo.html .) /usr/bin/echo "# Make.depends" > Make.depends if [ -n "" ]; then \ ARGS=" " ;\ for n in $ARGS; do make ${n}_BDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_CLDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_TCDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_TPDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_TPYDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_TFDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_LDEPEND || exit; done; \ fi if [ -n "" ]; then \ LANG=C /workspaces/xmm_sas/packages/sas/bin/f90depend -I/workspaces/xmm_sas/include -fimplicit-none -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC *.f90 >> Make.depends; \ fi if [ -n "" ]; then \ LANG=C /workspaces/xmm_sas/packages/sas/bin/f90depend -I/workspaces/xmm_sas/include -fimplicit-none -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC *.f95 >> Make.depends; \ fi if [ -n "" ]; then \ gcc -M -DUSE_POPUP -include /workspaces/xmm_sas/include/config-std.h -imacros /workspaces/xmm_sas/config.h -I/workspaces/xmm_sas/include -I. -Wall -std=gnu++14 -g -fPIC *.c >> Make.depends; \ fi if [ -n "" ]; then \ g++ -M -DUSE_POPUP -include /workspaces/xmm_sas/include/config-std.h -imacros /workspaces/xmm_sas/config.h -I/workspaces/xmm_sas/include -I. -Wall -DGFORTRAN -std=gnu++14 -g *.cc >> Make.depends; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make -C $n depend || exit; done; \ fi result=0 ;\ for d in /workspaces/xmm_sas/lib /workspaces/xmm_sas/lib/perl5 /workspaces/xmm_sas/lib/python /workspaces/xmm_sas/lib/python/dists /workspaces/xmm_sas/lib/python/pysas /workspaces/xmm_sas/include /workspaces/xmm_sas/bin /workspaces/xmm_sas/bin/devel /workspaces/xmm_sas/config /workspaces/xmm_sas/doc /workspaces/xmm_sas/lib/data /workspaces/xmm_sas/lib/data/tmp /workspaces/xmm_sas/lib/testodf ; do \ if [ ! -d $d ] ; then\ echo WARNING $d does not exist. ;\ result=1 ;\ fi ;\ done ;\ if [ $result -ne 0 ] ; then \ echo ERROR: One of more required directories could not be found. This may prevent some of the symbolic links from being created correctly. This may also mean that you are in a directory that has nothing to do with the SAS, or that SAS_PATH is incorrectly configured. If you are in the right directory, you can create the missing directories by hand. Or type 'make required_dirs'. ;\ exit 1 ;\ fi /usr/bin/echo "# Make.depends" > Make.depends if [ -n "testresp" ]; then \ ARGS=" testresp " ;\ for n in $ARGS; do make ${n}_BDEPEND || exit; done; \ fi echo Dependencies for testresp if [ -z "testresp" -a -z "" ]; then /usr/bin/echo Missing testresp_OBJS or testresp_QOBJS for binary testresp; exit 1; fi /usr/bin/echo "testresp: testresp.o" >> Make.depends /usr/bin/echo "testresp: " >> Make.depends /usr/bin/echo "testresp: -lcalpnalgo -lslatec -lutils" >> Make.depends if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_CLDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_TCDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_TPDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_TPYDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_TFDEPEND || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make ${n}_LDEPEND || exit; done; \ fi if [ -n "" ]; then \ LANG=C /workspaces/xmm_sas/packages/sas/bin/f90depend -I/workspaces/xmm_sas/include -I/workspaces/xmm_sas/include/utils -fimplicit-none -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC *.f90 >> Make.depends; \ fi if [ -n "" ]; then \ LANG=C /workspaces/xmm_sas/packages/sas/bin/f90depend -I/workspaces/xmm_sas/include -I/workspaces/xmm_sas/include/utils -fimplicit-none -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC *.f95 >> Make.depends; \ fi if [ -n "" ]; then \ gcc -M -DUSE_POPUP -include /workspaces/xmm_sas/include/config-std.h -imacros /workspaces/xmm_sas/config.h -I/workspaces/xmm_sas/include -I/workspaces/xmm_sas/include/utils -I. -Wall -std=gnu++14 -g -fPIC *.c >> Make.depends; \ fi if [ -n "testresp.cc" ]; then \ g++ -M -DUSE_POPUP -include /workspaces/xmm_sas/include/config-std.h -imacros /workspaces/xmm_sas/config.h -I/workspaces/xmm_sas/include -I/workspaces/xmm_sas/include/utils -I. -Wall -DGFORTRAN -std=gnu++14 -g *.cc >> Make.depends; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make -C $n depend || exit; done; \ fi if [ -n "" ]; then make PKGDIR=/workspaces/xmm_sas/packages/calpnalgo VERSION=2.45 PACKAGE=calpnalgo VPATH= ; fi if [ -n "" ]; then make PKGDIR=/workspaces/xmm_sas/packages/calpnalgo VERSION=2.45 PACKAGE=calpnalgo ; fi if [ -n "src combilibs interface doc test" ]; then \ ARGS="src combilibs interface doc test"; \ for n in $ARGS; do make PKGDIR=/workspaces/xmm_sas/packages/calpnalgo VERSION=2.45 PACKAGE=calpnalgo -C $n bin || exit; done; \ fi if [ -n "" ]; then make VPATH= ; fi if [ -n "" ]; then make ; fi if [ -n "ctigain rmf" ]; then \ ARGS="ctigain rmf"; \ for n in $ARGS; do make -C $n bin || exit; done; \ fi if [ -n "libpnctigain.a libpnctigain.so" ]; then make VPATH= libpnctigain.a libpnctigain.so; fi gfortran -c -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC evgn01.f gfortran -c -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC evcr03.f gfortran -c -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC cte_model_prec.f gfortran -c -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC cte_model_noprec.f gfortran -c -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC ch2px4.f (cd /workspaces/xmm_sas/include; \ test -h dal.mod || ln -s ../packages/calpnalgo/src/ctigain/dal.mod . ) (cd /workspaces/xmm_sas/include; \ test -h errorhandling.mod || ln -s ../packages/calpnalgo/src/ctigain/errorhandling.mod . ) gfortran -c -fimplicit-none -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC -I/workspaces/xmm_sas/include -I/workspaces/xmm_sas/include/utils sas_epn_gaincticorrect_mod.f90 /usr/bin/ar cur libpnctigain.a evgn01.o evcr03.o cte_model_prec.o cte_model_noprec.o ch2px4.o sas_epn_gaincticorrect_mod.o ranlib libpnctigain.a g++ -shared -Wl,-h,libpnctigain.so -Wl,-rpath,\$ORIGIN -Wl,-rpath,\$ORIGIN/../libextra -o libpnctigain.so evgn01.o evcr03.o cte_model_prec.o cte_model_noprec.o ch2px4.o sas_epn_gaincticorrect_mod.o -lslatec -lerror -lutils -lgfortran -lcfitsio -ldl -lm -L. test libpnctigain.so = libpnctigain.so || ( test -h libpnctigain.so || ln -s libpnctigain.so libpnctigain.so ) if [ -n "" ]; then make ; fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make -C $n bin || exit; done; \ fi if [ -n "libpnrmf.a libpnrmf.so" ]; then make VPATH= libpnrmf.a libpnrmf.so; fi gfortran -c -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC getpnresp.f gfortran -c -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC pem_model.f gfortran -c -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC findindex.f gfortran -c -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC lininterp.f /usr/bin/ar cur libpnrmf.a getpnresp.o pem_model.o findindex.o lininterp.o ranlib libpnrmf.a g++ -shared -Wl,-h,libpnrmf.so -Wl,-rpath,\$ORIGIN -Wl,-rpath,\$ORIGIN/../libextra -o libpnrmf.so getpnresp.o pem_model.o findindex.o lininterp.o -lslatec -lerror -lutils -lgfortran -lcfitsio -ldl -lm -L. test libpnrmf.so = libpnrmf.so || ( test -h libpnrmf.so || ln -s libpnrmf.so libpnrmf.so ) if [ -n "" ]; then make ; fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make -C $n bin || exit; done; \ fi if [ -n "" ]; then make VPATH= ; fi if [ -n "libcalpnalgo.a libcalpnalgo.so" ]; then make libcalpnalgo.a libcalpnalgo.so; fi rm -f -fr __combidir__libcalpnalgo.a && /usr/bin/mkdir __combidir__libcalpnalgo.a && \ cd __combidir__libcalpnalgo.a && \ for l in /workspaces/xmm_sas/lib/libpnctigain.a /workspaces/xmm_sas/lib/libpnrmf.a; do /usr/bin/ar x $l ; done && \ /usr/bin/ar cur libcalpnalgo.a *.o && ranlib libcalpnalgo.a && mv libcalpnalgo.a .. rm -f -fr __combidir__libcalpnalgo.so && /usr/bin/mkdir __combidir__libcalpnalgo.so && \ cd __combidir__libcalpnalgo.so && \ for l in /workspaces/xmm_sas/lib/libpnctigain.a /workspaces/xmm_sas/lib/libpnrmf.a; do /usr/bin/ar x $l ; done && \ g++ -shared -Wl,-h,libcalpnalgo.so -Wl,-rpath,\$ORIGIN -Wl,-rpath,\$ORIGIN/../libextra -o libcalpnalgo.so *.o -lslatec -lerror -lutils -lgfortran -lcfitsio -ldl -lm -L. && mv libcalpnalgo.so .. test libcalpnalgo.so = lib.so || ( test -h lib.so || ln -s libcalpnalgo.so lib.so ) if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make -C $n bin || exit; done; \ fi if [ -n "" ]; then make VPATH= ; fi if [ -n "" ]; then make ; fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make -C $n bin || exit; done; \ fi if [ -n "" ]; then make VPATH= ; fi if [ -n "" ]; then make ; fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make -C $n bin || exit; done; \ fi if [ -n "" ]; then make VPATH= ; fi if [ -n "" ]; then make ; fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make -C $n bin || exit; done; \ fi if [ -n "src combilibs interface doc test" ]; then \ ARGS="src combilibs interface doc test"; \ for n in $ARGS; do make PKGDIR=/workspaces/xmm_sas/packages/calpnalgo VERSION=2.45 PACKAGE=calpnalgo -C $n doc || exit; done; \ fi if [ -n "ctigain rmf" ]; then \ ARGS="ctigain rmf"; \ for n in $ARGS; do make -C $n doc || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make -C $n doc || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make -C $n doc || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make -C $n doc || exit; done; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make -C $n doc || exit; done; \ fi sed -e "s/DOC/calpnalgo/" -e "s/TYPE/devel/" < \ /workspaces/xmm_sas/packages/sas/doc/lib/package.tex | /workspaces/xmm_sas/packages/sas/bin/texcombine | \ /workspaces/xmm_sas/packages/sas/bin/fixdoc -type=devel calpnalgo 2.45 calpnalgo 22.0.0-6da3b52c5-20241029 > calpnalgo.tex latex calpnalgo < /dev/null > makedoc.log || ( cat makedoc.log ; exit 1 ) bibtex calpnalgo < /dev/null > makedoc.log latex calpnalgo < /dev/null > makedoc.log || ( cat makedoc.log ; exit 1 ) latex calpnalgo < /dev/null > makedoc.log || ( cat makedoc.log ; exit 1 ) dvips -o calpnalgo.ps calpnalgo > makedoc.log 2>&1 || ( cat makedoc.log ; exit 1 ) dvipdf calpnalgo > makedoc.log 2>&1 || ( cat makedoc.log ; continue ) gzip -f calpnalgo.ps SASRELDIR=../../.. ;\ export SASRELDIR ;\ latex2html -nouse_pdftex -init_file /workspaces/xmm_sas/packages/sas/doc/lib/latex2html.init calpnalgo > /dev/null /usr/bin/echo "" mkpkgidx -t . > /dev/null || (rm -f calpnalgo/index.pl ; exit 1) pointer=calpnalgo/ChangeLog ; \ target=../../../packages/calpnalgo/ChangeLog ; \ if [ -f $target -a \( ! -h $pointer \) ] ; then \ ln -s ../$target $pointer ; \ fi if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make -C $n doc || exit; done; \ fi rm calpnalgo.tex if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make -C $n doc || exit; done; \ fi rm -f sasdoc_version.tex *.g90 gmon.out dataconv.out *.o *.M *% *~ .#* *.idx *.dvi *.aux *.log *.bbl makedoc.log *.blg *.toc core core.* a.out m_*.cc test.result ._.DS_Store .DS_Store rm -f -r Templates.DB autom4te.cache __combidir__* __pychache__ if [ -n "src combilibs interface doc test" ]; then \ ARGS="src combilibs interface doc test"; \ for n in $ARGS; do make PKGDIR=/workspaces/xmm_sas/packages/calpnalgo VERSION=2.45 PACKAGE=calpnalgo -C $n clean || exit; done; \ fi rm -f sasdoc_version.tex *.g90 gmon.out dataconv.out *.o *.M *% *~ .#* *.idx *.dvi *.aux *.log *.bbl makedoc.log *.blg *.toc core core.* a.out m_*.cc test.result ._.DS_Store .DS_Store rm -f -r Templates.DB autom4te.cache __combidir__* __pychache__ if [ -n "ctigain rmf" ]; then \ ARGS="ctigain rmf"; \ for n in $ARGS; do make -C $n clean || exit; done; \ fi rm -f so_locations sasdoc_version.tex *.g90 gmon.out dataconv.out *.o *.M *% *~ .#* *.idx *.dvi *.aux *.log *.bbl makedoc.log *.blg *.toc core core.* a.out m_*.cc test.result ._.DS_Store .DS_Store rm -f -r Templates.DB autom4te.cache __combidir__* __pychache__ if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make -C $n clean || exit; done; \ fi rm -f so_locations sasdoc_version.tex *.g90 gmon.out dataconv.out *.o *.M *% *~ .#* *.idx *.dvi *.aux *.log *.bbl makedoc.log *.blg *.toc core core.* a.out m_*.cc test.result ._.DS_Store .DS_Store rm -f -r Templates.DB autom4te.cache __combidir__* __pychache__ if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make -C $n clean || exit; done; \ fi rm -f sasdoc_version.tex *.g90 gmon.out dataconv.out *.o *.M *% *~ .#* *.idx *.dvi *.aux *.log *.bbl makedoc.log *.blg *.toc core core.* a.out m_*.cc test.result ._.DS_Store .DS_Store rm -f -r Templates.DB autom4te.cache __combidir__* __pychache__ if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make -C $n clean || exit; done; \ fi rm -f sasdoc_version.tex *.g90 gmon.out dataconv.out *.o *.M *% *~ .#* *.idx *.dvi *.aux *.log *.bbl makedoc.log *.blg *.toc core core.* a.out m_*.cc test.result ._.DS_Store .DS_Store rm -f -r Templates.DB autom4te.cache __combidir__* __pychache__ if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make -C $n clean || exit; done; \ fi rm -f sasdoc_version.tex *.g90 gmon.out dataconv.out *.o *.M *% *~ .#* *.idx *.dvi *.aux *.log *.bbl makedoc.log *.blg *.toc core core.* a.out m_*.cc test.result calpnalgo.tex ._.DS_Store .DS_Store rm -f -r Templates.DB autom4te.cache __combidir__* __pychache__ if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make -C $n clean || exit; done; \ fi rm -f testresp testresp.o sasdoc_version.tex *.g90 gmon.out dataconv.out *.o *.M *% *~ .#* *.idx *.dvi *.aux *.log *.bbl makedoc.log *.blg *.toc core core.* a.out testresp m_*.cc test.result ._.DS_Store .DS_Store rm -f -r Templates.DB autom4te.cache __combidir__* __pychache__ if [ -n "" ]; then \ ARGS=""; \ for n in $ARGS; do make -C $n clean || exit; done; \ fi