Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 255671

Summary: net-analyzer/slurm: automake called by maintainer-mode
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Netmon Herd <netmon>
Severity: QA    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 226305    
Attachments: Build log

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-01-20 18:18:17 UTC

You're receiving this canned (template-based) bug report because I found a problem with a package during my tinderbox run.

The package in question is running automake (and most likely other autotools) during compile phase by maintainer-mode. You can see in my blog post in the URL field why that's a problem, and how to address the issue, but in general, you don't want maintainer-mode rebuild during compile phase, especially since it can cause multiple run of econf.

The causes of maintainer-mode rebuild are various, but most likely it's because of a patch that changes or and don't rebuild autotools properly. The way to fix this is almost always to inherit autotools eclass and run eautomake/eautoreconf (as needed; eautoconf should only be used when automake is not involved, which is not the case here) during src_unpack phase.

Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-01-20 18:18:30 UTC
Created attachment 179105 [details]
Build log
Comment 2 Kevin Pyle 2009-02-14 19:13:30 UTC
This appears to be an upstream packaging error.  The mtimes for the relevant files are:

2004-10-12 14:17:46.000000000 -0500 Makefile
2004-02-12 23:13:52.000000000 -0600
2004-02-12 23:41:30.000000000 -0600
2004-10-12 14:17:46.000000000 -0500 config.guess*
2004-02-12 23:41:30.000000000 -0600
2004-10-12 14:17:46.000000000 -0500 config.sub*
2004-09-28 09:34:56.000000000 -0500 configure*
2004-09-28 09:34:56.000000000 -0500

Note that has a modification time in 2004-09-28, but was modified 2004-02-12.  This triggers one of the included maintainer-mode rules:

$(srcdir)/  $(top_srcdir)/ $(ACLOCAL_M4)
    cd $(top_srcdir) && \
      $(AUTOMAKE) --gnu  Makefile

The changes attached to bug #247937 fix this as a side effect, since the patch there uses eautoreconf after patching
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-06-04 11:48:00 UTC
Looks like this was fixed along with bug #247937.