@tscs37
Thanks for reporting. :)
Cannot reproduce your first issue, but can reproduce the second.
Please report a bug for bcachefs, while I figure out a stopgap fix.
Git Clone URL: | https://aur.archlinux.org/linux-bcachefs-git.git (read-only, click to copy) |
---|---|
Package Base: | linux-bcachefs-git |
Description: | The Linux kernel and modules ~ featuring Kent Overstreet's bcachefs filesystem |
Upstream URL: | https://github.com/koverstreet/bcachefs |
Licenses: | GPL-2.0-only |
Provides: | KSMBD-MODULE, VIRTUALBOX-GUEST-MODULES, WIREGUARD-MODULE |
Replaces: | virtualbox-guest-modules-arch, wireguard-arch |
Submitter: | Chiruno |
Maintainer: | QuartzDragon |
Last Packager: | QuartzDragon |
Votes: | 16 |
Popularity: | 0.000004 |
First Submitted: | 2018-01-13 15:37 (UTC) |
Last Updated: | 2025-05-22 01:21 (UTC) |
« First ‹ Previous 1 .. 5 6 7 8 9 10 11 12 13 14 Next › Last »
@tscs37
Thanks for reporting. :)
Cannot reproduce your first issue, but can reproduce the second.
Please report a bug for bcachefs, while I figure out a stopgap fix.
When building from a clean copy of the repo, I get an error that a fast forward could not be performed. It occurs when building on bcachefs but also on xfs/ext4 and on cleanbuilds or using a (previously failed with this error) repository. I'm using yay to run the build.
Adding the "--no-ff" Option to line 125 and 135 fixes this.
After that I get a build failure from sphinx as seen in the second snippet.
==> Starting prepare()...
-> Setting version...
-> Adding patches from Linux upstream kernel repository...
remote: Enumerating objects: 10276, done.
remote: Counting objects: 100% (10276/10276), done.
remote: Compressing objects: 100% (3296/3296), done.
remote: Total 10276 (delta 7095), reused 9673 (delta 6956)
Receiving objects: 100% (10276/10276), 13.17 MiB | 13.03 MiB/s, done.
Resolving deltas: 100% (7095/7095), completed with 732 local objects.
From <https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux>
* tag v5.3.11 -> FETCH_HEAD
fatal: Not possible to fast-forward, aborting.
==> ERROR: A failure occurred in prepare().
Aborting...
Error making: linux-bcachefs-git (linux-bcachefs-git linux-bcachefs-git-docs linux-bcachefs-git-headers)
CC arch/x86/events/probe.o
usage: sphinx-build [OPTIONS] SOURCEDIR OUTPUTDIR [FILENAMES...]
sphinx-build: error: argument -a: ignored explicit argument 'rch1'
CC arch/x86/events/amd/core.o
make[1]: *** [Documentation/Makefile:81: htmldocs] Fehler 2
make: *** [Makefile:1579: htmldocs] Error 2
make: *** Waiting for unfinished jobs....
@nicman23 yeah that was pretty much the issue
creating a ext4 /tmp and patching makepkg fixes the issue afaict.
@tscs37
this is a known issue when packaging anything on a bcachefs root. either compile the package on some other fs (tmpfs is also a choice) or patch your makepkg like so
--- /usr/bin/makepkg 2019-03-01 03:41:56.000000000 +0200
+++ /home/nikos/.local/bin/makepkg 2019-07-21 11:47:22.353595608 +0300
@@ -1465,10 +1465,10 @@
if [[ $BUILDDIR -ef "$startdir" ]]; then
srcdir="$BUILDDIR/src"
- pkgdirbase="$BUILDDIR/pkg"
+ pkgdirbase="/tmp/$BUILDDIR/pkg"
else
srcdir="$BUILDDIR/$pkgbase/src"
- pkgdirbase="$BUILDDIR/$pkgbase/pkg"
+ pkgdirbase="/tmp/$BUILDDIR/$pkgbase/pkg"
fi
@tscs37
Hmmm. Cannot reproduce, sorry. :/
How are you building this? What PKGBUILD settings are you using?
I'm getting a bunch of errors from mkinitcpio after installing the latest version of this kernel;
depmod: ERROR: failed to load symbols from /tmp/mkinitcpio.5iO0rN/root/lib/modules/5.2.0-arch1-1-bcachefs-git-180243-gb83dba0d3fde/kernel/btrfs.ko.xz: Exec format error
depmod: ERROR: failed to load symbols from /tmp/mkinitcpio.5iO0rN/root/lib/modules/5.2.0-arch1-1-bcachefs-git-180243-gb83dba0d3fde/kernel/trusted.ko.xz: Exec format error
depmod: ERROR: failed to load symbols from /tmp/mkinitcpio.5iO0rN/root/lib/modules/5.2.0-arch1-1-bcachefs-git-180243-gb83dba0d3fde/kernel/scsi_mod.ko.xz: Exec format error
depmod: ERROR: failed to load symbols from /tmp/mkinitcpio.5iO0rN/root/lib/modules/5.2.0-arch1-1-bcachefs-git-180243-gb83dba0d3fde/kernel/sd_mod.ko.xz: Exec format error
depmod: ERROR: failed to load symbols from /tmp/mkinitcpio.5iO0rN/root/lib/modules/5.2.0-arch1-1-bcachefs-git-180243-gb83dba0d3fde/kernel/sr_mod.ko.xz: Exec format error
depmod: ERROR: failed to load symbols from /tmp/mkinitcpio.5iO0rN/root/lib/modules/5.2.0-arch1-1-bcachefs-git-180243-gb83dba0d3fde/kernel/cxgb4.ko.xz: Exec format error
depmod: ERROR: failed to load symbols from /tmp/mkinitcpio.5iO0rN/root/lib/modules/5.2.0-arch1-1-bcachefs-git-180243-gb83dba0d3fde/kernel/usb-storage.ko.xz: Exec format error
depmod: ERROR: failed to load symbols from /tmp/mkinitcpio.5iO0rN/root/lib/modules/5.2.0-arch1-1-bcachefs-git-180243-gb83dba0d3fde/kernel/mmc_block.ko.xz: Exec format error
depmod: ERROR: failed to load symbols from /tmp/mkinitcpio.5iO0rN/root/lib/modules/5.2.0-arch1-1-bcachefs-git-180243-gb83dba0d3fde/kernel/virtio.ko.xz: Exec format error
I've changed the package version scheme to better reflect the commit of the build, so if you need to report a bug upstream, you can see what commit you're using at a glance.
I think I might cautiously wait until Kent fixes up bcachefs proper.
I guess I don't quite trust the conflict handler to do a proper fixup that won't cause issues...
diff to the pkgbuild, it includes:
automatic latest x.x.y detection ie if you set _srcver_tag=5.1 then it goes to 5.1.19 + it correctly sets pkgver
automatic conflict handler (the below code did not work because git merge is silly with tags)
removal of bluetooth patch - it is included iirc E: it is
having the upstream git repo fetched in source=() from makepkg and added as a local filesystem remote
renaming prepare to actual_prepare because makepkg ordering is silly
compiling right now will update you within the hour for any possible issues but there ought to be none
E: running it since a couple of hours ago, nothing wrong to report
Implemented the first suggestion.
Second suggestion is borked:
merge: upstream_stable/v5.1.18 - not something we can merge
fatal: '--ours/--theirs' cannot be used with switching branches
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