Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 467204 - sys-fs/lvm2 - specifically describe USE=static in metadata.xml
Summary: sys-fs/lvm2 - specifically describe USE=static in metadata.xml
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-25 12:54 UTC by Alice Ferrazzi
Modified: 2013-09-12 21:04 UTC (History)
2 users (show)

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


Attachments
add static flag name (metadata.xml.patch,421 bytes, patch)
2013-04-25 13:15 UTC, Alice Ferrazzi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alice Ferrazzi Gentoo Infrastructure gentoo-dev 2013-04-25 12:54:15 UTC
in the output of equery uses lvm2, the description of static is not correct because it need to be defined in the metadata.xml





Reproducible: Always

Steps to Reproduce:
1.equery uses lvm2

Actual Results:  
gentoo-test lvm2 # equery uses lvm2
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for sys-fs/lvm2-2.02.97-r1:
 U I
 + + lvm1        : Allow users to build lvm2 with lvm1 support
 + + readline    : Enables support for libreadline, a GNU line-editing library that almost everyone wants
 + + static      : !!do not set this during bootstrap!! Causes binaries to be statically linked instead of dynamically
 - - static-libs : Build static libraries
 + + thin        : Support for thin volumes
 + + udev        : Enable sys-fs/udev integration (device discovery, power and storage device support, etc)


Expected Results:  
gentoo-test lvm2 # equery uses lvm2                                                                                                                            
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for sys-fs/lvm2-2.02.97-r1:
 U I
 + + lvm1        : Allow users to build lvm2 with lvm1 support
 + + readline    : Enables support for libreadline, a GNU line-editing library that almost everyone wants
 + + static      : Building static LVM, for usage inside genkernel
 - - static-libs : Build static libraries
 + + thin        : Support for thin volumes
 + + udev        : Enable sys-fs/udev integration (device discovery, power and storage device support, etc)

--- metadata.xml.orig   2013-04-25 21:41:22.000000000 +0900
+++ metadata.xml        2013-04-25 21:40:21.000000000 +0900
@@ -19,5 +19,6 @@
                <flag name='cman'>Cman support for clustered lvm</flag>
                <flag name='lvm1'>Allow users to build lvm2 with lvm1 support</flag>
                <flag name='thin'>Support for thin volumes</flag>
+               <flag name='static'>Building static LVM, for usage inside genkernel</flag>
        </use>
 </pkgmetadata>
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-04-25 13:01:12 UTC
I changed the Summary because there is nothing "wrong" with the current description - with USE=static, you get statically linked binaries. This may be useful particularly for use in an initramfs, but it isn't exclusive.
Comment 2 Alice Ferrazzi Gentoo Infrastructure gentoo-dev 2013-04-25 13:15:46 UTC
Created attachment 346580 [details, diff]
add static flag name
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2013-04-25 14:15:24 UTC
(In reply to comment #2)
> Created attachment 346580 [details, diff] [details, diff]
> add static flag name

The current description is better. "Causes binaries to be statically linked instead of dynamically" which is exactly what happens. It's not related to genkernel specifically at all.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2013-09-12 21:04:49 UTC
genkernel no longer needs static, so no change is needed