Summary: | spec file does not manage mariadb/mysql dependency for building accounting_storage_mysql.so | ||
---|---|---|---|
Product: | Slurm | Reporter: | Regine Gaudin <regine.gaudin> |
Component: | Build System and Packaging | Assignee: | Unassigned Developer <dev-unassigned> |
Status: | OPEN --- | QA Contact: | |
Severity: | 5 - Enhancement | ||
Priority: | --- | CC: | benoit.leveugle, kilian, matthieu.hautreux, Ole.H.Nielsen, regine.gaudin |
Version: | 18.08.4 | ||
Hardware: | Linux | ||
OS: | Linux | ||
See Also: |
https://bugs.schedmd.com/show_bug.cgi?id=6511 https://bugs.schedmd.com/show_bug.cgi?id=8882 |
||
Site: | CEA | Alineos Sites: | --- |
Atos/Eviden Sites: | --- | Confidential Site: | --- |
Coreweave sites: | --- | Cray Sites: | --- |
DS9 clusters: | --- | 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: | 18.08.6, 19.05 | |
Target Release: | --- | DevPrio: | --- |
Emory-Cloud Sites: | --- | ||
Attachments: | build log |
Description
Regine Gaudin
2019-02-12 08:22:07 MST
Confirmed your error. Looking at how best to fix it now. Created attachment 9146 [details]
patch
Gaudin, The issue has been fixed by this patch for 18.08.6: https://github.com/SchedMD/slurm/commit/d18e26b9719e06a Please reply to reopen this ticket if you have any issues or questions. Thanks, --Nate Gaudin, The fix was included with 18.08.6, and was removed from 18.08.6-2. Other sites found that the behavior change caused issues and we will reconsider the change for future releases. Thanks, --Nate We are currently forcing the use of mysql/mariadb-devel adding buildrequires in slurm.spec: # Build with mysql by default on linux %bcond_without mysql %if %{with mysql} BuildRequires: mysql-devel >= 5.0.0 %endif yum provides mysql-devel is pointing on mariadb-devel package Regine Hi there, It looks like this issue is still present in 19.05.2. Is there an issue with adding "BuildRequires: mysql-devel" when mysql support is activated, as Regine proposed in #c11? That looks like a good solution to me. Cheers, -- Kilian (In reply to Kilian Cavalotti from comment #15) > It looks like this issue is still present in 19.05.2. > > Is there an issue with adding "BuildRequires: mysql-devel" when mysql > support is activated, as Regine proposed in #c11? That looks like a good > solution to me. The patch was reverted for 19.05.2 to avoid other build issues. Can you please attach your build log? Created attachment 11648 [details] build log Hi Nate, Just to clarify, I'm referring to the suggestion of adding this to the spec file: -- 8< ---------------------------------- # Build with mysql by default on linux %bcond_without mysql %if %{with mysql} BuildRequires: mysql-devel >= 5.0.0 %endif -- 8< ---------------------------------- not to the patch from https://github.com/SchedMD/slurm/commit/d18e26b9719e06a The build log is attached. Thanks! -- Kilian (In reply to Kilian Cavalotti from comment #17) > Just to clarify, I'm referring to the suggestion of adding this to the spec > not to the patch from https://github.com/SchedMD/slurm/commit/d18e26b9719e06a Killian, We are discussing internally how best to proceed with fixing the rpm spec files. Thanks, --Nate *** Ticket 8882 has been marked as a duplicate of this ticket. *** *** Ticket 11631 has been marked as a duplicate of this ticket. *** |