Summary: | Unable to compile on Fedora 23 and above owing to problems with the perlapi | ||
---|---|---|---|
Product: | Slurm | Reporter: | Adam Huffman <adam.huffman> |
Component: | Other | Assignee: | Jacob Jenson <jacob> |
Status: | RESOLVED DUPLICATE | QA Contact: | |
Severity: | 6 - No support contract | ||
Priority: | --- | CC: | quietdeath |
Version: | 15.08.7 | ||
Hardware: | Linux | ||
OS: | Linux | ||
Site: | -Other- | Slinky Site: | --- |
Alineos Sites: | --- | Atos/Eviden Sites: | --- |
Confidential Site: | --- | Coreweave sites: | --- |
Cray Sites: | --- | DS9 clusters: | --- |
Google sites: | --- | HPCnow Sites: | --- |
HPE Sites: | --- | IBM Sites: | --- |
NOAA SIte: | --- | NoveTech Sites: | --- |
Nvidia HWinf-CS Sites: | --- | OCF Sites: | --- |
Recursion Pharma Sites: | --- | SFW Sites: | --- |
SNIC sites: | --- | Tzag Elita Sites: | --- |
Linux Distro: | --- | Machine Name: | |
CLE Version: | Version Fixed: | ||
Target Release: | --- | DevPrio: | --- |
Emory-Cloud Sites: | --- |
Description
Adam Huffman
2016-01-23 21:51:34 MST
I am running into the same problem here. System: Fedora 23 Slurm: slurm-15.08.7.tar.bz2 I've found a minimal change that will fix compilation on Fedora 23 and above, namely the hardcoding of "-O0" in the CFLAGS, which occurs in ./configure. The packages at: https://copr.fedorainfracloud.org/coprs/verdurin/slurm/build/158439/ should work. The minimal patch is included in the SRPM. In the .spec file itself, I needed to remove the use of 'perlapi.files', because the file is empty and RPM no longer tolerates empty files in %files. As far as I can tell, the Perl subpackage builds fine without this, but please correct me if I'm wrong. I understand that you don't accept GitHub pull requests, so please feel free to extract the changes from the packages on COPR. |