Summary: | =sys-apps/parted-1.9.0 enables USE="debug" by default | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrey Vihrov <andrey.vihrov> |
Component: | [OLD] Core system | Assignee: | Gentoo LiveCD Package Maintainers <livecd> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | jer, mattst88, me |
Priority: | High | ||
Version: | 10.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Andrey Vihrov
2010-02-10 07:08:56 UTC
README has the rationale: NOTE TO DISTRIBUTIONS --------------------- (1) When compiling Parted for distribution for general use, we recommend using the default configuration: CFLAGS=-Os ./configure This includes --enable-debug (by default), which contains many assertions. Obviously, these "waste" space, but in the past, they have caught potentially dangerous bugs before they would have done damage, so we think it's worth it. Also, it means we get more bug reports ;) *** Bug 319237 has been marked as a duplicate of this bug. *** I hope this will stop more dupes. Index: metadata.xml =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-apps/parted/metadata.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -u -B -r1.7 -r1.8 --- metadata.xml 23 Aug 2008 06:16:27 -0000 1.7 +++ metadata.xml 11 May 2010 06:30:22 -0000 1.8 @@ -3,7 +3,15 @@ <pkgmetadata> <herd>livecd</herd> <use> - <flag name='device-mapper'>Enable <pkg>sys-fs/device-mapper</pkg> support - in parted</flag> + <flag name='device-mapper'> + Enable <pkg>sys-fs/device-mapper</pkg> support in parted + </flag> + <flag name="debug"> + Enable debugging as encouraged by upstream: &ldquot;[The default + configuration] includes --enable-debug (by default), which contains many + assertions. Obviously, these "waste" space, but in the past, they have + caught potentially dangerous bugs before they would have done damage, so we + think it's worth it. Also, it means we get more bug reports ;)&rdquot; + </flag> </use> </pkgmetadata> |