a2x uses cp -u
Brought to you by:
sjrackham
The a2x program uses "cp -u". -u is not specified by POSIX and NetBSD's cp doesn't implement it. I couldn't easily figure out what it is for so I just added a patch to pkgsrc that removes the -u. Please either apply this patch, or perhaps add some way to detect when cp supports -u and use it then. If you explain the intent, I can see how to do the same thing under BSD.
Logged In: YES
user_id=643832
Originator: NO
According to the manual page for gcp (which is GNU cp on my machine) - as opposed to that for cp (which is BSD cp on my machine):
-u, --update
copy only when the SOURCE file is newer than the destination
file or when the destination file is missing
a2x seems to depend on several options specific to the GNU versions of utilities. For example, the (BSD) readline on my machine does not support the options a2x uses but greadline (GNU) does.
Unfortunately, this is the least of my problems as the whole thing fails with asciidoc version 8 in any case but I hope the above may be of some use to you.
- cfr