From unknown Sat Jun 14 05:08:53 2025 X-Loop: don@donarmstrong.com Subject: bug#1365: Configure script misidentifies OpenBSD/hppa Reply-To: Josh Elsasser , 1365@debbugs.gnu.org Resent-From: Josh Elsasser Resent-To: bug-submit-list@lists.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: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122698397626893 (code B ref -1); Tue, 18 Nov 2008 05:00:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.9 required=4.0 tests=BAYES_00,FOURLA, IMPRONONCABLE_2,MURPHY_DRUGS_REL8,RCVD_IN_DNSWL_MED,URIBL_BLACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 18 Nov 2008 04:52:56 +0000 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 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 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 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 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 Received: by opal.elsasser.org (Postfix, from userid 1000) id A5DE03F7B8; Mon, 17 Nov 2008 20:52:38 -0800 (PST) From: Josh Elsasser To: bug-gnu-emacs@gnu.org Message-Id: <20081118045238.A5DE03F7B8@opal.elsasser.org> Date: Mon, 17 Nov 2008 20:52:38 -0800 (PST) X-detected-operating-system: by monty-python.gnu.org: OpenBSD 3.0-3.9 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 From unknown Sat Jun 14 05:08:53 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Josh Elsasser Subject: bug#1365 closed by Glenn Morris (Re: bug#1365: Configure script misidentifies OpenBSD/hppa) Message-ID: References: <20081118045238.A5DE03F7B8@opal.elsasser.org> X-Emacs-PR-Message: they-closed 1365 X-Emacs-PR-Package: emacs Reply-To: 1365@debbugs.gnu.org Content-Type: multipart/mixed; boundary="----------=_1227150004-16660-1" This is a multi-part message in MIME format... ------------=_1227150004-16660-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #1365: Configure script misidentifies OpenBSD/hppa It has been closed by Glenn Morris . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Glenn Morris by replying to this email. --=20 1365: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D1365 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1227150004-16660-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From rgm@gnu.org Wed Nov 19 18:52:27 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-11.3 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED,TVD_SPACE_RATIO,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1365-done) by emacsbugs.donarmstrong.com; 20 Nov 2008 02:52:27 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAK2qO83015298 for <1365-done@emacsbugs.donarmstrong.com>; Wed, 19 Nov 2008 18:52:25 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1L2zeQ-0005ez-IL; Wed, 19 Nov 2008 21:52:14 -0500 From: Glenn Morris To: 1365-done@debbugs.gnu.org Subject: Re: bug#1365: Configure script misidentifies OpenBSD/hppa References: <20081118045238.A5DE03F7B8@opal.elsasser.org> X-Spook: Nazi beanpole AMW Exon Shell JFK Bruxelles investigation X-Ran: B>BuJ2ZHk{%$:gsL4T='~`x*i$p5ib%swms{-Nfj\?tXP=ImYWPB2cHJ>R>pFD?2mF>{XI X-Hue: green X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 19 Nov 2008 21:52:14 -0500 In-Reply-To: <20081118045238.A5DE03F7B8@opal.elsasser.org> (Josh Elsasser's message of "Mon, 17 Nov 2008 20:52:38 -0800 (PST)") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-CrossAssassin-Score: 2 Thanks; applied. ------------=_1227150004-16660-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From joshe@elsasser.org Mon Nov 17 20:52:56 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.9 required=4.0 tests=BAYES_00,FOURLA, IMPRONONCABLE_2,MURPHY_DRUGS_REL8,RCVD_IN_DNSWL_MED,URIBL_BLACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 18 Nov 2008 04:52:56 +0000 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 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 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 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 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 Received: by opal.elsasser.org (Postfix, from userid 1000) id A5DE03F7B8; Mon, 17 Nov 2008 20:52:38 -0800 (PST) From: Josh Elsasser To: bug-gnu-emacs@gnu.org Subject: Configure script misidentifies OpenBSD/hppa Message-Id: <20081118045238.A5DE03F7B8@opal.elsasser.org> Date: Mon, 17 Nov 2008 20:52:38 -0800 (PST) X-detected-operating-system: by monty-python.gnu.org: OpenBSD 3.0-3.9 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 ------------=_1227150004-16660-1--