bug#29178: Failure to build automake > 11

2018-01-04 Thread Mathieu Lirzin
Hello,

carl hansen  writes:

>>
>> Ah, that looks like it could be the culprit:
>>
>> ig25@linux-d6cw:~/Downloads/automake-1.15> t/wrap/automake-1.15 --help
>> Unescaped left brace in regex is illegal here in regex; marked by <-- HERE
>> in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at
>> /home/ig25/Downloads/automake-1.15/bin/automake line 3936.
>> Compilation failed in require at t/wrap/automake-1.15 line 27.
>>
>>
> That's fixed in automake 1.15.1 you seem to be using 1.15

I assume that this was the actual problem.  Since this bug has already
been fixed in Automake 1.15.1.  I am closing this bug.

Thanks.

-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37





bug#29178: Failure to build automake > 11

2017-11-07 Thread Philipp Thomas
Hi Thomas,

* Thomas Koenig (tkoe...@netcologne.de) [20171106 23:31]:

> > > help2man: can't get `--help' info from automake-1.15

Tumbleweed does seem to have automake 1.15.1 so why don't you check with
'zypper se -s automake' and if TW does have it do 'zypper up automake'. With
that done the error should be gone.

hth
Philipp





bug#29178: Failure to build automake > 11

2017-11-06 Thread carl hansen
>
> Ah, that looks like it could be the culprit:
>
> ig25@linux-d6cw:~/Downloads/automake-1.15> t/wrap/automake-1.15 --help
> Unescaped left brace in regex is illegal here in regex; marked by <-- HERE
> in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at
> /home/ig25/Downloads/automake-1.15/bin/automake line 3936.
> Compilation failed in require at t/wrap/automake-1.15 line 27.
>
>
That's fixed in automake 1.15.1 you seem to be using 1.15





bug#29178: Failure to build automake > 11

2017-11-06 Thread Mathieu Lirzin
Thomas Koenig  writes:

> ig25@linux-d6cw:~/Downloads/automake-1.15> t/wrap/automake-1.15 --help
> Unescaped left brace in regex is illegal here in regex; marked by <-- 
> HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at
> /home/ig25/Downloads/automake-1.15/bin/automake line 3936.
> Compilation failed in require at t/wrap/automake-1.15 line 27.

Indeed this is a symptom of the unescaped issue of bug#21001 [1].

Looking at your 'config.log':

> ## - ##
> ## Output variables. ##
> ## - ##
>
> ACLOCAL='"/home/ig25/Downloads/automake-1.15/t/wrap/aclocal-1.15"'
> AMTAR='$${TAR-tar}'
> AM_BACKSLASH='\'
> AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
> AM_DEFAULT_VERBOSITY='0'
> AM_TEST_RUNNER_SHELL='/usr/bin/sh'
> AM_V='$(V)'
> APIVERSION='1.15'
> AUTOCONF='${SHELL} /home/ig25/Downloads/automake-1.15/lib/missing autoconf'
> AUTOHEADER='${SHELL} /home/ig25/Downloads/automake-1.15/lib/missing 
> autoheader'
> AUTOMAKE='"/home/ig25/Downloads/automake-1.15/t/wrap/automake-1.15"'
> AWK='gawk'
> CC='cc'
> CFLAGS='-g -O2'
> CPPFLAGS=''
> CXX='c++'
> CXXFLAGS='-g -O2'
> CYGPATH_W='echo'
> DEFS='-DPACKAGE_NAME=\"GNU\ Automake\" -DPACKAGE_TARNAME=\"automake\" 
> -DPACKAGE_VERSION=\"1.15\" -DPACKAGE_STRING=\"GNU\ Automake\ 1.15\" 
> -DPACKAGE_BUGREPORT=\"bug-automake@gnu.org\" 
> -DPACKAGE_URL=\"http://www.gnu.org/software/automake/\;'

The fact that PACKAGE_VERSION and PACKAGE_STRING refers to 1.15 is not
normal.  It should be 1.15.1.

Could this be possible that you are building Automake 1.15 and not
1.15.1?

[1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=21001.

-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37





bug#29178: Failure to build automake > 11

2017-11-06 Thread Thomas Koenig

Am 06.11.2017 um 23:37 schrieb Mathieu Lirzin:

Thomas Koenig  writes:


Could you provide your config.log and the output of 'make V=1' and
'bin/automake --help'?



Sure.

ig25@linux-d6cw:~/Downloads/automake-1.15> make V=1
: && /usr/bin/mkdir -p doc && {
PATH='/home/ig25/Downloads/automake-1.15/t/wrap:'$PATH && export PATH;
} && /usr/bin/perl ./doc/help2man --output=doc/automake-1.15.1
automake-1.15
help2man: can't get `--help' info from automake-1.15
Try `--no-discard-stderr' if option outputs to stderr
make: *** [Makefile:3687: doc/automake-1.15.1] Fehler 255




ig25@linux-d6cw:~/Downloads/automake-1.15> bin/automake --help
Can't locate Automake/Config.pm in @INC (you may need to install the
Automake::Config module) (@INC contains:
/home/ig25/share/automake-1.15
/usr/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.26.1
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.26.1
/usr/lib/perl5/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/5.26.1
/usr/lib/perl5/site_perl) at bin/automake line 48.
BEGIN failed--compilation aborted at bin/automake line 48.


Oops my bad, I should have asked for the output of 't/wrap/automake-1.15
--help' instead.

Can you provide it?


Ah, that looks like it could be the culprit:

ig25@linux-d6cw:~/Downloads/automake-1.15> t/wrap/automake-1.15 --help
Unescaped left brace in regex is illegal here in regex; marked by <-- 
HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at 
/home/ig25/Downloads/automake-1.15/bin/automake line 3936.

Compilation failed in require at t/wrap/automake-1.15 line 27.







bug#29178: Failure to build automake > 11

2017-11-06 Thread Mathieu Lirzin
Thomas Koenig  writes:

>> Could you provide your config.log and the output of 'make V=1' and
>> 'bin/automake --help'?

> Sure.
>
> ig25@linux-d6cw:~/Downloads/automake-1.15> make V=1
> : && /usr/bin/mkdir -p doc && {
> PATH='/home/ig25/Downloads/automake-1.15/t/wrap:'$PATH && export PATH;
> } && /usr/bin/perl ./doc/help2man --output=doc/automake-1.15.1
> automake-1.15
> help2man: can't get `--help' info from automake-1.15
> Try `--no-discard-stderr' if option outputs to stderr
> make: *** [Makefile:3687: doc/automake-1.15.1] Fehler 255
>

> ig25@linux-d6cw:~/Downloads/automake-1.15> bin/automake --help
> Can't locate Automake/Config.pm in @INC (you may need to install the
> Automake::Config module) (@INC contains:
> /home/ig25/share/automake-1.15
> /usr/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
> /usr/lib/perl5/site_perl/5.26.1
> /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.26.1
> /usr/lib/perl5/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/5.26.1
> /usr/lib/perl5/site_perl) at bin/automake line 48.
> BEGIN failed--compilation aborted at bin/automake line 48.

Oops my bad, I should have asked for the output of 't/wrap/automake-1.15
--help' instead.

Can you provide it?

-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37





bug#29178: Failure to build automake > 11

2017-11-06 Thread Thomas Koenig

Hi Mathieu,


Thomas Koenig  writes:


Am 06.11.2017 um 22:14 schrieb carl hansen:

On Mon, Nov 6, 2017 at 12:45 PM, Thomas Koenig  wrote:

Hi,

in trying to narrow down a build failure of gcc, see

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82856

I tried to build a newer version of automake than 1-11.6
(which gcc is currently locked at). All builds failed with

GEN  doc/automake-1.13.1



your bug is only with recent versions of perl which require stricter quoting.

latest automake is 1.15.1


The latest version of automake shows the same error on my system:

ig25@linux-d6cw:~/Downloads/automake-1.15> make
   GEN  bin/automake
   GEN  bin/aclocal
   GEN  t/ax/shell-no-trail-bslash
   GEN  t/ax/cc-no-c-o
   GEN  runtest
   GEN  doc/aclocal.1
   GEN  doc/automake.1
   GEN  lib/Automake/Config.pm
   GEN  doc/aclocal-1.15.1
   GEN  doc/automake-1.15.1
help2man: can't get `--help' info from automake-1.15
Try `--no-discard-stderr' if option outputs to stderr
make: *** [Makefile:3687: doc/automake-1.15.1] Fehler 255


Could you provide your config.log and the output of 'make V=1' and
'bin/automake --help'?


Sure.

ig25@linux-d6cw:~/Downloads/automake-1.15> make V=1
: && /usr/bin/mkdir -p doc && { 
PATH='/home/ig25/Downloads/automake-1.15/t/wrap:'$PATH && export PATH; } 
&& /usr/bin/perl ./doc/help2man --output=doc/automake-1.15.1 automake-1.15

help2man: can't get `--help' info from automake-1.15
Try `--no-discard-stderr' if option outputs to stderr
make: *** [Makefile:3687: doc/automake-1.15.1] Fehler 255
ig25@linux-d6cw:~/Downloads/automake-1.15> bin/automake --help
Can't locate Automake/Config.pm in @INC (you may need to install the 
Automake::Config module) (@INC contains: /home/ig25/share/automake-1.15 
/usr/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi 
/usr/lib/perl5/site_perl/5.26.1 
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.26.1 
/usr/lib/perl5/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/5.26.1 
/usr/lib/perl5/site_perl) at bin/automake line 48.

BEGIN failed--compilation aborted at bin/automake line 48.

Regards

Thomas
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by GNU Automake configure 1.15, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --prefix=/home/ig25

## - ##
## Platform. ##
## - ##

hostname = linux-d6cw
uname -m = x86_64
uname -r = 4.13.10-1-default
uname -s = Linux
uname -v = #1 SMP PREEMPT Fri Oct 27 09:03:09 UTC 2017 (db36cf8)

/usr/bin/uname -p = x86_64
/bin/uname -X = unknown

/bin/arch  = x86_64
/usr/bin/arch -k   = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo  = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /usr/bin
PATH: /home/ig25/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/lib/mit/sbin
PATH: /home/ig25/salome/appli_V6_6_0


## --- ##
## Core tests. ##
## --- ##

configure:1892: loading site script /usr/share/site/x86_64-unknown-linux-gnu
| #!/bin/sh
| # Site script for configure. It is resourced via $CONFIG_SITE environment varaible.
| 
| # If user did not specify libdir, guess the correct target:
| # Use lib64 for 64 bit bi-arch targets, keep the default for the rest.
| if test "$libdir" = '${exec_prefix}/lib' ; then
| 
| 	ac_config_site_64bit_host=NONE
| 
| 	case "$host" in
| 	"" )
| 		# User did not specify host target.
| 		# The native platform x86_64 is a bi-arch platform.
| 		# Try to detect cross-compilation to inferior architecture.
| 
| 		# We are trying to guess 32-bit target compilation. It's not as easy as
| 		# it sounds, as there is possible several intermediate combinations.
| 		ac_config_site_cross_to_32bit_host=NONE
| 
| 		# User defined -m32 in CFLAGS or CXXFLAGS or CC or CXX:
| 		# (It's sufficient for 32-bit, but alone may cause mis-behavior of some checks.)
| 		case "$CFLAGS $CXXFLAGS $CC $CXX" in
| 		*-m32*)
| 			ac_config_site_cross_to_32bit_host=YES
| 			;;
| 		esac
| 
| 		# Running with linux32:
| 		# (Changes detected platform, but not the toolchain target.)
| 		case "`/bin/uname -i`" in
| 		x86_64 | ppc64 | s390x | aarch64 )
| 			;;
| 		* )
| 			ac_config_site_cross_to_32bit_host=YES
| 			;;
| 		esac
| 
| 		if test "x$ac_config_site_cross_to_32bit_host" = xNONE; then
| 			ac_config_site_64bit_host=YES
| 		fi
| 
| 		;;
| 	*x86_64* | *ppc64* | *s390x* | *aarch64* )
| 		ac_config_site_64bit_host=YES
| 		;;
| 	esac
| 
| 	if test "x$ac_config_site_64bit_host" = xYES; then
| 		libdir='${exec_prefix}/lib64'
| 	fi
| fi
| 
| # If user did not specify libexecdir, set the correct target:
| # Nor FHS nor openSUSE allow prefix/libexec. Let's default to prefix/lib.
| 
| if test "$libexecdir" = 

bug#29178: Failure to build automake > 11

2017-11-06 Thread Mathieu Lirzin
Hello Thomas,

Thomas Koenig  writes:

> Am 06.11.2017 um 22:14 schrieb carl hansen:
>> On Mon, Nov 6, 2017 at 12:45 PM, Thomas Koenig  wrote:
>>> Hi,
>>>
>>> in trying to narrow down a build failure of gcc, see
>>>
>>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82856
>>>
>>> I tried to build a newer version of automake than 1-11.6
>>> (which gcc is currently locked at). All builds failed with
>>>
>>>GEN  doc/automake-1.13.1
>>
>>
>> your bug is only with recent versions of perl which require stricter quoting.
>>
>> latest automake is 1.15.1
>
> The latest version of automake shows the same error on my system:
>
> ig25@linux-d6cw:~/Downloads/automake-1.15> make
>   GEN  bin/automake
>   GEN  bin/aclocal
>   GEN  t/ax/shell-no-trail-bslash
>   GEN  t/ax/cc-no-c-o
>   GEN  runtest
>   GEN  doc/aclocal.1
>   GEN  doc/automake.1
>   GEN  lib/Automake/Config.pm
>   GEN  doc/aclocal-1.15.1
>   GEN  doc/automake-1.15.1
> help2man: can't get `--help' info from automake-1.15
> Try `--no-discard-stderr' if option outputs to stderr
> make: *** [Makefile:3687: doc/automake-1.15.1] Fehler 255

Could you provide your config.log and the output of 'make V=1' and
'bin/automake --help'?

Thanks.

-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37





bug#29178: Failure to build automake > 11

2017-11-06 Thread carl hansen
On Mon, Nov 6, 2017 at 12:45 PM, Thomas Koenig  wrote:
> Hi,
>
> in trying to narrow down a build failure of gcc, see
>
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82856
>
> I tried to build a newer version of automake than 1-11.6
> (which gcc is currently locked at). All builds failed with
>
>   GEN  doc/automake-1.13.1


your bug is only with recent versions of perl which require stricter quoting.

latest automake is 1.15.1
Why they don't get with the program is beyond me.





bug#29178: Failure to build automake > 11

2017-11-06 Thread Thomas Koenig

Hi,

in trying to narrow down a build failure of gcc, see

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82856

I tried to build a newer version of automake than 1-11.6
(which gcc is currently locked at). All builds failed with

  GEN  doc/automake-1.13.1
help2man: can't get `--help' info from automake-1.13
Try `--no-discard-stderr' if option outputs to stderr
make: *** [Makefile:4278: doc/automake-1.13.1] Fehler 255

and I am at a loss how to proceed.

This is on a recent OpenSuse Tumbleweed, perl is at

$ perl -v

This is perl 5, version 26, subversion 1 (v5.26.1) built for 
x86_64-linux-thread-multi


Copyright 1987-2017, Larry Wall

This is currently blocking some gcc development, at least for me.

Any ideas?

Regards

Thomas