[OpenAFS] Build failure: cannot create regular file
'.../openafs-1.8.6/lib/libkopenafs.a': File exists
Benjamin Kaduk
kaduk@mit.edu
Tue, 25 Aug 2020 17:35:28 -0700
On Wed, Aug 26, 2020 at 10:21:25AM +1000, Ian Wienand wrote:
> Hello,
>
> In trying to build 1.8.6 I've hit what seems to be the race condition
> mentioned in
>
> https://gerrit.openafs.org/#/c/14017/
>
> ---
> /bin/sh ../../libtool --quiet --mode=install /usr/bin/install -c -m 644 libkopenafs.la /home/zuul/rpmbuild/BUILD/openafs-1.8.6/lib/libkopenafs.la
> /usr/bin/install -c -m 644 libaudit.a /home/zuul/rpmbuild/BUILD/openafs-1.8.6/lib/libaudit.a
> /usr/bin/install -c -m 644 libkopenafs.a /home/zuul/rpmbuild/BUILD/openafs-1.8.6/lib/libkopenafs.a
> /usr/bin/install: cannot create regular file '/home/zuul/rpmbuild/BUILD/openafs-1.8.6/lib/libkopenafs.a': File exists
> make[3]: *** [/home/zuul/rpmbuild/BUILD/openafs-1.8.6/lib/libkopenafs.a] Error 1
> make[3]: *** Waiting for unfinished jobs....
> /usr/bin/install -c -m 644 .libs/libafsrpc_pic.a /home/zuul/rpmbuild/BUILD/openafs-1.8.6/lib/libafsrpc_pic.a
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> rm -f /home/zuul/rpmbuild/BUILD/openafs-1.8.6/lib/libkopenafs.la
> make[3]: Leaving directory `/home/zuul/rpmbuild/BUILD/openafs-1.8.6/src/kopenafs'
> make[2]: *** [kopenafs] Error 2
> make[2]: *** Waiting for unfinished jobs....
> ---
>
> Since this change looks like it's in 1.8.6, perhaps something else is
> going on too?
I'm not seeing that change in 1.8.6 (or openafs-stable-1_8_x at all); could
you say a bit more about where you see it?
Thanks,
Ben