Package Details: btdu 0.5.1-1

Git Clone URL: https://aur.archlinux.org/btdu.git (read-only, click to copy)
Package Base: btdu
Description: sampling disk usage profiler for btrfs
Upstream URL: https://github.com/CyberShadow/btdu
Licenses: GPL2
Submitter: CyberShadow
Maintainer: CyberShadow
Last Packager: CyberShadow
Votes: 20
Popularity: 0.27
First Submitted: 2020-11-08 09:28 (UTC)
Last Updated: 2023-04-30 20:52 (UTC)

Latest Comments

1 2 Next › Last »

CyberShadow commented on 2024-02-26 12:25 (UTC)

Well, what I need to do is finish working on and then tag the next version of btdu, but nothing regarding the dependencies specifically.

CyberShadow commented on 2024-02-26 12:21 (UTC)

Your observation is correct. No action is needed.

C0rn3j commented on 2024-02-26 12:00 (UTC) (edited on 2024-02-26 12:01 (UTC) by C0rn3j)

the source libraries are out of date in both upstream https://github.com/CyberShadow/btdu/blob/master/dub.selections.json (which may be intended) but more importantly also in the PKGBUILD against upstream.

CyberShadow commented on 2023-08-11 09:32 (UTC)

Thanks for the report, it's a breaking change in the latest compiler version. The fix will be in the next btdu release (and possibly the next compiler patch release will downgrade the error to a warning).

GeorgP commented on 2023-08-08 21:52 (UTC)

I am not sure what caused this, but recently this fails in build():

==> Starting build()...
    Starting Performing "release" build using dmd for x86_64.
    Building btdu ~master [application]
             Running rdmd...
../ae/utils/array.d(322): Deprecation: using `in ref` is deprecated, use `-preview=in` and `in` instead
../d-btrfs-0.0.18/src/btrfs/c/kerncompat.d(44): Error: function cannot have enum storage class
Failed: ["dmd", "-release", "-inline", "-O", "-w", "-version=Have_btdu", "-version=Have_ae", "-version=Have_btrfs", "-version=Have_ncurses", "-version=Have_emsi_containers", "-version=btrfsUnittest", "-Isource/", "-I..", "-I../d-btrfs-0.0.18/src/", "-I../ncurses-1.0.0/source/", "-I../containers-0.9.0/src/", "-L-lncursesw", "-L-lz", "-v", "-o-", "source/btdu/main.d", "-Isource/btdu"]
Error Build command failed with exit code 1
    Starting Performing "release" build using dmd for x86_64.
    Building emsi_containers 0.9.0: building configuration [library]
    Building btdu ~master: building configuration [application]
../ae/sys/git.d(402,30): Deprecation: using `in ref` is deprecated, use `-preview=in` and `in` instead
../ae/utils/array.d(322,39): Deprecation: using `in ref` is deprecated, use `-preview=in` and `in` instead
../d-btrfs-0.0.18/src/btrfs/c/kerncompat.d(44,42): Error: function cannot have enum storage class
Error dmd failed with exit code 1.
==> ERROR: A failure occurred in build().
    Aborting...

CyberShadow commented on 2023-06-20 13:19 (UTC)

@xiota I think I solved the problem from the library side, so the next version of btdu will not have this issue.

CyberShadow commented on 2023-06-17 05:11 (UTC)

@CyberShadow Is zlib also not needed for btrfs compression?

No, that happens in the kernel.

grep -Rn zlib in src returns lots of results.

Yes, but that code is in libraries and isn't being used.

Is it possible to adjust the PKGBUILD to enable/force garbage collection?

I don't think so without tying it to a specific toolchain. Right now it depends on d-compiler which can be satisfied by three packages.

xiota commented on 2023-06-16 19:22 (UTC) (edited on 2023-06-16 19:24 (UTC) by xiota)

@CyberShadow Is zlib also not needed for btrfs compression? grep -Rn zlib in src returns lots of results.

Is it possible to adjust the PKGBUILD to enable/force garbage collection?

CyberShadow commented on 2023-06-16 19:02 (UTC)

@xiota I'm not sure but I think whether zlib ends up in your binary depends on which compiler you use. btdu doesn't use it, but it's pulled it by some libraries, so it's up to the toolchain/linker whether it's garbage-collected or not.

xiota commented on 2023-06-16 18:59 (UTC)

namcap reports the following:

btdu E: Dependency zlib detected and not included (libraries ['usr/lib/libz.so.1'] needed in files ['usr/bin/btdu'])