First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 98530
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Christian Zoffoli <xmerlin@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Aron Griffis (RETIRED) <agriffis@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 98530 depends on: Show dependency tree
Show dependency graph
Bug 98530 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-07-09 20:38 0000
This code isn't doing anything because you're misusing the use_enable command. 
The bug must have been fixed by other changes on the livecd that were unrelated
to this change.

src_compile() {
    # Static compile of lvm2 so that the install described in the handbook
works
    # http://www.gentoo.org/doc/en/lvm2.xml
    # fixes http://bugs.gentoo.org/show_bug.cgi?id=84463
    local myconf=""
    use nolvmstatic || myconf="$(use_enable static_link)"

The use_enable command here will *always* generate the line
    --disable-static_link
because there is no USE-flag called static_link.  The correct way to write this
would be one of:

    if use nolvmstatic; then
        myconf="${myconf} --disable-static_link"
    else
        myconf="${myconf} --enable-static_link"
    fi

or for a more advanced use_enable command:

    myconf="${myconf} $(use_enable !nolvmstatic static_link)"

HOWEVER if you do either of these, the build actually fails in my
experimentation.  Personally I'd suggest yanking that stuff from the ebuild
altogether, and don't forget to remove nolvmstatic from IUSE and use.local.desc
(for clvm only)

------- Comment #1 From Christian Zoffoli 2005-07-10 05:33:30 0000 -------
clvm was created starting from the lvm ebuild and adding a couple of options,
so
the bug born there.

I'll work on it to clean up a bit.

------- Comment #2 From Christian Zoffoli 2005-07-14 09:58:30 0000 -------
fixed in cvs.

First Last Prev Next    No search results available      Search page      Enter new bug