Package: nfs-utils
Severity: normal
Tags: patch

When building 'nfs-utils' on ppc64 with gcc-4.0,
I get the following error:

UNAME_MACHINE = ppc64
UNAME_RELEASE = 2.6.10-1-ppc64
UNAME_SYSTEM  = Linux
UNAME_VERSION = #1 SMP Sat Feb 12 12:25:34 CET 2005
configure: error: can not guess host type; you must specify one
make: *** [build-stamp] Error 1

Please update the config.guess and config.sub scripts to support the
ppc64 architecture.

Regards
Andreas Jochens

diff -urN ../tmp-orig/nfs-utils-1.0.7/debian/control ./debian/control
--- ../tmp-orig/nfs-utils-1.0.7/debian/control  2004-10-19 02:32:26.000000000 
+0200
+++ ./debian/control    2005-03-20 14:02:26.000000000 +0100
@@ -2,7 +2,7 @@
 Priority: standard
 Section: net
 Maintainer: Chip Salzenberg <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4.1.16), libwrap0-dev, libevent-dev, 
libnfsidmap-dev, libkrb5-dev
+Build-Depends: debhelper (>= 4.1.16), autotools-dev, libwrap0-dev, 
libevent-dev, libnfsidmap-dev, libkrb5-dev
 Standards-Version: 3.1.1.1
 
 Package: nfs-kernel-server
diff -urN ../tmp-orig/nfs-utils-1.0.7/debian/rules ./debian/rules
--- ../tmp-orig/nfs-utils-1.0.7/debian/rules    2004-09-15 03:58:38.000000000 
+0200
+++ ./debian/rules      2005-03-20 14:02:16.000000000 +0100
@@ -22,6 +22,7 @@
 
        dh_testdir
        # Add here commands to compile the package.
+       cp /usr/share/misc/config.{guess,sub} .
        $(SETGCC) ./configure \
                --mandir='$${prefix}/share/man' \
                --enable-secure-statd
diff -urN ../tmp-orig/nfs-utils-1.0.7/support/rpc/svc_auth_gss.c 
./support/rpc/svc_auth_gss.c
--- ../tmp-orig/nfs-utils-1.0.7/support/rpc/svc_auth_gss.c      2004-10-19 
02:23:05.000000000 +0200
+++ ./support/rpc/svc_auth_gss.c        2005-03-20 14:31:21.088096708 +0100
@@ -382,7 +382,7 @@
                        return (AUTH_FAILED);
                }
                auth->svc_ah_ops = &svc_auth_gss_ops;
-               SVCAUTH_PRIVATE(auth) = gd;
+               auth->svc_ah_private = gd;
                rqst->rq_xprt->xp_auth = auth;
        }
        else gd = SVCAUTH_PRIVATE(rqst->rq_xprt->xp_auth);


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to