linux-oak-headers is missing some files

Problems with packages? Post here, using [tags] of the package name.

linux-oak-headers is missing some files

Postby 1ace » Thu Oct 12, 2017 3:28 pm

`linux-oak-headers-3.18.0-9-aarch64` is missing some files.

I noticed this because
arch/arm64/include/asm/xen/hypervisor.h
includes
arch/arm/include/asm/xen/hypervisor.h
which doesn't exist in the package.

I expect there might be other bits of the tree missing than arch/arm/
1ace
 
Posts: 2
Joined: Thu Oct 12, 2017 3:16 pm

Re: linux-oak-headers is missing some files

Postby 1ace » Thu Oct 12, 2017 5:29 pm

I had a look at the PKGBUILD, and I think it might be as trivial as removing `arm` from the `rm` command at the end of `_package-headers()`:
https://github.com/archlinuxarm/PKGBUIL ... BUILD#L290

I haven't been able to test this however, as I'm getting compiler warnings which should be disabled by patch 9 (`-Wformat-truncation`) which proves fatal when combined with `-Werror`. (I haven't been able to figure out why the patch isn't applied or isn't enough.)

Kevin Mihelich, if you see this, can you apply this patch and recompile the package?
Feel free to ping on Freenode: eric_engestrom

Code: Select all
diff --git a/core/linux-oak/PKGBUILD b/core/linux-oak/PKGBUILD
index 395836301..5e7cbfd98 100644
--- a/core/linux-oak/PKGBUILD
+++ b/core/linux-oak/PKGBUILD
@@ -287,7 +287,7 @@ _package-headers() {
   done
 
   # remove unneeded architectures
-  rm -rf "${pkgdir}"/usr/lib/modules/${_kernver}/build/arch/{alpha,arc,arm,arm26,avr32,blackfin,c6x,cris,frv,h8300,hexagon,ia64,m32r,m68k,m68knommu,metag,mips,microblaze,mn10300,openrisc,parisc,powerpc,ppc,s390,score,sh,sh64,sparc,sparc64,tile,unicore32,um,v850,x86,xtensa}
+  rm -rf "${pkgdir}"/usr/lib/modules/${_kernver}/build/arch/{alpha,arc,arm26,avr32,blackfin,c6x,cris,frv,h8300,hexagon,ia64,m32r,m68k,m68knommu,metag,mips,microblaze,mn10300,openrisc,parisc,powerpc,ppc,s390,score,sh,sh64,sparc,sparc64,tile,unicore32,um,v850,x86,xtensa}
 }
 
 pkgname=("${pkgbase}" "${pkgbase}-headers")
1ace
 
Posts: 2
Joined: Thu Oct 12, 2017 3:16 pm


Return to Packages

Who is online

Users browsing this forum: No registered users and 1 guest