Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43368 - Portage 2.0.50-r1 ebuild does unnecesairy rebuild of sandbox.
Summary: Portage 2.0.50-r1 ebuild does unnecesairy rebuild of sandbox.
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All All
: High trivial (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 63628 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-03-01 04:15 UTC by Ronald Hummelink
Modified: 2004-09-18 22:04 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ronald Hummelink 2004-03-01 04:15:19 UTC
During src_compile() sandbox is build (on x86 with special CFLAGS even)

    if [ "${ARCH}" = "x86" ]; then
        make CFLAGS="-march=i386 -O1 -pipe" || die
    else
        make || die
    fi

During src_install() it is make cleaned and rebuild, without exception for x86

    #install sandbox
    cd ${S}/src/sandbox-1.1
    make clean
    make DESTDIR=${D} install || die "Failed to compile sandbox"

Now all seems to work fine, so it is really a matter of pointing out the inconsistency... The make clean seems to have been added in the 2.0.50 series.
Also it is useless to build it twice, but yet again since this is so fast it is trivial.
Comment 1 SpanKY gentoo-dev 2004-09-18 22:03:11 UTC
*** Bug 63628 has been marked as a duplicate of this bug. ***
Comment 2 SpanKY gentoo-dev 2004-09-18 22:04:03 UTC
2.0.51 resolves this