Path: csiph.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!news.uzoreto.com!aioe.org!bofh.it!news.nic.it!robomod From: Andreas Tille Newsgroups: linux.debian.maint.java,linux.debian.bugs.dist Subject: Re: 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] Date: Wed, 28 Oct 2020 09:10:01 +0100 Message-ID: References: X-Original-To: Debian Java List X-Mailbox-Line: From debian-java-request@lists.debian.org Wed Oct 28 08:05:23 2020 Old-Return-Path: X-Amavis-Spam-Status: No, score=-4.98 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, MEDS2=2, MURPHY_DRUGS_REL8=0.02] autolearn=no autolearn_force=no X-Policyd-Weight: using cached result; rate: -4.6 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Mailing-List: archive/latest/22514 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20201028080508.GI17235@an3as.eu Approved: robomod@news.nic.it Lines: 36 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: 973070@bugs.debian.org X-Original-Date: Wed, 28 Oct 2020 09:05:08 +0100 X-Original-Message-ID: <20201028080508.GI17235@an3as.eu> X-Original-References: <20201027170655.GA31813@xanadu.blop.info> <20201027200024.GE17235@an3as.eu> <7e13a0dc-662a-5a94-9ae8-dfeec7d78dc6@debian.org> Xref: csiph.com linux.debian.maint.java:11900 linux.debian.bugs.dist:1030396 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: ... 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. -- http://fam-tille.de