Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 629078 - media-gfx/zbar-0.10_p20121015-r2[java]: fails tests
Summary: media-gfx/zbar-0.10_p20121015-r2[java]: fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-27 16:16 UTC by Michał Górny
Modified: 2017-12-18 10:37 UTC (History)
0 users

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


Attachments
media-gfx:zbar-0.10_p20121015-r2:20170827-155415.log (media-gfx:zbar-0.10_p20121015-r2:20170827-155415.log,127.98 KB, text/x-log)
2017-08-27 16:16 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-08-27 16:16:38 UTC
Created attachment 490914 [details]
media-gfx:zbar-0.10_p20121015-r2:20170827-155415.log

(-r2 is the revision I'm working on with a lot of fixes to make tests not fail unconditionally, I will submit it soonish)

With USE=java, Java tests fail with:

make[4]: Entering directory '/tmp/portage/media-gfx/zbar-0.10_p20121015-r2/work/zbar-0.10_p20121015/java'
echo "making check in java"
making check in java
cd /tmp/portage/media-gfx/zbar-0.10_p20121015-r2/work/zbar-0.10_p20121015/java; /opt/icedtea-bin-3.5.1/bin/javac -classpath /tmp/portage/media-gfx/zbar-0.10_p20121015-r2/work/zbar-0.10_p20121015/java/zbar.jar:.:. -d /tmp/portage/media-gfx/zbar-0.10_p20121015-r2/work/zbar-0.10_p20121015/java test/TestImage.java test/TestImageScanner.java test/TestScanImage.java
test/TestImage.java:2: error: package org.junit does not exist
import org.junit.Test;
                ^
test/TestImage.java:3: error: package org.junit does not exist
import org.junit.Before;
                ^
[...]

I suspected it a 'pure' missing dep but it seems that installing dev-java/junit does not help.
Comment 1 Larry the Git Cow gentoo-dev 2017-12-18 10:37:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ceed09475c17126515be605f700f9bb3c540bd1f

commit ceed09475c17126515be605f700f9bb3c540bd1f
Author:     Michael Weber <xmw@gentoo.org>
AuthorDate: 2017-12-18 10:37:16 +0000
Commit:     Michael Weber <xmw@gentoo.org>
CommitDate: 2017-12-18 10:37:28 +0000

    media-gfx/zbar: Fix USE=java tests.
    
    Closes: https://bugs.gentoo.org/629078
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 media-gfx/zbar/zbar-0.10_p20121015-r2.ebuild | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)