Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] btdu: update to 0.5.0.
@ 2023-02-08 17:38 Sqvid
  2023-02-08 17:43 ` [PR PATCH] [Updated] " Sqvid
                   ` (20 more replies)
  0 siblings, 21 replies; 22+ messages in thread
From: Sqvid @ 2023-02-08 17:38 UTC (permalink / raw)
  To: ml

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

There is a new pull request by Sqvid against master on the void-packages repository

https://github.com/Sqvid/void-packages btdu
https://github.com/void-linux/void-packages/pull/42148

btdu: update to 0.5.0.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)


A patch file from https://github.com/void-linux/void-packages/pull/42148.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-btdu-42148.patch --]
[-- Type: text/x-diff, Size: 1143 bytes --]

From 700179fa4ea2e4559b763ab4fa3b556e09c72865 Mon Sep 17 00:00:00 2001
From: Siddhartha Menon <42359201+Sqvid@users.noreply.github.com>
Date: Wed, 8 Feb 2023 17:33:56 +0000
Subject: [PATCH] btdu: update to 0.5.0.

---
 srcpkgs/btdu/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/btdu/template b/srcpkgs/btdu/template
index e2c173e49344..1f7dab5a3e06 100644
--- a/srcpkgs/btdu/template
+++ b/srcpkgs/btdu/template
@@ -1,6 +1,6 @@
 # Template file for 'btdu'
 pkgname=btdu
-version=0.4.1
+version=0.5.0
 revision=1
 # fails to build on musl due to different argument types for ioctl
 # struct packing seems to differ on i686 archs and therefore d-btrfs fails
@@ -12,7 +12,7 @@ maintainer="Siddhartha Menon <siddharthamenon+void@outlook.com>"
 license="GPL-2.0-only"
 homepage="https://github.com/CyberShadow/btdu"
 distfiles="https://github.com/CyberShadow/btdu/archive/v${version}.tar.gz"
-checksum=265c63ee82067f6b5dc44b47c9ec58be5e13c654f31035c60a7e375ffa4082c9
+checksum=90ba4d8997575993e9d39a503779fb32b37bb62b8d9386776e95743bfc859606
 nocross="dmd compilation fails on cross"
 
 pre_configure() {

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [PR PATCH] [Updated] btdu: update to 0.5.0.
  2023-02-08 17:38 [PR PATCH] btdu: update to 0.5.0 Sqvid
@ 2023-02-08 17:43 ` Sqvid
  2023-02-08 17:46 ` Sqvid
                   ` (19 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: Sqvid @ 2023-02-08 17:43 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Sqvid against master on the void-packages repository

https://github.com/Sqvid/void-packages btdu
https://github.com/void-linux/void-packages/pull/42148

btdu: update to 0.5.0.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)


A patch file from https://github.com/void-linux/void-packages/pull/42148.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-btdu-42148.patch --]
[-- Type: text/x-diff, Size: 1143 bytes --]

From e4ace40e8d7fb216a1190b7efec1b8d53cb0191a Mon Sep 17 00:00:00 2001
From: Siddhartha Menon <42359201+Sqvid@users.noreply.github.com>
Date: Wed, 8 Feb 2023 17:33:56 +0000
Subject: [PATCH] btdu: update to 0.5.0.

---
 srcpkgs/btdu/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/btdu/template b/srcpkgs/btdu/template
index e2c173e49344..1f7dab5a3e06 100644
--- a/srcpkgs/btdu/template
+++ b/srcpkgs/btdu/template
@@ -1,6 +1,6 @@
 # Template file for 'btdu'
 pkgname=btdu
-version=0.4.1
+version=0.5.0
 revision=1
 # fails to build on musl due to different argument types for ioctl
 # struct packing seems to differ on i686 archs and therefore d-btrfs fails
@@ -12,7 +12,7 @@ maintainer="Siddhartha Menon <siddharthamenon+void@outlook.com>"
 license="GPL-2.0-only"
 homepage="https://github.com/CyberShadow/btdu"
 distfiles="https://github.com/CyberShadow/btdu/archive/v${version}.tar.gz"
-checksum=265c63ee82067f6b5dc44b47c9ec58be5e13c654f31035c60a7e375ffa4082c9
+checksum=90ba4d8997575993e9d39a503779fb32b37bb62b8d9386776e95743bfc859606
 nocross="dmd compilation fails on cross"
 
 pre_configure() {

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [PR PATCH] [Updated] btdu: update to 0.5.0.
  2023-02-08 17:38 [PR PATCH] btdu: update to 0.5.0 Sqvid
  2023-02-08 17:43 ` [PR PATCH] [Updated] " Sqvid
@ 2023-02-08 17:46 ` Sqvid
  2023-02-08 17:55 ` Sqvid
                   ` (18 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: Sqvid @ 2023-02-08 17:46 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Sqvid against master on the void-packages repository

https://github.com/Sqvid/void-packages btdu
https://github.com/void-linux/void-packages/pull/42148

btdu: update to 0.5.0.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)


A patch file from https://github.com/void-linux/void-packages/pull/42148.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-btdu-42148.patch --]
[-- Type: text/x-diff, Size: 1136 bytes --]

From 8a3ace5c34aa3d20b0b9c6a47297ab8d1a16721e Mon Sep 17 00:00:00 2001
From: Siddhartha Menon <siddharthamenon+void@outlook.com>
Date: Wed, 8 Feb 2023 17:33:56 +0000
Subject: [PATCH] btdu: update to 0.5.0.

---
 srcpkgs/btdu/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/btdu/template b/srcpkgs/btdu/template
index e2c173e49344..1f7dab5a3e06 100644
--- a/srcpkgs/btdu/template
+++ b/srcpkgs/btdu/template
@@ -1,6 +1,6 @@
 # Template file for 'btdu'
 pkgname=btdu
-version=0.4.1
+version=0.5.0
 revision=1
 # fails to build on musl due to different argument types for ioctl
 # struct packing seems to differ on i686 archs and therefore d-btrfs fails
@@ -12,7 +12,7 @@ maintainer="Siddhartha Menon <siddharthamenon+void@outlook.com>"
 license="GPL-2.0-only"
 homepage="https://github.com/CyberShadow/btdu"
 distfiles="https://github.com/CyberShadow/btdu/archive/v${version}.tar.gz"
-checksum=265c63ee82067f6b5dc44b47c9ec58be5e13c654f31035c60a7e375ffa4082c9
+checksum=90ba4d8997575993e9d39a503779fb32b37bb62b8d9386776e95743bfc859606
 nocross="dmd compilation fails on cross"
 
 pre_configure() {

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [PR PATCH] [Updated] btdu: update to 0.5.0.
  2023-02-08 17:38 [PR PATCH] btdu: update to 0.5.0 Sqvid
  2023-02-08 17:43 ` [PR PATCH] [Updated] " Sqvid
  2023-02-08 17:46 ` Sqvid
@ 2023-02-08 17:55 ` Sqvid
  2023-02-10 16:10 ` Sqvid
                   ` (17 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: Sqvid @ 2023-02-08 17:55 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Sqvid against master on the void-packages repository

https://github.com/Sqvid/void-packages btdu
https://github.com/void-linux/void-packages/pull/42148

btdu: update to 0.5.0.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)


A patch file from https://github.com/void-linux/void-packages/pull/42148.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-btdu-42148.patch --]
[-- Type: text/x-diff, Size: 1361 bytes --]

From f14bfc1cf604baa2159311ea80d00eda52ca8aaf Mon Sep 17 00:00:00 2001
From: Siddhartha Menon <siddharthamenon+void@outlook.com>
Date: Wed, 8 Feb 2023 17:33:56 +0000
Subject: [PATCH] btdu: update to 0.5.0.

---
 srcpkgs/btdu/template | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/btdu/template b/srcpkgs/btdu/template
index e2c173e49344..bf7751069262 100644
--- a/srcpkgs/btdu/template
+++ b/srcpkgs/btdu/template
@@ -1,6 +1,6 @@
 # Template file for 'btdu'
 pkgname=btdu
-version=0.4.1
+version=0.5.0
 revision=1
 # fails to build on musl due to different argument types for ioctl
 # struct packing seems to differ on i686 archs and therefore d-btrfs fails
@@ -12,14 +12,9 @@ maintainer="Siddhartha Menon <siddharthamenon+void@outlook.com>"
 license="GPL-2.0-only"
 homepage="https://github.com/CyberShadow/btdu"
 distfiles="https://github.com/CyberShadow/btdu/archive/v${version}.tar.gz"
-checksum=265c63ee82067f6b5dc44b47c9ec58be5e13c654f31035c60a7e375ffa4082c9
+checksum=90ba4d8997575993e9d39a503779fb32b37bb62b8d9386776e95743bfc859606
 nocross="dmd compilation fails on cross"
 
-pre_configure() {
-	vsed -e 's/dependency "ae" version="==0.0.3184"/dependency "ae" version="==0.0.3228"/g' -i dub.sdl
-	vsed -e 's/"ae": "0.0.3184"/"ae": "0.0.3228"/g' -i dub.selections.json
-}
-
 do_build() {
 	dub build -b release
 }

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: btdu: update to 0.5.0.
  2023-02-08 17:38 [PR PATCH] btdu: update to 0.5.0 Sqvid
                   ` (2 preceding siblings ...)
  2023-02-08 17:55 ` Sqvid
@ 2023-02-10 16:10 ` Sqvid
  2023-02-10 16:11 ` Sqvid
                   ` (16 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: Sqvid @ 2023-02-10 16:10 UTC (permalink / raw)
  To: ml

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

New comment by Sqvid on void-packages repository

https://github.com/void-linux/void-packages/pull/42148#issuecomment-1426029490

Comment:
I would appreciate advice on whether the aarch64 build is possible? [Upstream](https://github.com/CyberShadow/btdu) provides such a build but `xbps-src` seems to fail at the linking stage with the following error:
```
Linking...
[cc-wrapper] ignoring -L/usr/lib
[cc-wrapper] ignoring -L/usr/lib
aarch64-linux-gnu-gcc: error: unrecognized command-line option '-m64'
Error: linker exited with status 1
/usr/bin/dmd failed with exit code 1.
=> ERROR: btdu-0.5.0_1: do_build: 'dub build -b release' exited with 2
=> ERROR:   in do_build() at srcpkgs/btdu/template:19
```
of course for this attempt I modified the template by commenting out `nocross` and setting `archs="x86_64 aarch64"`.

I would appreciate any advice that might allow us to bring this aarch64 users.

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: btdu: update to 0.5.0.
  2023-02-08 17:38 [PR PATCH] btdu: update to 0.5.0 Sqvid
                   ` (3 preceding siblings ...)
  2023-02-10 16:10 ` Sqvid
@ 2023-02-10 16:11 ` Sqvid
  2023-02-10 16:11 ` Sqvid
                   ` (15 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: Sqvid @ 2023-02-10 16:11 UTC (permalink / raw)
  To: ml

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

New comment by Sqvid on void-packages repository

https://github.com/void-linux/void-packages/pull/42148#issuecomment-1426029490

Comment:
I would appreciate advice on whether the aarch64 build is possible? [Upstream](https://github.com/CyberShadow/btdu) provides such a build but `xbps-src` seems to fail at the linking stage with the following error:
```
Linking...
[cc-wrapper] ignoring -L/usr/lib
[cc-wrapper] ignoring -L/usr/lib
aarch64-linux-gnu-gcc: error: unrecognized command-line option '-m64'
Error: linker exited with status 1
/usr/bin/dmd failed with exit code 1.
=> ERROR: btdu-0.5.0_1: do_build: 'dub build -b release' exited with 2
=> ERROR:   in do_build() at srcpkgs/btdu/template:19
```
Of course for this attempt I modified the template by commenting out `nocross` and setting `archs="x86_64 aarch64"`.

I would appreciate any advice that might allow us to bring this to aarch64 users.

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: btdu: update to 0.5.0.
  2023-02-08 17:38 [PR PATCH] btdu: update to 0.5.0 Sqvid
                   ` (4 preceding siblings ...)
  2023-02-10 16:11 ` Sqvid
@ 2023-02-10 16:11 ` Sqvid
  2023-02-16  2:43 ` classabbyamp
                   ` (14 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: Sqvid @ 2023-02-10 16:11 UTC (permalink / raw)
  To: ml

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

New comment by Sqvid on void-packages repository

https://github.com/void-linux/void-packages/pull/42148#issuecomment-1426029490

Comment:
I would appreciate advice on whether the aarch64 build is possible? [Upstream](https://github.com/CyberShadow/btdu) provides such a build but `xbps-src` seems to fail at the linking stage with the following error:
```
Linking...
[cc-wrapper] ignoring -L/usr/lib
[cc-wrapper] ignoring -L/usr/lib
aarch64-linux-gnu-gcc: error: unrecognized command-line option '-m64'
Error: linker exited with status 1
/usr/bin/dmd failed with exit code 1.
=> ERROR: btdu-0.5.0_1: do_build: 'dub build -b release' exited with 2
=> ERROR:   in do_build() at srcpkgs/btdu/template:19
```
Of course for this attempt I modified the template by commenting out `nocross` and setting `archs="x86_64 aarch64"`.

I would appreciate any advice that might allow us to bring this package to aarch64 users.

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: btdu: update to 0.5.0.
  2023-02-08 17:38 [PR PATCH] btdu: update to 0.5.0 Sqvid
                   ` (5 preceding siblings ...)
  2023-02-10 16:11 ` Sqvid
@ 2023-02-16  2:43 ` classabbyamp
  2023-02-19 15:47 ` CyberShadow
                   ` (13 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: classabbyamp @ 2023-02-16  2:43 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/42148#issuecomment-1432403383

Comment:
it looks like they compile it a slightly different way: https://github.com/CyberShadow/btdu/blob/master/ci/build-inside-docker.sh

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: btdu: update to 0.5.0.
  2023-02-08 17:38 [PR PATCH] btdu: update to 0.5.0 Sqvid
                   ` (6 preceding siblings ...)
  2023-02-16  2:43 ` classabbyamp
@ 2023-02-19 15:47 ` CyberShadow
  2023-02-19 15:51 ` classabbyamp
                   ` (12 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: CyberShadow @ 2023-02-19 15:47 UTC (permalink / raw)
  To: ml

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

New comment by CyberShadow on void-packages repository

https://github.com/void-linux/void-packages/pull/42148#issuecomment-1436022512

Comment:
Is it possible to find what is invoking gcc with `-m64`?

BTW, reports of porting issues like these are very welcome upstream 🙂 Not just for btdu's sake but also because I want to push the current state of portability / packaging ease of D software (e.g. [this](https://github.com/dlang/dmd/pull/14794) was started because I noticed the musl comment in this package file).

> it looks like they compile it a slightly different way

Yeah, that's more complicated than would be normally reasonable because the goal is to build a static (ideally, FLTO'd) binary, which means building static libraries of all dependencies first etc.


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: btdu: update to 0.5.0.
  2023-02-08 17:38 [PR PATCH] btdu: update to 0.5.0 Sqvid
                   ` (7 preceding siblings ...)
  2023-02-19 15:47 ` CyberShadow
@ 2023-02-19 15:51 ` classabbyamp
  2023-02-19 15:51 ` classabbyamp
                   ` (11 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: classabbyamp @ 2023-02-19 15:51 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/42148#issuecomment-1436023271

Comment:
> Is it possible to find what is invoking gcc with -m64?

dub build is, presumably 

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: btdu: update to 0.5.0.
  2023-02-08 17:38 [PR PATCH] btdu: update to 0.5.0 Sqvid
                   ` (8 preceding siblings ...)
  2023-02-19 15:51 ` classabbyamp
@ 2023-02-19 15:51 ` classabbyamp
  2023-02-19 15:53 ` CyberShadow
                   ` (10 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: classabbyamp @ 2023-02-19 15:51 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/42148#issuecomment-1436023271

Comment:
> Is it possible to find what is invoking gcc with -m64?

`dub build` is, presumably 

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: btdu: update to 0.5.0.
  2023-02-08 17:38 [PR PATCH] btdu: update to 0.5.0 Sqvid
                   ` (9 preceding siblings ...)
  2023-02-19 15:51 ` classabbyamp
@ 2023-02-19 15:53 ` CyberShadow
  2023-02-19 16:14 ` [PR PATCH] [Updated] " classabbyamp
                   ` (9 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: CyberShadow @ 2023-02-19 15:53 UTC (permalink / raw)
  To: ml

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

New comment by CyberShadow on void-packages repository

https://github.com/void-linux/void-packages/pull/42148#issuecomment-1436023769

Comment:
I think `dub` doesn't invoke `gcc` directly but it may be calling a compiler which does. Is it possible to run `dub` with `-v`?

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [PR PATCH] [Updated] btdu: update to 0.5.0.
  2023-02-08 17:38 [PR PATCH] btdu: update to 0.5.0 Sqvid
                   ` (10 preceding siblings ...)
  2023-02-19 15:53 ` CyberShadow
@ 2023-02-19 16:14 ` classabbyamp
  2023-02-19 16:17 ` classabbyamp
                   ` (8 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: classabbyamp @ 2023-02-19 16:14 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/Sqvid/void-packages btdu
https://github.com/void-linux/void-packages/pull/42148

btdu: update to 0.5.0.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)


A patch file from https://github.com/void-linux/void-packages/pull/42148.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-btdu-42148.patch --]
[-- Type: text/x-diff, Size: 2571 bytes --]

From f14bfc1cf604baa2159311ea80d00eda52ca8aaf Mon Sep 17 00:00:00 2001
From: Siddhartha Menon <siddharthamenon+void@outlook.com>
Date: Wed, 8 Feb 2023 17:33:56 +0000
Subject: [PATCH 1/2] btdu: update to 0.5.0.

---
 srcpkgs/btdu/template | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/btdu/template b/srcpkgs/btdu/template
index e2c173e49344..bf7751069262 100644
--- a/srcpkgs/btdu/template
+++ b/srcpkgs/btdu/template
@@ -1,6 +1,6 @@
 # Template file for 'btdu'
 pkgname=btdu
-version=0.4.1
+version=0.5.0
 revision=1
 # fails to build on musl due to different argument types for ioctl
 # struct packing seems to differ on i686 archs and therefore d-btrfs fails
@@ -12,14 +12,9 @@ maintainer="Siddhartha Menon <siddharthamenon+void@outlook.com>"
 license="GPL-2.0-only"
 homepage="https://github.com/CyberShadow/btdu"
 distfiles="https://github.com/CyberShadow/btdu/archive/v${version}.tar.gz"
-checksum=265c63ee82067f6b5dc44b47c9ec58be5e13c654f31035c60a7e375ffa4082c9
+checksum=90ba4d8997575993e9d39a503779fb32b37bb62b8d9386776e95743bfc859606
 nocross="dmd compilation fails on cross"
 
-pre_configure() {
-	vsed -e 's/dependency "ae" version="==0.0.3184"/dependency "ae" version="==0.0.3228"/g' -i dub.sdl
-	vsed -e 's/"ae": "0.0.3184"/"ae": "0.0.3228"/g' -i dub.selections.json
-}
-
 do_build() {
 	dub build -b release
 }

From cf53f66d8e3975055d9f09cd5091a10a9c4d6d15 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sun, 19 Feb 2023 11:14:46 -0500
Subject: [PATCH 2/2] fixup! btdu: update to 0.5.0.

---
 srcpkgs/btdu/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/btdu/template b/srcpkgs/btdu/template
index bf7751069262..179a1c86e5bf 100644
--- a/srcpkgs/btdu/template
+++ b/srcpkgs/btdu/template
@@ -4,7 +4,7 @@ version=0.5.0
 revision=1
 # fails to build on musl due to different argument types for ioctl
 # struct packing seems to differ on i686 archs and therefore d-btrfs fails
-archs=x86_64
+#archs=x86_64
 hostmakedepends="dmd dub"
 makedepends="zlib-devel ncurses-devel"
 short_desc="Sampling disk usage profiler for btrfs"
@@ -13,10 +13,10 @@ license="GPL-2.0-only"
 homepage="https://github.com/CyberShadow/btdu"
 distfiles="https://github.com/CyberShadow/btdu/archive/v${version}.tar.gz"
 checksum=90ba4d8997575993e9d39a503779fb32b37bb62b8d9386776e95743bfc859606
-nocross="dmd compilation fails on cross"
+# nocross="dmd compilation fails on cross"
 
 do_build() {
-	dub build -b release
+	dub --vverbose build -b release
 }
 
 do_install() {

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: btdu: update to 0.5.0.
  2023-02-08 17:38 [PR PATCH] btdu: update to 0.5.0 Sqvid
                   ` (11 preceding siblings ...)
  2023-02-19 16:14 ` [PR PATCH] [Updated] " classabbyamp
@ 2023-02-19 16:17 ` classabbyamp
  2023-02-19 16:20 ` CyberShadow
                   ` (7 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: classabbyamp @ 2023-02-19 16:17 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/42148#issuecomment-1436029282

Comment:
i added `--vverbose`, you should be able to see logs in the CI output

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: btdu: update to 0.5.0.
  2023-02-08 17:38 [PR PATCH] btdu: update to 0.5.0 Sqvid
                   ` (12 preceding siblings ...)
  2023-02-19 16:17 ` classabbyamp
@ 2023-02-19 16:20 ` CyberShadow
  2023-02-21 12:53 ` [PR PATCH] [Updated] " Sqvid
                   ` (6 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: CyberShadow @ 2023-02-19 16:20 UTC (permalink / raw)
  To: ml

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

New comment by CyberShadow on void-packages repository

https://github.com/void-linux/void-packages/pull/42148#issuecomment-1436030339

Comment:
Thanks! I see it's trying to use DMD, which can only target x86 and x86_64. Using LDC (LLVM-based D compiler) should allow targeting more architectures.

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [PR PATCH] [Updated] btdu: update to 0.5.0.
  2023-02-08 17:38 [PR PATCH] btdu: update to 0.5.0 Sqvid
                   ` (13 preceding siblings ...)
  2023-02-19 16:20 ` CyberShadow
@ 2023-02-21 12:53 ` Sqvid
  2023-02-21 12:57 ` Sqvid
                   ` (5 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: Sqvid @ 2023-02-21 12:53 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Sqvid against master on the void-packages repository

https://github.com/Sqvid/void-packages btdu
https://github.com/void-linux/void-packages/pull/42148

btdu: update to 0.5.0.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)


A patch file from https://github.com/void-linux/void-packages/pull/42148.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-btdu-42148.patch --]
[-- Type: text/x-diff, Size: 2682 bytes --]

From f14bfc1cf604baa2159311ea80d00eda52ca8aaf Mon Sep 17 00:00:00 2001
From: Siddhartha Menon <siddharthamenon+void@outlook.com>
Date: Wed, 8 Feb 2023 17:33:56 +0000
Subject: [PATCH 1/2] btdu: update to 0.5.0.

---
 srcpkgs/btdu/template | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/btdu/template b/srcpkgs/btdu/template
index e2c173e49344..bf7751069262 100644
--- a/srcpkgs/btdu/template
+++ b/srcpkgs/btdu/template
@@ -1,6 +1,6 @@
 # Template file for 'btdu'
 pkgname=btdu
-version=0.4.1
+version=0.5.0
 revision=1
 # fails to build on musl due to different argument types for ioctl
 # struct packing seems to differ on i686 archs and therefore d-btrfs fails
@@ -12,14 +12,9 @@ maintainer="Siddhartha Menon <siddharthamenon+void@outlook.com>"
 license="GPL-2.0-only"
 homepage="https://github.com/CyberShadow/btdu"
 distfiles="https://github.com/CyberShadow/btdu/archive/v${version}.tar.gz"
-checksum=265c63ee82067f6b5dc44b47c9ec58be5e13c654f31035c60a7e375ffa4082c9
+checksum=90ba4d8997575993e9d39a503779fb32b37bb62b8d9386776e95743bfc859606
 nocross="dmd compilation fails on cross"
 
-pre_configure() {
-	vsed -e 's/dependency "ae" version="==0.0.3184"/dependency "ae" version="==0.0.3228"/g' -i dub.sdl
-	vsed -e 's/"ae": "0.0.3184"/"ae": "0.0.3228"/g' -i dub.selections.json
-}
-
 do_build() {
 	dub build -b release
 }

From c8b87f720a8e0c945a11c686bbf7e7a1fd1949cc Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sun, 19 Feb 2023 11:14:46 -0500
Subject: [PATCH 2/2] fixup! btdu: update to 0.5.0.

---
 srcpkgs/btdu/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/btdu/template b/srcpkgs/btdu/template
index bf7751069262..67e9f8ca20e3 100644
--- a/srcpkgs/btdu/template
+++ b/srcpkgs/btdu/template
@@ -4,8 +4,8 @@ version=0.5.0
 revision=1
 # fails to build on musl due to different argument types for ioctl
 # struct packing seems to differ on i686 archs and therefore d-btrfs fails
-archs=x86_64
-hostmakedepends="dmd dub"
+#archs=x86_64
+hostmakedepends="ldc dub"
 makedepends="zlib-devel ncurses-devel"
 short_desc="Sampling disk usage profiler for btrfs"
 maintainer="Siddhartha Menon <siddharthamenon+void@outlook.com>"
@@ -13,10 +13,10 @@ license="GPL-2.0-only"
 homepage="https://github.com/CyberShadow/btdu"
 distfiles="https://github.com/CyberShadow/btdu/archive/v${version}.tar.gz"
 checksum=90ba4d8997575993e9d39a503779fb32b37bb62b8d9386776e95743bfc859606
-nocross="dmd compilation fails on cross"
+# nocross="dmd compilation fails on cross"
 
 do_build() {
-	dub build -b release
+	dub --vverbose build --compiler=ldc2 -b release
 }
 
 do_install() {

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: btdu: update to 0.5.0.
  2023-02-08 17:38 [PR PATCH] btdu: update to 0.5.0 Sqvid
                   ` (14 preceding siblings ...)
  2023-02-21 12:53 ` [PR PATCH] [Updated] " Sqvid
@ 2023-02-21 12:57 ` Sqvid
  2023-02-21 14:32 ` CyberShadow
                   ` (4 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: Sqvid @ 2023-02-21 12:57 UTC (permalink / raw)
  To: ml

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

New comment by Sqvid on void-packages repository

https://github.com/void-linux/void-packages/pull/42148#issuecomment-1438437371

Comment:
@CyberShadow Thanks for the input. I will upstream porting issues in the future. I had assumed it was just me misunderstanding void-specific tooling.

I have specified ldc2 as the compiler but there still seems to be a call to `gcc` at the linking stage with the troublesome `-m64` flag.

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: btdu: update to 0.5.0.
  2023-02-08 17:38 [PR PATCH] btdu: update to 0.5.0 Sqvid
                   ` (15 preceding siblings ...)
  2023-02-21 12:57 ` Sqvid
@ 2023-02-21 14:32 ` CyberShadow
  2023-03-03 16:52 ` CyberShadow
                   ` (3 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: CyberShadow @ 2023-02-21 14:32 UTC (permalink / raw)
  To: ml

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

New comment by CyberShadow on void-packages repository

https://github.com/void-linux/void-packages/pull/42148#issuecomment-1438591357

Comment:
> I have specified ldc2 as the compiler but there still seems to be a call to `gcc` at the linking stage with the troublesome `-m64` flag.

OK, this is still better:

- Since we're cross-compiling, we need to specify the architecture when building the D package. Dub has a `--arch` switch, though I did not try this method.
- I don't know how the LDC runtime libraries are packaged in Void for cross compiling. The upstream method is to [invoke a script which will rebuild the libraries for the specified target](https://wiki.dlang.org/Building_LDC_runtime_libraries#Usage_for_cross-compilation). I think a more distro-aligned method would be to build and package the libraries built that way?
- Still not sure where `-m64` is coming from, maybe it's due to the architecture mismatch or something void-specific like https://github.com/void-linux/void-packages/blob/master/common/wrappers/cross-cc ?
- Possibly cross compiling is going to get a bit more hairy and may require D support from Void's toolchain.
- FWIW 32-bit support should be fixed in btdu master.


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: btdu: update to 0.5.0.
  2023-02-08 17:38 [PR PATCH] btdu: update to 0.5.0 Sqvid
                   ` (16 preceding siblings ...)
  2023-02-21 14:32 ` CyberShadow
@ 2023-03-03 16:52 ` CyberShadow
  2023-05-09 15:42 ` [PR PATCH] [Updated] " Sqvid
                   ` (2 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: CyberShadow @ 2023-03-03 16:52 UTC (permalink / raw)
  To: ml

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

New comment by CyberShadow on void-packages repository

https://github.com/void-linux/void-packages/pull/42148#issuecomment-1453815231

Comment:
For the moment I suggest dropping anything that requires cross-compilation from this PR.

Native (non-cross) builds on aarch64 should be possible, we've recently made sure that btdu's Arch PKGBUILD works on Arch Linux ARM.

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [PR PATCH] [Updated] btdu: update to 0.5.0.
  2023-02-08 17:38 [PR PATCH] btdu: update to 0.5.0 Sqvid
                   ` (17 preceding siblings ...)
  2023-03-03 16:52 ` CyberShadow
@ 2023-05-09 15:42 ` Sqvid
  2023-05-09 15:55 ` Sqvid
  2023-05-09 17:57 ` [PR PATCH] [Merged]: " classabbyamp
  20 siblings, 0 replies; 22+ messages in thread
From: Sqvid @ 2023-05-09 15:42 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Sqvid against master on the void-packages repository

https://github.com/Sqvid/void-packages btdu
https://github.com/void-linux/void-packages/pull/42148

btdu: update to 0.5.0.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)


A patch file from https://github.com/void-linux/void-packages/pull/42148.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-btdu-42148.patch --]
[-- Type: text/x-diff, Size: 3928 bytes --]

From f39fc5428c2979b4c22ba29e52efaef02c15e516 Mon Sep 17 00:00:00 2001
From: Siddhartha Menon <siddharthamenon+void@outlook.com>
Date: Wed, 8 Feb 2023 17:33:56 +0000
Subject: [PATCH 1/3] btdu: update to 0.5.0.

---
 srcpkgs/btdu/template | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/btdu/template b/srcpkgs/btdu/template
index e2c173e49344..bf7751069262 100644
--- a/srcpkgs/btdu/template
+++ b/srcpkgs/btdu/template
@@ -1,6 +1,6 @@
 # Template file for 'btdu'
 pkgname=btdu
-version=0.4.1
+version=0.5.0
 revision=1
 # fails to build on musl due to different argument types for ioctl
 # struct packing seems to differ on i686 archs and therefore d-btrfs fails
@@ -12,14 +12,9 @@ maintainer="Siddhartha Menon <siddharthamenon+void@outlook.com>"
 license="GPL-2.0-only"
 homepage="https://github.com/CyberShadow/btdu"
 distfiles="https://github.com/CyberShadow/btdu/archive/v${version}.tar.gz"
-checksum=265c63ee82067f6b5dc44b47c9ec58be5e13c654f31035c60a7e375ffa4082c9
+checksum=90ba4d8997575993e9d39a503779fb32b37bb62b8d9386776e95743bfc859606
 nocross="dmd compilation fails on cross"
 
-pre_configure() {
-	vsed -e 's/dependency "ae" version="==0.0.3184"/dependency "ae" version="==0.0.3228"/g' -i dub.sdl
-	vsed -e 's/"ae": "0.0.3184"/"ae": "0.0.3228"/g' -i dub.selections.json
-}
-
 do_build() {
 	dub build -b release
 }

From 256a234726b86beb4b58a6f65550ec6466ee8b50 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sun, 19 Feb 2023 11:14:46 -0500
Subject: [PATCH 2/3] fixup! btdu: update to 0.5.0.

---
 srcpkgs/btdu/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/btdu/template b/srcpkgs/btdu/template
index bf7751069262..67e9f8ca20e3 100644
--- a/srcpkgs/btdu/template
+++ b/srcpkgs/btdu/template
@@ -4,8 +4,8 @@ version=0.5.0
 revision=1
 # fails to build on musl due to different argument types for ioctl
 # struct packing seems to differ on i686 archs and therefore d-btrfs fails
-archs=x86_64
-hostmakedepends="dmd dub"
+#archs=x86_64
+hostmakedepends="ldc dub"
 makedepends="zlib-devel ncurses-devel"
 short_desc="Sampling disk usage profiler for btrfs"
 maintainer="Siddhartha Menon <siddharthamenon+void@outlook.com>"
@@ -13,10 +13,10 @@ license="GPL-2.0-only"
 homepage="https://github.com/CyberShadow/btdu"
 distfiles="https://github.com/CyberShadow/btdu/archive/v${version}.tar.gz"
 checksum=90ba4d8997575993e9d39a503779fb32b37bb62b8d9386776e95743bfc859606
-nocross="dmd compilation fails on cross"
+# nocross="dmd compilation fails on cross"
 
 do_build() {
-	dub build -b release
+	dub --vverbose build --compiler=ldc2 -b release
 }
 
 do_install() {

From 084885a604052b6e1920b6679adf47a21e7c35cf Mon Sep 17 00:00:00 2001
From: Siddhartha Menon <siddharthamenon+void@outlook.com>
Date: Tue, 9 May 2023 16:38:44 +0100
Subject: [PATCH 3/3] btdu: update to 0.5.0.

---
 srcpkgs/btdu/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/btdu/template b/srcpkgs/btdu/template
index 67e9f8ca20e3..3e08d8262b4c 100644
--- a/srcpkgs/btdu/template
+++ b/srcpkgs/btdu/template
@@ -4,7 +4,7 @@ version=0.5.0
 revision=1
 # fails to build on musl due to different argument types for ioctl
 # struct packing seems to differ on i686 archs and therefore d-btrfs fails
-#archs=x86_64
+archs="x86_64"
 hostmakedepends="ldc dub"
 makedepends="zlib-devel ncurses-devel"
 short_desc="Sampling disk usage profiler for btrfs"
@@ -13,10 +13,10 @@ license="GPL-2.0-only"
 homepage="https://github.com/CyberShadow/btdu"
 distfiles="https://github.com/CyberShadow/btdu/archive/v${version}.tar.gz"
 checksum=90ba4d8997575993e9d39a503779fb32b37bb62b8d9386776e95743bfc859606
-# nocross="dmd compilation fails on cross"
+nocross="dmd compilation fails on cross"
 
 do_build() {
-	dub --vverbose build --compiler=ldc2 -b release
+	dub build --compiler=ldc2 -b release
 }
 
 do_install() {

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [PR PATCH] [Updated] btdu: update to 0.5.0.
  2023-02-08 17:38 [PR PATCH] btdu: update to 0.5.0 Sqvid
                   ` (18 preceding siblings ...)
  2023-05-09 15:42 ` [PR PATCH] [Updated] " Sqvid
@ 2023-05-09 15:55 ` Sqvid
  2023-05-09 17:57 ` [PR PATCH] [Merged]: " classabbyamp
  20 siblings, 0 replies; 22+ messages in thread
From: Sqvid @ 2023-05-09 15:55 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Sqvid against master on the void-packages repository

https://github.com/Sqvid/void-packages btdu
https://github.com/void-linux/void-packages/pull/42148

btdu: update to 0.5.0.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)


A patch file from https://github.com/void-linux/void-packages/pull/42148.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-btdu-42148.patch --]
[-- Type: text/x-diff, Size: 1587 bytes --]

From f0a0adbbd9af2f17fd058774ef2b378f7d848083 Mon Sep 17 00:00:00 2001
From: Siddhartha Menon <siddharthamenon+void@outlook.com>
Date: Wed, 8 Feb 2023 17:33:56 +0000
Subject: [PATCH] btdu: update to 0.5.0.

---
 srcpkgs/btdu/template | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/btdu/template b/srcpkgs/btdu/template
index e2c173e49344..3e08d8262b4c 100644
--- a/srcpkgs/btdu/template
+++ b/srcpkgs/btdu/template
@@ -1,27 +1,22 @@
 # Template file for 'btdu'
 pkgname=btdu
-version=0.4.1
+version=0.5.0
 revision=1
 # fails to build on musl due to different argument types for ioctl
 # struct packing seems to differ on i686 archs and therefore d-btrfs fails
-archs=x86_64
-hostmakedepends="dmd dub"
+archs="x86_64"
+hostmakedepends="ldc dub"
 makedepends="zlib-devel ncurses-devel"
 short_desc="Sampling disk usage profiler for btrfs"
 maintainer="Siddhartha Menon <siddharthamenon+void@outlook.com>"
 license="GPL-2.0-only"
 homepage="https://github.com/CyberShadow/btdu"
 distfiles="https://github.com/CyberShadow/btdu/archive/v${version}.tar.gz"
-checksum=265c63ee82067f6b5dc44b47c9ec58be5e13c654f31035c60a7e375ffa4082c9
+checksum=90ba4d8997575993e9d39a503779fb32b37bb62b8d9386776e95743bfc859606
 nocross="dmd compilation fails on cross"
 
-pre_configure() {
-	vsed -e 's/dependency "ae" version="==0.0.3184"/dependency "ae" version="==0.0.3228"/g' -i dub.sdl
-	vsed -e 's/"ae": "0.0.3184"/"ae": "0.0.3228"/g' -i dub.selections.json
-}
-
 do_build() {
-	dub build -b release
+	dub build --compiler=ldc2 -b release
 }
 
 do_install() {

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [PR PATCH] [Merged]: btdu: update to 0.5.0.
  2023-02-08 17:38 [PR PATCH] btdu: update to 0.5.0 Sqvid
                   ` (19 preceding siblings ...)
  2023-05-09 15:55 ` Sqvid
@ 2023-05-09 17:57 ` classabbyamp
  20 siblings, 0 replies; 22+ messages in thread
From: classabbyamp @ 2023-05-09 17:57 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

btdu: update to 0.5.0.
https://github.com/void-linux/void-packages/pull/42148

Description:
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2023-05-09 17:57 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-08 17:38 [PR PATCH] btdu: update to 0.5.0 Sqvid
2023-02-08 17:43 ` [PR PATCH] [Updated] " Sqvid
2023-02-08 17:46 ` Sqvid
2023-02-08 17:55 ` Sqvid
2023-02-10 16:10 ` Sqvid
2023-02-10 16:11 ` Sqvid
2023-02-10 16:11 ` Sqvid
2023-02-16  2:43 ` classabbyamp
2023-02-19 15:47 ` CyberShadow
2023-02-19 15:51 ` classabbyamp
2023-02-19 15:51 ` classabbyamp
2023-02-19 15:53 ` CyberShadow
2023-02-19 16:14 ` [PR PATCH] [Updated] " classabbyamp
2023-02-19 16:17 ` classabbyamp
2023-02-19 16:20 ` CyberShadow
2023-02-21 12:53 ` [PR PATCH] [Updated] " Sqvid
2023-02-21 12:57 ` Sqvid
2023-02-21 14:32 ` CyberShadow
2023-03-03 16:52 ` CyberShadow
2023-05-09 15:42 ` [PR PATCH] [Updated] " Sqvid
2023-05-09 15:55 ` Sqvid
2023-05-09 17:57 ` [PR PATCH] [Merged]: " classabbyamp

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).