@Nanoshift
Should be fixed now
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: | GPL-2.0-only |
Submitter: | Chiruno |
Maintainer: | QuartzDragon |
Last Packager: | QuartzDragon |
Votes: | 17 |
Popularity: | 0.60 |
First Submitted: | 2018-01-13 15:37 (UTC) |
Last Updated: | 2025-05-22 01:21 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 14 Next › Last »
@Nanoshift
Should be fixed now
There was a gpg problem that I fixed with: gpg --keyserver hkps://keys.openpgp.org --recv-keys 3B94A80E50A477C7
. Now, prepare()
gets stuck when running yes "$_subarch" | _make oldconfig
. It loops endlessly by answering 12 (my $_subarch) to a question about “Compressed Debug information”:
Compressed Debug information
> 1. Don't compress debug information (DEBUG_INFO_COMPRESSED_NONE)
2. Compress debugging information with zlib (DEBUG_INFO_COMPRESSED_ZLIB)
3. Compress debugging information with zstd (DEBUG_INFO_COMPRESSED_ZSTD) (NEW)
choice[1-3?]: 12
Edit1: _makenconfig=
, _subarch=12
, _localmodcfg=1
and I generated modprobed.db
Edit2: I fixed it by changing yes "$_subarch" | _make oldconfig
to _make oldconfig
@brody
Package is not buildable in a clean chroot environment unlike other linux packages from the aur repository. https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot
Hmmmmm, odd. I have bcachefs upstream configured to not be committed upon merging, so this shouldn't be a problem... not sure how I can fix for this for you.
The only solution I can see at the moment is just setting a global Git email and name, even if just random mush to satisfy this odd bug.
@Vitruvius
I would recommend locking the bcachefs_master merge to a specific commit, rather than master. I got a kernel panic from (I think) a bad automatic merge from the upstream being 6.2.12-arch1 and bcachefs master being 6.3.0.
I can't do that by default, as the package is supposed to pull the latest Git commit from master by default.
If you want a certain commit, you can add '#commit=<commit>' onto the end of the Git repo line in the sources list.
An unrelated issue building 6.3.0: The error libbpf: failed to find '.BTF' ELF section in vmlinux is fixed by settings CONFIG_X86_KERNEL_IBT=n
I'm just following Arch upstream's config as much as possible, so if it's a bug here, there's something else going on.
Package is not buildable in a clean chroot environment unlike other linux packages from the aur repository. https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot
*** Default configuration is based on 'x86_64_defconfig'
#
# configuration written to .config
#
CLEAN scripts/basic
CLEAN scripts/kconfig
CLEAN include/config include/generated .config
-> Fetch and merge master from https://github.com/koverstreet/bcachefs.git ...
From https://github.com/koverstreet/bcachefs
* branch master -> FETCH_HEAD
* [new branch] master -> bcachefs_master/master
Committer identity unknown
*** Please tell me who you are.
Run
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: unable to auto-detect email address (got 'builduser@brodowskid.(none)')
==> ERROR: A failure occurred in prepare().
Aborting...
==> ERROR: Build failed, check /home/brodowskid/chroot/brodowskid/build
I would recommend locking the bcachefs_master merge to a specific commit, rather than master
. I got a kernel panic from (I think) a bad automatic merge from the upstream being 6.2.12-arch1
and bcachefs master being 6.3.0
.
An unrelated issue building 6.3.0: The error libbpf: failed to find '.BTF' ELF section in vmlinux
is fixed by settings CONFIG_X86_KERNEL_IBT=n
@demizer
Will update soon. Cheers. :)
git diff patch for 5.19 kernel
https://gist.github.com/demizer/ca8ed1ffbe61e45ad871e4154df6b6d5
An additional change worth mentioning is the PKGBUILD indent spacing has been reduced to match the arch-linux upstream PKGBUILD so differences can be easily seen in diff.
This needs to be updated to use the 5.18.x arch kernel since bcachefs master has moved to use kernel 5.18.x
@RX14 the bcachefs github upgraded to linux 5.17, I found editing the PKGBUILD to clone linux 5.17 before cloning and merging bcachefs-linux instead of 5.16 works fine.
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