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!
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!
FS#23504 - [kernel26] - fails to build headers if user disables dv support/patch attached
Attached to Project:
Arch Linux
Opened by John (graysky) - Tuesday, 29 March 2011, 20:27 GMT
Last edited by Andrea Scarpino (BaSh) - Saturday, 18 June 2011, 15:24 GMT
Opened by John (graysky) - Tuesday, 29 March 2011, 20:27 GMT
Last edited by Andrea Scarpino (BaSh) - Saturday, 18 June 2011, 15:24 GMT
|
DetailsDescription: If users disable dvb support in the kernel, package_kernel26-headers fails with "cp: cannot stat `include/config/dvb/*.h': No such file or directory". The failing /bin/cp is in PKGBUILD where "cp include/config/dvb/*.h [...]" assumes that there indeed are such files to copy.
Here is a patch by JokerBoy that fixes it: -cp include/config/dvb/*.h ${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/ +[[ -e include/config/dvb/ ]] && cp include/config/dvb/*.h ${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/ |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Saturday, 18 June 2011, 15:24 GMT
Reason for closing: Won't fix
Additional comments about closing: fix the PKGBUILD for your needs
Saturday, 18 June 2011, 15:24 GMT
Reason for closing: Won't fix
Additional comments about closing: fix the PKGBUILD for your needs
Comment by Jan de Groot (JGC) -
Tuesday, 29 March 2011, 23:55 GMT
IMHO the kernel builds fine as it is configured, so I see no need to "fix" this. If you want to customize the config, you have to deal with these things yourself.
Comment by John (graysky) -
Wednesday, 30 March 2011, 20:57 GMT
@JGC - I see your point, but in the interest of flexibility with regard to users building via ABS, I think it would be a value-added addition to the PKGBUILD: making it more "idiot-proof" if you will. Afterall, there is a commented out line for an nconfig in the PKGBUILD now...