Github messages for voidlinux
 help / color / mirror / Atom feed
From: Chocimier <Chocimier@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [ISSUE] [CLOSED] Gradle cannot tar downloaded dependency
Date: Thu, 03 Mar 2022 17:17:19 +0100	[thread overview]
Message-ID: <20220303161719.Wq4LHalBLdbY5lQa4H9GzfMmf36Bg3bqgveeFO3B83E@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35883@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 5310 bytes --]

Closed issue by adigitoleo on void-packages repository

https://github.com/void-linux/void-packages/issues/35883

Description:
### System

* xuname: Void 5.15.24_1 x86_64 AuthenticAMD notuptodate rFFF
* package: New package draft for [wraith-master](https://gitlab.com/serebit/wraith-master)

### Expected behavior

Was able to build the software manually and use it successfully (on command line at least). Dev was responsive and helpful in removing legacy dependencies from the build. Came up with [this template draft](https://github.com/adigitoleo/void-packages/commit/a6c3de4849af292253ba53620fe1e98578a90aa1) based on [this arch PKGBUILD](https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=wraith-master) (maintained by upstream) and reading the void packaging manuals.

Expected successful build with `xbps-src`.

### Actual behavior

Building with `xbps-src` fails, because gradle cannot unpack a dependency (I think it's the kotlin compiler):

```
> Task :core:cinteropLibusbLinuxX64
Downloading native dependencies (LLVM, sysroot etc). This is a one-time action performed only on the first run of the compiler.

(KonanProperies) Downloading dependency: https://download.jetbrains.com/kotlin/native/x86_64-unknown-linux-gnu-gcc-8.3.0-glibc-2.19-kernel-4.9-2.tar.gz (0/101793914).
(KonanProperies) Downloading dependency: https://download.jetbrains.com/kotlin/native/x86_64-unknown-linux-gnu-gcc-8.3.0-glibc-2.19-kernel-4.9-2.tar.gz (208469/101793914).
(KonanProperies) Downloading dependency: https://download.jetbrains.com/kotlin/native/x86_64-unknown-linux-gnu-gcc-8.3.0-glibc-2.19-kernel-4.9-2.tar.gz (3689453/101793914).
(KonanProperies) Downloading dependency: https://download.jetbrains.com/kotlin/native/x86_64-unknown-linux-gnu-gcc-8.3.0-glibc-2.19-kernel-4.9-2.tar.gz (10176154/101793914).
(KonanProperies) Downloading dependency: https://download.jetbrains.com/kotlin/native/x86_64-unknown-linux-gnu-gcc-8.3.0-glibc-2.19-kernel-4.9-2.tar.gz (16500378/101793914).
(KonanProperies) Downloading dependency: https://download.jetbrains.com/kotlin/native/x86_64-unknown-linux-gnu-gcc-8.3.0-glibc-2.19-kernel-4.9-2.tar.gz (23047546/101793914).
(KonanProperies) Downloading dependency: https://download.jetbrains.com/kotlin/native/x86_64-unknown-linux-gnu-gcc-8.3.0-glibc-2.19-kernel-4.9-2.tar.gz (29294148/101793914).
(KonanProperies) Downloading dependency: https://download.jetbrains.com/kotlin/native/x86_64-unknown-linux-gnu-gcc-8.3.0-glibc-2.19-kernel-4.9-2.tar.gz (35600252/101793914).
(KonanProperies) Downloading dependency: https://download.jetbrains.com/kotlin/native/x86_64-unknown-linux-gnu-gcc-8.3.0-glibc-2.19-kernel-4.9-2.tar.gz (42280588/101793914).
(KonanProperies) Downloading dependency: https://download.jetbrains.com/kotlin/native/x86_64-unknown-linux-gnu-gcc-8.3.0-glibc-2.19-kernel-4.9-2.tar.gz (47113868/101793914).
(KonanProperies) Downloading dependency: https://download.jetbrains.com/kotlin/native/x86_64-unknown-linux-gnu-gcc-8.3.0-glibc-2.19-kernel-4.9-2.tar.gz (53012108/101793914).
(KonanProperies) Downloading dependency: https://download.jetbrains.com/kotlin/native/x86_64-unknown-linux-gnu-gcc-8.3.0-glibc-2.19-kernel-4.9-2.tar.gz (58818572/101793914).
(KonanProperies) Downloading dependency: https://download.jetbrains.com/kotlin/native/x86_64-unknown-linux-gnu-gcc-8.3.0-glibc-2.19-kernel-4.9-2.tar.gz (65370260/101793914).
(KonanProperies) Downloading dependency: https://download.jetbrains.com/kotlin/native/x86_64-unknown-linux-gnu-gcc-8.3.0-glibc-2.19-kernel-4.9-2.tar.gz (70910940/101793914).
(KonanProperies) Downloading dependency: https://download.jetbrains.com/kotlin/native/x86_64-unknown-linux-gnu-gcc-8.3.0-glibc-2.19-kernel-4.9-2.tar.gz (77505292/101793914).
(KonanProperies) Downloading dependency: https://download.jetbrains.com/kotlin/native/x86_64-unknown-linux-gnu-gcc-8.3.0-glibc-2.19-kernel-4.9-2.tar.gz (84163868/101793914).
(KonanProperies) Downloading dependency: https://download.jetbrains.com/kotlin/native/x86_64-unknown-linux-gnu-gcc-8.3.0-glibc-2.19-kernel-4.9-2.tar.gz (90619164/101793914).
(KonanProperies) Downloading dependency: https://download.jetbrains.com/kotlin/native/x86_64-unknown-linux-gnu-gcc-8.3.0-glibc-2.19-kernel-4.9-2.tar.gz (96793732/101793914).
(KonanProperies) Downloading dependency: https://download.jetbrains.com/kotlin/native/x86_64-unknown-linux-gnu-gcc-8.3.0-glibc-2.19-kernel-4.9-2.tar.gz (101793914/101793914). Done.
Extracting dependency: /builddir/wraith-master-v1.2.1/.konan/cache/x86_64-unknown-linux-gnu-gcc-8.3.0-glibc-2.19-kernel-4.9-2.tar.gz into /builddir/wraith-master-v1.2.1/.konan/dependencies
Exception in thread "main" java.io.IOException: Cannot run program "tar" (in directory "/builddir/wraith-master-v1.2.1/.konan/dependencies"): error=2, No such file or directory
```

After the build failed, I checked the masterdir and the downloaded archive is there in the right location. I'm using `GRADLE=gradle` as per [upstream instructions](https://gitlab.com/serebit/wraith-master/-/wikis/help/building-from-source#options) so that the system gradle is used. I'm not familiar with gradle or kotlin so I wonder if anyone has some advice on how to proceed.

### Steps to reproduce the behavior

Use `xbps-src` to build the linked template.


      parent reply	other threads:[~2022-03-03 16:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-28  1:01 [ISSUE] " adigitoleo
2022-03-03 16:17 ` Chocimier
2022-03-03 16:17 ` Chocimier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220303161719.Wq4LHalBLdbY5lQa4H9GzfMmf36Bg3bqgveeFO3B83E@z \
    --to=chocimier@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).