Package Details: btrfs-progs-git 7426_6.12_r59_ge162294e-1

Git Clone URL: https://aur.archlinux.org/btrfs-progs-git.git (read-only, click to copy)
Package Base: btrfs-progs-git
Description: Btrfs filesystem utilities
Upstream URL: https://btrfs.wiki.kernel.org/index.php/Main_Page
Licenses: GPL-2.0-only
Conflicts: btrfs-progs
Provides: btrfs-progs
Submitter: None
Maintainer: WorMzy
Last Packager: WorMzy
Votes: 61
Popularity: 0.000000
First Submitted: 2008-12-27 21:29 (UTC)
Last Updated: 2025-02-09 13:16 (UTC)

Required by (119)

Sources (5)

Latest Comments

1 2 3 4 5 6 7 Next › Last »

micwoj92 commented on 2025-03-19 19:07 (UTC)

I think it's something with my system. For the record, I also build in clean chroot, I checked and I am getting same issue while building btrfs-progs from repos.

WorMzy commented on 2025-03-18 12:49 (UTC)

Interesting point. You shouldn't need a btrfs filesystem (the tests provide their own, if required), but you will need to modprobe the btrfs kernel module if you don't have it loaded, or the tests will fail:

==> Starting check()...
  TEST     fsck-tests.sh
failed: modprobe btrfs
make: *** [Makefile:543: test-fsck] Error 1
==> ERROR: A failure occurred in check().
    Aborting...

If you want to bypass the tests entirely, use --nocheck, but I don't recommend it. BTRFS is fragile enough without having potentially broken utils interacting with it..

micwoj92 commented on 2025-03-17 22:44 (UTC)

Does it matter what filesystem I am using? I do not use btrfs on my computer. I also have linux-lts 6.12.19-1 now. This is the error:

=== START TEST 001-bad-file-extent-bytenr
restoring image default_case.img
ERROR: failed to enlarge result image file from 1111576576 to 3000592982016: File too large
ERROR: restore failed: -27
failed to restore image ./default_case.img
testing image 
====== RUN MUSTFAIL /build/btrfs-progs-git/src/btrfs-progs/btrfs check 
Opening filesystem to check...
failed (expected): /build/btrfs-progs-git/src/btrfs-progs/btrfs check 
====== RUN CHECK /build/btrfs-progs-git/src/btrfs-progs/btrfs check --repair --force 
ERROR: mount check: cannot open : No such file or directory
WARNING: cannot check mount status of , the filesystem could be mounted, continuing because of --force
ERROR: cannot stat '': No such file or directory
ERROR: cannot open file system
enabling repair mode
Opening filesystem to check...
failed: /build/btrfs-progs-git/src/btrfs-progs/btrfs check --repair --force

WorMzy commented on 2025-03-17 22:09 (UTC)

@micwoj92: I'm unable to reproduce that here (in a clean chroot). There may be more information in your $srcdir/btrfs-progs/tests/fsck-tests-results.txt file, but I suspect the build was bad. If you can reproduce it, you might want to try bisecting the problem and reporting upstream.

micwoj92 commented on 2025-03-17 20:42 (UTC)

Check fails for me with

==> Starting check()...
  TEST     fsck-tests.sh
    [TEST/fsck]   001-bad-file-extent-bytenr
failed to restore image ./default_case.img
basename: missing operand
Try 'basename --help' for more information.
failed: /build/btrfs-progs-git/src/btrfs-progs/btrfs check --repair --force 
make: *** [Makefile:543: test-fsck] Error 1
==> ERROR: A failure occurred in check().
    Aborting...

WorMzy commented on 2024-11-05 17:58 (UTC)

@EndlessEden: sure, I've added that in. I didn't include the btrfs- prefix though, I don't think that's needed since nothing else provides a hash-speedtest binary.

EndlessEden commented on 2024-11-05 03:33 (UTC) (edited on 2024-11-05 03:53 (UTC) by EndlessEden)

@wormzy -- can you include/build "hash-speedtest" as well. Its in the makefile, and is a benchmark of the various hashes btrfs filesystem module support.

Its used for getting platform-specific benchmarks, thus is incredibly useful for switching between checksumming. (which support was added upstream finally) See below for example.


@@ -55,6 +55,7 @@
   cd ${_gitname}
   ./configure --prefix=/usr
   make
+  make hash-speedtest
 }

 package() {
@@ -68,6 +69,7 @@

   cd ${_gitname}
   make DESTDIR="${pkgdir}" install
+  install -Dm755 hash-speedtest "${pkgdir}/usr/bin/btrfs-hash-speedtest"

   # install bash completion
   install -Dm644 btrfs-completion "${pkgdir}/usr/share/bash-completion/completions/btrfs"

WorMzy commented on 2024-01-14 13:39 (UTC)

Thanks for the heads up, 0e4ef622, I've refreshed the dep arrays based on upstream.

0e4ef622 commented on 2024-01-12 14:41 (UTC)

The listed dependencies don't match the ones listed for the btrfs-progs package.

WorMzy commented on 2022-12-21 19:37 (UTC)

Hey marco44, I did previously (~10 years ago) maintain packages which packaged the 'integration' branches of btrfs-progs, which was the more experimental stuff. It may be worth packaging an experimental build again, but unfortunately I don't have time to take on any more packages right now, and I'd rather btrfs-progs-git remain how it always has been. Feel free to create such a package yourself though. :)