bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#26044: coreutils-8.27 fails to build


From: Paul Eggert
Subject: bug#26044: coreutils-8.27 fails to build
Date: Thu, 9 Mar 2017 23:33:06 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]