Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpmbuild of slurm-spank-plugins fails on non-LLNL system #2

Closed
GoogleCodeExporter opened this issue May 12, 2015 · 1 comment
Closed

Comments

@GoogleCodeExporter
Copy link

From: matthieu hautreux 

Just a brief feedback about the rpmbuild stage. The following patch is
necessary because oom-detect.so is not produced by default (part of
llnl-plugins), and break the rpmbuild process as it is not found during
packaging.

--- slurm-spank-plugins.spec.ori        2008-10-06 23:29:12.000000000 +0200
+++ slurm-spank-plugins.spec    2009-02-11 22:17:39.000000000 +0100
@@ -175,7 +175,9 @@
 %defattr(-,root,root,0755)
 %doc NEWS NEWS.old ChangeLog README.use-env
 %{_libdir}/slurm/renice.so
+%if %{_with llnl_plugins}
 %{_libdir}/slurm/oom-detect.so
+%endif
 %{_libdir}/slurm/system-safe.so
 %{_libdir}/slurm/iotrace.so
 %{_libdir}/slurm/tmpdir.so

You could also add "%define _unpackaged_files_terminate_build      0" to the
spec file as well.

Regards,
Matthieu

Original issue reported on code.google.com by [email protected] on 13 Feb 2009 at 12:10

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

No branches or pull requests

1 participant