Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46776 - Second emerge fails for xmingw-gcc-3.3.1.ebuild
Summary: Second emerge fails for xmingw-gcc-3.3.1.ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Stefan Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-04 09:48 UTC by Nimrod A. Abing
Modified: 2004-04-05 01:56 UTC (History)
0 users

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 Nimrod A. Abing 2004-04-04 09:48:36 UTC
There is a bug in the install portion of the xmingw-gcc-3.3.1.ebuild that prevents it from being emerged the second time. It is necessary to emerge xmingw-gcc *twice* to get C++ compiler support going.

Reproducible: Always
Steps to Reproduce:
1. # emerge xmingw-runtime
This will emerge all the following:
xmingw-binutils
xmingw-gcc (C compiler only)
xmingw-w32api (C only)

2. # emerge xmingw-gcc
This should re-emerge xmingw-gcc and now that we have xmingw-runtime and xmingw-w32api, we should also get C++ compiler support.
3.

Actual Results:  
The ebuild fails in the install portion complaining that it cannot find the
i386-mingw32msvc-ranlib binary. But we installed ranlib when we emerged
xmingw-binutils.

Expected Results:  
Install should have completed for xmingw-gcc the second time around.

Seems to be a simple path problem in src_install, suggested fix:

src_install() {
        export PATH=$PATH:/opt/xmingw/bin:/opt/xmingw/i386-mingw32msvc/bin
        make DESTDIR="${D}" install || die "make install failed"
}

at least that's how I got it to finally re-emerge.
Comment 1 Stefan Jones (RETIRED) gentoo-dev 2004-04-05 01:56:27 UTC
Many thanks.

I have added the line into the ebuild.
Must of been libtool recompiling the libraries before install.