@muncrief, I am just using yay -S linux-mainline linux-mainline-headers linux-mainline-docs but I will try your suggestions, makes sense to me. So from my understanding pacman -U *.pkg.tar.xz is installing the compiled and compress binary, correct?
Search Criteria
Package Details: linux-mainline-headers 6.13rc6-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/linux-mainline.git (read-only, click to copy) |
---|---|
Package Base: | linux-mainline |
Description: | Headers and scripts for building modules for the Linux Mainline kernel |
Upstream URL: | https://kernel.org/ |
Licenses: | GPL-2.0-only |
Submitter: | miffe |
Maintainer: | miffe |
Last Packager: | miffe |
Votes: | 282 |
Popularity: | 3.65 |
First Submitted: | 2011-07-22 06:50 (UTC) |
Last Updated: | 2025-01-06 18:58 (UTC) |
Dependencies (16)
- pahole (pahole-gitAUR)
- bc (bc-ghAUR) (make)
- cpio (cpio-gitAUR) (make)
- gettext (gettext-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- graphviz (make)
- imagemagick (imagemagick-gitAUR, imagemagick-full-gitAUR, imagemagick-fullAUR) (make)
- libelf (elfutils-gitAUR) (make)
- pahole (pahole-gitAUR) (make)
- perl (perl-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- python-sphinx (python-sphinx-gitAUR) (make)
- python-yaml (python-yaml-gitAUR) (make)
- tar (tar-gitAUR, busybox-coreutilsAUR) (make)
- texlive-latexextra (texlive-installerAUR, texlive-fullAUR, texlive-dummyAUR) (make)
- xz (xz-gitAUR) (make)
Required by (0)
Sources (2)
Latest Comments
« First ‹ Previous 1 .. 9 10 11 12 13 14 15 16 17 18 19 .. 77 Next › Last »
DanEng1982 commented on 2020-12-14 21:44 (UTC)
Muncrief commented on 2020-12-14 20:58 (UTC)
@DanEng1982, are you compiling with "makepkg -s" in a terminal or using pamac? I sometimes have issues with pamac so if you're using that I'd try the terminal. Just open one up and enter "yay -G linux-mainline && cd linux-mainline && makepkg -s". If everything compiles execute "sudo pacman -U *.pkg.tar.xz" to install it.
DanEng1982 commented on 2020-12-14 20:46 (UTC)
I just checked and noticed that I'm on Sphinx 3.3.1-3 already. Is there anything else I can try to do?
kiankasad commented on 2020-12-14 20:04 (UTC)
@muncrief @DanEng1982 I can also confirm that docs build fine with Sphinx v3.3.1-3.
Muncrief commented on 2020-12-14 19:47 (UTC)
I just successfully compiled and installed this package @DanEng1982. However this may be because python-sphinx was updated to 3.3.1-3 (from 3.3.1-2) this morning. There was only one change, the addition of "export PYTHONHASHSEED=0", but I'd make sure you're up to date and try compiling it again.
DanEng1982 commented on 2020-12-14 18:22 (UTC)
Build fails with the following message which I believe is due to Sphinx 3.0 not being fully supported yet:
sphinx-build returned an error at ./scripts/sphinx-pre-install line 311. make[1]: [Documentation/Makefile:90: htmldocs] Fehler 1 make: [Makefile:1669: htmldocs] Fehler 2 ==> FEHLER: Ein Fehler geschah in build(). Breche ab... error making: linux-mainline (linux-mainline linux-mainline-headers)
However it did work fine with all the release candidates despite all the warnings, just won't with the final 5.10-1 from this package.
mars commented on 2020-12-14 16:01 (UTC)
Should we follow the makedepends changes?
Talzahr commented on 2020-12-08 14:02 (UTC)
I think struct should be static?
It likely is that I think about it. I modified it to be as it was before the commit and allowed the build and boot to work. I'm still a C newbie.
jonathon commented on 2020-12-07 17:34 (UTC) (edited on 2020-12-07 17:34 (UTC) by jonathon)
I think struct
should be static
?
For those using the PKGBUILD directly, you can add the sed to your prepare()
(bad practice though it is), e.g.:
diff --git i/PKGBUILD w/PKGBUILD
index a2343aa..db07c77 100644
--- i/PKGBUILD
+++ w/PKGBUILD
@@ -8,8 +8,8 @@
pkgbase=linux-mainline # Build stock -ARCH kernel
#pkgbase=linux-custom # Build kernel with a different name
-_tag=v5.10-rc6
-pkgver=5.10rc6
+_tag=v5.10-rc7
+pkgver=5.10rc7
pkgrel=1
pkgdesc="Linux Mainline"
arch=(x86_64)
@@ -55,6 +55,8 @@ prepare() {
patch -Np1 < "../$src"
done
+ sed -i '830s/^static noinline/noinline/' mm/filemap.c
+
echo "Setting config..."
cp ../config .config
make olddefconfig
Talzahr commented on 2020-12-07 10:37 (UTC) (edited on 2020-12-07 10:38 (UTC) by Talzahr)
While I use my own custom repo, be aware that there's an issue with $srcdir/mm/filemap.c in the latest rc7 prepatch. If you get a FAILED unresolved symbol __add_to_page_cache_locked
error on building vmlinux then this commit needs to be reverted: https://github.com/torvalds/linux/commit/3351b16af4946fff0d46481d155fb91adb28b1
manual intervention (only do this if your build fails with that message):
git clone https://aur.archlinux.org/linux-mainline.git
cd linux-mainline
makepkg -so
sed -i 's/^struct noinline/noinline/' src/linux-mainline/mm/filemap.c
makepkg -ei
@jsutton you can git clone https://aur.archlinux.org/linux-mainline.git
(yay -G linux-mainline
will also work) and modify the config yourself. Then run makepkg -si
from the same directory as the config and PKGBUILD.
Pinned Comments
miffe commented on 2020-01-30 21:44 (UTC)
Repository here