[Top][All Lists]

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

gnulib getloadavg: incorrect .Po included in root Makefile.in

From: Paul Smith
Subject: gnulib getloadavg: incorrect .Po included in root Makefile.in
Date: Sun, 17 Jun 2018 22:46:21 -0400

Hi all.

I'm on a GNU/Linux system with autoconf 2.69, automake 1.15.1, gettext, latest gnulib checked out from Git.

I'm seeing an issue when using the getloadavg gnulib module.  The
problem is that I find a line in my root Makefile.in which attempts to
include the lib/.deps/getloadavg.Po file.

This causes the distcheck target to fail, because after we run "make
distclean" in the lib subdirectory that .Po file is gone.  This causes
any further attempt to recursively re-invoke make against the root
Makefile to fail with:

  Makefile:1021: lib/.deps/getloadavg.Po: No such file or directory

I clean my local Git repository so all gnulib files are gone.  After I
run ./bootstrap, in my ./lib/Makefile.in I see this which is fine:

  @AMDEP_TRUE@@am__include@ @address@hidden/$(DEPDIR)/address@hidden@

But I also see this in my ./Makefile.in which causes the breakage:

  @AMDEP_TRUE@@am__include@ @address@hidden/$(DEPDIR)/address@hidden@

Note how it's looking at lib/$(DEPDIR)/getloadavg.Po.  This is wrong
and I can't figure out where this line comes from.  None of the other
source files added in lib/ have this problem; they are not added to the
root ./Makefile.in.

There's nothing in my Makefile.am or configure.ac that does anything
special with getloadavg (I do call the recommended m4 macros in
configure.ac of course).  All I can assume is that something about the
m4/getloadavg.m4 file is causing this to happen somehow.

Anyone have any hints as to how to figure out what's happening here?

reply via email to

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