Bug#808736: junit4: lost Class-Path: for hamcrest/hamcrest infos in MANIFEST
Rene Engelhard
rene at debian.org
Tue Dec 22 11:47:26 UTC 2015
Source: junit4
Version: 4.12-3
Severity: serious
Justification: makes junit-using packages FTBFS
Hi,
Since last junit upload I get the following in LO (config.log):
configure:40316: checking for JUnit 4
configure:40338: result: /usr/share/java/junit4.jar
configure:40353: checking for included Hamcrest
conftest.java:1: error: package org.hamcrest does not exist
import org.hamcrest.BaseDescription;
^
1 error
configure:40360: result: Not included
configure:40362: checking for standalone hamcrest jar.
conftest.java:1: error: package org.hamcrest does not exist
import org.hamcrest.BaseDescription;
^
1 error
configure:40382: error: junit does not contain hamcrest; please use a junit jar
that includes hamcrest, install a hamcrest jar in the default location (/usr/sha
re/java),
specify its path with --with-hamcrest=..., or disable
junit with --without-junit
Indeed, the new junit has a META-INF/MANIFEST.MF of
% cat MANIFEST.MF
Manifest-Version: 1.0
Implementation-Vendor: JUnit
Implementation-Title: JUnit
Implementation-Version: 4.12
Implementation-Vendor-Id: junit
Build-Jdk: 1.7.0_91
Created-By: Apache Maven 3.3.9
Implementation-URL: http://junit.org
Archiver-Version: Plexus Archiver
whereas junit 4.12-2 had:
% cat MANIFEST.MF
Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Build-Jdk: 1.7.0_79
Built-By: root
Bundle-ManifestVersion: 2
Bundle-Name: JUnit Testing Framework
Bundle-SymbolicName: org.junit
Bundle-Vendor: JUnit
Bundle-Version: 4.12
Class-Path: hamcrest-core.jar
Created-By: Apache Maven
Export-Package: org.junit.experimental.theories.suppliers;uses:="org.jun
it.experimental.theories";version="4.12",org.junit.experimental.theories
;uses:="org.junit.experimental.theories.internal,org.junit.internal,org.
junit.runners.model,org.junit.runners,org.junit";version="4.12",org.juni
t.experimental.theories.internal;uses:="org.junit.experimental.theories,
org.junit.runners.model";version="4.12",org.junit.internal.runners;uses:
="org.junit.runner,org.junit.internal,org.junit.runner.notification,org.
junit.runners.model,junit.framework,org.junit.runner.manipulation,junit.
extensions,org.junit";version="4.12",org.junit.internal;uses:="org.hamcr
est,org.junit,org.junit.runners,org.junit.runner,org.junit.runner.notifi
cation";version="4.12",org.junit.internal.runners.model;uses:="org.junit
.internal,org.junit.runner,org.junit.runners.model,org.junit.runner.noti
fication";version="4.12",org.junit.experimental.categories;uses:="org.ju
nit.runner.manipulation,org.junit.runner,org.junit.runners,org.junit.run
ners.model";version="4.12",org.junit.runner.manipulation;uses:="org.juni
t.runner";version="4.12",org.junit.rules;uses:="org.hamcrest,org.junit,o
rg.junit.runners.model,org.junit.internal,org.junit.internal.matchers,or
g.junit.runner,org.junit.matchers,org.junit.internal.runners.statements"
;version="4.12",org.junit.runner;uses:="org.junit.runners.model,org.juni
t.runners,junit.framework,org.junit.internal.runners,org.junit.internal,
junit.runner,org.junit.runner.notification,org.junit.runner.manipulation
,org.junit.internal.requests,org.junit.internal.builders";version="4.12"
,org.junit.runners;uses:="org.junit.internal.runners,org.junit.runners.m
odel,org.junit.internal.runners.model,org.junit.internal.runners.rules,o
rg.junit.rules,org.junit.runner,org.junit.runner.notification,org.junit.
internal.runners.statements,org.junit,org.junit.internal,org.junit.runne
r.manipulation,org.junit.internal.builders";version="4.12",org.junit.mat
chers;uses:="org.junit.internal.matchers,org.hamcrest.core,org.hamcrest"
;version="4.12",org.junit.runner.notification;uses:="org.junit.runner";v
ersion="4.12",org.junit.experimental.results;uses:="org.junit.runner,org
.junit.runner.notification,org.junit.internal,org.hamcrest";version="4.1
2",org.junit.experimental.max;uses:="org.junit.runner,org.junit.runners,
org.junit.internal.runners,org.junit.runners.model,org.junit.internal.re
quests,junit.framework,org.junit.runner.notification";version="4.12",org
.junit.internal.builders;uses:="org.junit.runner,org.junit.runners.model
,org.junit,org.junit.runner.notification,junit.framework,org.junit.inter
nal.runners,org.junit.runners";version="4.12",org.junit;uses:="org.junit
.internal,org.hamcrest,org.junit.runners";version="4.12",org.junit.exper
imental.runners;uses:="org.junit.runners,org.junit.runners.model";versio
n="4.12",org.junit.internal.runners.rules;uses:="org.junit.rules,org.jun
it.runners.model,org.junit";version="4.12",org.junit.internal.matchers;u
ses:="org.hamcrest,org.junit.internal";version="4.12",org.junit.internal
.requests;uses:="org.junit.runner,org.junit.internal.builders,org.junit.
runner.manipulation,org.junit.internal.runners";version="4.12",org.junit
.experimental;uses:="org.junit.runner,org.junit.runners.model,org.junit.
runners";version="4.12",org.junit.runners.model;uses:="org.junit.interna
l.runners.model,org.junit.internal.runners,org.junit.runner,org.junit.in
ternal,org.junit";version="4.12",org.junit.internal.runners.statements;u
ses:="org.junit.internal,org.junit.runners.model";version="4.12",junit.r
unner;uses:="junit.framework";version="4.12",junit.textui;uses:="junit.f
ramework,junit.runner";version="4.12",junit.extensions;uses:="junit.fram
ework";version="4.12",junit.framework;uses:="org.junit.runner.manipulati
on,org.junit.runner,org.junit.runner.notification,org.junit,org.junit.in
ternal";version="4.12"
Implementation-Title: JUnit
Implementation-Vendor: JUnit
Implementation-Vendor-Id: junit
Implementation-Version: 4.12
Import-Package: org.hamcrest;version="1.3",org.hamcrest.core;version="1.
3"
Regards,
Rene
More information about the pkg-java-maintainers
mailing list