Package Details: heasoft 6.33.2-1

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)

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/

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

raman commented on 2022-06-03 06:26 (UTC) (edited on 2022-07-12 07:19 (UTC) by raman)

Hi , I want to install Heasoft in Manjaro Linux but i am getting this error even after changing CFLAG to "-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \ -Wp,-D_FORTIFY_SOURCE=2 \ -fstack-clash-protection -fcf-protection"

projec.inc:37:13:

make[2]: Leaving directory '/var/tmp/pamac-build-raman/heasoft/src/heasoft-6.29/ftools/BUILD_DIR' make[1]: [Makefile:84: ftools] 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-05 14:44 (UTC) (edited on 2021-11-05 14:53 (UTC) by ydallilar)

Type following in ~/.bashrc. Then, test it in bash shell not zsh...

source /etc/profile.d/heasoft.sh

Or, you can invoke bash shell with bash -l instead without modifying any files.

raman commented on 2021-11-05 03:07 (UTC)

   ~  heainit  ✔ zsh: command not found: heainit    ~   127 ✘

i have to add some alias in bashrc . please tell me how.

ydallilar commented on 2021-11-04 16:42 (UTC)

In a new terminal, just type heainit.

raman commented on 2021-11-04 14:07 (UTC) (edited on 2021-11-04 14:41 (UTC) by raman)

Thank you. Done building HEASoft. how to initiate it using alias heainit.

ydallilar commented on 2021-11-04 11:20 (UTC)

While building heasoft, you can replace this,

CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \
        -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
        -fstack-clash-protection -fcf-protection"

with,

CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \
        -Wp,-D_FORTIFY_SOURCE=2 \
        -fstack-clash-protection -fcf-protection"

Then, revert the changes after you are done.

raman commented on 2021-11-04 10:53 (UTC) (edited on 2022-07-12 07:16 (UTC) by raman)

good

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.