Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#16526 - [kernel26] PKGBUILD error (non fatal) when building without support for DVB

Attached to Project: Arch Linux
Opened by ajonat (ajonat) - Thursday, 08 October 2009, 18:32 GMT
Last edited by Dan Griffiths (Ghost1227) - Saturday, 27 February 2010, 23:11 GMT
Task Type Feature Request
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
When building a custom kernel using kernel26 PKGBUILD and a custom config without support for dvb, the build process shows an error (non fatal, the build goes on and everythig installs well) when trying to copy include/config/dvb/*.h which fails because include/config/dvb doesn't exist.
The offendind line in the PKGBUILD is this:
cp include/config/dvb/*.h ${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/
What we should do, I guess, is to see if the directory include/config/dvb exists, and if so, then copy the headers.

Steps to reproduce:
1.- Build kernel26 configuring the kernel without support for dvb.
2.- See error (non fatal) on the build process about cp not being able to stat files in include/config/dvb/*.h as include/config/dvb directory doesn't exist.
This task depends upon

Closed by  Dan Griffiths (Ghost1227)
Saturday, 27 February 2010, 23:11 GMT
Reason for closing:  No response
Comment by Gerardo Exequiel Pozzi (djgera) - Friday, 09 October 2009, 01:10 GMT
  • Field changed: Task Type (Bug Report → Feature Request)
  • Field changed: Summary (kernel26 PKGBUILD error (non fatal) when building without support for DVB → [kernel26] PKGBUILD error (non fatal) when building without support for DVB)
  • Field changed: Status (Unconfirmed → Assigned)
  • Task assigned to Tobias Powalowski (tpowa)
If you change the config, should change the pkgbuild. Anyway is a good idea to check this ;), not only for DVB also for others dirs. I guess that this is a feature request rather than bug report, because be default works without problem.
Comment by ajonat (ajonat) - Friday, 09 October 2009, 02:33 GMT
Yes, this should be a feature request, sorry.
Altough the build with the default config doesn't have any problems with the current pkgbuild, I believe a simple check to see if include/config/dvb exists before copying the headers would be a very good addition as it doesn't break anything and it allows users to customize their kernel using the default pkgbuild and just uncommenting the make config/menuconfig/xconfig line which I believe is a pretty cool.
Comment by Gerardo Exequiel Pozzi (djgera) - Sunday, 24 January 2010, 18:22 GMT
  • Field changed: Status (Assigned → Waiting on Response)
status of this with the recent split kernel26/kernel26-headers?

Loading...