Package Details: linux-xanmod-edge-headers 5.14.6-1

Git Clone URL: https://aur.archlinux.org/linux-xanmod-edge.git (read-only, click to copy)
Package Base: linux-xanmod-edge
Description: Headers and scripts for building modules for the Linux Xanmod - Latest Mainline (EDGE) kernel
Upstream URL: http://www.xanmod.org/
Licenses: GPL2
Submitter: figue
Maintainer: figue
Last Packager: figue
Votes: 5
Popularity: 1.51
First Submitted: 2021-07-03 09:57
Last Updated: 2021-09-19 21:45

Latest Comments

1 2 Next › Last »

atxnor commented on 2021-09-17 13:47

Can you upgrade to 5.14.3?

randomjerk commented on 2021-09-08 17:16

The build errors out with the following issue:

FATAL: modpost: drivers/net/wwan/rpmsg_wwan_ctrl: sizeof(struct rpmsg_device_id)=32 is not a modulo of the size of section __mod_rpmsg__<identifier>_device_table=120. Fix definition of struct rpmsg_device_id in mod_devicetable.h make[1]: *** [scripts/Makefile.modpost:150: modules-only.symvers] Error 1 make: *** [Makefile:1767: modules] Error 2 make: *** Waiting for unfinished jobs....

Any idea on how to fix it ?

figue commented on 2021-09-04 11:30

@atxnor maybe was updated upstream. New version is pushed right now, it should be ok:

figue on pluto /tmp ➜  git clone https://aur.archlinux.org/linux-xanmod-edge.git         
Clonando en 'linux-xanmod-edge'...
remote: Enumerating objects: 74, done.
remote: Counting objects: 100% (74/74), done.
remote: Compressing objects: 100% (62/62), done.
remote: Total 74 (delta 32), reused 51 (delta 12), pack-reused 0
Desempaquetando objetos: 100% (74/74), 16.73 KiB | 190.00 KiB/s, listo.

figue on pluto /tmp ✗  cd linux-xanmod-edge 

figue on pluto …/linux-xanmod-edge on  master took 14s ✗  env LC_ALL=C makepkg --verifysource
==> Making package: linux-xanmod-edge 5.14.1-1 (Sat Sep  4 13:28:24 2021)
==> Retrieving sources...
  -> Found linux-5.14.tar.xz
  -> Found linux-5.14.tar.sign
  -> Found patch-5.14.1-xanmod1.xz
  -> Found choose-gcc-optimization.sh
==> Validating source files with sha256sums...
    linux-5.14.tar.xz ... Passed
    linux-5.14.tar.sign ... Skipped
    patch-5.14.1-xanmod1.xz ... Passed
    choose-gcc-optimization.sh ... Passed
==> Verifying source file signatures with gpg...
    linux-5.14.tar ... Passed

atxnor commented on 2021-09-04 06:51

File "patch-5.14.0-xanmod1.xz" checksum test fail.

figue commented on 2021-08-22 19:46

@SolarAquarion thanks for your suggestion, but the idea is not add external patches to this package. You can request upstream and then enable them with custom config.

There are other people like ptr1337 that makes external packages like https://github.com/ptr1337/linux-cacule-aur

SolarAquarion commented on 2021-08-22 16:20

can you add switches to enable "patches"? like ntfs3 and lib_zstd?

figue commented on 2021-07-05 07:35

  AR [M]  drivers/iio/industrialio.o
  GEN     .version
  CHK     include/generated/compile.h
  GEN     .tmp_initcalls.lds
/usr/bin/env: ‘python3’: No such file or directory
make: *** [Makefile:1200: vmlinux] Error 127
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/figue/packages/archbuild/testing-x86_64/figue/build

Indeed... python is needed

figue commented on 2021-07-04 23:56

I'm testing right now this PKGBUILD in testing chroot and python seems to not be required:

figue on pluto …/linux-xanmod-edge on  master [!?] ➜  diff -u PKGBUILD PKGBUILD_clang 
--- PKGBUILD    2021-07-05 00:12:29.928777588 +0200
+++ PKGBUILD_clang  2021-07-05 00:54:49.295521050 +0200
@@ -15,7 +15,7 @@
 ## Default is: 0 => generic
 ## Good option if your package is for one machine: 98 (Intel native) or 99 (AMD native)
 if [ -z ${_microarchitecture+x} ]; then
-  _microarchitecture=0
+  _microarchitecture=98
 fi

 ## Disable NUMA since most users do not have multiple processors. Breaks CUDA/NvEnc.
@@ -23,7 +23,7 @@
 ## Set variable "use_numa" to: n to disable (possibly increase performance)
 ##                             y to enable  (stock default)
 if [ -z ${use_numa+x} ]; then
-  use_numa=y
+  use_numa=n
 fi

 ## For performance you can disable FUNCTION_TRACER/GRAPH_TRACER. Limits debugging and analyzing of the kernel.
@@ -31,12 +31,12 @@
 ## Set variable "use_tracers" to: n to disable (possibly increase performance)
 ##                                y to enable  (stock default)
 if [ -z ${use_tracers+x} ]; then
-  use_tracers=y
+  use_tracers=n
 fi

 ## Choose between GCC and CLANG config (default is GCC)
 if [ -z ${_compiler+x} ]; then
-  _compiler=gcc
+  _compiler=clang
 fi

 # Compile ONLY used modules to VASTLY reduce the number of modules built
@@ -71,7 +71,7 @@
   xmlto kmod inetutils bc libelf cpio
 )
 if [ "${_compiler}" = "clang" ]; then
-  makedepends+=(clang llvm)
+  makedepends+=(clang llvm lld)
 fi
 options=('!strip')
 _srcname="linux-${pkgver}-xanmod${xanmod}"
@@ -111,7 +111,7 @@
   msg2 "Setting version..."
   scripts/setlocalversion --save-scmversion
   echo "-$pkgrel" > localversion.10-pkgrel
-  #echo "${pkgbase#linux-xanmod}" > localversion.20-pkgname
+  echo "${pkgbase#linux-xanmod}" > localversion.20-pkgname

   # Archlinux patches
   local src

jihem commented on 2021-07-04 23:11

Yes, I modified the PKGBUILD to select clang compiler by default. I don't know if it is possible to pass variables to chroot.

figue commented on 2021-07-04 22:06

@jihem did you modify PKGBUILD to build with testing-x86_64-build? Otherwise, how do you pass variables to chroot?