GNU bug report logs - #23851
Emacs 24.5 fails to build in Debian S/390x QEMU/Chroot

Previous Next

Package: emacs;

Reported by: noloader <at> gmail.com

Date: Mon, 27 Jun 2016 00:03:01 UTC

Severity: important

Tags: moreinfo, wontfix

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 23851 in the body.
You can then email your comments to 23851 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#23851; Package emacs. (Mon, 27 Jun 2016 00:03:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to noloader <at> gmail.com:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 27 Jun 2016 00:03:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jeffrey Walton <noloader <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Emacs 24.5 fails to build in Debian S/390x QEMU/Chroot
Date: Sun, 26 Jun 2016 20:02:39 -0400
I have a Debian S/390x QEMU/Chroot. It is a command line environment
without a windowing system.

I am attempting to build Emacs 24.5. It fails to build. Below are the
steps to reproduce the failure.

First, fetch:

wget http://mirrors.syringanetworks.net/gnu/emacs/emacs-24.5.tar.gz
tar xzf emacs-24.5.tar.gz
cd emacs-24.5/

Next, attempt to build:

./configure --with-xml2 --with-zlib --without-x --without-sound --without-xpm \
  --without-jpeg --without-tiff --without-gif --without-png --without-rsvg \
  --without-imagemagick --without-xft --without-libotf --without-m17n-flt \
  --without-xaw3d --without-toolkit-scroll-bars --without-gpm --without-dbus \
  --without-gconf --without-gsettings --without-makeinfo \
  --without-compress-install

It results in:

make[2]: Entering directory '/root/emacs-24.5/lisp'
for file in `find . -type d -print`; do case $file in .*/cedet* |
.*/leim* ) ;; *) wins="$wins${wins:+ }$file" ;; esac; done; \
for file in $wins; do \
   ./../build-aux/update-subdirs $file; \
done;
make[2]: Leaving directory '/root/emacs-24.5/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
Loading loadup.el (source)...
Using load-path (/root/emacs-24.5/lisp
/root/emacs-24.5/lisp/emacs-lisp /root/emacs-24.5/lisp/language
/root/emacs-24.5/lisp/international /root/emacs-24.5/lisp/textmodes
/root/emacs-24.5/lisp/vc)
Loading emacs-lisp/byte-run...
/bin/bash: line 7: 17142 Segmentation fault      ./temacs --batch
--load loadup bootstrap
Makefile:815: recipe for target 'bootstrap-emacs' failed
make[1]: *** [bootstrap-emacs] Error 1
make[1]: Leaving directory '/root/emacs-24.5/src'
Makefile:387: recipe for target 'src' failed
make: *** [src] Error 2

At this point, I have tried to build Emacs without Lisp since I don't
use it. I'm told its not possible. Confer,
http://lists.gnu.org/archive/html/help-gnu-emacs/2016-06/msg00412.html.

I think its best to turn this issue over to the Emacs folks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23851; Package emacs. (Mon, 27 Jun 2016 14:03:01 GMT) Full text and rfc822 format available.

Message #8 received at 23851 <at> debbugs.gnu.org (full text, mbox):

From: phillip.lord <at> russet.org.uk (Phillip Lord)
To: Jeffrey Walton <noloader <at> gmail.com>
Cc: 23851 <at> debbugs.gnu.org
Subject: Re: bug#23851: Emacs 24.5 fails to build in Debian S/390x QEMU/Chroot
Date: Mon, 27 Jun 2016 15:02:42 +0100

Jeffrey

Just out of curiosity, it might be worth trying the pre-test builds for
Emacs-25, which are available here:

http://alpha.gnu.org/gnu/emacs/pretest/

Phil

Jeffrey Walton <noloader <at> gmail.com> writes:

> I have a Debian S/390x QEMU/Chroot. It is a command line environment
> without a windowing system.
>
> I am attempting to build Emacs 24.5. It fails to build. Below are the
> steps to reproduce the failure.
>
> First, fetch:
>
> wget http://mirrors.syringanetworks.net/gnu/emacs/emacs-24.5.tar.gz
> tar xzf emacs-24.5.tar.gz
> cd emacs-24.5/
>
> Next, attempt to build:
>
> ./configure --with-xml2 --with-zlib --without-x --without-sound --without-xpm \
>   --without-jpeg --without-tiff --without-gif --without-png --without-rsvg \
>   --without-imagemagick --without-xft --without-libotf --without-m17n-flt \
>   --without-xaw3d --without-toolkit-scroll-bars --without-gpm --without-dbus \
>   --without-gconf --without-gsettings --without-makeinfo \
>   --without-compress-install
>
> It results in:
>
> make[2]: Entering directory '/root/emacs-24.5/lisp'
> for file in `find . -type d -print`; do case $file in .*/cedet* |
> .*/leim* ) ;; *) wins="$wins${wins:+ }$file" ;; esac; done; \
> for file in $wins; do \
>    ./../build-aux/update-subdirs $file; \
> done;
> make[2]: Leaving directory '/root/emacs-24.5/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
> Loading loadup.el (source)...
> Using load-path (/root/emacs-24.5/lisp
> /root/emacs-24.5/lisp/emacs-lisp /root/emacs-24.5/lisp/language
> /root/emacs-24.5/lisp/international /root/emacs-24.5/lisp/textmodes
> /root/emacs-24.5/lisp/vc)
> Loading emacs-lisp/byte-run...
> /bin/bash: line 7: 17142 Segmentation fault      ./temacs --batch
> --load loadup bootstrap
> Makefile:815: recipe for target 'bootstrap-emacs' failed
> make[1]: *** [bootstrap-emacs] Error 1
> make[1]: Leaving directory '/root/emacs-24.5/src'
> Makefile:387: recipe for target 'src' failed
> make: *** [src] Error 2
>
> At this point, I have tried to build Emacs without Lisp since I don't
> use it. I'm told its not possible. Confer,
> http://lists.gnu.org/archive/html/help-gnu-emacs/2016-06/msg00412.html.
>
> I think its best to turn this issue over to the Emacs folks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23851; Package emacs. (Mon, 27 Jun 2016 19:47:01 GMT) Full text and rfc822 format available.

Message #11 received at 23851 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: noloader <at> gmail.com
Cc: 23851 <at> debbugs.gnu.org
Subject: Re: bug#23851: Emacs 24.5 fails to build in Debian S/390x QEMU/Chroot
Date: Mon, 27 Jun 2016 15:46:13 -0400
Please configure with CFLAGS='-O0 -g3', then make.
When it fails:
cd src
gdb ./temacs
run --batch --load loadup bootstrap
bt full

See etc/DEBUG for more information.

Using the latest pretest for the next release is better than using Emacs 24.5:

http://alpha.gnu.org/gnu/emacs/pretest/emacs-25.0.95.tar.xz


Jeffrey Walton wrote:

> At this point, I have tried to build Emacs without Lisp since I don't
> use it. I'm told its not possible. Confer,
> http://lists.gnu.org/archive/html/help-gnu-emacs/2016-06/msg00412.html.
>
> I think its best to turn this issue over to the Emacs folks.

If Emacs fails to build, that is a bug.
Reporting bugs to the help list is seldom efficient, as is clearly
illustrated in this case.




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Wed, 07 Dec 2016 18:40:01 GMT) Full text and rfc822 format available.

Notification sent to noloader <at> gmail.com:
bug acknowledged by developer. (Wed, 07 Dec 2016 18:40:02 GMT) Full text and rfc822 format available.

Message #16 received at 23851-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 23851-done <at> debbugs.gnu.org
Subject: Re: bug#23851: Emacs 24.5 fails to build in Debian S/390x QEMU/Chroot
Date: Wed, 07 Dec 2016 13:39:42 -0500
Glenn Morris wrote:

> Please configure with CFLAGS='-O0 -g3', then make.
> When it fails:
> cd src
> gdb ./temacs
> run --batch --load loadup bootstrap
> bt full
>
> See etc/DEBUG for more information.
>
> Using the latest pretest for the next release is better than using Emacs 24.5:
>
> http://alpha.gnu.org/gnu/emacs/pretest/emacs-25.0.95.tar.xz


It's been six months, and in the absence of any further information I'm
closing this report.

For the record, I note a successful Debian package build of 25.1 on s390x:

https://buildd.debian.org/status/fetch.php?pkg=emacs25&arch=s390x&ver=25.1%2B1-3&stamp=1480559884




Added tag(s) wontfix. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 07 Dec 2016 18:41:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 05 Jan 2017 12:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 162 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.