From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,WEIRD_PORT shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id E5ABF1F461 for ; Fri, 6 Sep 2019 23:16:56 +0000 (UTC) Received: from localhost ([::1]:60820 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i6NTL-0007xG-Pr for normalperson@yhbt.net; Fri, 06 Sep 2019 19:16:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32971) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i6NTG-0007x7-Ly for bug-gnulib@gnu.org; Fri, 06 Sep 2019 19:16:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i6NTD-0007XM-2j for bug-gnulib@gnu.org; Fri, 06 Sep 2019 19:16:50 -0400 Received: from mail-qk1-x729.google.com ([2607:f8b0:4864:20::729]:41032) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i6NTC-0007Vp-ST for bug-gnulib@gnu.org; Fri, 06 Sep 2019 19:16:47 -0400 Received: by mail-qk1-x729.google.com with SMTP id o11so7391113qkg.8 for ; Fri, 06 Sep 2019 16:16:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=O9qgtOxIzqDKUf8uKWWdjRp1AmWffTdktG62/Js3Hq0=; b=jqhz8sNmXTpCzQq5vVqgTLbvyeeA31eaxgBtLQ5cUxgWlyUXtH1sbBI3DXr+5tK6QV QRjP52wKhya1uisWEhnLri0qf8xcrralO7i9oC9O+V0U67TwT5A4WPqxL5wwt2NYk7gl NK06XwIgmq7++x6dIJMgT+W0nYdv6uuEM9sqguxkXzjoySg7IPIX7rJXXphvSORSrE4d w1YdVuiLXlaGT/uDA+Ib3nOQFMpCIugr0f/pyIW6MCt8J5BXbBjNtN8J63NIfrga3LpX bg6CHQHxiXhlujz2SgXVC6lKMQYS8zs0c01vCTq8sT9PVJlF8UrJylgDO/9noFtCQAaj TV5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=O9qgtOxIzqDKUf8uKWWdjRp1AmWffTdktG62/Js3Hq0=; b=AZhQ5Br/VYQlMvLk4EYZPvUqLs/TZv3B2k0TbTJsPWjL+1bWm0PJAtSuvPOQImXAfD gjNQyOTDpyd7Obl6mZlBujC4iKZAfN9gXbM2JEZ6N0b8O5G8DnJTCp1A/PcNwZzF511x 8Pf8ojXADIw6cDYleBIAnlNQJ+NH6cXko1N+AjEKGZrvpLqOJZFxII3tkkQBk8ZGha0M jez/dN2jePJ0nLDzaQ2r4+3HHvumFjmk/VAD4h/2Y7ziNyBRSXvgxqX4HRVGk0W5cwTG C0fKMbaTQqTqVVZH9MdtybXcqmOiF9BhTPmDaQhjF2QHZndjEBfbnltkWg0BeDd7mIL8 B8sA== X-Gm-Message-State: APjAAAWFqAeGg0Lz2kP/Ao6BAMzHNk8/KoziqYOdcbzuYTWnauaqbXZI +2oQ0K2x93NIB2Ff+Kh23SZnbBSs8i6ut+FkKFwmIMIj X-Google-Smtp-Source: APXvYqyMgUZdWcM9q5kzj+m3bTttFJdT76QfWJewJZPTPsZ5XtDn2PpldmBSOeXL+2sNDHXyoMsVFH+Mzt3lr0oa+uU= X-Received: by 2002:a37:4ec2:: with SMTP id c185mr12143680qkb.161.1567811806149; Fri, 06 Sep 2019 16:16:46 -0700 (PDT) MIME-Version: 1.0 References: <1754402.8z8nhZRJLd@omega> In-Reply-To: <1754402.8z8nhZRJLd@omega> From: Bruce Korb Date: Fri, 6 Sep 2019 16:16:09 -0700 Message-ID: Subject: Re: error: GL_GENERATE_ERRNO_H does not appear in AM_CONDITIONAL To: Bruno Haible Content-Type: multipart/alternative; boundary="000000000000c7c2600591eaa17a" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::729 X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: bug-gnulib Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" --000000000000c7c2600591eaa17a Content-Type: text/plain; charset="UTF-8" Hi Bruno, On Fri, Sep 6, 2019 at 3:25 PM Bruno Haible wrote: > Hi Bruce, > > Bootstrap messages: > > > > autoopts/Makefile.am:97: error: GL_GENERATE_ERRNO_H does not appear in > > AM_CONDITIONAL > > autoopts/Makefile.am:152: error: GL_GENERATE_STDDEF_H does not appear > > in AM_CONDITIONAL > > These two message indicate that the 'configure' script was not correctly > generated. > I had guessed that. There are many possible causes. Before you revisit your build system, > I would > - try the same thing from a pristine checkout (no leftover files from > a couple of years ago), > Countless years ago, my build process became blowing away the build tree, cloning the repo tree, populating it only with managed files, and *then* go in and bootstrap/autoreconf/configure/make. The configure stuff has bit-rotted. > - verify that the -I options passed to aclocal contain the directory > where errno_h.m4 and stddef_h.m4 have been copied to. > It looks right: libtoolize: linking file 'config/lt~obsolete.m4' +shlib=run_autotools-177> doit /usr/local/bin/aclocal -I config ((note: I'm using a fancy PS4 here. viz. PS4="+${prog}=\${FUNCNAME:-=}-\$LINENO> ")) +shlib=doit-34> test x/usr/local/bin/aclocal '!=' x: +shlib=doit-36> echo 'RUN: /usr/local/bin/aclocal -I config' RUN: /usr/local/bin/aclocal -I config +shlib=doit-37> eval /usr/local/bin/aclocal -I config ++shlib=doit-37> /usr/local/bin/aclocal -I config configure.ac:121: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from... config/ag_macros.m4:215: AG_LINK_SETJMP is expanded from... config/ag_macros.m4:568: INVOKE_AG_MACROS is expanded from... configure.ac:121: the top level configure.ac:121: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ..... Makefile.am: installing './COPYING' using GNU General Public License v3 file Makefile.am: Consider adding the COPYING file to the version control system Makefile.am: for your code, to avoid questions about which license your project uses agen5/Makefile.am: installing 'config/depcomp' parallel-tests: installing 'config/test-driver' autoopts/Makefile.am:97: error: GL_GENERATE_ERRNO_H does not appear in AM_CONDITIONAL autoopts/Makefile.am:152: error: GL_GENERATE_STDDEF_H does not appear in AM_CONDITIONAL doc/Makefile.am:38: installing 'config/texinfo.tex' +shlib=doit-37> die 'FAILURE 1: /usr/local/bin/automake --gnu --add-missing' +shlib=die-27> echo 'bootstrap failure: FAILURE 1: /usr/local/bin/automake --gnu --add-missing' $ ls config 00gnulib.m4 extern-inline.m4 lib-ld.m4 pkg.m4 absolute-header.m4 gendocs.sh lib-link.m4 snippet ag_macros.m4 gen-files.tar.gz liboptschk.m4 snprintfv.m4 bootstrap gen-list.txt libopts.m4 stat-time.m4 bootstrap.local gnulib-cache.m4 lib-prefix.m4 stddef_h.m4 bootstrap.shlib gnulib-common.m4 libtool.m4 stdnoreturn.m4 compile gnulib-comp.m4 ltmain.sh test-driver config.guess gnulib-tool.m4 lt~obsolete.m4 texinfo.tex config.rpath guile.m4 ltoptions.m4 time_h.m4 config.sub host-cpu-c-abi.m4 ltsugar.m4 unlocked-io.m4 depcomp include_next.m4 ltversion.m4 warn-on-use.m4 errno_h.m4 install-defs.sh missing wchar_t.m4 extensions.m4 install-sh mk-shdefs.in --000000000000c7c2600591eaa17a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Bruno,

On Fri, Sep 6, 2019 at 3:25 PM Bruno Haible = <bruno@clisp.org> wrote:
Hi Bruce,
> Bootstrap messages:
>
> autoopts/Makefile.am:97: error: GL_GENERATE_ERRNO_H does not appear in=
> AM_CONDITIONAL
> autoopts/Makefile.am:152: error: GL_GENERATE_STDDEF_H does not appear<= br> > in AM_CONDITIONAL

These two message indicate that the 'configure' script was not corr= ectly
generated.

I had guessed that.

There are many possible causes. Before you revisit your build system,
I would
=C2=A0 - try the same thing from a pristine checkout (no leftover files fro= m
=C2=A0 =C2=A0 a couple of years ago),

C= ountless years ago, my build process became blowing away the build tree,
cloning the repo tree, populating it only with managed files, and *= then*
go in and bootstrap/autoreconf/configure/make. The configur= e stuff
has bit-rotted.
=C2=A0
=C2=A0 - verify that the -I options passed to aclocal contain the directory=
=C2=A0 =C2=A0 where errno_h.m4 and stddef_h.m4 have been copied to.

It looks right:

libtoolize: linking file 'config/lt~obsolete.m4'= ;
+shlib=3Drun_autotools-177> = doit /usr/local/bin/aclocal -I config
((note: I'm using a fancy PS4 here. viz.= =C2=A0PS4=3D"+${prog}=3D\${FUNCNAME:-=3D}-\$LINENO> "))=
+shlib=3Ddoit-34> test x/usr/local/b= in/aclocal '!=3D' x:
+shl= ib=3Ddoit-36> echo 'RUN:=C2=A0 /usr/local/bin/aclocal -I config'=
RUN:=C2=A0 /usr/local/bin/acloca= l -I config
+shlib=3Ddoit-37> = eval /usr/local/bin/aclocal -I config
++shlib=3Ddoit-37> /usr/l= ocal/bin/aclocal -I config
configure.ac:121: warning: AC_LANG_CONFTE= ST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded fro= m...
../../lib/autoconf/general.m= 4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded f= rom...
../../lib/m4sugar/m4sh.m4:= 639: AS_IF is expanded from...
..= /../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
config/ag_macros.m4:215: AG_LINK_SETJMP i= s expanded from...
config/ag_macr= os.m4:568: INVOKE_AG_MACROS is expanded from...
configure.ac:121: th= e top level
configure.ac:121: warning: AC_LANG_CONFTEST: no AC_LANG_= SOURCE call detected in body
....= .
Makefile.am: installing &#= 39;./COPYING' using GNU General Public License v3 file
Makefi= le.am:=C2=A0 =C2=A0 =C2=A0Consider adding the COPYING file to the version c= ontrol system
Makefile.am:=C2=A0 =C2=A0 =C2=A0for your code, to a= void questions about which license your project uses
agen5/Makefi= le.am: installing 'config/depcomp'
parallel-tests: instal= ling 'config/test-driver'
autoopts/Makefile.am:97: error:= GL_GENERATE_ERRNO_H does not appear in AM_CONDITIONAL
autoopts/M= akefile.am:152: error: GL_GENERATE_STDDEF_H does not appear in AM_CONDITION= AL
doc/Makefile.am:38: installing 'config/texinfo.tex'
+shlib=3Ddoit-37> die 'FAILURE 1:=C2=A0 /usr/local/bin/autom= ake --gnu --add-missing'
+shlib=3Ddie-27> echo 'bootst= rap failure:=C2=A0 FAILURE 1:=C2=A0 /usr/local/bin/automake --gnu --add-mis= sing'

$ ls config=C2=A0
00gnulib.m4 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0extern-inline.m4 =C2=A0=C2=A0lib-ld.m4 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0pkg.m4
absolute-header.m4 =C2=A0gendocs.sh =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0lib-link.m4 =C2=A0=C2=A0=C2=A0=C2=A0snippet
ag_macros.m4 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0gen-files.tar.gz= =C2=A0=C2=A0liboptschk.m4 =C2=A0=C2=A0snprintfv.m4
bootstrap =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0g= en-list.txt =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0libopts.m4 =C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0stat-time.m4
bootstrap.local =C2=A0=C2=A0=C2=A0=C2=A0gnulib-cache.m4 =C2=A0=C2=A0=C2= =A0lib-prefix.m4 =C2=A0=C2=A0stddef_h.m4
bootstrap.shlib =C2=A0=C2=A0=C2=A0=C2=A0gnulib-common.m4 =C2=A0=C2=A0li= btool.m4 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0stdnoreturn.m4
compile =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0gnulib-comp.m4 =C2=A0=C2=A0=C2=A0=C2=A0ltmain.sh =C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0test-driver
config.guess =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0gnulib-tool.m4 = =C2=A0=C2=A0=C2=A0=C2=A0lt~obsolete.m4 =C2=A0texinfo.tex
config.rpath =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0guile.m4 =C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0ltoptions.m4 =C2=A0= =C2=A0=C2=A0time_h.m4
config.sub =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0host-c= pu-c-abi.m4 =C2=A0ltsugar.m4 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0unlocked-io.m4
depcomp =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0include_next.m4 =C2=A0=C2=A0=C2=A0ltversion.m4 =C2=A0=C2=A0=C2=A0w= arn-on-use.m4
errno_h.m4 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0instal= l-defs.sh =C2=A0=C2=A0=C2=A0missing =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0wchar_t.m4
extensions.m4 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0install-sh =C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0mk-s= hdefs.in

--000000000000c7c2600591eaa17a--