From unknown Thu Aug 14 21:49:40 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6181: 24.0.50; configure fails to detect necessary startup files on netbsd and possibilly on openbsd Resent-From: enami tsugutomo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 May 2010 04:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6181 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 6181@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.127372659515086 (code B ref -1); Thu, 13 May 2010 04:57:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 May 2010 04:56:35 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCQTL-0003vH-8I for submit@debbugs.gnu.org; Thu, 13 May 2010 00:56:35 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCQTI-0003v5-8N for submit@debbugs.gnu.org; Thu, 13 May 2010 00:56:33 -0400 Received: from lists.gnu.org ([199.232.76.165]:51137) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OCQTE-0005o1-Kf for submit@debbugs.gnu.org; Thu, 13 May 2010 00:56:28 -0400 Received: from [140.186.70.92] (port=51171 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OCPkQ-0001Tj-OY for bug-gnu-emacs@gnu.org; Thu, 13 May 2010 00:10:11 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD, URIBL_BLACK autolearn=no version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OCPkP-000721-Ge for bug-gnu-emacs@gnu.org; Thu, 13 May 2010 00:10:10 -0400 Received: from ms4.sony.co.jp ([211.125.136.198]:51819) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCPkO-00071Y-VH for bug-gnu-emacs@gnu.org; Thu, 13 May 2010 00:10:09 -0400 Received: from mta7.sony.co.jp (mta7.Sony.CO.JP [137.153.71.12]) by ms4.sony.co.jp (R8/Sony) with ESMTP id o4D49w8t008706 for ; Thu, 13 May 2010 13:09:58 +0900 (JST) Received: from mta7.sony.co.jp (localhost [127.0.0.1]) by mta7.sony.co.jp (R8/Sony) with ESMTP id o4D49vJN017595 for ; Thu, 13 May 2010 13:09:57 +0900 (JST) Received: from smail3.sm.sony.co.jp (smail3.sm.sony.co.jp [43.15.151.2]) by mta7.sony.co.jp (R8/Sony) with ESMTP id o4D49uxG017592 for ; Thu, 13 May 2010 13:09:56 +0900 (JST) Received: from email.sm.sony.co.jp (email.sm.sony.co.jp [43.15.151.3]) by smail3.sm.sony.co.jp (8.11.6p3/8.11.6) with ESMTP id o4D4b8k10244 for ; Thu, 13 May 2010 13:37:09 +0900 (JST) Received: from rplaca.sm.sony.co.jp (rplaca.sm.sony.co.jp [43.15.152.87]) by email.sm.sony.co.jp (8.13.3/8.13.3) with ESMTP id o4D49w7J026203 for ; Thu, 13 May 2010 13:09:58 +0900 (JST) Received: by rplaca.sm.sony.co.jp (Postfix, from userid 8324) id 0864E3444A; Thu, 13 May 2010 13:09:58 +0900 (JST) From: enami tsugutomo Date: Thu, 13 May 2010 13:09:57 +0900 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.6 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.6 (----) If opsys is netbsd (or openbsd), configure trys to check the existense of file crti.o under the directory $CRT_DIR. But since the shell expression written in the script is wrong ($(var) is not variable reference but command substitution), it fails to detect the existense. As a result, generated src/temacs is not executable at least on netbsd. It looks like there is confusion between makefile syntax and shell script syntax. Here is a diff to configure (of course actual fix should be done in configure.in though): === modified file 'configure' --- configure 2010-05-12 03:09:56 +0000 +++ configure 2010-05-13 03:43:47 +0000 @@ -6484,7 +6484,7 @@ START_FILES='pre-crt0.o $(CRT_DIR)/crt0.o' ;; netbsd | openbsd ) - if test -f $(CRT_DIR)/crti.o; then + if test -f $CRT_DIR/crti.o; then LIB_STANDARD='-lgcc -lc -lgcc $(CRT_DIR)/crtend.o $(CRT_DIR)/crtn.o' START_FILES='pre-crt0.o $(CRT_DIR)/crt0.o $(CRT_DIR)/crti.o $(CRT_DIR)/crtbegin.o' else In GNU Emacs 24.0.50.3 (x86_64--netbsd) of 2010-05-13 on rplaca.sm.sony.co.jp configured using `configure 'x86_64--netbsd' '--with-x=no' 'build_alias=x86_64--netbsd' 'host_alias=x86_64--netbsd' 'target_alias=x86_64--netbsd'' 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 value of $XMODIFIERS: nil locale-coding-system: nil default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: file-name-shadow-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Recent input: ESC x r e p o TAB r TAB RET Recent messages: ("emacs") For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr message sendmail regexp-opt rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug help-mode easymenu view japan-util ediff-hook vc-hooks lisp-float-type lisp-mode register page menu-bar rfn-eshadow timer jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) From unknown Thu Aug 14 21:49:40 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: enami tsugutomo Subject: bug#6181: closed (Re: bug#6181: 24.0.50; configure fails to detect necessary startup files on netbsd and possibilly on openbsd) Message-ID: References: <3fy6fo1cro.fsf@fencepost.gnu.org> X-Gnu-PR-Message: they-closed 6181 X-Gnu-PR-Package: emacs Reply-To: 6181@debbugs.gnu.org Date: Thu, 13 May 2010 07:29:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1273735742-20476-1" This is a multi-part message in MIME format... ------------=_1273735742-20476-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #6181: 24.0.50; configure fails to detect necessary startup files on netbsd= and possibilly on openbsd which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 6181@debbugs.gnu.org. --=20 6181: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D6181 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1273735742-20476-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 6181-done) by debbugs.gnu.org; 13 May 2010 07:28:34 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCSqP-0005K2-PK for submit@debbugs.gnu.org; Thu, 13 May 2010 03:28:33 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCSqN-0005Ju-U9 for 6181-done@debbugs.gnu.org; Thu, 13 May 2010 03:28:32 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OCSqJ-0007HA-H9; Thu, 13 May 2010 03:28:27 -0400 To: 6181-done@debbugs.gnu.org Subject: Re: bug#6181: 24.0.50; configure fails to detect necessary startup files on netbsd and possibilly on openbsd References: From: Glenn Morris X-Spook: ARPA John Kerry SAPO Kh-11 chameleon man Operation Iraqi X-Ran: \C_h[3(R_'oUK55 (enami tsugutomo's message of "Thu\, 13 May 2010 13\:09\:57 +0900") Message-ID: <3fy6fo1cro.fsf@fencepost.gnu.org> 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-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: 6181-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) Thanks. ------------=_1273735742-20476-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 13 May 2010 04:56:35 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCQTL-0003vH-8I for submit@debbugs.gnu.org; Thu, 13 May 2010 00:56:35 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCQTI-0003v5-8N for submit@debbugs.gnu.org; Thu, 13 May 2010 00:56:33 -0400 Received: from lists.gnu.org ([199.232.76.165]:51137) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OCQTE-0005o1-Kf for submit@debbugs.gnu.org; Thu, 13 May 2010 00:56:28 -0400 Received: from [140.186.70.92] (port=51171 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OCPkQ-0001Tj-OY for bug-gnu-emacs@gnu.org; Thu, 13 May 2010 00:10:11 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD, URIBL_BLACK autolearn=no version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OCPkP-000721-Ge for bug-gnu-emacs@gnu.org; Thu, 13 May 2010 00:10:10 -0400 Received: from ms4.sony.co.jp ([211.125.136.198]:51819) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCPkO-00071Y-VH for bug-gnu-emacs@gnu.org; Thu, 13 May 2010 00:10:09 -0400 Received: from mta7.sony.co.jp (mta7.Sony.CO.JP [137.153.71.12]) by ms4.sony.co.jp (R8/Sony) with ESMTP id o4D49w8t008706 for ; Thu, 13 May 2010 13:09:58 +0900 (JST) Received: from mta7.sony.co.jp (localhost [127.0.0.1]) by mta7.sony.co.jp (R8/Sony) with ESMTP id o4D49vJN017595 for ; Thu, 13 May 2010 13:09:57 +0900 (JST) Received: from smail3.sm.sony.co.jp (smail3.sm.sony.co.jp [43.15.151.2]) by mta7.sony.co.jp (R8/Sony) with ESMTP id o4D49uxG017592 for ; Thu, 13 May 2010 13:09:56 +0900 (JST) Received: from email.sm.sony.co.jp (email.sm.sony.co.jp [43.15.151.3]) by smail3.sm.sony.co.jp (8.11.6p3/8.11.6) with ESMTP id o4D4b8k10244 for ; Thu, 13 May 2010 13:37:09 +0900 (JST) Received: from rplaca.sm.sony.co.jp (rplaca.sm.sony.co.jp [43.15.152.87]) by email.sm.sony.co.jp (8.13.3/8.13.3) with ESMTP id o4D49w7J026203 for ; Thu, 13 May 2010 13:09:58 +0900 (JST) Received: by rplaca.sm.sony.co.jp (Postfix, from userid 8324) id 0864E3444A; Thu, 13 May 2010 13:09:58 +0900 (JST) From: enami tsugutomo To: bug-gnu-emacs@gnu.org Subject: 24.0.50; configure fails to detect necessary startup files on netbsd and possibilly on openbsd Date: Thu, 13 May 2010 13:09:57 +0900 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.6 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.6 (----) If opsys is netbsd (or openbsd), configure trys to check the existense of file crti.o under the directory $CRT_DIR. But since the shell expression written in the script is wrong ($(var) is not variable reference but command substitution), it fails to detect the existense. As a result, generated src/temacs is not executable at least on netbsd. It looks like there is confusion between makefile syntax and shell script syntax. Here is a diff to configure (of course actual fix should be done in configure.in though): === modified file 'configure' --- configure 2010-05-12 03:09:56 +0000 +++ configure 2010-05-13 03:43:47 +0000 @@ -6484,7 +6484,7 @@ START_FILES='pre-crt0.o $(CRT_DIR)/crt0.o' ;; netbsd | openbsd ) - if test -f $(CRT_DIR)/crti.o; then + if test -f $CRT_DIR/crti.o; then LIB_STANDARD='-lgcc -lc -lgcc $(CRT_DIR)/crtend.o $(CRT_DIR)/crtn.o' START_FILES='pre-crt0.o $(CRT_DIR)/crt0.o $(CRT_DIR)/crti.o $(CRT_DIR)/crtbegin.o' else In GNU Emacs 24.0.50.3 (x86_64--netbsd) of 2010-05-13 on rplaca.sm.sony.co.jp configured using `configure 'x86_64--netbsd' '--with-x=no' 'build_alias=x86_64--netbsd' 'host_alias=x86_64--netbsd' 'target_alias=x86_64--netbsd'' 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 value of $XMODIFIERS: nil locale-coding-system: nil default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: file-name-shadow-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Recent input: ESC x r e p o TAB r TAB RET Recent messages: ("emacs") For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr message sendmail regexp-opt rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug help-mode easymenu view japan-util ediff-hook vc-hooks lisp-float-type lisp-mode register page menu-bar rfn-eshadow timer jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) ------------=_1273735742-20476-1--