Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Olek Wojnar Newsgroups: linux.debian.ports.mips,linux.debian.maint.java Subject: Re: Strange build failures on mips64el Date: Fri, 22 Jan 2021 07:50:01 +0100 Message-ID: References: X-Mailbox-Line: From debian-mips-request@lists.debian.org Fri Jan 22 06:45:16 2021 Old-Return-Path: X-Amavis-Spam-Status: No, score=-4.402 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DIGITS_LETTERS=1, FOURLA=0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=2, LDO_WHITELIST=-5, MD5_SHA1_SUM=-1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001] autolearn=no autolearn_force=no X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-qv1-f45.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5 X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tvV1PXou31JLE9nqh+G0ceilZD8Nym7u9BYZ6JA69R8=; b=E+Yk6N3QF4XgeHk9pMW/yQMMzh/rbeLls8atBRT5c18PK4EglTOp2GsSOHa64HHHpp CDkGjsmxjkn3olwciwzM/y8dFSAaYtTlujkcL/9PSsWEKvRnx2od7tvlo+NFjP5T3nRv NzlX/538dcCBMG5rtJsB2eDOGsHGR4b/gdhMM7wGnjyANskrvJ8yuW6VCaXr1kTkLwC7 rsFOg/nCHh5bgnpJ4yFYDxFiWWm6jsDmnihWrpdYqZhJIFoewddwxLosYBtyfzm5tByi pOXxFPjIOellsRrK9xUXr+d4HUgZpQB+bp/10g3It6a1hwZfauN4zZPY1LDT9WZ1+nX1 9bPg== X-Gm-Message-State: AOAM530OXcsZ7rz/3HE8kziH/NSN9JAbr7HaegPS79iYNbxjM+J9jszi SQP6CaMn1hM5XvGtJD75na02w2bd+m0= X-Google-SMTP-Source: ABdhPJzoIABNTrUSBdJRkhfrcdK6VqmrghdAUdc9S2+IAMBdGHrOHm6InjL4ISreZL5vZjYmuV6iGg== X-Received: by 2002:a0c:c384:: with SMTP id o4mr437488qvi.21.1611296928627; Thu, 21 Jan 2021 22:28:48 -0800 (PST) X-Received: by 2002:a37:809:: with SMTP id 9mr3468974qki.156.1611296928156; Thu, 21 Jan 2021 22:28:48 -0800 (PST) MIME-Version: 1.0 X-Gmail-Original-Message-ID: Content-Type: multipart/alternative; boundary="00000000000007d1b205b9774d4e" X-Mailing-List: archive/latest/11742 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/CAJj0crTd9XHVCYQpyACiXfXT8u2AWxN3jkx63Yw3YG-+w4jKyg@mail.gmail.com Approved: robomod@news.nic.it Lines: 93 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: Debian Bazel Packaging Team X-Original-Date: Fri, 22 Jan 2021 01:28:12 -0500 X-Original-Message-ID: X-Original-References: Xref: csiph.com linux.debian.ports.mips:2888 linux.debian.maint.java:12044 --00000000000007d1b205b9774d4e Content-Type: text/plain; charset="UTF-8" Hello MIPS and Java teams, On Mon, Jan 11, 2021 at 12:57 AM Olek Wojnar wrote: > Greetings MIPS porters, (and adding Java Team as well) > > I created a Dockerfile [4] that will allow for an easy demonstration of > the problem from any host architecture. > Ok, despite some great help from upstream, we're a bit stumped. We've solved all the previous problems but we're now seeing the following error: [5] Exception in thread "main" java.io.IOException: Cannot clean output directory 'bazel-out/mips64-dbg/bin/src/main/java/com/google/devtools/build/lib/bazel/_javac/BazelServer/BazelServer_temp/native_headers' Caused by: java.nio.file.FileSystemException: bazel-out/mips64-dbg/bin/src/main/java/com/google/devtools/build/lib/bazel/_javac/BazelServer/BazelServer_temp/native_headers: failed to delete one or more files; see suppressed exceptions for details Suppressed: java.nio.file.FileSystemException: native_headers: Is a directory java.base/sun.nio.fs.UnixSecureDirectoryStream.implDelete(UnixSecureDirectoryStream.java:207) So it sounds like it does not want to delete the directory because it's a directory...??? Is this a Java bug on the mips64el platform? Or is there something else we're missing here. As much as I'd love to get this working on mips for bullseye, I'm out of my depth here and would really love some help! Thanks in advance! -Olek > [4] > https://salsa.debian.org/bazel-team/bazel-bootstrap/-/blob/olek-mips-riscv-2/debian/mips64el.Dockerfile > [5] https://gist.githubusercontent.com/olekw/d46a31af43912e995ab50356dd39c7f8/raw/827a9c3ca1bf6e22bd62ed58d8b2e4a6fcad38d1/mips64el-bazel-fail --00000000000007d1b205b9774d4e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello MIPS and Java teams,

On Mon, Jan 11,= 2021 at 12:57 AM Olek Wojnar <olek@debian.org> wrote:
Greetings MIPS porters, (a= nd adding Java Team as well)

I created a Dockerfile [4] that will= allow for an easy demonstration of the problem from any host architecture.=

Ok, despite some great h= elp from upstream, we're a bit stumped. We've solved all the previo= us problems but we're now seeing the following error: [5]
Exc= eption in thread "main" java.io.IOException: Cannot clean output = directory 'bazel-out/mips64-dbg/bin/src/main/java/com/google/devtools/b= uild/lib/bazel/_javac/BazelServer/BazelServer_temp/native_headers'
<snip>
Caused by: java.nio.file.FileSystemException: = bazel-out/mips64-dbg/bin/src/main/java/com/google/devtools/build/lib/bazel/= _javac/BazelServer/BazelServer_temp/native_headers: failed to delete one or= more files; see suppressed exceptions for details
<snip&g= t;
Suppressed: java.nio.file.FileSystemException: native_headers:= Is a directory
<snip>
java.base/sun.nio.fs.UnixS= ecureDirectoryStream.implDelete(UnixSecureDirectoryStream.java:207)

So it sounds like it does not want to delete the director= y because it's a directory...??? Is this a Java bug on the mips64el pla= tform? Or is there something else we're missing here. As much as I'= d love to get this working on mips for bullseye, I'm out of my depth he= re and would really love some help!

Thanks in adva= nce!

-Olek
=C2=A0
=C2=A0
--00000000000007d1b205b9774d4e--