AFS on FreeBSD 8?
Benjamin Kaduk
kaduk at MIT.EDU
Tue May 18 16:10:15 UTC 2010
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
> <command-line>: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
More information about the freebsd-afs
mailing list