Problem compiling coreutils on toolchain trunk and patch to fix it

View: New views
2 Messages — Rating Filter:   Alert me  

Problem compiling coreutils on toolchain trunk and patch to fix it

by Sergio M. Ammirata, Ph.D. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The coreutils on the latest snapshot (10.31.2009) of the toolchain does not
compile. You can put this patch in the packages/coreutils folder to fix it:

--- coreutils-7.4.orig/configure    2009-11-01 19:57:16.000000000 -0500
+++ coreutils-7.4/configure    2009-11-01 19:59:46.000000000 -0500
@@ -28703,7 +28703,7 @@
 $as_echo "#define RENAME_TRAILING_SLASH_BUG 1" >>confdefs.h
 
     fi
-    if test $gl_cv_func_rename_dest_exists_bug; then
+    if test $gl_cv_func_rename_dest_exists_bug = yes; then
 
 $as_echo "#define RENAME_DEST_EXISTS_BUG 1" >>confdefs.h
 

Regards,

Sergio
_______________________________________________
uClibc mailing list
uClibc@...
http://lists.busybox.net/mailman/listinfo/uclibc

Re: Problem compiling coreutils on toolchain trunk and patch to fix it

by Mike Frysinger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thursday 05 November 2009 15:36:18 Sergio M. Ammirata, Ph.D. wrote:
> The coreutils on the latest snapshot (10.31.2009) of the toolchain does not
> compile. You can put this patch in the packages/coreutils folder to fix it:

this isnt a coreutils list, nor is it a general package building list.  not
sure if you meant to send this to uClibc or some other list.  ignoring that,
you shouldnt be patching random configure scripts like this.  *_cv_* vars
exist for a reason -- set them in your env and/or site and/or cache.
-mike


_______________________________________________
uClibc mailing list
uClibc@...
http://lists.busybox.net/mailman/listinfo/uclibc

signature.asc (853 bytes) Download Attachment