Hi,

On Fri, Feb 10, 2023 at 07:59:03PM +0100, Gert Doering wrote:
> This warning has been quite an annoyance for some time - thanks for
> taking care of it, and also figuring out what caveats apply.  I do
> not understand autoconf intricacies, but I have fed this to github and
> to the buildbots, and they all seem to agree "things still build fine" :-)
> (the oldest buildbot is FreeBSD 7.4 with automake-1.11, and then there's
> the OpenIndiana buildbot with automake-1.15.1, so we have everything
> in the mix... the "current" OSes in the zoo all have 1.16.2 or later)
> 
> Your patch has been applied to the master and release/2.6 branch.
> 
> commit 8b915c48252da81b96041de66847272b0902c755 (master)
> commit 7f72abcf8a56bb35a510a3409e03a4e2aaba50da (release/2.6)
> Author: Selva Nair
> Date:   Fri Feb 3 19:45:10 2023 -0500
> 
>      Conditionally add subdir-objects option to automake


This patch brought with it a somewhat unexpected and unexplainable (to me
and Frank, that is) side effect - "make distcheck" explodes:

gert@gentoo ~/openvpn-26.git $ git pull --rebase
Already up to date.
gert@gentoo ~/openvpn-26.git $ make distcheck
...
config.status: creating config.h
config.status: creating include/openvpn-plugin.h
config.status: executing depfiles commands
config.status: error: in `/home/gert/openvpn-26.git/openvpn-2.6.1/_build/sub':
config.status: error: Something went wrong bootstrapping makefile fragments
    for automatic dependency tracking.  If GNU make was not used, consider
    re-running the configure script with MAKE="gmake" (or whatever is
    necessary).  You can also try re-running configure with the
    '--disable-dependency-tracking' option to at least be able to build
    the package (albeit without support for automatic dependency tracking).
See `config.log' for more details
make: *** [Makefile:834: distcheck] Error 1

the relevant "config.log" is hiding, but there are some errors that look
relevant:

gert@gentoo ~/openvpn-26.git/openvpn-2.6.1/_build/sub $ less config.log
...
config.status:1694: cd tests/unit_tests/plugins/auth-pam       && sed -e '/# am-
-include-marker/d' Makefile         | make -f - am--depfiles
make[1]: Entering directory '/home/gert/openvpn-26.git/openvpn-2.6.1/_build/sub/
tests/unit_tests/plugins/auth-pam'
/bin/mkdir: cannot create directory '../../../../../../src/plugins/auth-pam/.dep
s': Permission denied

(many of them)


Not sure what to do about it... for now we've decided to move onwards
with the 2.6.1 release, as the "make dist" built tarball passes all
the tests - including "out of tree" builds - so it's not crucially
urgent ("yesterday" urgent), but it would be good to get this fixed again.

Anyone who understands autoconf...?

(This is on Gentoo, with automake 1.16.5, autoconf 2.71, libtool 2.4.7)

gert
-- 
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             g...@greenie.muc.de

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to