Re: how to manage make(1) dependencies on gnulib-generated header files
"G. Branden Robinson" <[email protected]> Tue, 28 Jul 2026 17:42:15 -0500
| Newsgroups | gmane.comp.printing.groff.general,gmane.comp.lib.gnulib.bugs |
|---|---|
| Message-ID | <20260728224215.q6awrwhixuqxrzit@illithid> |
--77u2lxijrfchgdcm
Content-Type: text/plain; protected-headers=v1; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Subject: Re: how to manage make(1) dependencies on gnulib-generated header
files
MIME-Version: 1.0
Hi Paul,
At 2026-07-28T15:32:52-0700, Paul Eggert wrote:
> On 2026-07-28 15:20, G. Branden Robinson wrote:
> > CC lib/libgnu_a-c32isalnum.o
> > In file included from lib/c32isalnum.c:26:
> > lib/c32is-impl.h:35:10: fatal error: unictype.h: No such file or direct=
ory
> > 35 | #include "unictype.h"
> >=20
> > Any idea about that one?
>=20
> Sorry, no, other than what Bruno and I already suggested, which is
> "Don't do that unless you've already run a plain 'make'."
Okay. In that case I'm taking myself out of the loop on this issue; I
think Richard might need to work up some documentation for how
Yocto/OpenEmbedded attempts builds of projects using GNU Automake.
If "make clean" doesn't trash the dependency information that "make all"
creates,[1] then "make libgroff.a" or "make doc/groff-man-pages.pdf"
might still be a useful technique for smoking out missing prerequisite
declarations in groff's *.am files.
Regards,
Branden
[1] A quick experiment suggests that it doesn't.
$ make all
...
$ make clean
...
$ find -name '*.Po' | head
./src/roff/groff/.deps/pipeline.Po
./src/roff/groff/.deps/groff.Po
./src/roff/troff/.deps/div.Po
./src/roff/troff/.deps/majorminor.Po
./src/roff/troff/.deps/mtsm.Po
./src/roff/troff/.deps/number.Po
./src/roff/troff/.deps/dictionary.Po
./src/roff/troff/.deps/input.Po
./src/roff/troff/.deps/env.Po
./src/roff/troff/.deps/reg.Po
--77u2lxijrfchgdcm
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEh3PWHWjjDgcrENwa0Z6cfXEmbc4FAmppMEAACgkQ0Z6cfXEm
bc4z6RAAhRIKSmixeyIolubFLL6aEduSBDTiI84C9dJTrA751KUwXwK/Kmy/cIsr
8zit3bZhDY+MqN0zqLIO1fY8sHHMevkNZX8xI3NBTQNSonKbwnACLNHnFdnx6ufU
i3T76wO/twhxWQFNrhFlJxBVIN5XXHPe2vz2YN9ckaB6ctKE7ItxmUUtZeJFDeFs
M2y4BTC+LEjq8PhAPyFN1bHrx5s+9NV0VAMJst61IwMj+C/MDP25eikER9dKOrTA
Sd0lKbSOFZ47g8sPJg9sv5cT49NL2oRaL2dd4fyQH+IvOGDvqQc6HMMTN0VPufad
6WTI8xD6M9ERDYc6cEJP+P1crhUGuX3BpatMJ2MXhd9ZfAUY0xpD/AqeDqjPu4ZA
GWENNen22oFxWi5nNEAv92rKmjMTb/hhGFviuxfuan0HFZdqmH+AE/EVDMMV6gD+
R5/ZYk6qefej2QKQsIyEUaLwzei5jA/+vCSknbt0pnVNV1dnINnqnLs6s+EOWIFv
Jc94weZei35X4xjdk5Si9nGXJjXzf1F8qKAJwuJz3ic8KOZxhqQlQyxMXLzI/LWO
8tR79Nfnw4Qqa++N3zI+zPGcYzH1Xsxq8iunVw/vEkWkXZVz5T2LpesfyvMhtvGS
Q/Z7dlPME5w0yu+z4ayPnHNUNg/F44DpKwDzqMvjnCC9jzVU2wo=
=H9Gt
-----END PGP SIGNATURE-----
--77u2lxijrfchgdcm--