[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: YYSTYPE_IS_TRIVIAL
From: |
Akim Demaille |
Subject: |
Re: YYSTYPE_IS_TRIVIAL |
Date: |
24 Apr 2002 11:43:11 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) |
| I currently get the following in my attempt to bootstrap:
|
| 433-sic $ ./bootstrap
| Bootstrapping CVS Bison...
| autoreconf: working in `.'
| autoreconf: running: aclocal -I m4 --output=aclocal.m4t
| autoreconf: `aclocal.m4' is created
| autoreconf: running: gettextize --copy --force
| Wiping out intl/ subdirectory
I really have absolutely no idea of what may cause this. I cannot
reproduce it.
I have changed the logic of bootstrap (which is necessarily a bit
weird, since we do expect a failure of autoreconf due to gettextize).
I think it is more robust now:
#! /bin/sh
echo "Bootstrapping CVS Bison..."
# This will run gettextize which will patch some files, and cause
# autoconf to choke (because for instance intl/Makefile is registered
# several times).
autoreconf --verbose --install --force
# gettextize modified these files: restore them.
for f in m4/Makefile.am Makefile.am configure.in
do
if test -f "$f~"; then
mv -f "$f~" "$f"
touch "$f"
fi
done
rm -f po/Makevars.template
# Since some files were restored, some files must probably be remade.
# But automake could not install all of its files, so pass --install
# for it.
autoreconf --verbose --install
The patch:
Index: bootstrap
===================================================================
RCS file: /cvsroot/bison/bison/bootstrap,v
retrieving revision 1.2
diff -u -u -r1.2 bootstrap
--- bootstrap 23 Apr 2002 08:33:24 -0000 1.2
+++ bootstrap 24 Apr 2002 09:42:34 -0000
@@ -2,13 +2,22 @@
echo "Bootstrapping CVS Bison..."
-autoreconf --force --install --verbose
+# This will run gettextize which will patch some files, and cause
+# autoconf to choke (because for instance intl/Makefile is registered
+# several times).
+autoreconf --verbose --install --force
-# Because of Gettext
-mv -f m4/Makefile.am~ m4/Makefile.am
-mv -f Makefile.am~ Makefile.am
-mv -f configure.in~ configure.in
-touch m4/Makefile.am Makefile.am configure.in
+# gettextize modified these files: restore them.
+for f in m4/Makefile.am Makefile.am configure.in
+do
+ if test -f "$f~"; then
+ mv -f "$f~" "$f"
+ touch "$f"
+ fi
+done
rm -f po/Makevars.template
-autoreconf --verbose
+# Since some files were restored, some files must probably be remade.
+# But automake could not install all of its files, so pass --install
+# for it.
+autoreconf --verbose --install
--
Ashamed.
- YYSTYPE_IS_TRIVIAL, Akim Demaille, 2002/04/22
- Re: YYSTYPE_IS_TRIVIAL, Paul Eggert, 2002/04/22
- Re: YYSTYPE_IS_TRIVIAL, Akim Demaille, 2002/04/23
- Re: YYSTYPE_IS_TRIVIAL, Paul Eggert, 2002/04/24
- FYI: autoreconf (Was: YYSTYPE_IS_TRIVIAL), Akim Demaille, 2002/04/24
- Re: YYSTYPE_IS_TRIVIAL,
Akim Demaille <=
- Re: YYSTYPE_IS_TRIVIAL, Paul Eggert, 2002/04/24
- Re: YYSTYPE_IS_TRIVIAL, Akim Demaille, 2002/04/24
- Re: YYSTYPE_IS_TRIVIAL, Paul Eggert, 2002/04/24
- Re: YYSTYPE_IS_TRIVIAL, Akim Demaille, 2002/04/25
- Re: YYSTYPE_IS_TRIVIAL, Akim Demaille, 2002/04/24
- Re: YYSTYPE_IS_TRIVIAL, Paul Eggert, 2002/04/24
- Re: YYSTYPE_IS_TRIVIAL, Akim Demaille, 2002/04/25
- Re: YYSTYPE_IS_TRIVIAL, Paul Eggert, 2002/04/26
Message not available