With 15.08.5 (not an option to pick yet) the configuration system doesn't correctly handle lua. [2015-12-11T12:38:38.890] slurmctld version 15.08.5 started on cluster snowy [2015-12-11T12:38:38.891] error: xlua_dlopen: Not compiled with lua support! Please install a lua dev package. [2015-12-11T12:38:38.891] error: Couldn't load specified plugin name for job_submit/lua: Plugin init() callback failed [2015-12-11T12:38:38.891] error: cannot create job_submit context for job_submit/lua [2015-12-11T12:38:38.891] fatal: failed to initialize job_submit plugin The output of configure says: [root@snowy-m SLURM]# fgrep -w lua config-15.08.5.out checking for lua... yes checking for whether we can link to liblua... yes lua config.status: creating contribs/lua/Makefile config.status: creating src/plugins/job_submit/lua/Makefile config.status: creating src/plugins/proctrack/lua/Makefile But HAVE_LUA_5_1 never gets set in config.h. Setting it & recompiling fixes the issue.
Version corrected, sorry about that. What OS are you running? I'm thinking that the autotools macro isn't detecting the -dev version properly, leaving you with the inconsistent build.
(In reply to Tim Wickberg from comment #1) > Version corrected, sorry about that. > > What OS are you running? I'm thinking that the autotools macro isn't > detecting the -dev version properly, leaving you with the inconsistent build. This is RHEL 6.7.
*** Ticket 2246 has been marked as a duplicate of this ticket. ***
I saw the same behavior in RHEL6.6. My workaround was to create a symlink from the existing file lua.pc to lua5.1.pc in /usr/lib64/pkgconfig - just for the duration of the build. The new configure script wants pkg-config to find either lua5.1 or lua5.2.
*** Ticket 2253 has been marked as a duplicate of this ticket. ***
Created attachment 2508 [details] replacement xlua.c replacement xlua.c restoring old behavior
Hey folks - I've attached a replacement for src/common/xlua.c that restores the expected behavior from the rest of the 15.08 series - something similar will be included in the next 15.08 point release. My apologies for the bug - what was meant as a minor fix to avoid problems with mismatched Lua headers and library versions (bug 2131) has obviously backfired. Any further work on this will move to 16.05 to avoid any further problems, this really shouldn't have been done in 15.08. - Tim
Tim Are you planning to fix the underlying problem in the "configure" script? This still contains flawed logic, see Bug 2246. The same code is present in 14.11.6 - it just doesn't cause any problem with the build. Thanks, Dave
(In reply to David Matthews from comment #8) > Tim > Are you planning to fix the underlying problem in the "configure" script? > This still contains flawed logic, see Bug 2246. The same code is present in > 14.11.6 - it just doesn't cause any problem with the build. > Thanks, > Dave Yes, but not in 15.08. With 16.05, I'll be reworking the autoconf macros to handle this in a way that's not dependent on exact package naming schemes which vary considerably between the RPM and DEB distros.
Commit 1536deab has the fix applied, and will be in the next 15.08.6 release. Further work for 16.05 will be done under bug 2131. - Tim
*** Ticket 2264 has been marked as a duplicate of this ticket. ***