Greetings, I think this package also needs to now depend on one of the header packages that provides /usr/include/linux/utsrelease.h. In my case the package that enabled the package to build was linux-headers-2.6.21-1-k7.
I have also attached another patch file. I discovered that several other files needed to be patched to refer to utsrelease.h instead of version.h in error messages etc... Regards, Jason
diff -ur am-utils-6.1.5/acinclude.m4 testing/am-utils-6.1.5/acinclude.m4 --- am-utils-6.1.5/acinclude.m4 2006-05-11 13:28:18.000000000 -0400 +++ testing/am-utils-6.1.5/acinclude.m4 2007-06-19 18:34:24.000000000 -0400 @@ -10158,6 +10158,7 @@ [ #include <stdio.h> #include <linux/version.h> +#include <linux/utsrelease.h> ], [ if (argc > 1) @@ -10165,7 +10166,7 @@ ], [ host_header_version=$value ], [ echo - AC_MSG_ERROR([cannot find UTS_RELEASE in <linux/version.h>. + AC_MSG_ERROR([cannot find UTS_RELEASE in <linux/utsrelease.h>. This Linux system may be misconfigured or unconfigured!]) ]) ;; Only in testing/am-utils-6.1.5/amd: Makefile Only in testing/am-utils-6.1.5/amd: ops_autofs.c Only in testing/am-utils-6.1.5/amq: Makefile Only in testing/am-utils-6.1.5: amu_autofs_prot.h Only in testing/am-utils-6.1.5: amu_nfs_prot.h Only in testing/am-utils-6.1.5: aux_conf.h Only in testing/am-utils-6.1.5: config.h Only in testing/am-utils-6.1.5: config.log Only in testing/am-utils-6.1.5: config.status diff -ur am-utils-6.1.5/configure testing/am-utils-6.1.5/configure --- am-utils-6.1.5/configure 2006-05-11 13:28:38.000000000 -0400 +++ testing/am-utils-6.1.5/configure 2007-06-19 18:35:10.000000000 -0400 @@ -20994,9 +20994,9 @@ then : echo - { { echo "$as_me:$LINENO: error: cannot find UTS_RELEASE in <linux/version.h>. + { { echo "$as_me:$LINENO: error: cannot find UTS_RELEASE in <linux/utsrelease.h>. This Linux system may be misconfigured or unconfigured!" >&5 -echo "$as_me: error: cannot find UTS_RELEASE in <linux/version.h>. +echo "$as_me: error: cannot find UTS_RELEASE in <linux/utsrelease.h>. This Linux system may be misconfigured or unconfigured!" >&2;} { (exit 1); exit 1; }; } diff -ur am-utils-6.1.5/m4/macros/linux_headers.m4 testing/am-utils-6.1.5/m4/macros/linux_headers.m4 --- am-utils-6.1.5/m4/macros/linux_headers.m4 2005-02-19 16:38:58.000000000 -0500 +++ testing/am-utils-6.1.5/m4/macros/linux_headers.m4 2007-06-19 18:35:43.000000000 -0400 @@ -18,7 +18,7 @@ ], [ host_header_version=$value ], [ echo - AC_MSG_ERROR([cannot find UTS_RELEASE in <linux/version.h>. + AC_MSG_ERROR([cannot find UTS_RELEASE in <linux/utsrelease.h>. This Linux system may be misconfigured or unconfigured!]) ]) ;; Only in testing/am-utils-6.1.5: Makefile Only in testing/am-utils-6.1.5/mk-amd-map: Makefile Only in testing/am-utils-6.1.5/scripts: Makefile Only in testing/am-utils-6.1.5: stamp-h1 Only in testing/am-utils-6.1.5/wire-test: Makefile