Mailing List Archive

debug.eclass is dead now
Hi,

Don't use debug.eclass.

A team of crackpot developers gangbanged the tree (hi beu!) and remove
all the nasty inherit lines, and then Diego added a deprecation message
in the eclass.

People with overlays utilizing debug.eclass will get many annoying
messages prompting them to stop inheriting debug eclass. This was done
intentionally to prompt overlay owners to fix their ebuilds.

If you inherit the eclass in gentoo-x86, repoman will spam the hell out
of you during your commit, so DON'T DO IT.

Thanks,

Alec and Diego, and Ryan Hill, and some other people I'm leaving out.
--
gentoo-dev@gentoo.org mailing list
Re: debug.eclass is dead now [ In reply to ]
> Don't use debug.eclass.

Pardon what may be a stupid question here, but what's the fix/workaround for using
the debug.eclass ?

Caleb

--
gentoo-dev@gentoo.org mailing list
Re: debug.eclass is dead now [ In reply to ]
Caleb Tennis napsal(a):
>> Don't use debug.eclass.
>
> Pardon what may be a stupid question here, but what's the fix/workaround for using
> the debug.eclass ?
>
> Caleb
>

<eclass snip>
# It was broken, and debug useflag should _not_ touch CFLAGS to start with.
# See http://bugs.gentoo.org/show_bug.cgi?id=55708 for info about this
# and http://www.gentoo.org/proj/en/qa/backtraces.xml to learn how to get
# a debug build.
</eclass snip>


--
Best regards,

Jakub Moc
mailto:jakub@gentoo.org
GPG signature:
http://subkeys.pgp.net:11371/pks/lookup?op=get&search=0xCEBA3D9E
Primary key fingerprint: D2D7 933C 9BA1 C95B 2C95 B30F 8717 D5FD CEBA 3D9E

... still no signature ;)
Re: debug.eclass is dead now [ In reply to ]
On Fri, Jan 05, 2007 at 07:19:30AM -0500, Caleb Tennis wrote:
>
> > Don't use debug.eclass.
>
> Pardon what may be a stupid question here, but what's the fix/workaround for using
> the debug.eclass ?

Simply stop using it. Drop it from the inherit line, and if your ebuild
has a legitimate use of the debug flag, put that in IUSE. There is no
need to restore the functionality that the eclass provided, since that
didn't belong in ebuilds/eclasses in the first place.
--
gentoo-dev@gentoo.org mailing list