[OpenAFS-devel] Openafs 1.6.10 does not build on Fedora 21

Dave Botsch botsch@cnf.cornell.edu
Mon, 19 Jan 2015 15:22:16 -0500


So, got past the kernel problem.

Of course, I'm trying to generate RPMs from the git instead of just
doing a "make dest" / etc.

Got as far as:

make[3]: Leaving directory
'/home/dbotsch/rpmbuild/BUILD/openafs-1.6.11/src/shlibafsauthent'
if test -d "doc/man-pages" ; then \
        cd doc/man-pages && make dest ; \
fi
make[3]: Entering directory
'/home/dbotsch/rpmbuild/BUILD/openafs-1.6.11/doc/man-pages'
chmod +x install-man
mkdir -p
/home/dbotsch/rpmbuild/BUILD/openafs-1.6.11/amd64_linux26/dest/man/man1
/home/dbotsch/rpmbuild/BUILD/openafs-1.6.11/amd64_linux26/dest/man/man5
/home/dbotsch/rpmbuild/BUILD/openafs-1.6.11/amd64_linux26/dest/man/man8
set -e; for M in man1/*.1 man5/*.5 man8/*.8 ; do \
    ./install-man $M
/home/dbotsch/rpmbuild/BUILD/openafs-1.6.11/amd64_linux26/dest/man/$M ;
\
done
./install-man: line 43: man1/*.1.tmp: No such file or directory
Makefile:21: recipe for target 'dest' failed
make[3]: *** [dest] Error 1
make[3]: Leaving directory
'/home/dbotsch/rpmbuild/BUILD/openafs-1.6.11/doc/man-pages'
Makefile:420: recipe for target 'man-pages' failed
make[2]: *** [man-pages] Error 2
make[2]: Leaving directory '/home/dbotsch/rpmbuild/BUILD/openafs-1.6.11'
Makefile:692: recipe for target 'build' failed
make[1]: *** [build] Error 2
make[1]: Leaving directory '/home/dbotsch/rpmbuild/BUILD/openafs-1.6.11'
Makefile:86: recipe for target 'dest_nolibafs' failed
make: *** [dest_nolibafs] Error 2
+ exit 1
error: Bad exit status from /var/tmp/rpm-tmp.zMYWMX (%build)


Any thoughts as to what I did wrong? For the purposes of this, I put
"1.6.11" in .version, and created my two tar.bz2 files with:

tar cjvf openafs-doc.tar.bz2 openafs-1.6.11/doc
tar cjvf openafs-src.tar.bz2 openafs-1.6.11 --exclude=openafs-1.6.11/doc
--exclude=openafs-1.6.11/.git

after, of course, renaming the directory appropriately and first running
the autoconf in there.

Thanks.


On Mon, Jan 19, 2015 at 10:49:52AM -0500, Todd Lewis wrote:
> Built cleanly from a fresh git clone on Fedora's
> 3.17.8-200.fc20.i686. Thanks.
> 
> However, it also built a new "afspag.ko" kernel module which I've
> not seen before. There's no mention of it in the accompanying afs.rc
> file. Is this required, or just nice to have?
> --
> Todd
> 
> 
> 
> On 01/19/2015 01:49 AM, Dave Botsch wrote:
> >Ok. I'll give one of those branches a try, then.
> >
> >On Mon, Jan 19, 2015 at 12:36:01AM -0500, Jeffrey Altman wrote:
> >>On 1/19/2015 12:28 AM, Dave Botsch wrote:
> >>>perhaps this is known and I should be trying a pre of 1.6.11 instead?
> >>OpenAFS 1.6.10 supports Linux kernels up to 3.16.   You are trying to
> >>build on Linux kernel 3.17 which is not supported.
> >>
> >>Support for Linux kernels up to 3.19 RCs have been committed to the
> >>master branch.
> >>
> >>I believe that the openafs-stable-1_6_x branch has support through Linux
> >>3.18.
> >>
> >>Jeffrey Altman
> >>
> >>
> >
> >
> 
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel

-- 
********************************
David William Botsch
Programmer/Analyst
@CNFComputing
botsch@cnf.cornell.edu
********************************