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#5817 - nfs-utils does not build due to missing UTS_RELEASE
Attached to Project:
Arch Linux
Opened by Karolina Lindqvist (karolinali) - Saturday, 11 November 2006, 07:55 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 11 November 2006, 08:33 GMT
Opened by Karolina Lindqvist (karolinali) - Saturday, 11 November 2006, 07:55 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 11 November 2006, 08:33 GMT
|
Detailsnfs-utils does not build with kernel-headers 2.6.18
The reason is that the symbol UTS_RELEASE is not defined in the include files in kernel-headers. One stop-gap way to solve the problem is to comment out the building of the getkversion in the Makefile. Like in the following patch: This patch avoids rebuilding of Makefile.in from Makefile.am diff -ur tmp/nfs-utils-1.0.10/tools/Makefile.am src/nfs-utils-1.0.10/tools/Makefile.am --- tmp/nfs-utils-1.0.10/tools/Makefile.am 2006-08-07 06:40:50.000000000 +0000 +++ nfs-utils-1.0.10/tools/Makefile.am 2006-11-11 07:45:43.000000000 +0000 @@ -1,5 +1,5 @@ ## Process this file with automake to produce Makefile.in -SUBDIRS = getiversion getkversion locktest rpcdebug rpcgen nlmtest +SUBDIRS = getiversion locktest rpcdebug rpcgen nlmtest MAINTAINERCLEANFILES = Makefile.in diff -ur tmp/nfs-utils-1.0.10/tools/Makefile.in src/nfs-utils-1.0.10/tools/Makefile.in --- tmp/nfs-utils-1.0.10/tools/Makefile.in 2006-08-07 06:43:43.000000000 +0000 +++ nfs-utils-1.0.10/tools/Makefile.in 2006-11-11 07:45:51.000000000 +0000 @@ -207,7 +207,7 @@ statedir = @statedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ -SUBDIRS = getiversion getkversion locktest rpcdebug rpcgen nlmtest +SUBDIRS = getiversion locktest rpcdebug rpcgen nlmtest MAINTAINERCLEANFILES = Makefile.in all: all-recursive |
This task depends upon
#include <linux/utsrelease.h>
adding this helps to build such stuff
Instead
/usr/src/linux-2.6.18-ARCH/include/linux/utsrelease.h is owned by kernel26 2.6.18.2-1