Re: When aclocal causes an error message, sed: invalid option -- 'q'

2010-11-16 Thread Ralf Wildenhues
* Bruce Korb wrote on Tue, Nov 16, 2010 at 10:18:50PM CET: On 11/16/10 12:45, Ralf Wildenhues wrote: This comes probably from autoreconf, not from aclocal. That is rather difficult to discern. Either way, the controlling program needs to say: I was running this script:\n%s\nAND:\n%s

Re: Testsuite failures on AIX 5.3

2010-11-15 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Sun, Nov 14, 2010 at 10:14:54PM CET: http://autobuild.josefsson.org/automake/log-20101114190221478.txt + /bin/grep -F -v @SET_MAKE@ Makefile.in + 1 Makefile.sed + make -f Makefile.sed SHELL=/bin/sh test1 echo ' @top_srcdir@/configure.in

Re: Testsuite failures on Tru64 OSF 5.1

2010-11-15 Thread Ralf Wildenhues
Hi Peter, * Peter Rosin wrote on Mon, Nov 15, 2010 at 09:19:44AM CET: This is based off of master (but I guess it also applies to tests-init) but the backport to the msvc branch is trivial. I stole the xsi-test from libtool. Would be good if someone tested on that Alpha before pushing I

Re: Testsuite failures on Tru64 OSF 5.1

2010-11-15 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Sun, Nov 14, 2010 at 11:00:16PM CET: http://autobuild.josefsson.org/automake/log-201011141902490189000.txt FAIL: backcompat5.test (exit: 1) [CUT] find ../foo-1.0 -print ## useful for debugging find: missing conjunction

Re: build the same source twice with different macros

2010-11-15 Thread Ralf Wildenhues
Hi Nicolas, * Nicolas Bock wrote on Mon, Nov 15, 2010 at 05:11:26PM CET: (1) I can use C++ and rewrite the function header as a template. (2) I can define a macro for the preprocessor that is either defined as float or double and then compile the function source twice, the first time with $CC

Re: User extensions

2010-11-14 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Sun, Nov 14, 2010 at 01:36:16PM CET: But it's not like I have a silver bullet to write proper tests which attain complete branch coverage; I just proceed by common sense, trying to maximize such coverage. That's all, sadly. A while ago I posted instructions on how

Re: [PATCH 2/3] aclocal: remove @automake_includes

2010-11-14 Thread Ralf Wildenhues
Hi Paolo, * Paolo Bonzini wrote on Tue, Nov 09, 2010 at 08:14:39PM CET: This patch simplifies the overly complicated rules for ACLOCAL_PATH vs. @automake_includes and @system_includes, by stating that ACLOCAL_PATH will override even @automake_includes. The simplest way to achieve this is to

tests: work around dash quoting issue in case statements.

2010-11-14 Thread Ralf Wildenhues
Apparently, dash 0.5.5.1 has some problems with avoiding expansion in case patterns when unusual characters are involved. I'm committing the following patch to maint to let these tests PASS instead of SKIP with this shell. Thanks, Ralf tests: work around dash quoting issue in case

Re: Fix install-strip when $(STRIP) contains several words.

2010-11-14 Thread Ralf Wildenhues
* Ralf Wildenhues wrote on Mon, Nov 01, 2010 at 10:25:02PM CET: Fix install-strip when $(STRIP) contains several words. * lib/am/install.am (install-strip): Update comment. Use separate sub-make invocations for empty and nonempty $(STRIP), to fix quoting issues

Rebuild menus in the manual.

2010-11-14 Thread Ralf Wildenhues
I'm committing this to maint, and merging to branch-1.11 and master. Thanks, Ralf Rebuild menus in the manual. * doc/automake.texi: Rebuild menus (using ^C ^U ^A in emacs). Thanks to Ian Lance Taylor for the suggestion. diff --git a/doc/automake.texi b/doc/automake.texi index

Re: [PATCH] {maint} Improve and extend tests on de-ansification support.

2010-11-14 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Mon, Sep 13, 2010 at 10:59:22AM CEST: But since we are at it, we can do better, extending coverage and making existing tests more semantic. See the attached patch (for maint). ansi2knr is a really dying (and ugly) feature; when have we last seen a

Re: [PATCH] Enable `set -e' in more tests (plus some tweakings).

2010-11-14 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Thu, Nov 11, 2010 at 03:52:39PM CET: Pinging this patch again, following this: http://lists.gnu.org/archive/html/automake-patches/2010-11/msg3.html Patch is OK. I didn't check whether any of the tests contained constructs problematic for set -e. I'll wait

testsuite results from master

2010-11-14 Thread Ralf Wildenhues
Hello Stefano, I think it is time to reevaluate some of the work that has been done in the last few weeks. I'd like to ask you to postpone pushes of pending stuff that has a clock ticking, and look at the lots of new failures that a testsuite run shows on a few hosts; you can find them in some

Re: testsuite results from master

2010-11-14 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Mon, Nov 15, 2010 at 12:19:00AM CET: On Sunday 14 November 2010, Ralf Wildenhues wrote: I think it is time to reevaluate some of the work that has been done in the last few weeks. Do you mean go and fix the newly introduced regressions before doing other

Re: User extensions

2010-11-14 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Sun, Nov 14, 2010 at 01:36:16PM CET: But it's not like I have a silver bullet to write proper tests which attain complete branch coverage; I just proceed by common sense, trying to maximize such coverage. That's all, sadly. A while ago I posted instructions on how

Re: builddir

2010-11-14 Thread Ralf Wildenhues
Hello Russell, * Russell Shaw wrote on Sun, Nov 14, 2010 at 02:49:07AM CET: In a Makefile.in generated by automake 1.9.6, it defines top_builddir ok, but builddir is used but not defined in there. This causes problems, because the automake manual says: — Variable: builddir Rigorously

Re: ACLOCAL best practice

2010-11-14 Thread Ralf Wildenhues
Hello Ryan, * Ryan Lortie wrote on Sat, Nov 13, 2010 at 05:49:57PM CET: I recently filed a bug against a freedesktop.org component because it didn't honour the ACLOCAL_FLAGS environment variable. That bug got closed, telling me to use ACLOCAL like so: ACLOCAL='aclocal -I

bug#7379: On the fix for CVE-2009-4029 Automake security fix for 'make dist*'

2010-11-13 Thread Ralf Wildenhues
[ Thanks Glenn for rerouting the bug report! ] Hi Behdad, From: Behdad Esfahbod Subject: On the fix for CVE-2009-4029 Automake security fix for 'make dist*' Date: Thu, 11 Nov 2010 16:17:22 -0500 I recently read about the fix for the chmod 777 issue. Just wanted to note that it may be

Re: [PATCH] {master} Deprecate obsoleted macro AM_WITH_REGEX.

2010-11-13 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Sat, Nov 13, 2010 at 12:32:49PM CET: * m4/regex.m4: Document the `AM_WITH_REGEX' macro as obsoleted, I think technically obsolete is right here, without trailing d. and tell that it should be removed two years from now. s/tell/state/ (AM_WITH_REGEX): Raise an

Re: [PATCH 1/3] aclocal: handle ACLOCAL_PATH environment variable

2010-11-13 Thread Ralf Wildenhues
* Paolo Bonzini wrote on Tue, Nov 09, 2010 at 08:14:38PM CET: This updated patch passes the tests suggested by Stefano. Considering that Automake will rarely if ever be invoked from outside, MSYS, I stuck with the colon as the sole separator for ACLOCAL_PATH. The test suites leaves the

Re: [PATCH] {master} Deprecate obsoleted macro AM_WITH_REGEX.

2010-11-13 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Sat, Nov 13, 2010 at 01:39:04PM CET: On Saturday 13 November 2010, Ralf Wildenhues wrote: * Stefano Lattarini wrote on Sat, Nov 13, 2010 at 12:32:49PM CET: Is rx a package? Where did you find traces to it? There was this in automake.texi: @cindex rx package

Re: How to structure a GNU scientific project

2010-11-13 Thread Ralf Wildenhues
Hello Luke, you somehow managed to send mail to the automake list without the list address in Cc:, let's fix that. * Luke wrote on Mon, Nov 08, 2010 at 07:36:13PM CET: I'm trying to organize the directory and file structure of my project and figure out how everything should be installed in a

Re: [PATCH] New tests on obsoleted usages of automake/autoconf macros.

2010-11-12 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Wed, Nov 03, 2010 at 07:12:27PM CET: http://lists.gnu.org/archive/html/automake-patches/2010-11/msg3.html [...] --- /dev/null +++ b/tests/backcompat6.test @@ -0,0 +1,105 @@ +# Backward-compatibility test: try to build and distribute a package

Re: [PATCH] {maint} More tests on macro `AM_WITH_REGEX'.

2010-11-12 Thread Ralf Wildenhues
Hello Stefano, * Stefano Lattarini wrote on Mon, Sep 20, 2010 at 11:08:34PM CEST: This patch increase coverage for a macro I'm planning to touch soon (to make it use AS_HELP_STRING). OK for maint? Does *anybody* use AM_WITH_REGEX? Have you checked? This seems so obsoleted by gnulib that I

Re: [PATCH] {maint} More tests on macro `AM_WITH_REGEX'.

2010-11-12 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Fri, Nov 12, 2010 at 09:12:53PM CET: On Friday 12 November 2010, Ralf Wildenhues wrote: This seems so obsoleted by gnulib that I don't think it is worth investing any more time into. In fact, I now think we should deprecate it, and then remove it. WDYT? Good

Re: [PATCH] New tests on obsoleted usages of automake/autoconf macros.

2010-11-12 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Fri, Nov 12, 2010 at 08:57:05PM CET: How about * tests/backcompat6.test (Makefile.am): Grep the output from the test program, rather than diffing it, to avoid spurious failures on MinGW/MSYS due to LF vs. CRLF line endings. Sure, thanks! Ralf

bug#7374: Automake bug when moving files to different directory

2010-11-11 Thread Ralf Wildenhues
Hi Török, thanks for the bug report. * Török Edwin wrote on Thu, Nov 11, 2010 at 01:11:44PM CET: Whenever I move a C/C++ file from a directory to another (and update Makefile.am), a subsequent 'make' fails because it is looking for the file in the old place (the .Plo dependency file

bug#7374: Automake bug when moving files to different directory

2010-11-11 Thread Ralf Wildenhues
* Török Edwin wrote on Thu, Nov 11, 2010 at 09:10:56PM CET: On Thu, 11 Nov 2010 20:42:05 +0100 Ralf Wildenhues wrote: * Török Edwin wrote on Thu, Nov 11, 2010 at 01:11:44PM CET: I think that: - make clean should remove the dependency files if they're out of date/wrong

Re: [PATCH 1/7] Tests defs: various reorderings, some improvements.

2010-11-11 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Thu, Nov 11, 2010 at 01:00:47PM CET: On Thursday 11 November 2010, Ralf Wildenhues wrote: Thank for respinning. The patches are ok then, but I think you should take care that the newly-introduced `pwd` is replaced by the variable you later introduce

Re: [PATCH 0/7] Refactoring of testcases initialization code

2010-11-11 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Thu, Nov 11, 2010 at 02:41:40PM CET: On Sunday 07 November 2010, Stefano Lattarini wrote: Stefano Lattarini (7): Tests defs: various reorderings, some improvements. Tests defs: prefer $curdir over `pwd`. Tests defs: rename $curdir - $testbuilddir

Re: [PATCH] {tests-init} Tests defs: improve messages for skipped tests.

2010-11-11 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Thu, Nov 11, 2010 at 09:10:39PM CET: On Thursday 11 November 2010, Ralf Wildenhues wrote: * Stefano Lattarini wrote on Thu, Nov 11, 2010 at 02:52:06PM CET: @@ -228,11 +229,16 @@ do (echo foo $priv_check_temp) /dev/null 21 overwrite_status

Re: execvp: /bin/sh: Argument list too long

2010-11-11 Thread Ralf Wildenhues
Hello Pippijn, * Pippijn van Steenhoven wrote on Mon, Nov 08, 2010 at 10:11:20PM CET: On Mon, Nov 08, 2010 at 09:56:52PM +0100, Ralf Wildenhues wrote: [1] On some systems this is not true; e.g., GNU make evades the limit on MSYS for this particular point, IIRC using a response file. Can

bug#7333: [PATCH] {maint} Fix a bug in variable concatanation with `+='.

2010-11-10 Thread Ralf Wildenhues
* Glenn Morris wrote on Tue, Nov 09, 2010 at 08:34:23AM CET: Ralf Wildenhues wrote (on Mon, 8 Nov 2010 at 22:46 +0100): The commands above (Bcc:ed to control at debbugs) should merge and close both bugs. The (first) close didn't work, I think it was because your version number started

bug#7333: [PATCH] {maint} Fix a bug in variable concatanation with `+='.

2010-11-10 Thread Ralf Wildenhues
* Glenn Morris wrote on Wed, Nov 10, 2010 at 09:46:01PM CET: Actually, that was probably too glib a response. The version number information is probably used in other places, and needs to be sortable so that the fixed/found commands can work. So I don't think arbitrary version strings can

Re: More problems with `make -n' in automake-generated rules.

2010-11-10 Thread Ralf Wildenhues
* Ralf Wildenhues wrote on Mon, Nov 01, 2010 at 10:18:55PM CET: Fix and document rules to not touch the tree with `make -n'. * doc/automake.texi (Multiple Outputs): Document the problem of modifications during dry-run execution, propose solution. * NEWS: Update

Re: [PATCH 2/7] Tests defs: prefer $curdir over `pwd`.

2010-11-10 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Sun, Nov 07, 2010 at 04:16:53PM CET: * tests/defs.in: We already save the value of `pwd` in $curdir early in the file, so there no need to recalculate it later, when the current working directory is not changed. OK. Thanks, Ralf

Re: [PATCH 4/7] Tests defs: do not print message Running test $0 anymore.

2010-11-10 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Sun, Nov 07, 2010 at 04:18:53PM CET: * tests/defs.in: Printing the message === Running test $0 at the beginning of each tests made sense when Automake used the old test-driver, which sent all the output directly to stdout/stderr. Now that the parallel test-driver

Re: [PATCH 3/7] Tests defs: rename $curdir - $testbuilddir

2010-11-10 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Sun, Nov 07, 2010 at 04:17:48PM CET: * tests/defs.in: Rename $curdir to $testbuildir, for clarity and consistency with $testsrcdir and $top_testsrcdir. OK. Thanks, Ralf

Re: [PATCH 5/7] Tests defs: $testsbuilddir is now AC_SUBST'ed.

2010-11-10 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Sun, Nov 07, 2010 at 04:19:55PM CET: * tests/defs.in ($testsbuilddir): Initialize statically with the value AC_SUBST'ed from @abs_builddir@, rather than dinamically with the value returned by `pwd`. dynamically You could also just write instead: * tests/defs.in

Re: [PATCH 6/7] Tests defs: new AC_SUBST'ed variable $top_testsbuilddir.

2010-11-10 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Sun, Nov 07, 2010 at 04:21:09PM CET: * tests/defs.in ($top_testsbuilddir): New variable, initialized with the value AC_SUBST'ed from @abs_top_build...@. Mostly for completeness and consistency with $testsrcdir and $top_testsrcdir. Let's add this only when we need

Re: [PATCH 1/7] Tests defs: various reorderings, some improvements.

2010-11-10 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Sun, Nov 07, 2010 at 04:00:47PM CET: This is basically just a reordering patch, which should organize the code in `tests/defs.in' in a clearer and more rational way. * tests/defs.in: Reordered various snippets of code in a clearer way. Improved a couple of error

Re: [PATCH 7/7] Tests defs: move static definitions in a new file `minidefs'.

2010-11-10 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Sun, Nov 07, 2010 at 04:29:27PM CET: Tests defs: move static definitions in a new file `minidefs'. minidefs is not a good name, as it is bound to not stay mini. How about defs-static or defs-init? (And yes, I'm shying away from renaming defs, that's just too big and

Re: [PATCH 5/5] Tests defs: improve messages for skipped tests.

2010-11-10 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Wed, Sep 08, 2010 at 08:57:19PM CEST: * tests/defs.in: Give meaningful messages about the reasons of a test skip; this is especially useful as this file is run without verbose xtraces on. Related reorderings in the code and new comments. What happened to this

Re: [PATCH 7/7] Tests defs: move static definitions in a new file `minidefs'.

2010-11-10 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Thu, Nov 11, 2010 at 12:16:27AM CET: On Wednesday 10 November 2010, Ralf Wildenhues wrote: * Stefano Lattarini wrote on Sun, Nov 07, 2010 at 04:29:27PM CET: Tests defs: move static definitions in a new file `minidefs'. [...] * tests/defs: ... this new file

Re: [PATCH 1/7] Tests defs: various reorderings, some improvements.

2010-11-10 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Thu, Nov 11, 2010 at 12:37:23AM CET: Well, the patch is almost just code reordering, with the very minor exceptions that: 1. in the older version, some error messages could be printed before `$me' was defined, so they couldn't use it; now `$me' is defined

Re: Silencing doxygen output

2010-11-10 Thread Ralf Wildenhues
Hi Erik, * Erik de Castro Lopo wrote on Wed, Nov 10, 2010 at 12:45:03PM CET: I'm using AM_SILENT_RULES([yes]) to silence make output and I'm pretty happy with it. However, I have a doxygen command in a Makefile.am: doxygen reference.doxygen and I can't figure out how to silence it.

bug#7364: Typo in manual

2010-11-10 Thread Ralf Wildenhues
Hi Reuben, * Reuben Thomas wrote on Wed, Nov 10, 2010 at 03:24:14PM CET: Script are not distributed by default - Scripts are not distributed by default Thanks, this has already been fixed in the git tree of Automake. Cheers, Ralf

Re: [FYI] Fix bug in test `backcompat4.test' (stale autom4te cache)

2010-11-09 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Tue, Nov 09, 2010 at 12:30:56PM CET: Wouldn't this report have been better suited for bug-automake, especially now that you've gone through the hassle of setting that up as a real bug tracker? Sure, I guess. backcompat4.test is failing for me, see below. This

Re: LTFCCOMPILE and FCFLAGS_f90

2010-11-09 Thread Ralf Wildenhues
Hi Rhys, * Rhys Ulerich wrote on Tue, Nov 09, 2010 at 05:58:23PM CET: I'm having a miserable time trying to figure out when LTFCCOMPILE picked up FCFLAGS_f90 per AC_FC_SRCEXT. Anyone know offhand what tool versions I need? No, but the automake/NEWS file tells me that is new in 1.11. :-)

Re: [Automake-commit] [SCM] GNU Automake branch, master, updated. v1.11-414-g3dffb01

2010-11-08 Thread Ralf Wildenhues
[ moving from automake-commit ] Hi Stefano, * Stefano Lattarini wrote on Sun, Nov 07, 2010 at 04:37:15PM CET: This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project GNU Automake. [...]

Re: execvp: /bin/sh: Argument list too long

2010-11-08 Thread Ralf Wildenhues
Hello Pippijn, * Pippijn van Steenhoven wrote on Mon, Nov 08, 2010 at 04:55:45PM CET: I looked through the mailing list archives and found several questions and proposed solutions related to this problem: - Split up file lists so several rules are generated:

Re: execvp: /bin/sh: Argument list too long

2010-11-08 Thread Ralf Wildenhues
* Pippijn van Steenhoven wrote on Mon, Nov 08, 2010 at 09:01:12PM CET: On Mon, Nov 08, 2010 at 08:03:06PM +0100, Ralf Wildenhues wrote: Also, we wrote a short section in the manual about this (in recent versions): info Automake Length Limitations I hadn't seen that, before. Now I read

bug#7333: [PATCH] {maint} Fix a bug in variable concatanation with `+='.

2010-11-08 Thread Ralf Wildenhues
merge 7333 7345 tags 7333 + patch close 7333 v1.11-222-g7a020d6 thanks * Stefano Lattarini wrote on Sun, Nov 07, 2010 at 03:26:52PM CET: Now, should I also try to close the bug #7333 on debbugs? The instruction at http://debbugs.gnu.org/Developer.html seems quite clear about how to do so, so I

bug#7333: [PATCH] {maint} Fix a bug in variable concatanation with `+='.

2010-11-07 Thread Ralf Wildenhues
Hello Stefano, Andy, * Stefano Lattarini wrote on Sat, Nov 06, 2010 at 06:10:44PM CET: On Friday 05 November 2010, Stefano Lattarini wrote: I can confirm the bug with latest automake (from git master), with a much-reduced minimal testcase (see attachment). I still haven't looked for an

Re: More problems with `make -n' in automake-generated rules.

2010-11-07 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Sat, Nov 06, 2010 at 08:23:30PM CET: On Saturday 06 November 2010, Stefano Lattarini wrote: On Saturday 06 November 2010, Ralf Wildenhues wrote: * Stefano Lattarini wrote on Sat, Nov 06, 2010 at 05:52:57PM CET: Hi Ralf, I've just spotted a bug in the patch

Re: [PATCH] Modernize, improve and/or tweak various test scripts.

2010-11-07 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Mon, Sep 13, 2010 at 11:22:37AM CEST: I updated the patch slighty (see test `depdist.test') to follow the emerging principle of preferring semantic tests to grepping tests in the Automake testsuite. OK with nits addressed. and in another mail:

Re: [PATCH] Modernize, improve and/or tweak various test scripts.

2010-11-07 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Sun, Nov 07, 2010 at 11:18:49AM CET: On Sunday 07 November 2010, Ralf Wildenhues wrote: * Stefano Lattarini wrote on Mon, Sep 13, 2010 at 11:22:37AM CEST: * tests/ctarget1.test: Renamed ... Please don't rename tests unless for a very good reason, The good

Re: [PATCH] Modernize, improve and/or tweak various test scripts.

2010-11-07 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Sun, Nov 07, 2010 at 11:44:44AM CET: On Sunday 07 November 2010, Ralf Wildenhues wrote: The test might not ever have made it to revision control, In this case I don't see any problem, no? Unless it's in a personal git clone only (not likely with existing history

Re: [PATCH] {maint} Fix a bug in variable concatanation with `+='.

2010-11-07 Thread Ralf Wildenhues
Hello Stefano, Andy, * Stefano Lattarini wrote on Sat, Nov 06, 2010 at 06:10:44PM CET: On Friday 05 November 2010, Stefano Lattarini wrote: I can confirm the bug with latest automake (from git master), with a much-reduced minimal testcase (see attachment). I still haven't looked for an

Re: [FYI] {master} Fix potential bug in generated tests `instpc-*.test'. (was: Re: tests updates)

2010-11-07 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Fri, Nov 05, 2010 at 09:21:28PM CET: Nonetheless, there was still a potential bug (introduced by the merge) lurking in there, which didn't manifest itself because, by sheer luck, the Automake parallel test driver worked around it (by exporting srcdir=$(srcdir) in

Re: adding conditionally a c++ file implies static linking with g++

2010-11-07 Thread Ralf Wildenhues
Hi Vincent, * Vincent Torri wrote on Fri, Nov 05, 2010 at 04:56:55PM CET: foo_SOURCES = bar1.c if MY_COND foo_SOURCES += bar2.cpp else foo_SOURCES += bar2.c endif One told me on that ML that it is normal that automake uses g++ for linking, even if MY_COND is not verified. One possible

bug#7336: Failure on test parallel-tests5.test

2010-11-06 Thread Ralf Wildenhues
* Lluís Batlle i Rossell wrote on Fri, Nov 05, 2010 at 01:36:28PM CET: On Mon, Nov 01, 2010 at 07:41:12PM +0100, Lluís Batlle i Rossell wrote: On Mon, Nov 01, 2010 at 07:07:48PM +0100, Ralf Wildenhues wrote: [ http://thread.gmane.org/gmane.comp.sysutils.automake.bugs/5061 ] Ralf says

Re: More problems with `make -n' in automake-generated rules.

2010-11-06 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Sat, Nov 06, 2010 at 05:52:57PM CET: Hi Ralf, I've just spotted a bug in the patch ... - $output_rules .= \$(srcdir)/$headerfile: \$(srcdir)/${derived}_vala.stamp\n. - \...@if test -f \$@; then :; else \\\n. - \t rm

bug#7328: parallel installation ignores deps between libtool libraries

2010-11-04 Thread Ralf Wildenhues
Hi Andy, * Andy Wingo wrote on Thu, Nov 04, 2010 at 04:19:55PM CET: lib_LTLIBRARIES = libfoo.la plugindir = $(libdir)/gstreamer-0.10 plugin_LTLIBRARIES = bar.la bar_la_LIBADD = libfoo.la Obviously we are missing some sources here, but it suffices to show the parallel

Re: tests updates

2010-11-04 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Thu, Nov 04, 2010 at 01:03:17PM CET: On Wednesday 03 November 2010, Ralf Wildenhues wrote: * Stefano Lattarini wrote on Wed, Nov 03, 2010 at 02:27:47PM CET: Just one question: what about the already-existing tests-init branch? Should I try to bring

Re: [PATCH v2] Overhauled and modularized tests in `instspc.test'.

2010-11-04 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Wed, Nov 03, 2010 at 08:47:54PM CET: On Wednesday 03 November 2010, Ralf Wildenhues wrote: * Stefano Lattarini wrote on Wed, Nov 03, 2010 at 03:10:30PM CET: Pinging the patch again, following this: http://lists.gnu.org/archive/html/automake-patches/2010

Re: More problems with `make -n' in automake-generated rules.

2010-11-04 Thread Ralf Wildenhues
November 2010, Ralf Wildenhues wrote: --- /dev/null +++ b/tests/remakedry.test @@ -0,0 +1,82 @@ +# Make sure GNU `make -n' doesn't trigger file updates when Makefile +# is out of date. + +# The subdir rebuilding rules rely on GNU make automatically updating +# the makefile and its

Re: [PATCH] {maint} Document in detail some limitations of aclocal.

2010-11-04 Thread Ralf Wildenhues
Hello, * Stefano Lattarini wrote on Thu, Nov 04, 2010 at 08:47:47PM CET: I've gone ahead and documented this non-obvious limitation, and another similar one regarding AC_DEFUN. See the attached patch. Ralf, ok to apply to maint? There are a couple of things I don't like with the principle

Re: tests updates

2010-11-03 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Wed, Nov 03, 2010 at 02:27:47PM CET: On Monday 01 November 2010, Ralf Wildenhues wrote: I'm so totally behind on patches and not getting better, that the strategy of ignoring testsuite work will not help either. So how about the following. IIRC you suggested

Re: [PATCH v2] Overhauled and modularized tests in `instspc.test'.

2010-11-03 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Wed, Nov 03, 2010 at 03:10:30PM CET: On Friday 24 September 2010, Stefano Lattarini wrote: Now that I've run all those tests (whose results are posted in this thread), ok to push to master? Pinging the patch again, following this:

Re: Force a file to be compiled always

2010-11-03 Thread Ralf Wildenhues
Hi Benjamin, * Benjamin Bihler wrote on Wed, Nov 03, 2010 at 11:00:35AM CET: almost ten years ago there was a question in this mailing list how to force a source file to be compiled always. http://lists.gnu.org/archive/html/automake/2002-02/msg00099.html Unfortunately the solutions

bug#7321: dejagnu support should provide for recheck target

2010-11-02 Thread Ralf Wildenhues
Severity: wishlist The recheck feature is useful on a broader scale. recheck should be renamed to recheck-TESTS, and the recheck target depend on that. There should be a recheck-DEJAGNU (also depended on by recheck if dejagnu is used) that implements similar functionality. See here for some

bug#7209: test automake bug

2010-11-02 Thread Ralf Wildenhues
Let's close this test PR.

Re: Failure on test parallel-tests5.test

2010-11-01 Thread Ralf Wildenhues
[ http://thread.gmane.org/gmane.comp.sysutils.automake.bugs/5061 ] * Lluís Batlle i Rossell wrote on Sun, Oct 31, 2010 at 05:49:00PM CET: On Sun, Oct 31, 2010 at 10:48:10AM +0100, Lluís Batlle i Rossell wrote: On Sun, Oct 31, 2010 at 10:01:09AM +0100, Ralf Wildenhues wrote: (ulimit -t 300

Re: User extensions

2010-11-01 Thread Ralf Wildenhues
Hi Valentin, let's move to the -patches list. And sorry for the long delay. * Valentin David wrote on Fri, Sep 03, 2010 at 06:56:53PM CEST: I propose a patch as attached. * The lang_*_rewrite are added to the Language structure. The default is lang_sub_obj. They do not return anymore the

Re: User extensions

2010-11-01 Thread Ralf Wildenhues
* Valentin David wrote on Mon, Nov 01, 2010 at 09:41:47PM CET: On Mon, Nov 1, 2010 at 8:18 PM, Ralf Wildenhues wrote: Also, I like the approach of calling the whole feature experimental and at the same time asking users to tell us which features from automake.in they need so we can document

tests updates

2010-11-01 Thread Ralf Wildenhues
Hi Stefano, I'm so totally behind on patches and not getting better, that the strategy of ignoring testsuite work will not help either. So how about the following. IIRC you suggested a branch for low-danger testsuite updates. I'm not sure if a single branch would always be the right thing to

More problems with `make -n' in automake-generated rules.

2010-11-01 Thread Ralf Wildenhues
I noticed more issues with automake-generated rules and `make -n': 1) The solutions documented in the `Multiple Outputs' node are not safe for use with `make -n'. 2) Consequently, the lisp rules are broken, but also the Yacc, Vala, and config.h rules in some cases. 3) The rules to update

Re: More problems with `make -n' in automake-generated rules.

2010-11-01 Thread Ralf Wildenhues
* Ralf Wildenhues wrote on Mon, Nov 01, 2010 at 10:18:55PM CET: 3) The rules to update Makefile, but also those to update and Makefile.in, are broken in some circumstances, too. [...] I'm not sure how useful it is to fix (3). It is not easy as a user to get GNU make to not update any

Fix install-strip when $(STRIP) contains several words.

2010-11-01 Thread Ralf Wildenhues
I was wondering whether, if $(STRIP) is empty, one would want install-strip to have the same effect as install, but then again, the value of $(STRIP) at 'make install' time isn't currently used for all stripping anyway: libtool figures out how to strip things at configure time (and sets things

Re: [coreutils] debbugs

2010-11-01 Thread Ralf Wildenhues
Hello Glen, all, and sorry for the long delay, * Glenn Morris wrote on Thu, Oct 14, 2010 at 01:54:45AM CEST: Ralf Wildenhues wrote (on Wed, 13 Oct 2010 at 22:46 +0200): There is one question I haven't seen addressed yet, that I think should be documented: is it possible to easily export

Re: using autoconf with ppuxlc++,spuxlc++

2010-11-01 Thread Ralf Wildenhues
* John Wohlbier wrote on Wed, Oct 27, 2010 at 06:08:47PM CEST: On Wed, Oct 27, 2010 at 12:24 AM, Ralf Wildenhues wrote: How exactly do you invoke configure, what does configure output as dependency mechanism for these two compilers, where are the manpages for the compilers? 1) I'm

Re: User extensions

2010-11-01 Thread Ralf Wildenhues
Hi Valentin, let's move to the -patches list. And sorry for the long delay. * Valentin David wrote on Fri, Sep 03, 2010 at 06:56:53PM CEST: I propose a patch as attached. * The lang_*_rewrite are added to the Language structure. The default is lang_sub_obj. They do not return anymore the

Re: User extensions

2010-11-01 Thread Ralf Wildenhues
* Pippijn van Steenhoven wrote on Mon, Nov 01, 2010 at 12:43:57PM CET: On Wed, Oct 27, 2010 at 02:13:00PM +0200, Valentin David wrote: On Sat, Oct 23, 2010 at 5:27 PM, Ralf Wildenhues wrote: I haven't looked at the patch in detail yet, but will, now that the assignment papers are done

Re: PATCH RFA: Add Go support

2010-11-01 Thread Ralf Wildenhues
Hello Ian, let's move this part of the discussion to the automake@ list. And sorry for delays, I cannot help that ATM. * Ian Lance Taylor wrote on Wed, Oct 13, 2010 at 09:58:49PM CEST: Ralf Wildenhues writes: * Ian Lance Taylor wrote on Wed, Oct 13, 2010 at 07:31:04PM CEST: Ralf Wildenhues

Re: PATCH RFA: Add Go support

2010-11-01 Thread Ralf Wildenhues
[ dropping libtool@ ] * Ian Lance Taylor wrote on Mon, Nov 01, 2010 at 09:48:03PM CET: Ralf Wildenhues ralf.wildenh...@gmx.de writes: We need a bit of new notation for this, and we need to teach automake about languages that shouldn't have renamed objects even in the presence of per

Re: [coreutils] debbugs

2010-11-01 Thread Ralf Wildenhues
Hello Glen, all, and sorry for the long delay, * Glenn Morris wrote on Thu, Oct 14, 2010 at 01:54:45AM CEST: Ralf Wildenhues wrote (on Wed, 13 Oct 2010 at 22:46 +0200): There is one question I haven't seen addressed yet, that I think should be documented: is it possible to easily export

heads-up: bug-automake will be bug-tracked

2010-11-01 Thread Ralf Wildenhues
Hello Automake bug reporters, and sorry for the cross post, starting pretty soon, the bug-automake mailing list will be used to drive the GNU Bug Tracker for Automake, http://debbugs.gnu.org/automake so new messages to this list will automatically open new bug reports and replies to existing

Re: Copy files in VPATH build

2010-10-31 Thread Ralf Wildenhues
* Paul J. Davis wrote on Sun, Oct 31, 2010 at 12:10:01AM CEST: On Oct 30, 2010, at 5:17 PM, Jason Curl jcurln...@arcor.de wrote: When building my package with ./configure everything works well as some datafiles that are required for tests are in the correct place (my tests don't need to be

Re: Question about automake fails to pass the correct parameters to pax when using large UID/GID

2010-10-30 Thread Ralf Wildenhues
Hello Xufeng Zhang, thanks for the report. * xufeng zhang wrote on Wed, Oct 27, 2010 at 05:24:18AM CEST: I'm a developer from WindRiver, and I have a question about automake. When I using a large UID/GID(2097151) to configure and build a linux project, gnu tar fails and automake select pax

Re: ax_lib_mysql.m4 and -as-needed flag

2010-10-30 Thread Ralf Wildenhues
Hello Sergio, * Sergio Belkin wrote on Mon, Oct 25, 2010 at 07:44:20PM CEST: I am using ax_lib_mysql.m4 in order to detect location of mysql libs, but the problem is that LD_FLAGS is a mixed if LD_FLAGS and LIBS: -rdynamic -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lssl

Re: using autoconf with ppuxlc++,spuxlc++

2010-10-27 Thread Ralf Wildenhues
Hello John, * Eric Blake wrote on Wed, Oct 27, 2010 at 01:18:59AM CEST: On 10/26/2010 04:31 PM, John Wohlbier wrote: We're trying to use autoconf in a hybrid environment that includes the CellBE. I have a configure.ac for the CellBE PPE core and one for the SPE core. I also have some macros

Re: Using -MMD instead of -MD for depndency generation

2010-10-27 Thread Ralf Wildenhues
Hello Holger, * Holger Freyther wrote on Mon, Oct 25, 2010 at 09:39:29AM CEST: On 10/25/2010 08:09 AM, Ralf Wildenhues wrote: * Holger Freyther wrote on Sat, Oct 23, 2010 at 10:47:47PM CEST: when typing make in the build directory of WebKit/GTK+ it takes multiple minutes until the first

Re: Using -MMD instead of -MD for depndency generation

2010-10-27 Thread Ralf Wildenhues
Hello Paul, * Paul Smith wrote on Wed, Oct 27, 2010 at 10:25:03PM CEST: I downloaded the tarball you linked to, to my system but wasn't able to build; it configured and built about half the code, then failed: CXX

Re: Using -MMD instead of -MD for depndency generation

2010-10-25 Thread Ralf Wildenhues
Hello Holger, thanks for the report. * Holger Freyther wrote on Sat, Oct 23, 2010 at 10:47:47PM CEST: when typing make in the build directory of WebKit/GTK+ it takes multiple minutes until the first file is compiled. Can you go into (a lot) more detail here? What happens during those

Re: Feature Request: all-hook

2010-10-23 Thread Ralf Wildenhues
Hello Luiji, * Luiji Maryo wrote on Fri, Oct 22, 2010 at 01:51:35AM CEST: Could you please implement an all-hook? Currently, I have UPX compress the executable after installation, however I find it would be much more useful if it were compressed after compilation. Is there a reason there is

Re: check_PROGRAMS LDADD

2010-10-23 Thread Ralf Wildenhues
Hello Patrick, please don't top-post, thank you. * Patrick M. Rutkowski wrote on Thu, Oct 21, 2010 at 11:55:28PM CEST: On Thu, Oct 21, 2010 at 4:17 PM, NightStrike wrote: On Wed, Oct 20, 2010 at 1:01 AM, Ralf Wildenhues wrote: * Patrick Rutkowski wrote on Wed, Oct 20, 2010 at 03:26:52AM

Re: User extensions

2010-10-23 Thread Ralf Wildenhues
Hello Stefano, Valentin, please discuss patches on the -patches list; and please keep the original poster in Cc:, thanks. I haven't looked at the patch in detail yet, but will, now that the assignment papers are done (thanks!). * Stefano Lattarini wrote on Sat, Oct 23, 2010 at 04:05:02PM CEST:

Re: check_PROGRAMS LDADD

2010-10-19 Thread Ralf Wildenhues
Hello Patrick, * Patrick Rutkowski wrote on Wed, Oct 20, 2010 at 03:26:52AM CEST: test_avl_avl_iter_test_LDADD= -lquark test_avl_avl_test_LDADD = -lquark test_unicode_unicode_test_LDADD = -lquark === As the collection of tests grows it's

Re: dependency list ...

2010-10-19 Thread Ralf Wildenhues
Hello, * Teratux wrote on Tue, Oct 19, 2010 at 10:22:15PM CEST: Hi, I was wondering how to know the build dependencies for a package before building it ... For example I would like to build a package and not get any fuss about unmet dependencies. Is there a way to print a list of package

<    1   2   3   4   5   6   7   8   9   10   >