GNU bug report logs - #6181
24.0.50; configure fails to detect necessary startup files on netbsd and possibilly on openbsd

Previous Next

Package: emacs;

Reported by: enami tsugutomo <tsugutomo.enami <at> jp.sony.com>

Date: Thu, 13 May 2010 04:57:01 UTC

Severity: normal

Found in version 24.0.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 6181 in the body.
You can then email your comments to 6181 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6181; Package emacs. (Thu, 13 May 2010 04:57:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to enami tsugutomo <tsugutomo.enami <at> jp.sony.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 13 May 2010 04:57:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: enami tsugutomo <tsugutomo.enami <at> jp.sony.com>
To: bug-gnu-emacs <at> 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
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)




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Thu, 13 May 2010 07:29:01 GMT) Full text and rfc822 format available.

Notification sent to enami tsugutomo <tsugutomo.enami <at> jp.sony.com>:
bug acknowledged by developer. (Thu, 13 May 2010 07:29:01 GMT) Full text and rfc822 format available.

Message #10 received at 6181-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 6181-done <at> debbugs.gnu.org
Subject: Re: bug#6181: 24.0.50;
	configure fails to detect necessary startup files on netbsd and
	possibilly on openbsd
Date: Thu, 13 May 2010 03:28:27 -0400
Thanks.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 10 Jun 2010 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 69 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.