From owner-freebsd-afs@FreeBSD.ORG Tue May 18 16:10:15 2010 Return-Path: Delivered-To: freebsd-afs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27D9C106566B for ; Tue, 18 May 2010 16:10:15 +0000 (UTC) (envelope-from kaduk@mit.edu) Received: from dmz-mailsec-scanner-7.mit.edu (DMZ-MAILSEC-SCANNER-7.MIT.EDU [18.7.68.36]) by mx1.freebsd.org (Postfix) with ESMTP id D20B38FC17 for ; Tue, 18 May 2010 16:10:14 +0000 (UTC) X-AuditID: 12074424-b7b9dae000002832-fe-4bf2bbe5ca64 Received: from mailhub-auth-1.mit.edu (MAILHUB-AUTH-1.MIT.EDU [18.9.21.35]) by dmz-mailsec-scanner-7.mit.edu (Symantec Brightmail Gateway) with SMTP id 36.48.10290.5EBB2FB4; Tue, 18 May 2010 12:10:14 -0400 (EDT) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id o4IGADgV028312; Tue, 18 May 2010 12:10:13 -0400 Received: from multics.mit.edu (MULTICS.MIT.EDU [18.187.1.73]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id o4IGABwQ017491 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 18 May 2010 12:10:12 -0400 (EDT) Received: (from kaduk@localhost) by multics.mit.edu (8.12.9.20060308) id o4IGABOj024320; Tue, 18 May 2010 12:10:11 -0400 (EDT) Date: Tue, 18 May 2010 12:10:10 -0400 (EDT) From: Benjamin Kaduk To: Jan Henrik Sylvester In-Reply-To: <4BF2B962.50408@janh.de> Message-ID: References: <558186334.2619.1271175586732.JavaMail.root@thunderbeast.private.linuxbox.com> <4BC4A5F1.6050406@janh.de> <4BC5EEB5.5050109@janh.de> <4BE01AF0.3080309@janh.de> <4BF2B962.50408@janh.de> User-Agent: Alpine 1.10 (GSO 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Brightmail-Tracker: AAAAARQqCq8= Cc: afs-list freebsd Subject: Re: AFS on FreeBSD 8? X-BeenThere: freebsd-afs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: The Andrew File System and FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2010 16:10:15 -0000 On Tue, 18 May 2010, Jan Henrik Sylvester wrote: > On 05/04/10 18:45, Benjamin Kaduk wrote: >> On Tue, 4 May 2010, Jan Henrik Sylvester wrote: >> > I have upgraded almost all of my machines from i386 to amd64 and would like > to repeat the OpenAFS testing -- even though you suspect it is SMP, which > applies to all machines available to me. I expect that you will find AFS more usable if you set kern.smp.disabled=1 in /boot/loader.conf, which will make your machine effectively single-processor. > > The port (that uses the master branch) currently only builds until: [...] > -fno-common -ffreestanding -I/usr/obj/usr/src/sys/GENERIC -include > opt_global.h -fno-strict-aliasing -fPIC -O2 -o afs_atomlist.o -c > /usr/ports/net/openafs-devel/work/openafs/src/util/afs_atomlist.c > :14600381:116: error: opt_global.h: No such file or directory > *** Error code 1 > Stop in /usr/ports/net/openafs-devel/work/openafs/src/libafs/MODLOAD. > opt_global.h should be coming from your kernel's build tree ... > Do you have a git tag (or whatever, I do not really know git) that is known > to compile? > I compiled recently with head at commit af6b80f257 > How could I make the port use anything else but master? (Probably "make > extract ; cd work/openafs/ ; SOME GIT COMMAND ; cd ../../ ; make" or > something similar.) I would change the makefile to have the do-patch: target actually do something, i.e.: -------------- do-patch: cd ${WRKDIR} && git checkout af6b80f257 -------------- Note that that must be a tab character, as per all Makefiles. I don't think any of the changes between af6b80f and the current master could cause your build failure, though. -Ben