Package Details: linux-bcachefs-git-headers 6.8.0.rc6.1.bcachefs.git.00141.g243c934566b7-1

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)

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

Latest Comments

« First ‹ Previous 1 .. 4 5 6 7 8 9 10 11 12 13 Next › Last »

QuartzDragon commented on 2019-11-20 12:09 (UTC)

@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.

nicman23 commented on 2019-11-20 07:21 (UTC)

hi, 2 things:

QuartzDragon commented on 2019-11-20 06:58 (UTC)

Ah, I see... my fixing of EXTRAVERSION, which was working for 5.2, isn't needed anymore.

QuartzDragon commented on 2019-11-20 06:56 (UTC)

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.

QuartzDragon commented on 2019-11-20 06:44 (UTC)

@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.

tscs37 commented on 2019-11-20 06:02 (UTC) (edited on 2019-11-20 06:09 (UTC) by tscs37)

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....

tscs37 commented on 2019-10-08 18:24 (UTC)

@nicman23 yeah that was pretty much the issue

creating a ext4 /tmp and patching makepkg fixes the issue afaict.

nicman23 commented on 2019-10-08 12:44 (UTC) (edited on 2019-10-08 12:45 (UTC) by nicman23)

@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

QuartzDragon commented on 2019-10-08 08:28 (UTC)

@tscs37

Hmmm. Cannot reproduce, sorry. :/

How are you building this? What PKGBUILD settings are you using?

tscs37 commented on 2019-10-08 04:32 (UTC)

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