From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Josh Elsasser Newsgroups: gmane.emacs.bugs Subject: bug#1365: Configure script misidentifies OpenBSD/hppa Date: Mon, 17 Nov 2008 20:52:38 -0800 (PST) Message-ID: <20081118045238.A5DE03F7B8@opal.elsasser.org> Reply-To: Josh Elsasser , 1365@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1227004251 25838 80.91.229.12 (18 Nov 2008 10:30:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Nov 2008 10:30:51 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 18 11:31:53 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L2Nru-00069N-8m for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Nov 2008 11:31:38 +0100 Original-Received: from localhost ([127.0.0.1]:38616 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L2Nql-0003je-O2 for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Nov 2008 05:30:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L2Iqu-000688-1E for bug-gnu-emacs@gnu.org; Tue, 18 Nov 2008 00:10:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L2Iqq-00067H-Ey for bug-gnu-emacs@gnu.org; Tue, 18 Nov 2008 00:10:14 -0500 Original-Received: from [199.232.76.173] (port=59017 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L2Iqq-000677-BK for bug-gnu-emacs@gnu.org; Tue, 18 Nov 2008 00:10:12 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:33304) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L2Iqq-0001te-31 for bug-gnu-emacs@gnu.org; Tue, 18 Nov 2008 00:10:12 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAI5A8ph031841; Mon, 17 Nov 2008 21:10:09 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mAI504ir028274; Mon, 17 Nov 2008 21:00:04 -0800 X-Loop: don@donarmstrong.com Resent-From: Josh Elsasser Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 18 Nov 2008 05:00:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1365 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122698397626893 (code B ref -1); Tue, 18 Nov 2008 05:00:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 18 Nov 2008 04:52:56 +0000 Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAI4qqhH026887 for ; Mon, 17 Nov 2008 20:52:54 -0800 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L2Ia4-0002dk-Fl for bug-gnu-emacs@gnu.org; Mon, 17 Nov 2008 23:52:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L2Ia3-0002dY-VP for bug-gnu-emacs@gnu.org; Mon, 17 Nov 2008 23:52:52 -0500 Original-Received: from [199.232.76.173] (port=48053 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L2Ia3-0002dV-SP for bug-gnu-emacs@gnu.org; Mon, 17 Nov 2008 23:52:51 -0500 Original-Received: from opal.elsasser.org ([198.145.64.114]:3412) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L2Ia3-0000Pd-Fq for bug-gnu-emacs@gnu.org; Mon, 17 Nov 2008 23:52:51 -0500 Original-Received: by opal.elsasser.org (Postfix, from userid 1000) id A5DE03F7B8; Mon, 17 Nov 2008 20:52:38 -0800 (PST) X-detected-operating-system: by monty-python.gnu.org: OpenBSD 3.0-3.9 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 18 Nov 2008 00:10:14 -0500 X-Mailman-Approved-At: Tue, 18 Nov 2008 05:30:16 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:22465 Archived-At: Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: The emacs configure script identifies hppa-*-openbsd* as the wrong platform, hp9000s300 instead of hp800. As the name might suggest, OpenBSD/hppa is for HP machines with PA-RISC processors, and not Motorola 68k. A quick glance at the NetBSD section of the configure script should confirm this. The following patch allows emacs 22.2 to build for me on my hppa box, otherwise the configure script bails with the "your platform is obsolete" message and exit code 33. --- configure.in.orig Sat Mar 1 11:28:11 2008 +++ configure.in Mon Nov 17 18:27:53 2008 @@ -298,7 +298,7 @@ dnl see the `changequote' comment above. case "${canonical}" in alpha*-*-openbsd*) machine=alpha ;; arm-*-openbsd*) machine=arm ;; - hppa-*-openbsd*) machine=hp9000s300 ;; + hppa-*-openbsd*) machine=hp800 ;; i386-*-openbsd*) machine=intel386 ;; m68k-*-openbsd*) machine=hp9000s300 ;; m88k-*-openbsd*) machine=aviion ;; If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/local/share/emacs/22.2/etc/DEBUG for instructions. In GNU Emacs 22.2.1 (hppa-unknown-openbsd4.4, X toolkit) of 2008-11-17 on hippo.joshe.fake configured using `configure 'hppa-unknown-openbsd4.4' '--with-pop' '--localstatedir=/var' '--with-x-toolkit=athena' '--without-toolkit-scroll-bars' '--prefix=/usr/local' '--sysconfdir=/etc' '--mandir=/usr/local/man' '--infodir=/usr/local/info' 'build_alias=hppa-unknown-openbsd4.4' 'host_alias=hppa-unknown-openbsd4.4' 'target_alias=hppa-unknown-openbsd4.4' 'CC=cc' 'CFLAGS=-O2 -pipe' 'LDFLAGS=-L/usr/local/lib' 'CPPFLAGS=-I/usr/local/include -I/usr/local/include/libpng'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil locale-coding-system: nil default-enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t line-number-mode: t Recent input: ESC x r e p TAB o TAB r TAB RET Recent messages: ("emacs" "-q") For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Loading help-mode...done Making completion list... Loading emacsbug... Loading regexp-opt...done Loading emacsbug...done