In case it was missed, the /doesnt/exist message is the intentional output caused by a sed trick applied to the Makefile, per Arch upstream, to prevent it from automatically running depmod during the build stage, since pacman hooks run that post-install.
Search Criteria
Package Details: linux-git 6.6.rc2.r18.2cf0f7156238-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/linux-git.git (read-only, click to copy) |
---|---|
Package Base: | linux-git |
Description: | The Linus Torvalds' Mainline Linux kernel and modules |
Upstream URL: | https://www.kernel.org |
Keywords: | git kernel linux |
Licenses: | GPL2 |
Provides: | KSMBD-MODULE, VIRTUALBOX-GUEST-MODULES, WIREGUARD-MODULE |
Replaces: | virtualbox-guest-modules-arch, wireguard-arch |
Submitter: | jonathanio |
Maintainer: | osimarr |
Last Packager: | osimarr |
Votes: | 12 |
Popularity: | 0.100839 |
First Submitted: | 2019-12-22 10:10 (UTC) |
Last Updated: | 2023-09-20 04:59 (UTC) |
Dependencies (15)
- coreutils (coreutils-gitAUR, busybox-coreutilsAUR, coreutils-selinuxAUR, coreutils-hybridAUR, coreutils-hybrid-gitAUR)
- initramfs (dracut-gitAUR, booster-gitAUR, booster-wip-gitAUR, mkinitcpio-gitAUR, booster, dracut, mkinitcpio)
- kmod (kmod-gitAUR, busybox-coreutilsAUR)
- bc (bc-ghAUR) (make)
- cpio (cpio-gitAUR) (make)
- gettext (gettext-gitAUR) (make)
- git (git-vfsAUR, git-run-command-patch-gitAUR, git-gitAUR, git-fcAUR) (make)
- libelf (elfutils-gitAUR) (make)
- pahole (pahole-gitAUR) (make)
- perl (perl-gitAUR) (make)
- python (python32AUR, python37AUR, python310AUR) (make)
- tar (tar-gitAUR, busybox-coreutilsAUR) (make)
- xz (xz-gitAUR) (make)
- linux-firmware (linux-firmware-iwlwifi-gitAUR, linux-libre-firmwareAUR, linux-firmware-gitAUR, linux-firmware-xzAUR, linux-firmware-uncompressedAUR) (optional) – firmware images needed for some devices
- wireless-regdb (wireless-regdb-gitAUR, wireless-regdb-pentestAUR) (optional) – to set the correct wireless channels of your country
Required by (5)
- ksmbd-tools (requires KSMBD-MODULE)
- piavpn-bin (requires WIREGUARD-MODULE) (optional)
- piavpn-manual-git (requires WIREGUARD-MODULE)
- virtualbox-guest-utils-nox-svn (requires VIRTUALBOX-GUEST-MODULES)
- virtualbox-guest-utils-svn (requires VIRTUALBOX-GUEST-MODULES)
Sources (6)
kode54 commented on 2023-09-30 05:40 (UTC)
xiota commented on 2023-09-20 13:41 (UTC)
Please remove replaces
directive. Thank you. (No need to reply via comment; AUR now sends commit notifications.)
osimarr commented on 2023-09-20 05:01 (UTC)
Thanks for all the reports and fix tips. All build issues and versioning problem are fixed and PKGBUILD + config are updated to newest Arch Linux kernel package.
parkerlreed commented on 2023-09-06 23:38 (UTC) (edited on 2023-09-06 23:50 (UTC) by parkerlreed)
Strange issue on latest git. Complains "/doesnt/exist' is required??
No patches and just following upstream master without any tags.
DEPMOD /home/parker/.cache/paru/clone/linux-git/pkg/linux-git/usr/lib/modules/6.5.0-1-git-12107-g7ba2090ca64e
Warning: 'make modules_install' requires /doesnt/exist. Please install it.
This is probably in the kmod package.
rm: cannot remove '/home/parker/.cache/paru/clone/linux-git/pkg/linux-git/usr/lib/modules/6.5.0-1-git-12107-g7ba2090ca64e/source': No such file or directory
==> ERROR: A failure occurred in package_linux-git().
Aborting...
error: failed to build 'linux-git-v6.4.rc3.r291.4e893b5aa4ac-1':
error: packages failed to build: linux-git-v6.4.rc3.r291.4e893b5aa4ac-1
EDIT: Issue referenced here https://aur.archlinux.org/packages/linux-next-git#comment-931562
Fix is to remove source
from the cleanup rm
zbe commented on 2023-09-06 19:10 (UTC)
For building in clean chroot I had to add 'python' to makedepends or else make fails with
/usr/bin/env: ‘python3’: No such file or directory
starquake commented on 2023-07-10 18:34 (UTC) (edited on 2023-07-11 12:50 (UTC) by starquake)
I had problems building a remote with a hyphen. This is how I fixed it:
diff --git a/PKGBUILD b/PKGBUILD
index 31df133..47da6f9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
# will be on config.extra file.
pkgbase=linux-git
-pkgver=v6.4.rc3.r291.4e893b5aa4ac
+pkgver=v6.4.r12278.3bc551a3007a.linusw.linux.pinctrl
pkgrel=1
pkgdesc="Linus Torvalds' Mainline Linux"
url="https://www.kernel.org"
@@ -67,7 +67,7 @@ pkgver() {
cd "$srcdir/$_srcname"
if [[ -n "$REMOTE_URL" ]]; then
# if $REMOTE_URL was created, it's safe to use $REMOTE
- printf "%s" "$(git describe --dirty=-patched --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g').${REMOTE/\//.}"
+ printf "%s" "$(git describe --dirty=-patched --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g').${REMOTE//[\/-]/.}"
else
printf "%s" "$(git describe --dirty=-patched --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
fi
proledatarian commented on 2023-06-17 12:23 (UTC) (edited on 2023-06-22 10:29 (UTC) by proledatarian)
For some reason building fails for me. It build in a clean chroot though. Any idea why?
At main.c:164: - SSL error:0480006C:PEM routines::no start line: crypto/pem/pem_lib.c:763 extract-cert: certs/signing_key.pem: Success make[2]: *** [certs/Makefile:74: certs/signing_key.x509] Error 1 make[2]: *** Deleting file 'certs/signing_key.x509' make[1]: *** [scripts/Makefile.build:494: certs] Error 2 make[1]: *** Waiting for unfinished jobs....
And
CC [M] fs/xfs/scrub/agheader_repair.o CC [M] fs/xfs/scrub/repair.o LD [M] fs/xfs/xfs.o make: *** [Makefile:2026: .] Error 2 ==> ERROR: A failure occurred in build(). Aborting... -> error making: linux-git-exit status 4
This is corresponding to the following line in the makefile:
2024 | PHONY += $(build-dir) 2025 | $(build-dir): prepare 2026 | $(Q)$(MAKE) $(build)=$@ need-builtin=1 need-modorder=1 $(single-goals)
Also happening on linux-mainline.
Besides that shouldn't python
be a dependency?
osimarr commented on 2023-05-10 06:10 (UTC) (edited on 2023-05-10 06:12 (UTC) by osimarr)
yurikoles
Thanks for your feedback, I appreciate it.
About the custom remote/config/patches: I know people many times use tools to build/install aur packages and that may bypass the customization, but that's fine. The behavior they will get is the current mainline kernel will be build/installed which is exactly what is expected. But your suggestion to use .install file to advertise the customization is pretty good. I'll add it. Also, using SKIP to user-modifiable files actually makes sense. I'll make this change.
Regarding to the doc package, the stock arch linux package maintainers were kind enough to make it easy to identify anything related to the doc package, even the build dependencies. If if becomes difficult to track their changes in future, I'll consider re-adding the doc package.
Pinned Comments
osimarr commented on 2023-05-07 22:27 (UTC) (edited on 2023-05-12 04:05 (UTC) by osimarr)
Hi. Since the package became an orphan, I adopted it to continue what I actively maintain on https://aur.archlinux.org/pkgbase/linux-mainline-git, now on this AUR package.
The build script and config file will be up-to-date with Arch's official Linux package unless an update is required to be functional.
But I intentionally removed the documentation package because it consumes too much building time.
This package supports certain customization if compiled by the user. Check for the README file inside the package repo, or the .INSTALL message after package installation to learn how.