[Bug admin/960] New: recent change makes bootstrap / 'make install' fail

2005-05-21 Thread schwinge-bugzilla-sources dot redhat dot com at nic-nac-project dot de
The following recent change
#v+
2005-05-09  Daniel Jacobowitz  <[EMAIL PROTECTED]>

* Makefile.am: Use a temporary file to build chew.
* Makefile.in: Regenerated.
#v-

#v+
--- src/bfd/doc/Makefile.am 2005/04/29 14:02:15 1.14.2.1
+++ src/bfd/doc/Makefile.am 2005/05/09 21:14:24 1.14.2.2
@@ -54,8 +54,11 @@
 
 MKDOC = chew$(EXEEXT_FOR_BUILD)
 
-$(MKDOC): chew.o
-   $(CC_FOR_BUILD) -o $(MKDOC) chew.o $(CFLAGS_FOR_BUILD) 
$(LDFLAGS_FOR_BUILD)
+$(MKDOC): $(srcdir)/chew.c
+   $(CC_FOR_BUILD) -o chew. $(srcdir)/chew.c \
+ $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) $(H_CFLAGS) \
+ $(INCLUDES); \
+   $(SHELL) $(srcdir)/../../move-if-change chew. $(MKDOC)
 
 chew.o: chew.c
$(CC_FOR_BUILD) -c -I.. -I$(srcdir)/.. -I$(srcdir)/../../include
-I$(srcdir)/../../intl -I../../intl $(H_CFLAGS) $(CFLAGS_FOR_BUILD) 
$(srcdir)/chew.c
#v-

... made the bootstrap of a GNU/Hurd system fail:

#v+
$ make
[...]
$ make install
[...]
make chew
make[1]: Entering directory `/fs/data/mount/tmp/gnu/src/binutils.obj/bfd/doc'
gcc -o chew.$$ /var/tmp/gnu/src/binutils/bfd/doc/chew.c \
 \
  ; \
/bin/sh /var/tmp/gnu/src/binutils/bfd/doc/../../move-if-change chew.$$ chew
/var/tmp/gnu/src/binutils/bfd/doc/chew.c:85:22: ansidecl.h: No such file or
directory
/var/tmp/gnu/src/binutils/bfd/doc/chew.c:86:20: sysdep.h: No such file or 
directory
/var/tmp/gnu/src/binutils/bfd/doc/chew.c: In function `catchar':
/var/tmp/gnu/src/binutils/bfd/doc/chew.c:199: warning: assignment makes pointer
from integer without a cast
/var/tmp/gnu/src/binutils/bfd/doc/chew.c: In function `catbuf':
/var/tmp/gnu/src/binutils/bfd/doc/chew.c:226: warning: assignment makes pointer
from integer without a cast
mv: cannot stat `chew.3254': No such file or directory
make[1]: *** [chew] Error 1
make[1]: Leaving directory `/fs/data/mount/tmp/gnu/src/binutils.obj/bfd/doc'
make: *** [aoutx.texi] Error 2
#v-

Reverting the above change, 'make install' completed successfully.

This needs to be fixed on both 2.16-branch and HEAD AFAICS.

-- 
   Summary: recent change makes bootstrap / 'make install' fail
   Product: binutils
   Version: 2.16
Status: NEW
  Severity: normal
  Priority: P2
 Component: admin
AssignedTo: drow at sources dot redhat dot com
ReportedBy: schwinge-bugzilla-sources dot redhat dot com at nic-nac-
project dot de
CC: bug-binutils at gnu dot org


http://sources.redhat.com/bugzilla/show_bug.cgi?id=960

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug admin/960] recent change makes bootstrap / 'make install' fail

2005-05-21 Thread ams at gnu dot org


-- 
   What|Removed |Added

 CC||ams at gnu dot org


http://sources.redhat.com/bugzilla/show_bug.cgi?id=960

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug admin/960] recent change makes bootstrap / 'make install' fail

2005-05-21 Thread drow at sources dot redhat dot com

--- Additional Comments From drow at sources dot redhat dot com  2005-05-21 
23:25 ---
Subject: Re:  New: recent change makes bootstrap / 'make install' fail

On Sat, May 21, 2005 at 03:44:57PM -, schwinge-bugzilla-sources dot redhat 
dot com at nic-nac-project dot de wrote:
> The following recent change
> #v+
> 2005-05-09  Daniel Jacobowitz  <[EMAIL PROTECTED]>
> 
>   * Makefile.am: Use a temporary file to build chew.
>   * Makefile.in: Regenerated.
> #v-

Was this on a 2.16 or HEAD tree?  It looks like I broke the patch when
I moved it to 2.16, so only the branch is affected.




-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=960

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils