Re: [PATCH] build: fix race in parallel builds
Mike Frysinger <[email protected]>
| Newsgroups | gmane.comp.sysutils.automake.patches |
|---|---|
| Message-ID | <YeefW3glFgmtI4JW@vapier> |
On 18 Jan 2022 04:53, Mike Frysinger wrote: > As reported by Hongxu Jia: > > The automake-$(APIVERSION) is a hardlink of automake, if it is > > created later than update_mans executing, there is a failure > > [snip] > > |: && mkdir -p doc && ./pre-inst-env /usr/bin/env perl ../automake-1.16.1/doc/help2man --output=doc/aclocal-1.16.1 aclocal-1.16 > > |help2man: can't get `--help' info from aclocal-1.16 > > |Try `--no-discard-stderr' if option outputs to stderr > > Makefile:3693: recipe for target 'doc/aclocal-1.16.1' failed > > [snip] > > > > The automake_script is required by update_mans and update_mans > > invokes automake-$(APIVERSION) rather than automake to generate > > doc, so we should assign `automake-$(APIVERSION)' to automake_script. > > > > The same reason to tweak aclocal_script. > > However, rather than update the _script variables to point to the > hardlinked copies of the programs, we can have the help2man steps > run the existing scripts directly. This makes the relationship a > bit more explicit and avoids implicit dependencies on names. > > * doc/local.mk: Pass $(aclocal_script) and $(automake_script) to $(update_mans). i've pushed this now, and with updated THANKS: Hongxu Jia [email protected] let me know if you prefer a different writing of your name, or a different e-mail address. it doesn't have to be pinyin/romanized if you don't want. -mike
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmHnn1sACgkQQWM7n+g3 9YG9VRAAsc4B/5okFOkT8dlRon570zFTi55cLvXYvwr5vqqpo/CNTALMQd83gJZB VG4+H9A+NjWLK1CPXXnqlgrWxsbxSBwdRq2hq+Tq1W8C3fhonHQHRTkcke/1leux IYD2i9oVT8DWnbiPGFARxyve2pTiTlZDyFsMoaHdN85l8X+PXpcxKZfNVzR6Iz3R fsDY1UvFdWfnrFcljD3FQvJNcQVQnTIWuoP1bEQlZUEZ+yo2bSijuEPmjDZXVYyo 1fkbEB16Yr5+BH27DbdH6mcm+rwCC7rAX4s6BcOUXovYwXoYDVaGHgKgriu1cZek D+6NI9ZH6fcFghGnGnji7fNDN2JPByhN4cpjRC+Sbwnyb5W5izBUEZn0AFREBgzb vRAe7VEz/TAWiNtJyrpU2jp65iSx2Y+6WVvsm+jC7d1YAR0zHMYdVzFyd8ax1Z0K ilPBTghT5zsKOTM7jOGxaawYyg+h6jEDycXz/9esswb8PgTBZSUt+eUT0f6VDWi/ 4rt81P8xQVk4Gz74OnTeuOLbKloe0YKpR9zUV2t44iv56dbkrJomliitfTtHS/8B tDtgptrRR8oV0tKOFcSQLteDqJzXnCDkOE0e2M+KcJG0wGOPQuwwfyRTAusQ6ZaE tH2hF1lyfMhac5O07uSA5DUz4ozvU9p99u/TavjNYOZJD/viKjg= =oOfu -----END PGP SIGNATURE-----