First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 203109
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: C++ Team <cpp@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: intelligent.nerd@gmail.com
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

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

Bug 203109 depends on: Show dependency tree
Show dependency graph
Bug 203109 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: 2007-12-23 00:02 0000
Attempts to emerge dev-cpp/asio-0.3.8 with the 'examples' useflag turned on
causes the emerge to fail.

Reproducible: Always

Steps to Reproduce:
1. USE="examples" emerge -vat =dev-cpp/asio-0.3.8

Actual Results:  
Stops the emerge stating that it was unable to clean: Follows is the error
output

 * 
 * ERROR: dev-cpp/asio-0.3.8 failed.
 * Call stack:
 *           ebuild.sh, line 1701:  Called dyn_install
 *           ebuild.sh, line 1138:  Called qa_call 'src_install'
 *           ebuild.sh, line   44:  Called src_install
 *   asio-0.3.8.ebuild, line   45:  Called die
 * The specific snippet of code:
 *              emake clean || die "emake clean failed"
 *  The die message:
 *   emake clean failed


Expected Results:  
Package should install normally with no emerge problems. Works for
=USE="examples" emerge -vat =dev-cpp/asio-0.3.7


This does not occur with the prior version 0.3.7. It seems as the example stuff
is emerged with USE="test" for 3.3.8 and beyond. Changing the following will
fix the problem, provided that USE="example" is not used for anything (instead
examples seem to be loaded by USE="test"):

1. IUSE="doc examples ssl test" changed to IUSE="doc ssl test"
2. in src_install() remove the last if statement
   if use examples ; then
        # Get rid of the object files
        emake clean || die "emake clean failed"

        insinto /usr/share/doc/${PF}
        doins -r src/examples
    fi

This bug can be worked around by either removing USE="examples" from
/etc/make.conf or emerging with USE="-examples" emerge -vat =dev-cpp/asio-0.3.8

------- Comment #1 From Jakub Moc 2007-12-23 00:10:14 0000 -------
Please post the *topmost* build error as the message told you next time. For
fixes, attach a unified diff.

------- Comment #2 From intelligent.nerd@gmail.com 2007-12-23 01:18:25 0000 -------
Would you like both of those now? Or are those for future reference?

------- Comment #3 From Tiziano Müller 2007-12-24 07:44:23 0000 -------
The examples USE-flag triggers the installation of the examples (rather the
example's source code).
when tests run, the examples get built as well and we therefore have to cleanup
again to avoid the installation of object files.
Is fixed together with the version bump to 0.3.9.

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