Forum: Ruby-core [ruby-trunk - Bug #8020][Open] make-snapshot fails since r39221

Posted by Heesob Park (phasis)
on 2013-03-05 11:27
(Received via mailing list)
Issue #8020 has been reported by phasis68 (Heesob Park).

----------------------------------------
Bug #8020: make-snapshot fails since r39221
https://bugs.ruby-lang.org/issues/8020

Author: phasis68 (Heesob Park)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 2.0.0dev (2012-11-08 trunk 37564) [i686-linux]


$ ruby tool/make-snapshot /tmp/snapshopt trunk@39221
Exporting trunk@39221
Exported revision 39221.
take a breath, and go ahead
creating configure...configure:1507: error: possibly undefined macro: 
_m4_text_wrap_word
      If this token and others are legitimate, please use 
m4_pattern_allow.
      See the Autoconf documentation.
 failed


$ autoconf --version
autoconf (GNU Autoconf) 2.64
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later
<http://gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.
---
Autoconf 2.50 chosen by Debian wrapper script.
For information and tuning advice see autoconf(1).


I am not sure where it is related to the same issue, the Nightly 
Snapshot(ftp://ftp.ruby-lang.org/pub/ruby/snapshot.tar.gz) is not 
generated since 2013/02/28 04:09:14.
Posted by Nobuyoshi Nakada (nobu)
on 2013-03-05 13:51
(Received via mailing list)
Issue #8020 has been updated by nobu (Nobuyoshi Nakada).


I could make snapshots r39601.

----------------------------------------
Bug #8020: make-snapshot fails since r39221
https://bugs.ruby-lang.org/issues/8020#change-37304

Author: phasis68 (Heesob Park)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 2.0.0dev (2012-11-08 trunk 37564) [i686-linux]


$ ruby tool/make-snapshot /tmp/snapshopt trunk@39221
Exporting trunk@39221
Exported revision 39221.
take a breath, and go ahead
creating configure...configure:1507: error: possibly undefined macro: 
_m4_text_wrap_word
      If this token and others are legitimate, please use 
m4_pattern_allow.
      See the Autoconf documentation.
 failed


$ autoconf --version
autoconf (GNU Autoconf) 2.64
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later
<http://gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.
---
Autoconf 2.50 chosen by Debian wrapper script.
For information and tuning advice see autoconf(1).


I am not sure where it is related to the same issue, the Nightly 
Snapshot(ftp://ftp.ruby-lang.org/pub/ruby/snapshot.tar.gz) is not 
generated since 2013/02/28 04:09:14.
Posted by Heesob Park (phasis)
on 2013-03-06 04:20
(Received via mailing list)
Issue #8020 has been updated by phasis68 (Heesob Park).


This issue only occurs with autoconf 2.64.
The workaround is using quadrigraphs.

Here is a patch:
diff --git a/configure.in b/configure.in.new
index 4d6d6ed..b4f11b7 100644
--- a/configure.in
+++ b/configure.in.new
@@ -625,7 +625,7 @@ AC_ARG_ENABLE(werror,
   AS_HELP_STRING([--disable-werror],
            [don't make warnings into errors
            even if a compiler support -Werror feature
-           [[disabled by default unless development version]]]),
+           @<:@disabled by default unless development version@:>@]),
   [particular_werror_flags=$enableval])

 rb_cv_warnflags="$warnflags"

----------------------------------------
Bug #8020: make-snapshot fails since r39221
https://bugs.ruby-lang.org/issues/8020#change-37323

Author: phasis68 (Heesob Park)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 2.0.0dev (2012-11-08 trunk 37564) [i686-linux]


$ ruby tool/make-snapshot /tmp/snapshopt trunk@39221
Exporting trunk@39221
Exported revision 39221.
take a breath, and go ahead
creating configure...configure:1507: error: possibly undefined macro: 
_m4_text_wrap_word
      If this token and others are legitimate, please use 
m4_pattern_allow.
      See the Autoconf documentation.
 failed


$ autoconf --version
autoconf (GNU Autoconf) 2.64
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later
<http://gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.
---
Autoconf 2.50 chosen by Debian wrapper script.
For information and tuning advice see autoconf(1).


I am not sure where it is related to the same issue, the Nightly 
Snapshot(ftp://ftp.ruby-lang.org/pub/ruby/snapshot.tar.gz) is not 
generated since 2013/02/28 04:09:14.
Posted by Nobuyoshi Nakada (nobu)
on 2013-04-02 02:43
(Received via mailing list)
Issue #8020 has been updated by nobu (Nobuyoshi Nakada).

Status changed from Open to Closed

Fixed at r40034.
----------------------------------------
Bug #8020: make-snapshot fails since r39221
https://bugs.ruby-lang.org/issues/8020#change-38091

Author: phasis68 (Heesob Park)
Status: Closed
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 2.0.0dev (2012-11-08 trunk 37564) [i686-linux]


$ ruby tool/make-snapshot /tmp/snapshopt trunk@39221
Exporting trunk@39221
Exported revision 39221.
take a breath, and go ahead
creating configure...configure:1507: error: possibly undefined macro: 
_m4_text_wrap_word
      If this token and others are legitimate, please use 
m4_pattern_allow.
      See the Autoconf documentation.
 failed


$ autoconf --version
autoconf (GNU Autoconf) 2.64
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later
<http://gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.
---
Autoconf 2.50 chosen by Debian wrapper script.
For information and tuning advice see autoconf(1).


I am not sure where it is related to the same issue, the Nightly 
Snapshot(ftp://ftp.ruby-lang.org/pub/ruby/snapshot.tar.gz) is not 
generated since 2013/02/28 04:09:14.
Posted by nagachika (Tomoyuki Chikanaga) (Guest)
on 2013-04-11 10:01
(Received via mailing list)
Issue #8020 has been updated by nagachika (Tomoyuki Chikanaga).


Hello, nobu.

How do you think about Hessob's workaround patch?
I hesitate to backport the change about requires autoconf version.
Mac OS X Lion's preinstalled autoconf is 2.61.
----------------------------------------
Backport #8020: make-snapshot fails since r39221
https://bugs.ruby-lang.org/issues/8020#change-38440

Author: phasis68 (Heesob Park)
Status: Assigned
Priority: Normal
Assignee: nagachika (Tomoyuki Chikanaga)
Category:
Target version:


$ ruby tool/make-snapshot /tmp/snapshopt trunk@39221
Exporting trunk@39221
Exported revision 39221.
take a breath, and go ahead
creating configure...configure:1507: error: possibly undefined macro: 
_m4_text_wrap_word
      If this token and others are legitimate, please use 
m4_pattern_allow.
      See the Autoconf documentation.
 failed


$ autoconf --version
autoconf (GNU Autoconf) 2.64
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later
<http://gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.
---
Autoconf 2.50 chosen by Debian wrapper script.
For information and tuning advice see autoconf(1).


I am not sure where it is related to the same issue, the Nightly 
Snapshot(ftp://ftp.ruby-lang.org/pub/ruby/snapshot.tar.gz) is not 
generated since 2013/02/28 04:09:14.
Posted by nagachika (Tomoyuki Chikanaga) (Guest)
on 2013-04-26 18:56
(Received via mailing list)
Issue #8020 has been updated by nagachika (Tomoyuki Chikanaga).


nobu told me that this problem occurs only when use both AC_ARG_ENABLE 
and AC_HELP_STRING.
https://twitter.com/n0kada/status/326982877210353664 (in Japanese).
Thank you nobu.

Upgrade required version of autoconf prevent smooth install on some 
platforms still used widely (Lion, CentOS 6.3).
I'll merge Hessob's patch by hand.
----------------------------------------
Backport #8020: make-snapshot fails since r39221
https://bugs.ruby-lang.org/issues/8020#change-38932

Author: phasis68 (Heesob Park)
Status: Assigned
Priority: Normal
Assignee: nagachika (Tomoyuki Chikanaga)
Category:
Target version:


$ ruby tool/make-snapshot /tmp/snapshopt trunk@39221
Exporting trunk@39221
Exported revision 39221.
take a breath, and go ahead
creating configure...configure:1507: error: possibly undefined macro: 
_m4_text_wrap_word
      If this token and others are legitimate, please use 
m4_pattern_allow.
      See the Autoconf documentation.
 failed


$ autoconf --version
autoconf (GNU Autoconf) 2.64
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later
<http://gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.
---
Autoconf 2.50 chosen by Debian wrapper script.
For information and tuning advice see autoconf(1).


I am not sure where it is related to the same issue, the Nightly 
Snapshot(ftp://ftp.ruby-lang.org/pub/ruby/snapshot.tar.gz) is not 
generated since 2013/02/28 04:09:14.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.