unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#23851: Emacs 24.5 fails to build in Debian S/390x QEMU/Chroot
@ 2016-06-27  0:02 Jeffrey Walton
  2016-06-27 14:02 ` Phillip Lord
  2016-06-27 19:46 ` Glenn Morris
  0 siblings, 2 replies; 4+ messages in thread
From: Jeffrey Walton @ 2016-06-27  0:02 UTC (permalink / raw)
  To: 23851

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.





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

* bug#23851: Emacs 24.5 fails to build in Debian S/390x QEMU/Chroot
  2016-06-27  0:02 bug#23851: Emacs 24.5 fails to build in Debian S/390x QEMU/Chroot Jeffrey Walton
@ 2016-06-27 14:02 ` Phillip Lord
  2016-06-27 19:46 ` Glenn Morris
  1 sibling, 0 replies; 4+ messages in thread
From: Phillip Lord @ 2016-06-27 14:02 UTC (permalink / raw)
  To: Jeffrey Walton; +Cc: 23851



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





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

* bug#23851: Emacs 24.5 fails to build in Debian S/390x QEMU/Chroot
  2016-06-27  0:02 bug#23851: Emacs 24.5 fails to build in Debian S/390x QEMU/Chroot Jeffrey Walton
  2016-06-27 14:02 ` Phillip Lord
@ 2016-06-27 19:46 ` Glenn Morris
  2016-12-07 18:39   ` Glenn Morris
  1 sibling, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2016-06-27 19:46 UTC (permalink / raw)
  To: noloader; +Cc: 23851


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.





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

* bug#23851: Emacs 24.5 fails to build in Debian S/390x QEMU/Chroot
  2016-06-27 19:46 ` Glenn Morris
@ 2016-12-07 18:39   ` Glenn Morris
  0 siblings, 0 replies; 4+ messages in thread
From: Glenn Morris @ 2016-12-07 18:39 UTC (permalink / raw)
  To: 23851-done

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





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

end of thread, other threads:[~2016-12-07 18:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-27  0:02 bug#23851: Emacs 24.5 fails to build in Debian S/390x QEMU/Chroot Jeffrey Walton
2016-06-27 14:02 ` Phillip Lord
2016-06-27 19:46 ` Glenn Morris
2016-12-07 18:39   ` Glenn Morris

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