Package Details: heasoft 6.28-1

Git Clone URL: (read-only, click to copy)
Package Base: heasoft
Description: NASA high energy astrophysics library
Upstream URL:
Licenses: GPL, NASA
Submitter: ydallilar
Maintainer: ydallilar (monson)
Last Packager: monson
Votes: 1
Popularity: 0.000000
First Submitted: 2017-05-02 20:45
Last Updated: 2020-12-07 06:22

Latest Comments

1 2 Next › Last »

monson commented on 2020-04-20 09:00

@petronny Sorry, I added -j1 in build() but forgot the package(). Please update to 6.27.1-1 and it has been fixed.

petronny commented on 2020-04-20 06:44

Oops, accidently deleted the previous comment by mistake...

The previous error is solved now. However, I get the following error during package():

hd_install: Installing /build/heasoft/src/heasoft-6.27/suzaku/BUILD_DIR/lhea-fixperl in /build/heasoft/pkg/heasoft/opt/heasoft/suzaku/x86_64-pc-linux-gnu-libc2.31/BUILD_DIR/lhea-fixperl
hd_install: Installing /build/heasoft/src/heasoft-6.27/suzaku/BUILD_DIR/hd_install in /build/heasoft/pkg/heasoft/opt/heasoft/suzaku/x86_64-pc-linux-gnu-libc2.31/BUILD_DIR/hd_install
make[4]: Leaving directory '/build/heasoft/src/heasoft-6.27/suzaku/BUILD_DIR'
make[3]: Leaving directory '/build/heasoft/src/heasoft-6.27/suzaku/BUILD_DIR'
make[2]: Leaving directory '/build/heasoft/src/heasoft-6.27/suzaku/BUILD_DIR'
make[1]: Leaving directory '/build/heasoft/src/heasoft-6.27/BUILD_DIR'
make: *** [Makefile:17: install] Error 2
==> ERROR: A failure occurred in package().

I can't find out what error it is. Everything in the build log seems fine to me.

Could you run extra-x86_64-build to build the package in a clean chroot to re-produce this error and solve it?

ydallilar commented on 2020-04-16 09:24

@monson Done. I added you co-maintainer as well.

monson commented on 2020-04-16 03:16

Sure, if this really becomes an unneeded package to you. And there are something may need improved:

  1. You may want to use CHOST in ./configure --build=${CHOST} and adjust HEADAS, because me and some others are not using x86_64-unknown-linux-gnu.
  2. Hardcoding gcc seems unnecessary, people may want to compile this with other compilers, it's quite common using mkl and icc in large-scale computing. You may want to set CC in your makepkg.conf if you need it.
  3. python-numpy provides python binding functionality, without it heasp binding won't work even built with. But optdepends is just a hint so it doesn't bother me that much.

Thanks for your contribution!

ydallilar commented on 2020-04-16 00:19

@monson I added python-numpy and libidn. Let me know if you see any problems. Since I haven't been using this for a while, I can't fully test it. Also, let me know if you would like to be a co-maintainer.

Edit: Also, another comment. We can't add python-numpy to both makedepends and optdepends. optdepends is reserved for the case where the package is not required during compilation but it will provide additional functionality when installed.

@petronny You may want to check your settings in /etc/makepkg.conf. For example, I get similar issues with MAKEFLAGS="-j7".

monson commented on 2020-04-13 09:27

@petronny I didn't hit this, would you mind checking if it has been fixed in the newer version I provided in previous comment?

petronny commented on 2020-04-13 06:19


make[3]: Leaving directory '/build/heasoft/src/heasoft-6.26.1/heatools/BUILD_DIR'
make hd-std-subdir
make hd-std-subdir
make[2]: *** [/build/heasoft/src/heasoft-6.26.1/heatools/BUILD_DIR/Makefile-std:1062: all] Error 2
make[2]: Leaving directory '/build/heasoft/src/heasoft-6.26.1/heatools/BUILD_DIR'
make[6]: Entering directory '/build/heasoft/src/heasoft-6.26.1/tcltk/BUILD_DIR'
In file included from heasim.c:16:
heasim.h:11:10: fatal error: cfortran.h: No such file or directory
   11 | #include "cfortran.h"
      |          ^~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:75: heatools] Error 2
make[1]: *** Waiting for unfinished jobs....
hd_install: Installing /build/heasoft/src/heasoft-6.26.1/attitude/BUILD_DIR/hmakerc in /build/heasoft/src/heasoft-6.26.1/attitude/BLD/x86_64-pc-linux-gnu-libc2.31/BUILD_DIR/hmakerc
make install-tcl HD_TOP_EXEC_PFX=/build/heasoft/src/heasoft-6.26.1/tcltk/BLD/x86_64-pc-linux-gnu-libc2.31 HD_EXEC_PFX=/build/heasoft/src/heasoft-6.26.1/tcltk/BLD/x86_64-pc-linux-gnu-libc2.31 HD_CP_P="ln -s"
hd_install: Installing /build/heasoft/src/heasoft-6.26.1/ftools/BUILD_DIR/ in /build/heasoft/src/heasoft-6.26.1/ftools/BLD/x86_64-pc-linux-gnu-libc2.31/BUILD_DIR/
hd_install: Installing /build/heasoft/src/heasoft-6.26.1/suzaku/BUILD_DIR/config.log in /build/heasoft/src/heasoft-6.26.1/suzaku/BLD/x86_64-pc-linux-gnu-libc2.31/BUILD_DIR/config.log
In file included from finalize.c:8:
heasim.h:11:10: fatal error: cfortran.h: No such file or directory
   11 | #include "cfortran.h"
      |          ^~~~~~~~~~~~
compilation terminated.
initialize.c:9:10: fatal error: fitsio.h: No such file or directory
    9 | #include "fitsio.h"       /* cfitsio defined constants */
      |          ^~~~~~~~~~
Creating LYHelp.h
compilation terminated.
In file included from utils.c:8:
heasim.h:11:10: fatal error: cfortran.h: No such file or directory
   11 | #include "cfortran.h"
      |          ^~~~~~~~~~~~
compilation terminated.
spibkgsubtrct.c:11:10: fatal error: fitsio.h: No such file or directory
   11 | #include "fitsio.h"
      |          ^~~~~~~~~~
compilation terminated.

Could you fix this?

monson commented on 2020-04-10 07:41


  1. libidn is needed by heacore/lynx for IDNA support, it seems optional, but I don't know what really happens if missing.
  2. python-numpy will be needed in makedepends, otherwise heacore/heasp won't build the python wrapper. python will be no needed if we add python-numpy in makedepends, because it will be implicit depends.

P.S., I'm pushing this to be added into arch4edu repo [1] .


ydallilar commented on 2020-04-06 09:53

@monson What is libidn for? I guess it should add python to makedepends but do we need python-numpy to build it?

monson commented on 2020-04-06 08:40

Hi @ydallilar, 6.27 is out, and I add some depends and handy tool, would you mind checkout [1] and take a look? Thanks!