Subject: bug#11671: Bootstrap randomly fails on Hydra

From: [email-masked] (Ludovic Courtès)
Date: Tue, 12 Jun 2012 22:14:43 +0200

Hi Paul,

Paul Eggert <[email-masked]> skribis:

> On 06/11/2012 05:21 AM, Ludovic Courtès wrote:
>> /nix/store/0h02f2l6qbah1wil9bpan9c2flv99xv9-git-export/gnulib-tool: line 4700: ./build-aux/announce-gen.tmp: Permission denied
>
> That's the first diagnostic so that's what I'd worry about.
> The pattern in gnulib-tool here is:
>
>   cp "$lookedup_file" ./build-aux/announce-gen.tmp
>   sed -e "..." < "$lookedup_file" > ./build-aux/announce-gen.tmp
>
> and the latter command prompts the shell to say
> "Permission denied".  One reason this might occur
> is that the gnulib source code is read-only, i.e.,
> the permissions on ...gnulib/build-aux/announce-gen
> (the "$lookedup_file") are r-xr-xr-x.  Is this possible
> in your environment?

Yes, according to <http://hydra.nixos.org/build/2693322/contents/1> (the
build tree of a failed build), ‘$top_srcdir/gnulib/build-aux’ was indeed
r-xr-xr-x.

I’m not sure why that would be the case, nor why it would not
/systematically/ be a problem.

(Details on the bootstrap phase available at
<http://git.savannah.gnu.org/cgit/hydra-recipes.git/tree/coreutils/release.nix#n65>.)

Thanks,
Ludo’.