[Debian-med-packaging] Bug#973070: Bug#973070: Help needed: Bug#973070: libsis-base-java: FTBFS: Could not delete the directory targets/unit-test-wd/ch.systemsx.cisd.base.unix.UnixTests because: 1 exceptions: [java.io.IOException: Unable to delete file: targets/unit-test-wd/ch.systemsx.cisd.base.unix.UnixTests/someDanglingLink]

olivier sallou olivier.sallou at irisa.fr
Wed Oct 28 15:01:33 GMT 2020


On Wed, 2020-10-28 at 09:05 +0100, Andreas Tille wrote:
> Hi,
> 
> On Tue, Oct 27, 2020 at 10:55:43PM +0100, Markus Koschany wrote:
> > This appears to be caused by the recent upgrade of Apache commons-
> > io to
> > version 2.8.0 (we had 2.6), see also #973135. In version 2.7 they
> > removed a throws IOException in the method isSymlink()
> > 
> > https://issues.apache.org/jira/browse/IO-610
> > 
> > Could it be related to this change? It is probably necessary to
> > update
> > the testcase or disable it for a quick workaround.
> 
> I tried to implement this workaroung in this patch
> 
>    
> https://salsa.debian.org/med-team/libsis-base-java/-/blob/master/debian/patches/skip_testGetLinkInfoSymLinkDanglingLink.patch
> 
> but unfortunately the test is executed anyway:
*dumb* patch would be to simply remove those tests from code...
> 
> ...
> Running testTouchSymLinkAndFile
> Running testGetLinkInfoSymLinkDanglingLink
> Running testGetLinkInfoNonExistent
> Could not delete the directory targets/unit-test-
> wd/ch.systemsx.cisd.base.unix.UnixTests because: 1 exceptions:
> [java.io.IOException: Unable to delete file: targets/unit-test-
> wd/ch.systemsx.cisd.base.unix.UnixTests/someDanglingLink]
> Could not delete the directory targets/unit-test-
> wd/ch.systemsx.cisd.base.unix.UnixTests in second try because: 1
> exceptions: [java.io.IOException: Unable to delete file:
> targets/unit-test-
> wd/ch.systemsx.cisd.base.unix.UnixTests/someDanglingLink]
> Exception in thread "main" org.apache.commons.io.IOExceptionList: 1
> exceptions: [java.io.IOException: Unable to delete file:
> targets/unit-test-
> wd/ch.systemsx.cisd.base.unix.UnixTests/someDanglingLink]
> ...
> 
> 
> Am I missing something?
> 
> Kind regards
> 
>        Andreas.
> 
-- 
Olivier Sallou
Univ Rennes, Inria, CNRS, IRISA
Irisa, Campus de Beaulieu
F-35042 RENNES - FRANCE
Tel: 02.99.84.71.95

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438



More information about the Debian-med-packaging mailing list