[OpenAFS-devel] OpenAFS on Yellow Dog 5.0.2
Derrick J Brashear
shadow@dementia.org
Mon, 15 Oct 2007 16:45:20 -0400 (EDT)
On Thu, 11 Oct 2007, Atro Tossavainen wrote:
> Hello all,
>
> I'm unable to compile OpenAFS on YDL 5. (It's based on kernel 2.6.22
> and other fairly recent things.)
>
> If I try to rpmbuild --rebuild the FC7 src.rpm, I get
>
> error: parse error in expression
> error: /usr/src/yellowdog/SPECS/openafs.spec:199: parseExpressionBoolean returns -1
> error: Package has no %description: openafs
Good to know no 2 distributions can ship something without at least one
"improving" it.
> /usr/src/openafs-1.4.3/src/libafs/MODLOAD-2.6.22-0.ydl.rc4-MP/osi_vnodeops.c:638: warning: initialization from incompatible pointer type
> make[6]: *** [/usr/src/openafs-1.4.3/src/libafs/MODLOAD-2.6.22-0.ydl.rc4-MP/osi_vnodeops.o] Error 1
make sure the spec file regenerates configure after applying the patches.
> Is there a release of OpenAFS that is supposed to work out of the
> box on kernels this recent? I tried building 1.5.25 too, but it
choosing the largest version number available is seldom what you actually
want.
i expect there will be an srpm for 1.4.5pre2, if someone can give a hint
as to what we might need to fix in src/packaging/RedHat/openafs.spec.in in
1.4.5pre1 I will see if we can accomodate Yellow Dog