Summary: | net-analyzer/slurm: fails with forced --as-needed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Gentoo Netmon project <netmon> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.gentoo.org/proj/en/qa/asneeded.xml | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 129413 | ||
Attachments: |
Build log
Patch to configure.in to drop useless ncurses probes and add ncurses to LIBS instead of LDFLAGS Patch to slurm-0.3.3.ebuild to use the previous patch |
Description
Diego Elio Pettenò (RETIRED)
2008-11-21 12:25:40 UTC
Created attachment 172676 [details]
Build log
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. |