Skip to content

Disable debug_package to fix RHEL 9 build#8

Open
uvNikita wants to merge 1 commit into
hpc2n:masterfrom
uvNikita:patch-1
Open

Disable debug_package to fix RHEL 9 build#8
uvNikita wants to merge 1 commit into
hpc2n:masterfrom
uvNikita:patch-1

Conversation

@uvNikita

@uvNikita uvNikita commented Sep 28, 2022

Copy link
Copy Markdown

Otherwise build fails with the following error on CentOS / RHEL 9:

error: Empty %files file /root/rpmbuild/BUILD/slurm-spank-private-tmpdir-0.0.2/debugsourcefiles.list
Signature not supported. Hash algorithm SHA1 not available.
Deprecated external dependency generator is used!
Empty %files file /root/rpmbuild/BUILD/slurm-spank-private-tmpdir-0.0.2/debugsourcefiles.list

@LaHaine

LaHaine commented Dec 14, 2023

Copy link
Copy Markdown

Instead of disabling debug in the rpm file, you can also add the -g option to the gcc command line in the Makefile to enable the generation of debug symbols.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants