Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 346009 - net-firewall/fwbuilder automagic use of distcc/ccache (outside of portage control)
Summary: net-firewall/fwbuilder automagic use of distcc/ccache (outside of portage con...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Joshua Kinard
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-18 22:39 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2011-05-29 17:06 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (fwbuilder-4.1.1:20101118-222953.log,310.47 KB, text/plain)
2010-11-18 22:39 UTC, Diego Elio Pettenò (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2010-11-18 22:39:04 UTC
Okay somebody got to either fix or mask this.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-11-18 22:39:31 UTC
Created attachment 254769 [details]
Build log
Comment 2 Joshua Kinard gentoo-dev 2011-02-13 11:26:56 UTC
This looks like it's part of the configure script.  configure.in itself.  Might this be a new GNU trend?  I'm not familiar with how upstream types craft configure scripts, so no idea if this was an upstream-specific thing or due to upstream using some new version of autoconf.
Comment 3 Kevin Pyle 2011-02-16 03:57:26 UTC
The file configure.in (which is the legacy name for configure.ac) is written by and maintained by the individual upstream project.  Although some upstreams may use tools to generate parts of it, usually anything in that file is there because an upstream developer put it there, not because a tool included it as boilerplate.  (However, the file configure is generated by autoconf and frequently contains large volumes of autoconf-generated code that is outside the direct control of the upstream developers.)  The relevant area of configure.in for fwbuilder-4.1.1 is lines 440-472.  The ccache check looks like it is not configurable.  The distcc check looks like it would respect calling configure with --without-distcc.

My guess is that one or more upstream developers decided it would be convenient if the build system just automatically used those features, so that builders would not need to have a separate wrapper script to activate them.  Since Portage manages those tools separately, auto-detection and auto-activation is inappropriate on Gentoo machines.  The ebuild ought to disable such probing, since some users may have those tools installed for non-Portage use and not have the tools configured properly for use by Portage.
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2011-05-29 17:06:41 UTC
Fixed in 4.2.2 and submitted upstream.