The md5sum needs to be updated to 090bac7a7fb7e6691dbeeb55d93086d9
Search Criteria
Package Details: heasoft 6.33.2-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/heasoft.git (read-only, click to copy) |
---|---|
Package Base: | heasoft |
Description: | NASA high energy astrophysics library |
Upstream URL: | https://heasarc.gsfc.nasa.gov/docs/software/lheasoft/ |
Licenses: | GPL, NASA |
Submitter: | ydallilar |
Maintainer: | petronny (AutoUpdateBot) |
Last Packager: | AutoUpdateBot |
Votes: | 4 |
Popularity: | 0.000752 |
First Submitted: | 2017-05-02 20:45 (UTC) |
Last Updated: | 2024-04-23 09:16 (UTC) |
Dependencies (15)
- libidn (libidn-gitAUR)
- libxpm (libxpm-gitAUR)
- ncurses (ncurses-gitAUR)
- readline (readline-gitAUR)
- gcc-fortran (gccrs-fortran-gitAUR, gcc11-fortranAUR, gcc-fortran-gitAUR, gcc-fortran-snapshotAUR) (make)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR) (make)
- inetutils (inetutils-gitAUR, busybox-coreutilsAUR) (make)
- perl (perl-gitAUR) (make)
- python-astropy (python-astropy31AUR) (make)
- python-matplotlib (python-matplotlib-gitAUR) (make)
- python-pip (make)
- python-scipy (python-scipy-mkl-binAUR, python-scipy-gitAUR, python-scipy-mklAUR) (make)
- python-setuptools (make)
- python-astropy (python-astropy31AUR) (optional) – python binding
- python-numpy (python-numpy-flameAUR, python-numpy-mkl-binAUR, python-numpy-gitAUR, python-numpy-mklAUR) (optional) – python binding
Required by (1)
Sources (1)
BoostCookie commented on 2021-05-04 17:18 (UTC)
monson commented on 2020-04-20 09:00 (UTC)
@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 (UTC)
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().
Aborting...
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 (UTC)
@monson Done. I added you co-maintainer as well.
monson commented on 2020-04-16 03:16 (UTC)
Sure, if this really becomes an unneeded package to you. And there are something may need improved:
- You may want to use
CHOST
in./configure --build=${CHOST}
and adjustHEADAS
, because me and some others are not usingx86_64-unknown-linux-gnu
. - 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.
- 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 (UTC) (edited on 2020-04-16 00:26 (UTC) by ydallilar)
@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 (UTC)
@petronny I didn't hit this, would you mind checking if it has been fixed in the newer version I provided in previous comment? https://aur.archlinux.org/packages/heasoft/#comment-737763
petronny commented on 2020-04-13 06:19 (UTC)
Getting
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/headas-init.sh in /build/heasoft/src/heasoft-6.26.1/ftools/BLD/x86_64-pc-linux-gnu-libc2.31/BUILD_DIR/headas-init.sh
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 (UTC) (edited on 2020-04-10 07:43 (UTC) by monson)
@ydallilar
- libidn is needed by heacore/lynx for IDNA support, it seems optional, but I don't know what really happens if missing.
- 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] .
[1] https://wiki.archlinux.org/index.php/Unofficial_user_repositories#arch4edu
Pinned Comments
petronny commented on 2022-08-12 09:20 (UTC)
Pre-built binary of this package can be found in the arch4edu repository.
And the build log is available at https://arch4edu.github.io/