Ticket 20140 - unable to compile in jwt under rhel9
Summary: unable to compile in jwt under rhel9
Status: OPEN
Alias: None
Product: Slurm
Classification: Unclassified
Component: Build System and Packaging (show other tickets)
Version: 23.11.2
Hardware: Linux Linux
: 5 - Enhancement
Assignee: Director of Support
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2024-06-11 07:35 MDT by Michael DiDomenico
Modified: 2024-06-11 07:51 MDT (History)
0 users

See Also:
Site: IDACCR
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:
Target Release: ---
DevPrio: ---
Emory-Cloud Sites: ---


Attachments

Note You need to log in before you can comment on or make changes to this ticket.
Description Michael DiDomenico 2024-06-11 07:35:48 MDT
when i try to compile 23.11.2 under rhel9 and include the json libraries.  configure seems to find jwt.h, but it bombs out with

conftest.c:118:20: error: invalid type argument ofunary '*' (have 'int')
118 | char x = *strerror_r(0,bug_sizeof buf);
conftest.c:119:21: warning: initilization of 'char *' from 'int' makes pointer from interget without a cast [-Wint-conversion]
119| char *p = strerror_r(0,bug,sizeof buf);

slurm compiles and works fine, just without the json libs

i'm running rhel9.4 with libjwt

libjwt-1.12.1-11.el9
libjwt-devel-1.12.1-11.el9
Comment 1 Michael DiDomenico 2024-06-11 07:44:15 MDT
sorry the above excerpt from the config.log is incorrect, i hadn't realized that was part of a different conftest.

but i'm still not able to compile in json support, even under 23.11.7.  configure finds the jwt.h header files, but still seems to throw a warning about being unable to locate json parser library
Comment 2 Michael DiDomenico 2024-06-11 07:51:41 MDT
looks like what i am missing is the json-c-devel rpm from my system

the output line from this config test could be a little clearer, it's not clear what was missing, in that it doesn't say anything at all