[OpenAFS-devel] Building for linux 4.10

Todd Lewis utoddl@email.unc.edu
Mon, 10 Apr 2017 12:21:16 -0400


And yet, I've been unable to build since the 4.10 kernel-headers package hit.

> Branch: master
> kernel-headers-4.10.8-200.fc25.x86_64
> running kernel: kernel-4.9.14-200.fc25.x86_64 or 4.10.8-200.fc25.x86_64
> "./regen.sh && ./configure && make" dies with:
> make[3]: Entering directory '/home/utoddl/src/openafs-git/openafs-new/src/libafsrpc'
> make[3]: *** No rule to make target 'libafsrpc.la.sym', needed by 'libafsrpc.la'.  Stop.
>
> Branch: master
> kernel-headers-4.10.8-200.fc25.x86_64
> running kernel: 4.10.8-200.fc25.x86_64
> openafs-buildfedora.pl w/ tweaked $specdir dies with:
> /home/utoddl/rpmbuild/BUILD/openafs-1.6.20.1/src/libafs/MODLOAD-4.10.8-200.fc25.x86_64-SP/osi_vnodeops.c: In function 'afs_linux_dentry_revalidate':
> /home/utoddl/rpmbuild/BUILD/openafs-1.6.20.1/src/libafs/MODLOAD-4.10.8-200.fc25.x86_64-SP/osi_vnodeops.c:1347:9: error: implicit declaration of function 'have_submounts' [-Werror=implicit-function-declaration]
>      if (have_submounts(dp))
>               ^~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
> scripts/Makefile.build:294: recipe for target '/home/utoddl/rpmbuild/BUILD/openafs-1.6.20.1/src/libafs/MODLOAD-4.10.8-200.fc25.x86_64-SP/osi_vnodeops.o' failed

Thanks for the time and suggestions folks. Much appreciated.

Note: Not to discount Jeffrey Altman's generous contributions vis a vis the
Auristor clients. If I had a more pressing need I'd take him up on the offer
(and may yet), but having banged my head for this long I'd like to see it
through. Besides, it's just more fun to run stuff you built.
--
Todd

On 04/10/2017 11:23 AM, Joe Gorse wrote:
> Stephan,
> 
> I believe you have got it. I see it in 1_6_x now and it is more of a
> development-related patch anyway.
> 
> Todd, you should be good to go on 1_6_x or master branch.
> 
> Cheers,
> Joe
> 
> On Mon, Apr 10, 2017 at 11:06 AM, Stephan Wiesand <stephan.wiesand@desy.de
> <mailto:stephan.wiesand@desy.de>> wrote:
> 
>     Joe,
> 
>     in
>     https://gerrit.openafs.org/#/q/status:merged+project:openafs+branch:master+topic:linux48
>     <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgerrit.openafs.org%2F%23%2Fq%2Fstatus%3Amerged%2Bproject%3Aopenafs%2Bbranch%3Amaster%2Btopic%3Alinux48&data=01%7C01%7Ctodd_lewis%40unc.edu%7Ce46d4e0cae954a8acae008d4802594e3%7C58b3d54f16c942d3af081fcabd095666%7C1&sdata=wTSmCK44o4fEqgV8xDtJRVyPJ%2BwnbGx0iGeDhGrYAAo%3D&reserved=0>
>     I only see a single change, and is on the 1.6 branch (commit 92b1ddf),
>     though not in a release yet. I doubt it's required to successfully build and
>     run on Linux 4.9.
> 
>     What am I missing?
> 
>     - Stephan

-- 
    +--------------------------------------------------------------+
   / Todd_Lewis@unc.edu  919-445-0091  http://www.unc.edu/~utoddl /
  /       "He is not only dull himself, he is the cause of       /
 /             dullness in others." - Samuel Johnson            /
+--------------------------------------------------------------+