Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: justin <jlec@g.o>
Subject: Re: making the stable tree more up-to-date
Date: Fri, 16 Dec 2011 12:46:23 +0100
On 12/16/11 12:21 PM, Agostino Sarubbo wrote:
> On Friday 16 December 2011 06:10:13 Anthony G. Basile wrote:
>> Does your script do any checking on the quality of the ebuild, eg that
>> it respects C/LDFLAGS.  If so, that's useful and would help package
>> maintainers to better prepare their ebuilds for stabilization.
> Unfortunately no. 
> 
> For LDFLAGS there is a QA warning and is enough visible
> For CFLAGS I see with the naked eye a bit of build log
> My script at "end of work" just runs repoman full and cat entire ebuild( so, 
> imho, should be a tasks already done by maintainers).
> Finally, I take a look at the ebuild to see if there are issue(s)
> 
> This is all.
> 
>> And congrats on making dev
> Thanks ;)
> 
> 
> Regards
> Agostino

You can use the post* hooks for that. For FLAGS mixing I am using CFLAGS
and CXXFLAGS specific warning flags during compilation and grep for the
gcc mixing warning in the build log. Probably similar things can be done
for other problematic points. There was also a more sophisticated
approach Diego blogged about.

For respecting C/CXXFLAGS there was something Donnie suggested long ago.
If you use -frecord-gcc-switches you are able to read the used LFGAS
with eu-readelf.

Probably someone likes to put this together in a guideline how to check
a package correctly.

justin

Attachment:
signature.asc (OpenPGP digital signature)
Replies:
Re: checking C*FLAGS used for build (was: making the stable tree more up-to-date)
-- Michał Górny
References:
making the stable tree more up-to-date
-- Paweł Hajdan, Jr.
Re: making the stable tree more up-to-date
-- Agostino Sarubbo
Re: making the stable tree more up-to-date
-- Anthony G. Basile
Re: making the stable tree more up-to-date
-- Agostino Sarubbo
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: making the stable tree more up-to-date
Next by thread:
Re: checking C*FLAGS used for build (was: making the stable tree more up-to-date)
Previous by date:
Re: making the stable tree more up-to-date
Next by date:
Re: making the stable tree more up-to-date


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.