I'm reporting this bug because the package in summary fails to build when forcing --as-needed on through spec files (check out http://blog.flameeyes.eu/2008/11/14/problems-and-mitigation-strategies-for-as-needed for details).
Check the attached build log.
Created attachment 172676 [details]
Created attachment 182040 [details, diff]
Patch to configure.in to drop useless ncurses probes and add ncurses to LIBS instead of LDFLAGS
The upstream configure script searched for ncurses headers manually, which is not needed for Gentoo Linux, where we can assume that the headers will be in the compiler search path. The configure script used LDFLAGS to try to link to ncurses, which caused the failure Diego reported. Finally, the configure script discarded user LDFLAGS. This patch fixes all those issues. Since it touches configure.in, an autotools rebuild will be required. I will attach the patch for that next.
Created attachment 182041 [details, diff]
Patch to slurm-0.3.3.ebuild to use the previous patch
This patch adds an explicit src_unpack to slurm-0.3.3.ebuild to use the patch in attachment #182040 [details, diff] and then rebuild the autotools files. Since bug #255671 reports that maintainer mode was being triggered, this patch opts to use eautoreconf to fix that as well, rather than only doing eautoconf to pick up the changes to configure.in.
Thanks Kevin, fixed now.