@snogard
Cannot reproduce here. Make sure that the package Git repo is updated, and that the PKGBUILD hasn't been altered.
Perhaps delete sources, because they might possibly be corrupted on your end.
Git Clone URL: | https://aur.archlinux.org/linux-bcachefs-git.git (read-only, click to copy) |
---|---|
Package Base: | linux-bcachefs-git |
Description: | Documentation for the Linux kernel |
Upstream URL: | https://github.com/koverstreet/bcachefs |
Licenses: | GPL-2.0-only |
Submitter: | Chiruno |
Maintainer: | QuartzDragon |
Last Packager: | QuartzDragon |
Votes: | 16 |
Popularity: | 0.000050 |
First Submitted: | 2018-01-13 15:37 (UTC) |
Last Updated: | 2025-02-06 08:46 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 .. 14 Next › Last »
@snogard
Cannot reproduce here. Make sure that the package Git repo is updated, and that the PKGBUILD hasn't been altered.
Perhaps delete sources, because they might possibly be corrupted on your end.
==> Starting pkgver()...
==> ERROR: pkgver is not allowed to be empty.
==> ERROR: pkgver() generated an invalid version:
error: failed to build 'linux-bcachefs-git-6.7.0.rc2.1.bcachefs.git.00102.gc80a1d564930.dirty-1 (linux-bcachefs-git linux-bcachefs-git-headers)'
@demizer
Thankfully, yeah.
Seems the update on 9-03 fixed the missing symbols issue.
Issue for the build failures regarding the missing symbols as reported in comments
reported upstream here: https://github.com/koverstreet/bcachefs/issues/590
@ticpu
Please report upstream if you haven't already.
Shouldn't have to work around stuff in config... but when even that doesn't work... with a filesystem have little knowledge about the inner workings of, I find it far safer to just leave things to Kent or the others working on bcachefs to resolve, and so present fixes for.
I guess I don't want to be responsible for creating weird bugs that might eat people's data, heh.
The latest version gives me the same issue as shintak but enabling CONFIG_LOCK_STAT didn't fix it. I had to remove the 2 tracepoints in the code to finish compiling.
diff --git a/fs/bcachefs/six.c b/fs/bcachefs/six.c
index 581aee565e95..4fce655a94e9 100644
--- a/fs/bcachefs/six.c
+++ b/fs/bcachefs/six.c
@@ -456,7 +456,6 @@ static int six_lock_slowpath(struct six_lock *lock, enum six_lock_type type,
smp_mb__after_atomic();
}
- trace_contention_begin(lock, 0);
lock_contended(&lock->dep_map, ip);
if (six_optimistic_spin(lock, type))
@@ -526,7 +525,6 @@ static int six_lock_slowpath(struct six_lock *lock, enum six_lock_type type,
six_clear_bitmask(lock, SIX_LOCK_HELD_write);
six_lock_wakeup(lock, atomic_read(&lock->state), SIX_LOCK_read);
}
- trace_contention_end(lock, 0);
return ret;
}
@shintak
Please report this upstream as soon as possible, as it will help immensely with Kent fixing these sort of bugs.
Enabling CONFIG_LOCK_STAT bloats the install size quite a bit... not sure whether to actually enable it, or just wait until Kent fixes said bug.
Maybe just me but current version fails building with follwing error:
MODPOST Module.symvers
ERROR: modpost: "__SCT__tp_func_contention_begin" [fs/bcachefs/bcachefs.ko] undefined!
ERROR: modpost: "__SCT__tp_func_contention_end" [fs/bcachefs/bcachefs.ko] undefined!
ERROR: modpost: "__tracepoint_contention_begin" [fs/bcachefs/bcachefs.ko] undefined!
ERROR: modpost: "__tracepoint_contention_end" [fs/bcachefs/bcachefs.ko] undefined!
ERROR: modpost: "__SCK__tp_func_contention_end" [fs/bcachefs/bcachefs.ko] undefined!
ERROR: modpost: "__SCK__tp_func_contention_begin" [fs/bcachefs/bcachefs.ko] undefined!
make[1]: *** [scripts/Makefile.modpost:136: Module.symvers] エラー 1
make: *** [Makefile:1978: modpost] エラー 2
Downloaded the package and after adding CONFIG_LOCK_STAT=y
to config
, build succeeded.
However, I think it is more of a bug on the bcachefs side.
Thanks for the quick update :)
Pinned Comments
QuartzDragon commented on 2019-06-11 15:15 (UTC) (edited on 2019-06-11 15:17 (UTC) by QuartzDragon)
If there are bugs related to the PKGBUILD or config, report here.
Otherwise, please report here:
https://github.com/koverstreet/bcachefs/issues