* Bootstrapping Emacs trunk repeats configure
@ 2014-04-17 0:04 Angelo Graziosi
2014-04-17 5:26 ` Eli Zaretskii
2014-04-17 6:44 ` Paul Eggert
0 siblings, 2 replies; 4+ messages in thread
From: Angelo Graziosi @ 2014-04-17 0:04 UTC (permalink / raw)
To: Emacs developers
I notice that bootstrapping recent trunk sources repeats the 'configure'
while bootstrapping.
For example, with trunk (from git) with timestamps 2014-04-16
19:43:46-GMT (commit 888f4399e73a231746c9e5bbe9330c898ed94f5e):
$ ./autogen.sh
Checking whether you have the necessary tools...
(Read INSTALL.REPO for more details on building Emacs)
Checking for autoconf (need at least version 2.65)...
ok
Checking for automake (need at least version 1.11)...
ok
Your system has the required tools, running autoreconf...
configure.ac:677: installing 'build-aux/compile'
configure.ac:455: installing 'build-aux/config.guess'
configure.ac:455: installing 'build-aux/config.sub'
configure.ac:103: installing 'build-aux/install-sh'
configure.ac:103: installing 'build-aux/missing'
lib/Makefile.am: installing 'build-aux/depcomp'
You can now run `./configure'.
$ ./configure
checking for xcrun... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
checking whether we are using GNU Make... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
[...]
Configured for `x86_64-unknown-cygwin'.
Where should the build process find the source code? .
What compiler should emacs be built with? gcc
-std=gnu99 -g3 -O2
Should Emacs use the GNU version of malloc? yes
[...]
config.status: creating admin/grammars/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing src/epaths.h commands
config.status: executing src/.gdbinit commands
$ make bootstrap
[ -r "src/config.in" ] || ( cd . && autoheader )
cd src && make bootstrap-clean
make[1]: Entering directory '/opt/work/emacs-trunk/src'
rm -f temacs.exe core *.core \#* *.o libXMenu11.a liblw.a
rm -f ../etc/DOC
rm -f bootstrap-emacs.exe emacs-24.4.50.exe
rm -f buildobj.h
rm -f globals.h gl-stamp
rm -f *.res *.tmp
rm -f emacs-*.*.*.exe emacs.exe
[...]
make[1]: Entering directory '/opt/work/emacs-trunk/test/automated'
cd . && rm -f *.elc */*.elc */*/*.elc */*/*/*.elc
make[1]: Leaving directory '/opt/work/emacs-trunk/test/automated'
make[1]: Entering directory '/opt/work/emacs-trunk/admin/grammars'
rm -f Makefile
make[1]: Leaving directory '/opt/work/emacs-trunk/admin/grammars'
make[1]: Entering directory '/opt/work/emacs-trunk/admin/unidata'
if test -f charprop.el; then \
rm -f `sed -n 's/^;; FILE: //p' < charprop.el`; \
fi
rm -f charprop.el ./*.elc unidata.txt
make[1]: Leaving directory '/opt/work/emacs-trunk/admin/unidata'
[ ! -f config.log ] || mv -f config.log config.log~
rm -rf ./info
rm -f config.cache config.log
cd . && ./autogen.sh
Checking whether you have the necessary tools...
(Read INSTALL.REPO for more details on building Emacs)
Checking for autoconf (need at least version 2.65)...
ok
Checking for automake (need at least version 1.11)...
ok
Your system has the required tools, running autoreconf...
You can now run `./configure'.
make MAKEFILE_NAME=force-Makefile force-Makefile
make[1]: Entering directory '/opt/work/emacs-trunk'
if [ -x ./config.status ]; then \
./config.status --recheck; \
else \
./configure --cache-file=/dev/null; \
fi
running CONFIG_SHELL=/bin/sh /bin/sh ./configure --no-create --no-recursion
checking for xcrun... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
[... as above ...]
config.status: creating admin/grammars/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing src/epaths.h commands
make[2]: Entering directory '/opt/work/emacs-trunk'
make[2]: Leaving directory '/opt/work/emacs-trunk'
config.status: executing src/.gdbinit commands
make[1]: Leaving directory '/opt/work/emacs-trunk'
make info all
[...]
This 'configure' repetition didn't occur with the trunk of few days ago
(timestamps 2014-04-11 06:51:49) nor with pretest 24.3.90.
Is all this to be expected?
Thanks,
Angelo.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bootstrapping Emacs trunk repeats configure
2014-04-17 0:04 Bootstrapping Emacs trunk repeats configure Angelo Graziosi
@ 2014-04-17 5:26 ` Eli Zaretskii
2014-04-17 20:23 ` Angelo Graziosi
2014-04-17 6:44 ` Paul Eggert
1 sibling, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2014-04-17 5:26 UTC (permalink / raw)
To: Angelo Graziosi; +Cc: emacs-devel
> Date: Thu, 17 Apr 2014 02:04:54 +0200
> From: Angelo Graziosi <angelo.graziosi@alice.it>
>
> I notice that bootstrapping recent trunk sources repeats the 'configure'
> while bootstrapping.
>
> [...]
>
> This 'configure' repetition didn't occur with the trunk of few days ago
> (timestamps 2014-04-11 06:51:49) nor with pretest 24.3.90.
>
> Is all this to be expected?
Yes, and it always did that for me. AFAIU, "make bootstrap" deletes
files created by 'configure', so the configure step must be redone.
Why are you bootstrapping Emacs like that? You don't need to run
autogen.sh more than once in the same directory. If you build in a
directory where you already have run autogen.sh at some priuor time,
just say "make bootstrap", and it will do the rest (including
'configure'). If you build in a fresh directory where you have just
checked-out the tree, then run autogen.sh followed by "configure" and
"make", and it will automatically perform the bootstrap. Either way,
you only run the 'configure' script once.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bootstrapping Emacs trunk repeats configure
2014-04-17 5:26 ` Eli Zaretskii
@ 2014-04-17 20:23 ` Angelo Graziosi
0 siblings, 0 replies; 4+ messages in thread
From: Angelo Graziosi @ 2014-04-17 20:23 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: emacs-devel
Il 17/04/2014 07:26, Eli Zaretskii ha scritto:
>> Date: Thu, 17 Apr 2014 02:04:54 +0200
>> From: Angelo Graziosi <angelo.graziosi@alice.it>
>>
>> I notice that bootstrapping recent trunk sources repeats the 'configure'
>> while bootstrapping.
>>
>> [...]
>>
>> This 'configure' repetition didn't occur with the trunk of few days ago
>> (timestamps 2014-04-11 06:51:49) nor with pretest 24.3.90.
>>
>> Is all this to be expected?
>
> Yes, and it always did that for me. AFAIU, "make bootstrap" deletes
> files created by 'configure', so the configure step must be redone.
>
> Why are you bootstrapping Emacs like that? You don't need to run
> autogen.sh more than once in the same directory. If you build in a
> directory where you already have run autogen.sh at some priuor time,
> just say "make bootstrap", and it will do the rest (including
> 'configure'). If you build in a fresh directory where you have just
> checked-out the tree, then run autogen.sh followed by "configure" and
> "make", and it will automatically perform the bootstrap. Either way,
> you only run the 'configure' script once.
>
Probably I need to refresh my build scripts..
Thanks,
Angelo.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bootstrapping Emacs trunk repeats configure
2014-04-17 0:04 Bootstrapping Emacs trunk repeats configure Angelo Graziosi
2014-04-17 5:26 ` Eli Zaretskii
@ 2014-04-17 6:44 ` Paul Eggert
1 sibling, 0 replies; 4+ messages in thread
From: Paul Eggert @ 2014-04-17 6:44 UTC (permalink / raw)
To: Angelo Graziosi, Emacs developers
Angelo Graziosi wrote:
> This 'configure' repetition didn't occur with the trunk of few days ago
> (timestamps 2014-04-11 06:51:49) nor with pretest 24.3.90.
I'd expect the new behavior, not the old. 'make bootstrap' should redo
everything from scratch, and that should include running 'configure',
no? Though I don't know why this would have changed recently.
After a fresh checkout I suggest simply running 'make' unless you have
special requirements (e.g., you're on a slow machine and need special
'configure' options). Although there should be no need to run 'make
bootstrap' in a fresh checkout, it shouldn't hurt to avoid the
double-configure in that case, so I installed a patch in trunk bzr
116988 to do that. This patch also tries to document the
build-from-fresh-checkout procedure better.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-04-17 20:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-17 0:04 Bootstrapping Emacs trunk repeats configure Angelo Graziosi
2014-04-17 5:26 ` Eli Zaretskii
2014-04-17 20:23 ` Angelo Graziosi
2014-04-17 6:44 ` Paul Eggert
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).