<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18702"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=343545204-28052009><FONT color=#0000ff
size=2 face=Arial>Hi Ian,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=343545204-28052009><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=343545204-28052009><FONT color=#0000ff
size=2 face=Arial>Did you get that question resolved? I'm hitting the same
failure with a tree sync'ed circa April 28th. Presumably only happens with
BR2_STRIP_none=y (but that *is* what I want, for debugging, and I do want
diffutils).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=343545204-28052009><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=343545204-28052009><FONT color=#0000ff
size=2 face=Arial>So I looked at it a bit, and came up with this tentative
fix. Works on an incremental build (have yet to try a full clean build,
takes a while).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=343545204-28052009><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=343545204-28052009><FONT color=#0000ff
size=2 face=Arial>-Marc</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=343545204-28052009><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=343545204-28052009><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=343545204-28052009><FONT color=#0000ff
size=2
face=Arial>---------------------------------------------</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=343545204-28052009><FONT color=#0000ff
size=2 face=Arial>Fix diffutils build breakage with
BR2_STRIP_none=y</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=343545204-28052009><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=343545204-28052009><FONT color=#0000ff
size=2 face=Arial>Look at BR2_STRIP_none to decide whether to strip diffutils
binaries.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=343545204-28052009><FONT color=#0000ff
size=2 face=Arial>This avoids bad quoting in diffutils Makefile.in (generated by
automake 1.6)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=343545204-28052009><FONT color=#0000ff
size=2 face=Arial>when STRIP is set to: true
-Not_stripping</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=343545204-28052009><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=343545204-28052009><FONT color=#0000ff
size=2 face=Arial>Signed-off-by: Marc Gauthier
<marc@alumni.uwaterloo.ca></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=343545204-28052009><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=343545204-28052009><FONT color=#0000ff
size=2 face=Arial>diff --git a/package/diffutils/diffutils.mk
b/package/diffutils/diffutils.mk<BR>index 1911f91..b4b4135 100644<BR>---
a/package/diffutils/diffutils.mk<BR>+++ b/package/diffutils/diffutils.mk<BR>@@
-94,7 +94,11 @@ $(DIFFUTILS_DIR)/$(DIFFUTILS_BINARY):
$(DIFFUTILS_DIR)/.configured<BR>
$(MAKE) CC=$(TARGET_CC) -C $(DIFFUTILS_DIR)</FONT></SPAN></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV dir=ltr align=left><SPAN class=343545204-28052009><FONT color=#0000ff
size=2 face=Arial> $(TARGET_DIR)/$(DIFFUTILS_TARGET_BINARY):
$(DIFFUTILS_DIR)/$(DIFFUTILS_BINARY)<BR>+ifneq
($(BR2_STRIP_none),y)<BR> $(MAKE)
DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(DIFFUTILS_DIR)
install-strip<BR>+else<BR>+ $(MAKE)
DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(DIFFUTILS_DIR)
install<BR>+endif<BR> ifneq
($(BR2_HAVE_INFOPAGES),y)<BR> rm -rf
$(TARGET_DIR)/usr/share/info<BR> endif<BR></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=343545204-28052009><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=343545204-28052009><FONT color=#0000ff
size=2 face=Arial> </DIV></FONT></SPAN>
<DIV dir=ltr align=left><SPAN class=343545204-28052009><FONT color=#0000ff
size=2 face=Arial> </FONT></SPAN></DIV><BR>
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> buildroot-bounces@uclibc.org
[mailto:buildroot-bounces@uclibc.org] <B>On Behalf Of </B>Ian
Preston<BR><B>Sent:</B> Friday, November 07, 2008 04:27<BR><B>To:</B>
buildroot@uclibc.org<BR><B>Subject:</B> [Buildroot] diffutils fails to
build<BR></FONT><BR></DIV>
<DIV></DIV>Hi everyone,<BR><BR>I'm trying to use buildroot to build a minimal,
non graphical linux which has gcc and gfortran. I got a good way through the
build process, and then it crashes during the build of
diffutils:<BR><BR>make[1]: Entering directory
`/home/ian/jpc/buildroot/build_i386/diffutils-2.8.1'<BR>/usr/bin/make
INSTALL_PROGRAM="/bin/bash
/home/ian/jpc/buildroot/build_i386/diffutils-2.8.1/config/install-sh -c -s"
\<BR> INSTALL_STRIP_FLAG=-s \<BR>
`test -z 'true -Not_stripping' || \<BR>
echo "INSTALL_PROGRAM_ENV=STRIPPROG='true -Not_stripping'"`
install<BR>/usr/bin/make: invalid option -- N<BR><BR>I've attached my config
file. <BR clear=all>If anyone has any ideas about how to fix this, or to
remove diffutils from the process, then I will be very very grateful. Thanks
guys!<BR><BR>Ian<BR><BR>-- <BR>Senior Software Engineer<BR>IGD group<BR>Oxford
University<BR><A
href="http://www-jpc.physics.ox.ac.uk/">http://www-jpc.physics.ox.ac.uk/</A><BR><A
href="http://www-nereus.physics.ox.ac.uk/">http://www-nereus.physics.ox.ac.uk/</A><BR></BLOCKQUOTE></BODY></HTML>