This is an archive of the discontinued Mercurial Phabricator instance.

make: drop the `-c` arg to `install` in the documentation makefile
ClosedPublic

Authored by mharbison72 on Apr 15 2020, 10:28 PM.

Details

Summary

This arg caused gmake install on OpenIndiana 2019.10 (illumos) fail with:

install: The -c, -f, -n options each require a directory following!
install: The -c, -f, -n options each require a directory following!
install: The -c, -f, -n options each require a directory following!
gmake[1]: *** [Makefile:41: install] Error 2
gmake[1]: Leaving directory '/usr/local/share/mercurial/doc'

The workaround is to run gmake install-bin.

The man page for 10.14 says this is to copy the file and is only for
compatability, as it is the default. The CentOS 7 man page says it is ignored.
The top level makefile doesn't use this argument at all, so I'm not sure why
it's here.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

mharbison72 created this revision.Apr 15 2020, 10:28 PM

This helps it get further, but then it dies with messages like:

find: cycle detected for /lib/secure/32/
find: cycle detected for /lib/crypto/32/
find: cycle detected for /lib/32/
...
install: hg-ssh.8 was not found anywhere!
find: cycle detected for /lib/secure/32/
find: cycle detected for /lib/crypto/32/
find: cycle detected for /lib/32/
...
install: hgrc.5 was not found anywhere!
...

This helps it get further, but then it dies with messages like:

find: cycle detected for /lib/secure/32/
find: cycle detected for /lib/crypto/32/
find: cycle detected for /lib/32/
...
install: hg-ssh.8 was not found anywhere!
find: cycle detected for /lib/secure/32/
find: cycle detected for /lib/crypto/32/
find: cycle detected for /lib/32/
...
install: hgrc.5 was not found anywhere!
...

... and gmake INSTALL=ginstall install works around that. But I think this patch is still valid.

This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.