-
Bug
-
Resolution: Won't Fix
-
P4
-
8
-
generic
-
os_x
Modifying an m4 file on a mac, something as simple as a changing the copyright year makes the common/autoconf/autogen.sh to fail making configure to fail completely.
Here is my output from an email thread:
==
$ bash common/autoconf/autogen.sh
Generating generated-configure.sh
/usr/bin/gm4:stdin:185: bad expression in eval: 32 > <dynamic>
autom4te: /usr/bin/gm4 failed with exit status: 1
Generating custom generated-configure.sh
/usr/bin/gm4:stdin:185: bad expression in eval: 32 > <dynamic>
autom4te: /usr/bin/gm4 failed with exit status: 1
$
Also, as a proof of concept, all I changed was the copyright year from 2013 to 2014 in the comments and it fails.
$ hg diff autoconf/custom-hook.m4
diff --git a/autoconf/custom-hook.m4 b/autoconf/custom-hook.m4
--- a/autoconf/custom-hook.m4
+++ b/autoconf/custom-hook.m4
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2012, 2013 Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2014 Oracle and/or its affiliates. All rights reserved.
# ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
#
Here is my output from an email thread:
==
$ bash common/autoconf/autogen.sh
Generating generated-configure.sh
/usr/bin/gm4:stdin:185: bad expression in eval: 32 > <dynamic>
autom4te: /usr/bin/gm4 failed with exit status: 1
Generating custom generated-configure.sh
/usr/bin/gm4:stdin:185: bad expression in eval: 32 > <dynamic>
autom4te: /usr/bin/gm4 failed with exit status: 1
$
Also, as a proof of concept, all I changed was the copyright year from 2013 to 2014 in the comments and it fails.
$ hg diff autoconf/custom-hook.m4
diff --git a/autoconf/custom-hook.m4 b/autoconf/custom-hook.m4
--- a/autoconf/custom-hook.m4
+++ b/autoconf/custom-hook.m4
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2012, 2013 Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2014 Oracle and/or its affiliates. All rights reserved.
# ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
#