@nicman23
Can you sync your package with mine, where appropriate, to reflect the latest Arch kernel package changes? Some pretty significant ones recently that I notice you haven't seem to have been aware of.
Git Clone URL: | https://aur.archlinux.org/linux-bcachefs-git.git (read-only, click to copy) |
---|---|
Package Base: | linux-bcachefs-git |
Description: | Headers and scripts for building modules for the Linux kernel ~ featuring Kent Overstreet's bcachefs filesystem |
Upstream URL: | https://github.com/koverstreet/bcachefs |
Licenses: | GPL2 |
Submitter: | Chiruno |
Maintainer: | QuartzDragon |
Last Packager: | QuartzDragon |
Votes: | 16 |
Popularity: | 0.000127 |
First Submitted: | 2018-01-13 15:37 (UTC) |
Last Updated: | 2024-03-13 10:11 (UTC) |
« First ‹ Previous 1 .. 4 5 6 7 8 9 10 11 12 13 Next › Last »
@nicman23
Can you sync your package with mine, where appropriate, to reflect the latest Arch kernel package changes? Some pretty significant ones recently that I notice you haven't seem to have been aware of.
hi, 2 things:
i maintain a version with the latest tag of mainline linux here https://aur.archlinux.org/packages/linux-mainline-bcachefs/
at least on the above version, compiling a package with makepkg in bcachefs root, no longer corrupts the binaries in the resulting pkg/ or pkg.tar.xz
Ah, I see... my fixing of EXTRAVERSION, which was working for 5.2, isn't needed anymore.
Weird... really weird.
I could reproduce it multiple times, but after I made that comment... suddenly, I've not been able to reproduce it.
Please try building it again now.
@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
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