Summary: | dev-java/gnu-crypto fails to compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Java team <java> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 521430 | ||
Attachments: | gnu-crypto-2.0.1-r3:20150707-091347.log |
Description
Agostino Sarubbo
2015-07-07 09:15:18 UTC
Created attachment 406298 [details]
gnu-crypto-2.0.1-r3:20150707-091347.log
build log
Good catch. -GNU_CRYPTO_JARS=( - "${PN}" - "${PN}-test" - javax-crypto - javax-security -) + src_install() { + local GNU_CRYPTO_JARS=( + "${PN}" + javax-crypto + javax-security + ) + + if use test; then + GNU_CRYPTO_JARS=(${GNU_CRYPTO_JARS[@]} "${PN}-test") + fi + gnu-crypto-test.jar is created ONLY when tests are carried out. I've recompiled the ebuild with and without the test USE flag and it works smoothly. + 07 Jul 2015; Patrice Clement <monsieurp@gentoo.org> + gnu-crypto-2.0.1-r3.ebuild: + Install gnu-crypto-test.jar only when tests are enabled. Fix bug 554128. + Give it another try. |