Re: [Base] Proposal for buildrequires cleanup janitorial initiative

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 13, 2013 at 10:57:00AM -0500, Matthew Miller wrote:
> On Fri, Dec 13, 2013 at 12:20:50PM +0100, Vít Ondruch wrote:
> > * It might be interesting to have some script, which tries to audit
> > BR, e.g. it removes all BR first and then adds them back as they are
> > required. This could reveal some BR which are actually not needed
> > anymore, but are listed among BR from historic reasons.
> 
> This is kind of hard to do without extensive functional tests, because it
> may be that a BR was added because the build completes happily without it
> but misses the related functionality. (This is pretty common, I think.)

auto-buildrequires (http://people.redhat.com/~rjones/auto-buildrequires/)
uses an LD_PRELOAD hack to find out what BuildRequires are packages
are actually touched during the build.  Therefore it does not suffer
from this problem.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux