Control: forwarded -1 Bernd Rinn <br...@ethz.ch>

Hi,

I'd recommend reading the bug report log from here to get some hints
about recommended changes in the code:

   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=973070#17

For the moment I've excluded the affected tests.

Kind regards

      Andreas.
   

----- Forwarded message from Markus Koschany <a...@debian.org> -----

Date: Wed, 28 Oct 2020 19:34:35 +0100
From: Markus Koschany <a...@debian.org>
To: Debian Java List <debian-j...@lists.debian.org>
Cc: 973...@bugs.debian.org
Subject: 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]
X-Debian-PR-Message: followup 973070
X-Debian-PR-Package: src:libsis-base-java
X-Debian-PR-Keywords: bullseye ftbfs help sid
X-Debian-PR-Source: libsis-base-java



Am 28.10.20 um 16:01 schrieb olivier sallou:
[...]
> *dumb* patch would be to simply remove those tests from code...

Either this or you can keep the override for dh_auto_test-arch empty.

The test creates a broken symlink but then FileUtils.deleteDirectory
fails to delete the file, obviously because it is not a directory but
I'm not sure how it really handles symlinks within directories. See also
[1]. Probably upstream should switch to the java.nio.file API (they
still use java.io.File), test for the existence of symlinks and then try
File.delete instead of FileUtils.deleteDirectory first. Not tested, just
a guess.

Markus


[1] https://issues.apache.org/jira/browse/IO-576





_______________________________________________
Debian-med-packaging mailing list
debian-med-packag...@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-packaging


----- End forwarded message -----

-- 
http://fam-tille.de

Reply via email to