GNU bug report logs - #26044
coreutils-8.27 fails to build

Previous Next

Package: coreutils;

Reported by: J Rogowsky <geometriker <at> gmail.com>

Date: Fri, 10 Mar 2017 06:45:01 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Pádraig Brady <P <at> draigBrady.com>, J Rogowsky <geometriker <at> gmail.com>, 26044 <at> debbugs.gnu.org
Subject: bug#26044: coreutils-8.27 fails to build
Date: Thu, 9 Mar 2017 23:33:06 -0800
Pádraig Brady wrote:

> Drats. It looks like the coreutils source repo will need something like:
>
> diff --git a/bootstrap.conf b/bootstrap.conf
> index 7def1f9..30ce621 100644
> --- a/bootstrap.conf
> +++ b/bootstrap.conf
> @@ -202,6 +202,7 @@ gnulib_modules="
>    regex
>    remove
>    rename
> +  renameat
>    rmdir
>    root-dev-ino
>    rpmatch

Yes, that looks like the right fix. Sorry about that.


>> diff src/force-link.c src/force-link.c.OEM
>> 86,93d85
>> < /* see: https://www.freebsd.org/cgi/man.cgi?query=rename&sektion=2  */
>> < static int
>> < renameat(int fromfd,const char *from,int tofd,const char *to)
>> < {
>> < 	return rename(from,to);
>> < }
>
> I've not analysed whether that will work (in all cases).

It should be an adequate workaround for coreutils. I'd rather fix it the right 
way, though, as the module is intended for more-general use.




This bug report was last modified 8 years and 73 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.