You are not logged in.

#1 2014-06-28 16:49:40

qinohe
Member
From: Netherlands
Registered: 2012-06-20
Posts: 1,596

[solved]A failure occurred in package_linux-nymph-headers 3.15.2-1

Hi all, Since the problem with the bluetooth driver isn't solved, I tried to rebuild my own kernel with abs, since it isn't updated yet, I did all that local.
Now building and patching succeeds, but it fails at  the kernel-headers, with the following message :

  -> Compressing package...
==> Starting package_linux-nymph-headers()...
/home/mark/builds/abs/core/linux/PKGBUILD: line 277: /home/mark/builds/abs/core/linux/pkg/linux-nymph-headers/usr/lib/modules/3.15.2-1-nymph/build/arch/alpha: Is a directory
==> ERROR: A failure occurred in package_linux-nymph-headers().
    Aborting...

This is the line off code it fails on

  # remove unneeded architectures
  rm -rf 
"${pkgdir}"/usr/lib/modules/${_kernver}/build/arch/{alpha,arc,arm,arm26,arm64,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,xtensa}

It looks like 'rm -rf' isn't working, though' I don't know how to change this into a working situation.

edit: add link to bug:
https://bugs.archlinux.org/task/40902

I have probably hit an enter during making the PKGBUILD, because it should look like this:

  rm -rf  "${pkgdir}"/usr/lib/modules/${_kernver}/build/*snip*/

probably solved.

edit2: yeah, that was it, package for headers created. though should have seen it immediately, instead of spaming the forum first  sad

Last edited by qinohe (2014-06-28 17:36:33)

Offline

Board footer

Powered by FluxBB