[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: a couple of bugs

From: Benoit Sigoure
Subject: Re: a couple of bugs
Date: Mon, 17 Dec 2007 00:03:36 +0100

On Dec 16, 2007, at 11:08 PM, Ralf Wildenhues wrote:

- FreeBSD: autoupdate hangs on test 172 (AC_LANG_OBJC). Dunno why yet,
  may be pilot error.

In an attempt to reproduce this one on FreeBSD 5.5, I stumbled on the following oddity during `gmake all':

gmake[1]: Entering directory `/var/tmp/autoconf/man'
Updating man page autoupdate.1
PATH="../tests:../build-aux:$PATH"; \
        export PATH; \
        /bin/bash /tmp/autoconf/build-aux/missing --run help2man \
            --include=autoupdate.x \
            --include=./common.x \
            --output=autoupdate.1.t `echo 'autoupdate' | sed 's,.*/,,'`
autoupdate: not found
help2man: can't get `--help' info from autoupdate
gmake[1]: *** [autoupdate.1] Error 1

It looks like it's trying to run autoupdate from $PATH (which doesn't exist since it's not installed) instead of the just built autoupdate.
I sort of tried to hack the Makefile like this:

diff --git a/man/ b/man/
index 9485d28..8daafce 100644
--- a/man/
+++ b/man/
@@ -54,10 +54,12 @@ SUFFIXES = .x .1
        @echo "Updating man page $@"
PATH="$(top_builddir)/tests$(PATH_SEPARATOR)$(top_srcdir)/ build-aux$(PATH_SEPARATOR)$$PATH"; \
        export PATH; \
+       autom4te_perllibdir="$(abs_top_srcdir)/lib"; \
+       export autom4te_perllibdir; \
        $(HELP2MAN) \
            --include=$*.x \
            --include=$(srcdir)/common.x \
-           address@hidden `echo '$*' | sed 's,.*/,,'`
+           address@hidden '$(binsrcdir)/$*'
        if sed $(remove_time_stamp) $@ >address@hidden 2>/dev/null && \
sed $(remove_time_stamp) address@hidden | cmp address@hidden - >/dev/null 2>&1; then \
                touch $@; \

But it fails on config.sub.1 / config.guess.1 (which aren't under $ (binsrcdir)). Moreover, I had to get rid of the sed thing which seems wrong since it was probably put here for a good reason.

Any idea?

Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory

reply via email to

[Prev in Thread] Current Thread [Next in Thread]