GNU bug report logs - #8878
24.0.50; ./configure: line 17305: test: =: unary operator expected

Previous Next

Package: emacs;

Reported by: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>

Date: Thu, 16 Jun 2011 15:03:02 UTC

Severity: normal

Found in version 24.0.50

Done: Paul Eggert <eggert <at> cs.ucla.edu>

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 8878 in the body.
You can then email your comments to 8878 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#8878; Package emacs. (Thu, 16 Jun 2011 15:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Peter Dyballa <Peter_Dyballa <at> Freenet.DE>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 16 Jun 2011 15:03:02 GMT) Full text and rfc822 format available.

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

From: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.50; ./configure: line 17305: test: =: unary operator expected 
Date: Thu, 16 Jun 2011 17:02:02 +0200
Updated a few hours ago (revno: 104605). Reason is that  
gl_cv_func_lstat_dereferences_slashed_symlink on this line 17305

    if test $gl_cv_func_lstat_dereferences_slashed_symlink = no; then

is empty.

--
Greetings

  Pete

Atheism is a non prophet organization.





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8878; Package emacs. (Thu, 16 Jun 2011 21:46:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 8878 <at> debbugs.gnu.org
Subject: Re: bug#8878: 24.0.50;
	./configure: line 17305: test: =: unary operator expected
Date: Thu, 16 Jun 2011 17:45:07 -0400
This looks like a gnulib bug (in lstat.m4) to me.

s/gl_cv_func_lstat_dereferences_slashed_symlink/ac_cv_func_lstat_dereferences_slashed_symlink




Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Thu, 16 Jun 2011 23:12:02 GMT) Full text and rfc822 format available.

Notification sent to Peter Dyballa <Peter_Dyballa <at> Freenet.DE>:
bug acknowledged by developer. (Thu, 16 Jun 2011 23:12:02 GMT) Full text and rfc822 format available.

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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 8878-done <at> debbugs.gnu.org, Bug-gnulib <bug-gnulib <at> gnu.org>
Subject: Re: bug#8878: 24.0.50;
	./configure: line 17305: test: =: unary operator expected
Date: Thu, 16 Jun 2011 16:11:39 -0700
On 06/16/11 14:45, Glenn Morris wrote:

> This looks like a gnulib bug (in lstat.m4) to me.

Thanks, fixed in gnulib as follows, with the fix propagated
to the Emacs trunk as bzr 104611.

 ChangeLog   |    7 +++++++
 m4/lstat.m4 |    4 ++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5f04b84..f2c6ec6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-06-16  Paul Eggert  <eggert <at> cs.ucla.edu>
+
+	* m4/lstat.m4 (gl_FUNC_LSTAT): Fix typo in prerequisite.
+	After the 2011-05-21 change, this macro requires
+	gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, not
+	AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
+
 2011-06-16  Bruno Haible  <bruno <at> clisp.org>
 
 	fprintftime: Move AC_LIBOBJ invocations to module description.
diff --git a/m4/lstat.m4 b/m4/lstat.m4
index 72c76c6..fe161d4 100644
--- a/m4/lstat.m4
+++ b/m4/lstat.m4
@@ -1,4 +1,4 @@
-# serial 22
+# serial 23
 
 # Copyright (C) 1997-2001, 2003-2011 Free Software Foundation, Inc.
 #
@@ -15,7 +15,7 @@ AC_DEFUN([gl_FUNC_LSTAT],
   dnl "#define lstat stat", and lstat.c is a no-op.
   AC_CHECK_FUNCS_ONCE([lstat])
   if test $ac_cv_func_lstat = yes; then
-    AC_REQUIRE([AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK])
+    AC_REQUIRE([gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK])
     if test $gl_cv_func_lstat_dereferences_slashed_symlink = no; then
       REPLACE_LSTAT=1
     fi
-- 
1.7.4.4





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 15 Jul 2011 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 314 days ago.

Previous Next


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