NetBSD Problem Report #53061
From www@NetBSD.org Wed Feb 28 08:08:42 2018
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id D6E987A18A
for <gnats-bugs@gnats.NetBSD.org>; Wed, 28 Feb 2018 08:08:41 +0000 (UTC)
Message-Id: <20180228080840.CA5647A263@mollari.NetBSD.org>
Date: Wed, 28 Feb 2018 08:08:40 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joernc@gmail.com
To: gnats-bugs@NetBSD.org
Subject: editors/emacs25 fails to build on Solaris 10
X-Send-Pr-Version: www-1.0
>Number: 53061
>Category: pkg
>Synopsis: editors/emacs25 fails to build on Solaris 10
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: solaris-pkg-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Feb 28 08:10:00 +0000 2018
>Last-Modified: Tue Jan 29 06:47:38 +0000 2019
>Originator: Joern Clausen
>Release:
>Organization:
University of Bielefeld
>Environment:
>Description:
Building editors/emacs25 on Solaris 10 fails with
ELC emacs-lisp/bytecomp.elc
ELC emacs-lisp/autoload.elc
gmake[3]: Leaving directory '/pkgsrc/source/pkgsrc/editors/emacs25/work.pkgsrc-i86/emacs-25.3/lisp'
/usr/pkgsrc/20180220/bin/gmake -C ../lisp autoloads EMACS="../src/bootstrap-emacs"
gmake[3]: Entering directory '/pkgsrc/source/pkgsrc/editors/emacs25/work.pkgsrc-i86/emacs-25.3/lisp'
GEN calendar/cal-loaddefs.el
Fatal error 11: Segmentation Fault/usr/bin/bash: line 3: 5452 Segmentation Fault EMACSLOADPATH= '../src/bootstrap-emacs' -batch --no-site-file --no-site-lisp -l autoload --eval "(setq generate-autoload-cookie \";;;###cal-autoload\")" --eval "(setq generated-autoload-file (expand-file-name (unmsys--file-name \"calendar/cal-loaddefs.el\")))" -f batch-update-autoloads ./calendar
Makefile:406: recipe for target 'calendar/cal-loaddefs.el' failed
gmake[3]: *** [calendar/cal-loaddefs.el] Error 139
gmake[3]: Leaving directory '/pkgsrc/source/pkgsrc/editors/emacs25/work.pkgsrc-i86/emacs-25.3/lisp'
>How-To-Repeat:
>Fix:
bring back emacs24???
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Wed, 28 Feb 2018 08:40:40 +0000
Responsible-Changed-Why:
Solaris pkgsrc problem.
From: coypu@sdf.org
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/53061: editors/emacs25 fails to build on Solaris 10
Date: Wed, 28 Feb 2018 09:41:23 +0000
Hi!
It would be good to run the last command with a debugger and get a
backtrace.
bootstrap-emacs is the binary it is trying to run.
cd emacs25/*/*/src
gdb bootstrap-emacs
r -batch --no-site-file --no-site-lisp -l autoload --eval "(setq generate-autoload-cookie \";;;###cal-autoload\")" --eval "(setq generated-autoload-file (expand-file-name (unmsys--file-name \"calendar/cal-loaddefs.el\")))" -f batch-update-autoloads ./calendar
# <hit SIGSEGV>
bt
Thanks.
From: Joern Clausen <joern.clausen@uni-bielefeld.de>
To: gnats-bugs@NetBSD.org, solaris-pkg-people@NetBSD.org,
gnats-admin@NetBSD.org, pkgsrc-bugs@NetBSD.org
Cc:
Subject: Re: pkg/53061: editors/emacs25 fails to build on Solaris 10
Date: Thu, 01 Mar 2018 13:37:29 +0100
Hi!
First a cut'n'paste template for me, with usable quotes:
$ cd work/emacs-25.3/lisp
$ gdb ../src/bootstrap-emacs
(gdb) r -batch --no-site-file --no-site-lisp -l autoload --eval '(setq
generate-autoload-cookie ";;;###cal-autoload")' --eval '(setq
generated-autoload-file (expand-file-name (unmsys--file-name
"calendar/cal-loaddefs.el")))' -f batch-update-autoloads ./calendar
This leads to
[Thread debugging using libthread_db enabled]
[New Thread 1 (LWP 1)]
Thread 2 received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1 (LWP 1)]
0x00000000004ddc7e in encode_char ()
(gdb) bt
#0 0x00000000004ddc7e in encode_char ()
#1 0x00000000004ddf3b in encode_char ()
#2 0x00000000004e1ea3 in char_encodable_p ()
#3 0x00000000004e3bf0 in Ffind_coding_systems_region_internal ()
#4 0x00000000005b0549 in eval_sub ()
#5 0x00000000005b3320 in Flet ()
#6 0x00000000005b04b4 in eval_sub ()
#7 0x00000000005b0855 in Fprogn ()
...
The remainder of the stack looks like recursive evaluation of LISP
statements.
I recompiled with "bmake CFLAGS+=-g", but this did not reveal more
information.
--
Jörn Clausen
Plattformen & Serverdienste
BITS - Bielefelder IT-Servicezentrum
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.