unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Emacs release procedure (Was: [h-e-w] Current word on binaries)
       [not found]                     ` <m3fzd79ymj.fsf@ate.maierh>
@ 2004-02-21 13:08                       ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2004-02-21 13:08 UTC (permalink / raw)
  Cc: Francesco Potorti`, emacs-devel

Here's a message sent in the past by Gerd Moellmann in which he
summarized the procedure he used for making a pretest/release
tarballs.  Note that the specific versions and tags mentioned may need
to be revised/modified for each specific release.

Francesco, if you have any comments based on your experience of
releasing v21.3, please do.

One issue I remember from my experience is that there are directories
present in the checked-out branch, such as lispref, which should not
be in the tarball.  They are there because they are present on the
trunk and because the RC branch tag exists on those directories as
well.  The solution is either to remove the directories in your local
sandbox, or (better) remove the branch tags from the files that are
not supposed to exist on the branch, and use "cvs update -P" to let
CVS prune empty directories when the tree is checked out.

I'm cc'ing emacs-devel so that this procedure is archived and could
be useful to future release managers.  I started a new thread for the
same reason.

------- Start of forwarded message -------
Subject: CVS tags
Reply-To: gerd@gnu.org
From: gerd.moellmann@t-online.de (Gerd Moellmann)
Date: 24 Mar 2002 20:42:06 +0100
X-Sender: 520015515780-0001@t-dialin.net
X-Status: A

I see in the change logs that 21.2 has been released.

Since there is no CVS tag for it, I wonder if I ever told that I did
tag the releases and pretests to facilitate diffing etc., or if I did
tell how I built the releases and pretests.  In case it's useful,
below is the exact procedure I followed.

1. cvs update

2. Run admin/build-configs to make sure Emacs builds in a number of
   frequently used configurations.  Fix bugs.

3. Bootstrap to make 100% sure all elc files are up-to-date, and to
   make sure that the later tagged version will bootstrap, should it
   be necessary to check it out.

4. Commit loaddefs.el, cus-load.el, finder-inf.el.

5. Run autoconf, commit configure.

5a. For a release, add released change log entries, and set the
   version number (M-x load-file RET admin/admin.el RET, then
   M-x add-release-logs RET, and M-x set-version RET).

6. make-dist --snapshot.  Check the contents of the new tar with 
   admin/diff-tar-files against an older tar file.

7. Make xdeltas

8. Untar the tar files made in 6, configure, build, install, saving
   the output of these phases with the script command.  Check the
   output, esp. check that Info files aren't built.  (Saving 
   the output of the last release diffing helps spotting problems.)

9. `cvs tag EMACS_PRETEST_21_0_105' in the toplevel Emacs dir.
   (I used `EMACS_21_1' for the release tag.)

10. Increment version numbers in versions.el, README, emacs.texi.
  (See 5a).

11. Upload & announce.
------- End of forwarded message -------

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [h-e-w] Current word on binaries (EMACS_21_1_RC on cygwin)
       [not found]                   ` <uwu6k0xwc.fsf@jasonrumney.net>
@ 2004-02-23 12:14                     ` Harald Maier
  2004-02-23 16:43                       ` Harald Maier
  2004-02-24  8:41                       ` Richard Stallman
  0 siblings, 2 replies; 4+ messages in thread
From: Harald Maier @ 2004-02-23 12:14 UTC (permalink / raw)
  Cc: Eli Zaretskii, emacs-devel


Jason Rumney <jasonr@gnu.org> writes:

> Harald Maier <harald@maierh.de> writes:
>
>> I am not sure if I took the right version (EMACS_21_1_RC), but if this
>> is the current RC branch, then the patch for the discussed problem is
>> _not_ in the branch.
>
> The fix has been committed to EMACS_21_1_RC now, so a cvs update
> should pick it up.

Hallo Jason,

I took the changes and all works fine if emacs is compiled with no
optimizations (--no-opt). If I turn on optimizations then I get the
following re-producable errors. The most time I am using --no-opt, so
that's the reason why it worked for me before. Have you or others an
idea how to verify or debug the problem? I still have here also a MSVC
and a two year old MINGW runtime environment with that I can do some
debugging. Building emacs on that environments still works fine.

Harald

Loading help...
Loading international/mule-cmds...
Loading case-table...
Loading international/utf-8...
Loading international/utf-16...
Loading international/characters...
End of file during parsing: g:/cvs/emacs-cygwin/lisp/international/characters.elc
Signal 127
make.exe[1]: *** [oo-spd/i386/emacs.exe] Error 255
make.exe[1]: Leaving directory `g:/cvs/rc/emacs-cygwin/src'
d:\usr\mingw-make\bin\make.exe: *** [all-other-dirs-gmake] Error 2

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [h-e-w] Current word on binaries (EMACS_21_1_RC on cygwin)
  2004-02-23 12:14                     ` [h-e-w] Current word on binaries (EMACS_21_1_RC on cygwin) Harald Maier
@ 2004-02-23 16:43                       ` Harald Maier
  2004-02-24  8:41                       ` Richard Stallman
  1 sibling, 0 replies; 4+ messages in thread
From: Harald Maier @ 2004-02-23 16:43 UTC (permalink / raw)
  Cc: Eli Zaretskii, emacs-devel

Harald Maier <harald@maierh.de> writes:

> Jason Rumney <jasonr@gnu.org> writes:
>
>> Harald Maier <harald@maierh.de> writes:
>>
>>> I am not sure if I took the right version (EMACS_21_1_RC), but if this
>>> is the current RC branch, then the patch for the discussed problem is
>>> _not_ in the branch.
>>
>> The fix has been committed to EMACS_21_1_RC now, so a cvs update
>> should pick it up.
>
> Hallo Jason,
>
> I took the changes and all works fine if emacs is compiled with no
> optimizations (--no-opt). If I turn on optimizations then I get the
> following re-producable errors. The most time I am using --no-opt, so
> that's the reason why it worked for me before. Have you or others an
> idea how to verify or debug the problem? I still have here also a MSVC
> and a two year old MINGW runtime environment with that I can do some
> debugging. Building emacs on that environments still works fine.
>
> Harald
>
> Loading help...
> Loading international/mule-cmds...
> Loading case-table...
> Loading international/utf-8...
> Loading international/utf-16...
> Loading international/characters...
> End of file during parsing: g:/cvs/emacs-cygwin/lisp/international/characters.elc
> Signal 127
> make.exe[1]: *** [oo-spd/i386/emacs.exe] Error 255
> make.exe[1]: Leaving directory `g:/cvs/rc/emacs-cygwin/src'
> d:\usr\mingw-make\bin\make.exe: *** [all-other-dirs-gmake] Error 2

FYI. Just figured out that same problem exists in CVS emacs.

Harald

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [h-e-w] Current word on binaries (EMACS_21_1_RC on cygwin)
  2004-02-23 12:14                     ` [h-e-w] Current word on binaries (EMACS_21_1_RC on cygwin) Harald Maier
  2004-02-23 16:43                       ` Harald Maier
@ 2004-02-24  8:41                       ` Richard Stallman
  1 sibling, 0 replies; 4+ messages in thread
From: Richard Stallman @ 2004-02-24  8:41 UTC (permalink / raw)
  Cc: eliz, emacs-devel, jasonr

    I took the changes and all works fine if emacs is compiled with no
    optimizations (--no-opt). If I turn on optimizations then I get the
    following re-producable errors.

In such a case, it is necessary to track down where in Emacs the code
executes wrong, much as if you were looking for any other kind of Emacs
bug.

Once the problem is localized, you may find code that is not
well-defined C.  Or you may find a line that is miscompiled.  If it is
the latter, we would want to send a GCC bug report.

    I still have here also a MSVC
    and a two year old MINGW runtime environment with that I can do some
    debugging.

If the problem does not happen with them, then they are irrelevant to
it.  The way to find a bug is to debug the case that fails.
Investigating cases that don't fail won't tell you about the failure.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-02-24  8:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <009901c3ec70$b3013940$6400a8c0@austin.rr.com>
     [not found] ` <m3broc4fdc.fsf@ate.maierh>
     [not found]   ` <m3n07m80ox.fsf@ate.maierh>
     [not found]     ` <7494-Sat14Feb2004140608+0200-eliz@elta.co.il>
     [not found]       ` <ud68hdfc0.fsf@jasonrumney.net>
     [not found]         ` <E1Ason6-0008Pd-8U@fencepost.gnu.org>
     [not found]           ` <uu11qvjyp.fsf@jasonrumney.net>
     [not found]             ` <E1AtNE1-0004OJ-V4@fencepost.gnu.org>
     [not found]               ` <uhdxozn79.fsf@elta.co.il>
     [not found]                 ` <40336BFC.3060908@gnu.org>
     [not found]                   ` <7704-Wed18Feb2004205431+0200-eliz@elta.co.il>
     [not found]                     ` <m3fzd79ymj.fsf@ate.maierh>
2004-02-21 13:08                       ` Emacs release procedure (Was: [h-e-w] Current word on binaries) Eli Zaretskii
     [not found]                 ` <m31xoszi1s.fsf@ate.maierh>
     [not found]                   ` <uwu6k0xwc.fsf@jasonrumney.net>
2004-02-23 12:14                     ` [h-e-w] Current word on binaries (EMACS_21_1_RC on cygwin) Harald Maier
2004-02-23 16:43                       ` Harald Maier
2004-02-24  8:41                       ` Richard Stallman

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).