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#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
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To Jan de Groot (JGC)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

nfs-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

Closed by  Jan de Groot (JGC)
Sunday, 31 December 2006, 14:05 GMT
Reason for closing:  Fixed
Comment by Tobias Powalowski (tpowa) - Saturday, 11 November 2006, 08:05 GMT
the uts release has benn moved to an other file
#include <linux/utsrelease.h>
adding this helps to build such stuff
Comment by Karolina Lindqvist (karolinali) - Saturday, 11 November 2006, 08:23 GMT
The file utsrelease.h is not included in the kernel-headers package and is not available in the /usr/include tree.
Instead
/usr/src/linux-2.6.18-ARCH/include/linux/utsrelease.h is owned by kernel26 2.6.18.2-1


Loading...