good
Search Criteria
Package Details: heasoft 6.34-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.000015 |
First Submitted: | 2017-05-02 20:45 (UTC) |
Last Updated: | 2024-09-03 09:16 (UTC) |
Dependencies (16)
- inetutils (inetutils-gitAUR, busybox-coreutilsAUR)
- libidn (libidn-gitAUR)
- libxpm (libxpm-gitAUR)
- ncurses (ncurses-gitAUR)
- readline (readline-gitAUR)
- gcc-fortran (gcc-fortran-gitAUR, gcc11-fortranAUR, gcc-fortran-snapshotAUR) (make)
- gcc13-fortran (make)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR) (make)
- perl (perl-gitAUR) (make)
- python-astropy (make)
- python-matplotlib (python-matplotlib-gitAUR) (make)
- python-pip (make)
- python-scipy (python-scipy-mkl-binAUR, python-scipy-gitAUR, python-scipy-mklAUR, python-scipy-mkl-tbbAUR) (make)
- python-setuptools (make)
- python-astropy (optional) – python binding
- python-numpy (python-numpy-flameAUR, python-numpy-mkl-binAUR, python-numpy-gitAUR, python-numpy1AUR, python-numpy-mklAUR, python-numpy-mkl-tbbAUR) (optional) – python binding
Required by (1)
Sources (1)
raman commented on 2021-11-04 10:53 (UTC) (edited on 2022-07-12 07:16 (UTC) by raman)
ydallilar commented on 2021-11-04 10:16 (UTC)
So, the issue is this:
mkanlinit.c: In function ‘main’:
mkanlinit.c:410:9: error: format not a string literal and no format arguments [-Werror=format-security]
410 | fprintf(fp, anlinit_template[2]);
| ^~~~~~~
This is a potential security flaw that comes with string formatting. I starting patching but I gave up since this error is one of too many that will come after fixing this. Scientific software is not quite up-to-date in this regard.
One way to get around it is to temporarily remove -Wformat -Werror=format-security
flags. These reside in /etc/makepkg.conf
in Archlinux, not sure about Manjaro. The flags would be in CFLAGS
and CXXFLAGS
variables.
Post the contents of your /etc/makepkg.conf
here if you are not sure what to do.
ydallilar commented on 2021-11-04 06:21 (UTC) (edited on 2021-11-04 06:23 (UTC) by ydallilar)
My bad. Not here please. Send me an email. Written on top of PKGBUILD.
Edit and clear the two ultra long messages below.
raman commented on 2021-11-04 04:11 (UTC) (edited on 2022-07-12 07:17 (UTC) by raman)
comment deleted
raman commented on 2021-11-04 04:09 (UTC) (edited on 2022-07-12 07:18 (UTC) by raman)
comment deleted.
raman commented on 2021-11-04 03:25 (UTC)
yes i am using Manjaro linux
ydallilar commented on 2021-11-03 17:31 (UTC)
You seem to be using Manjaro and I cant reproduce it in archlinux.
So, I dont have a Manjaro system to test and what you write is not at all useful. Please send me the full log to see why it fails.
Also, keep in mind we are not explicitly supporting Manjaro in AUR. If a package works, good. But, if it doesnt, it is maintainer's decision to help (or not).
raman commented on 2021-11-03 08:13 (UTC)
IR/Makefile-std:1071: all] Error 2 make[2]: Leaving directory '/var/tmp/pamac-build-raman/heasoft/src/heasoft-6.29/suzaku/BUILD_DIR' make[1]: [Makefile:84: suzaku] Error 2 make[1]: Leaving directory '/var/tmp/pamac-build-raman/heasoft/src/heasoft-6.29/BUILD_DIR' make: [Makefile:10: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...
ydallilar commented on 2021-11-01 10:21 (UTC)
@raman Try now. 6.29 seems to compiling without issues.
raman commented on 2021-11-01 04:15 (UTC)
make[2]: [/var/tmp/pamac-build-raman/heasoft/src/heasoft-6.28/suzaku/BUILD_DIR/Makefile-std:1071: all] Error 2 make[2]: Leaving directory '/var/tmp/pamac-build-raman/heasoft/src/heasoft-6.28/suzaku/BUILD_DIR' make[1]: [Makefile:75: suzaku] Error 2 make[1]: Leaving directory '/var/tmp/pamac-build-raman/heasoft/src/heasoft-6.28/BUILD_DIR' make: *** [Makefile:10: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...
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/