unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Building from an old commit
@ 2022-10-31 13:42 Jean-Christophe Helary
  2022-10-31 14:14 ` Stefan Kangas
  0 siblings, 1 reply; 8+ messages in thread
From: Jean-Christophe Helary @ 2022-10-31 13:42 UTC (permalink / raw)
  To: emacs-devel

I'm preparing for the soon to come emacsconf and my idea was to go back to emacs as it was before the patch I sent on June 20 2018.

https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=61f73703c74756e6963cc622f03bcc6938ab71b2

So, and not to mess with my current emacs repository,

- I cloned the current repository in a separate location
- I checked out c71fb6b0cdb7043e2828a6843496ab20f4577cbb
- I ran 

    ./autogen.sh
    ./configure
    make install

But that ends with an error message à la:

14880 unused bytes follow Mach-O header
94879 pure bytes used
mv -f emacs bootstrap-emacs
/Library/Developer/CommandLineTools/usr/bin/make -C ../lisp compile-first EMACS="../src/bootstrap-emacs"
  ELC      emacs-lisp/macroexp.elc
/bin/sh: line 1: 89023 Killed: 9               EMACSLOADPATH= '../src/bootstrap-emacs' -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)' -f batch-byte-compile emacs-lisp/macroexp.el
make[2]: *** [emacs-lisp/macroexp.elc] Error 137
make[1]: *** [bootstrap-emacs] Error 2
make: *** [src] Error 2


On a side note, master builds nicely, without having to do anything special.


Is there anything I am missing here?


-- 
Jean-Christophe Helary @brandelune
https://traductaire-libre.org
https://mac4translators.blogspot.com
https://sr.ht/~brandelune/omegat-as-a-book/




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

* Re: Building from an old commit
  2022-10-31 13:42 Building from an old commit Jean-Christophe Helary
@ 2022-10-31 14:14 ` Stefan Kangas
  2022-10-31 14:51   ` Jean-Christophe Helary
  0 siblings, 1 reply; 8+ messages in thread
From: Stefan Kangas @ 2022-10-31 14:14 UTC (permalink / raw)
  To: Jean-Christophe Helary, emacs-devel

Jean-Christophe Helary <lists@traduction-libre.org> writes:

> - I cloned the current repository in a separate location
> - I checked out c71fb6b0cdb7043e2828a6843496ab20f4577cbb
> - I ran
>
>     ./autogen.sh
>     ./configure
>     make install
>
> But that ends with an error message à la:

Try this:

    git cherry-pick e0677de7f3f222e



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

* Re: Building from an old commit
  2022-10-31 14:14 ` Stefan Kangas
@ 2022-10-31 14:51   ` Jean-Christophe Helary
  2022-10-31 15:18     ` Stefan Kangas
  0 siblings, 1 reply; 8+ messages in thread
From: Jean-Christophe Helary @ 2022-10-31 14:51 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: emacs-devel



> On Oct 31, 2022, at 23:14, Stefan Kangas <stefankangas@gmail.com> wrote:
> 
> Jean-Christophe Helary <lists@traduction-libre.org> writes:
> 
>> - I cloned the current repository in a separate location
>> - I checked out c71fb6b0cdb7043e2828a6843496ab20f4577cbb
>> - I ran
>> 
>>    ./autogen.sh
>>    ./configure
>>    make install
>> 
>> But that ends with an error message à la:
> 
> Try this:
> 
>    git cherry-pick e0677de7f3f222e

Would you mind elaborating ?
I'd like to understand what's wrong.

-- 
Jean-Christophe Helary @brandelune
https://traductaire-libre.org
https://mac4translators.blogspot.com
https://sr.ht/~brandelune/omegat-as-a-book/




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

* Re: Building from an old commit
  2022-10-31 14:51   ` Jean-Christophe Helary
@ 2022-10-31 15:18     ` Stefan Kangas
  2022-11-01  2:57       ` Jean-Christophe Helary
  0 siblings, 1 reply; 8+ messages in thread
From: Stefan Kangas @ 2022-10-31 15:18 UTC (permalink / raw)
  To: Jean-Christophe Helary; +Cc: emacs-devel

Jean-Christophe Helary <lists@traduction-libre.org> writes:

> Would you mind elaborating ?
> I'd like to understand what's wrong.

I don't know the details, sorry.

Maybe "git show e0677de7f3f222e" will give you a starting point.
You could also search the list archives.



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

* Re: Building from an old commit
  2022-10-31 15:18     ` Stefan Kangas
@ 2022-11-01  2:57       ` Jean-Christophe Helary
  2022-11-01  8:12         ` Jean-Christophe Helary
  2022-11-01  9:44         ` Stefan Kangas
  0 siblings, 2 replies; 8+ messages in thread
From: Jean-Christophe Helary @ 2022-11-01  2:57 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: emacs-devel

Thank you Stefan,

> On Nov 1, 2022, at 0:18, Stefan Kangas <stefankangas@gmail.com> wrote:
> 
> Jean-Christophe Helary <lists@traduction-libre.org> writes:
> 
>> Would you mind elaborating ?
>> I'd like to understand what's wrong.
> 
> I don't know the details, sorry.
> 
> Maybe "git show e0677de7f3f222e" will give you a starting point.
> You could also search the list archives.

It looks like an issue with an update to glibc.

(But what I'd like to know is what in the error message made you think that it was *that* commit that could fix the issue ?)


I installed that commit, ran again configure and make install and here is the error:

2 warnings generated.
make[1]: Circular bootstrap-emacs <- temacs dependency dropped.
/Library/Developer/CommandLineTools/usr/bin/make -C ../admin/unidata all EMACS="../../src/bootstrap-emacs"
  ELC      uvs.elc
/bin/sh: line 1: 24971 Killed: 9               "../../src/bootstrap-emacs" -batch --no-site-file --no-site-lisp -f batch-byte-compile uvs.el
make[2]: *** [uvs.elc] Error 137
make[1]: *** [macuvs.h] Error 2
make: *** [src] Error 2


Then I tried make bootstrap and I got that:

14608 unused bytes follow Mach-O header
94879 pure bytes used
mv -f emacs bootstrap-emacs
/Library/Developer/CommandLineTools/usr/bin/make -C ../lisp compile-first EMACS="../src/bootstrap-emacs"
  ELC      emacs-lisp/macroexp.elc
/bin/sh: line 1: 32319 Killed: 9               EMACSLOADPATH= '../src/bootstrap-emacs' -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)' -f batch-byte-compile emacs-lisp/macroexp.el
make[3]: *** [emacs-lisp/macroexp.elc] Error 137
make[2]: *** [bootstrap-emacs] Error 2
make[1]: *** [src] Error 2
make: *** [bootstrap] Error 2


-- 
Jean-Christophe Helary @brandelune
https://traductaire-libre.org
https://mac4translators.blogspot.com
https://sr.ht/~brandelune/omegat-as-a-book/




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

* Re: Building from an old commit
  2022-11-01  2:57       ` Jean-Christophe Helary
@ 2022-11-01  8:12         ` Jean-Christophe Helary
  2022-11-01  8:22           ` Jean-Christophe Helary
  2022-11-01  9:44         ` Stefan Kangas
  1 sibling, 1 reply; 8+ messages in thread
From: Jean-Christophe Helary @ 2022-11-01  8:12 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 2536 bytes --]

Version 26.1 downloaded from ftp.gnu.org built perfectly fine.

I'm not going any deeper into this rabbit hole :-)

Thank you anyway for your help.

(I could have used pre-patch package.el in the recent master, too. I just thought about that.)

Jean-Christophe 

> On Nov 1, 2022, at 11:57, Jean-Christophe Helary <lists@traduction-libre.org> wrote:
> 
> Thank you Stefan,
> 
>> On Nov 1, 2022, at 0:18, Stefan Kangas <stefankangas@gmail.com> wrote:
>> 
>> Jean-Christophe Helary <lists@traduction-libre.org> writes:
>> 
>>> Would you mind elaborating ?
>>> I'd like to understand what's wrong.
>> 
>> I don't know the details, sorry.
>> 
>> Maybe "git show e0677de7f3f222e" will give you a starting point.
>> You could also search the list archives.
> 
> It looks like an issue with an update to glibc.
> 
> (But what I'd like to know is what in the error message made you think that it was *that* commit that could fix the issue ?)
> 
> 
> I installed that commit, ran again configure and make install and here is the error:
> 
> 2 warnings generated.
> make[1]: Circular bootstrap-emacs <- temacs dependency dropped.
> /Library/Developer/CommandLineTools/usr/bin/make -C ../admin/unidata all EMACS="../../src/bootstrap-emacs"
>  ELC      uvs.elc
> /bin/sh: line 1: 24971 Killed: 9               "../../src/bootstrap-emacs" -batch --no-site-file --no-site-lisp -f batch-byte-compile uvs.el
> make[2]: *** [uvs.elc] Error 137
> make[1]: *** [macuvs.h] Error 2
> make: *** [src] Error 2
> 
> 
> Then I tried make bootstrap and I got that:
> 
> 14608 unused bytes follow Mach-O header
> 94879 pure bytes used
> mv -f emacs bootstrap-emacs
> /Library/Developer/CommandLineTools/usr/bin/make -C ../lisp compile-first EMACS="../src/bootstrap-emacs"
>  ELC      emacs-lisp/macroexp.elc
> /bin/sh: line 1: 32319 Killed: 9               EMACSLOADPATH= '../src/bootstrap-emacs' -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)' -f batch-byte-compile emacs-lisp/macroexp.el
> make[3]: *** [emacs-lisp/macroexp.elc] Error 137
> make[2]: *** [bootstrap-emacs] Error 2
> make[1]: *** [src] Error 2
> make: *** [bootstrap] Error 2
> 
> 
> -- 
> Jean-Christophe Helary @brandelune
> https://traductaire-libre.org
> https://mac4translators.blogspot.com
> https://sr.ht/~brandelune/omegat-as-a-book/
> 
> 

-- 
Jean-Christophe Helary @brandelune
https://traductaire-libre.org
https://mac4translators.blogspot.com
https://sr.ht/~brandelune/omegat-as-a-book/


[-- Attachment #2: Type: text/html, Size: 6537 bytes --]

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

* Re: Building from an old commit
  2022-11-01  8:12         ` Jean-Christophe Helary
@ 2022-11-01  8:22           ` Jean-Christophe Helary
  0 siblings, 0 replies; 8+ messages in thread
From: Jean-Christophe Helary @ 2022-11-01  8:22 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 3257 bytes --]



> On Nov 1, 2022, at 17:12, Jean-Christophe Helary <lists@traduction-libre.org> wrote:
> 
> Version 26.1 downloaded from ftp.gnu.org <http://ftp.gnu.org/> built perfectly fine.

It built fine but would not start...

Weird.

> I'm not going any deeper into this rabbit hole :-)
> 
> Thank you anyway for your help.
> 
> (I could have used pre-patch package.el in the recent master, too. I just thought about that.)

I guess I'll just do that.

Jean-Christophe 

> 
> Jean-Christophe 
> 
>> On Nov 1, 2022, at 11:57, Jean-Christophe Helary <lists@traduction-libre.org <mailto:lists@traduction-libre.org>> wrote:
>> 
>> Thank you Stefan,
>> 
>>> On Nov 1, 2022, at 0:18, Stefan Kangas <stefankangas@gmail.com <mailto:stefankangas@gmail.com>> wrote:
>>> 
>>> Jean-Christophe Helary <lists@traduction-libre.org <mailto:lists@traduction-libre.org>> writes:
>>> 
>>>> Would you mind elaborating ?
>>>> I'd like to understand what's wrong.
>>> 
>>> I don't know the details, sorry.
>>> 
>>> Maybe "git show e0677de7f3f222e" will give you a starting point.
>>> You could also search the list archives.
>> 
>> It looks like an issue with an update to glibc.
>> 
>> (But what I'd like to know is what in the error message made you think that it was *that* commit that could fix the issue ?)
>> 
>> 
>> I installed that commit, ran again configure and make install and here is the error:
>> 
>> 2 warnings generated.
>> make[1]: Circular bootstrap-emacs <- temacs dependency dropped.
>> /Library/Developer/CommandLineTools/usr/bin/make -C ../admin/unidata all EMACS="../../src/bootstrap-emacs"
>>  ELC      uvs.elc
>> /bin/sh: line 1: 24971 Killed: 9               "../../src/bootstrap-emacs" -batch --no-site-file --no-site-lisp -f batch-byte-compile uvs.el
>> make[2]: *** [uvs.elc] Error 137
>> make[1]: *** [macuvs.h] Error 2
>> make: *** [src] Error 2
>> 
>> 
>> Then I tried make bootstrap and I got that:
>> 
>> 14608 unused bytes follow Mach-O header
>> 94879 pure bytes used
>> mv -f emacs bootstrap-emacs
>> /Library/Developer/CommandLineTools/usr/bin/make -C ../lisp compile-first EMACS="../src/bootstrap-emacs"
>>  ELC      emacs-lisp/macroexp.elc
>> /bin/sh: line 1: 32319 Killed: 9               EMACSLOADPATH= '../src/bootstrap-emacs' -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)' -f batch-byte-compile emacs-lisp/macroexp.el
>> make[3]: *** [emacs-lisp/macroexp.elc] Error 137
>> make[2]: *** [bootstrap-emacs] Error 2
>> make[1]: *** [src] Error 2
>> make: *** [bootstrap] Error 2
>> 
>> 
>> -- 
>> Jean-Christophe Helary @brandelune
>> https://traductaire-libre.org <https://traductaire-libre.org/>
>> https://mac4translators.blogspot.com
>> https://sr.ht/~brandelune/omegat-as-a-book/
>> 
>> 
> 
> -- 
> Jean-Christophe Helary @brandelune
> https://traductaire-libre.org <https://traductaire-libre.org/>
> https://mac4translators.blogspot.com <https://mac4translators.blogspot.com/>
> https://sr.ht/~brandelune/omegat-as-a-book/ <https://sr.ht/~brandelune/omegat-as-a-book/>
> 

-- 
Jean-Christophe Helary @brandelune
https://traductaire-libre.org
https://mac4translators.blogspot.com
https://sr.ht/~brandelune/omegat-as-a-book/


[-- Attachment #2: Type: text/html, Size: 10051 bytes --]

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

* Re: Building from an old commit
  2022-11-01  2:57       ` Jean-Christophe Helary
  2022-11-01  8:12         ` Jean-Christophe Helary
@ 2022-11-01  9:44         ` Stefan Kangas
  1 sibling, 0 replies; 8+ messages in thread
From: Stefan Kangas @ 2022-11-01  9:44 UTC (permalink / raw)
  To: Jean-Christophe Helary; +Cc: emacs-devel

Jean-Christophe Helary <lists@traduction-libre.org> writes:

> (But what I'd like to know is what in the error message made you think
> that it was *that* commit that could fix the issue ?)

I know that we had to apply that commit to old branches to make them
build.  See, e.g. "git log origin/emacs-25".



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

end of thread, other threads:[~2022-11-01  9:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-31 13:42 Building from an old commit Jean-Christophe Helary
2022-10-31 14:14 ` Stefan Kangas
2022-10-31 14:51   ` Jean-Christophe Helary
2022-10-31 15:18     ` Stefan Kangas
2022-11-01  2:57       ` Jean-Christophe Helary
2022-11-01  8:12         ` Jean-Christophe Helary
2022-11-01  8:22           ` Jean-Christophe Helary
2022-11-01  9:44         ` Stefan Kangas

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