Summary: | emerge dev-java/ant-antlr-1.7.0: dev-java/antlr-2.7.7 does not actually support the java USE flag! | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | klamp <klampiar> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | darkside |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
WORKSFORME...closing as invalid. Please re sync and try again. If it still fails, post your emerge --info as well. %% sudo USE=-java emerge -av antlr ant-antlr <snip> * dev-java/antlr needs to be built with the java use flag * * ERROR: dev-java/ant-antlr-1.7.0 failed. * Call stack: * ebuild.sh, line 49: Called pkg_setup * ant-antlr-1.7.0.ebuild, line 16: Called die * The specific snippet of code: * die ${msg} * The die message: * dev-java/antlr needs to be built with the java use flag * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-java/ant-antlr-1.7.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/ant-antlr-1.7.0/temp/die.env'. * After resyncing and executing emerge ant-antlr error still occured, after executing USE=-java emerge -av antlr ant-antlr, emerge failed with same error as you posted. But now (after that all) emerge ant-antlr works fine. Strange. So I cant reproduce bug anymore. This looks like the same issue (emerge --info is also included). http://forums.gentoo.org/viewtopic-t-695475.html?sid=dc324132dd3e4f87b1e1e320965fdf9a I just ran into this. This is a user error, but the error message is confusing. In case someone is having this problem, please notice that the error message occurs during the emerge of dev-java/ant-antlr and the error message is about dev-java/antlr. dev-java/antlr is different from dev-java/ant-antlr It is dev-java/antlr that needs the java use flag. If it was emerged without it, then dev-java/ant-antlr will complain and die. So the fix is to reemerge dev-java/antlr with the java use flag: USE=java emerge -av dev-java/antlr |
emerge dev-java/ant-antlr-1.7.0 fails with: * Messages for package dev-java/ant-antlr-1.7.0: * * ERROR: dev-java/ant-antlr-1.7.0 failed. * Call stack: * ebuild.sh, line 49: Called pkg_setup * ant-antlr-1.7.0.ebuild, line 13: Called built_with_use 'pkg_setup' 'pkg_setup' * eutils.eclass, line 1729: Called die * The specific snippet of code: * die) die "$PKG does not actually support the $1 USE flag!";; * The die message: * dev-java/antlr-2.7.7 does not actually support the java USE flag! * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-java/ant-antlr-1.7.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/ant-antlr-1.7.0/temp/die.env'. * Reproducible: Always Steps to Reproduce: emerge ant-antlr Actual Results: emerge fails Expected Results: emerge ant-antlr should complete without error(s) after removed: >if ! built_with_use dev-java/antlr java; then > msg="dev-java/antlr needs to be built with the java use flag" > eerror ${msg} > die ${msg} >fi from ant-antlr-1.7.0.ebuild, ant-antlr emerged fine.