unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eduardo Ochs <eduardoochs@gmail.com>
To: 38868@debbugs.gnu.org
Subject: bug#38868: Problem compiling Emacs24 on Debian 10
Date: Thu, 2 Jan 2020 03:06:07 -0300	[thread overview]
Message-ID: <CADs++6judEVTDQ5RrV6z=B2Otn7koftix3NkP9oY9-_En64CVA@mail.gmail.com> (raw)

Hi list,

I updated my Debian from Stretch (a.k.a. Debian 9) to Buster (a.k.a.
Debian 10) two days ago, and I noticed that in Buster the package
"emacs24" is essentially just a fake package that depends on
emacs-gtk... links:

  https://wiki.debian.org/DebianStretch
  https://wiki.debian.org/DebianBuster
  http://packages.debian.org/stretch/emacs24
  http://packages.debian.org/buster/emacs24

I am the author of a package called "eev" that is in ELPA and that
says this in its eev.el:

  ;; Package-Requires: ((emacs "24.1"))

I wanted to be sure that I wouldn't break compatibility with emacs24
if I changed a part of eev that has a defadvice, so I tried to compile
an emacs24 in my machine (for tests!!!) by doing this:


  # See: https://packages.debian.org/source/buster/emacs
  sudo apt-get build-dep -y emacs

  mkdir -p   ~/bigsrc/
  rm -Rf     ~/bigsrc/emacs24/
  cd         ~/bigsrc/
  git clone git://git.sv.gnu.org/emacs ~/bigsrc/emacs24
  cd         ~/bigsrc/emacs24/

  export PAGER=cat
  git branch --list -a
  git for-each-ref

  git checkout emacs-24

  ./autogen.sh   2>&1 | tee oa
  ./configure    2>&1 | tee oc
  # make         2>&1 | tee om
  make bootstrap 2>&1 | tee omb

  # "make bootstrap" fails!
  tail -n 15 omb
  # The output of "tail" is:
  # make[3]: Leaving directory '/home/edrx/bigsrc/emacs24/lisp'
  # if test "no" = "yes"; then \
  #   rm -f bootstrap-emacs; \
  #   ln temacs bootstrap-emacs; \
  # else \
  #   ./temacs --batch --load loadup bootstrap || exit 1; \
  #   test "X" = X ||  -zex emacs; \
  #   mv -f emacs bootstrap-emacs; \
  # fi
  # /bin/bash: line 7: 20593 Segmentation fault      ./temacs --batch
--load loadup bootstrap
  # make[2]: *** [Makefile:816: bootstrap-emacs] Error 1
  # make[2]: Leaving directory '/home/edrx/bigsrc/emacs24/src'
  # make[1]: *** [Makefile:387: src] Error 2
  # make[1]: Leaving directory '/home/edrx/bigsrc/emacs24'
  # make: *** [Makefile:1101: bootstrap] Error 2

  # To reproduce the step with the error, do:
  cd         ~/bigsrc/emacs24/src/
  ./temacs --batch --load loadup bootstrap


I'm not sure of what more I have to send to help people debug this -
please send instructions...

  Cheers =),
    Eduardo Ochs
    http://angg.twu.net/#eev
    http://angg.twu.net/emacsconf2019.html





             reply	other threads:[~2020-01-02  6:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-02  6:06 Eduardo Ochs [this message]
2020-01-02 13:44 ` bug#38868: Problem compiling Emacs24 on Debian 10 Eli Zaretskii
2020-10-18  1:08   ` Stefan Kangas
2020-11-04 23:32     ` Basil L. Contovounesios

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADs++6judEVTDQ5RrV6z=B2Otn7koftix3NkP9oY9-_En64CVA@mail.gmail.com' \
    --to=eduardoochs@gmail.com \
    --cc=38868@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).