[Nasm-bugs] [Bug 3392482] New: 'make doc' fails on BSDs: cp: illegal option -- u

noreply-nasm at gorcunov.org noreply-nasm at gorcunov.org
Sun May 13 08:26:42 PDT 2018


https://bugzilla.nasm.us/show_bug.cgi?id=3392482

            Bug ID: 3392482
           Summary: 'make doc' fails on BSDs: cp: illegal option -- u
           Product: NASM
           Version: unspecified
          Hardware: All
                OS: Other Unix
            Status: OPEN
          Severity: normal
          Priority: Medium
         Component: Documentation
          Assignee: nobody at nasm.us
          Reporter: slyich at gmail.com
                CC: gorcunov at gmail.com, hpa at zytor.com, nasm-bugs at nasm.us
     Obtained from: Built from git using configure

Created attachment 411642
  --> https://bugzilla.nasm.us/attachment.cgi?id=411642&action=edit
nasm-2.13.03-bsd-cp-doc.patch

Extracted from downstream build failre: https://bugs.gentoo.org/655444:

On FreeBSD docs fail due to unrecognized 'cp -u' flag:

$ ./configure
...
$ gmake doc
...
for f in nasmdoc.css local.css nasmlogw.png; do cp -ufv "./$f" html/; done
cp: illegal option -- u

Seems to be caused by 
  commit d31a74e301ee6a09b29b610a83ff2c1580b9f998
    doc: add a local.css specifically to be overridden locally

  diff --git a/doc/Makefile.in b/doc/Makefile.in
  index c43f029c..4f957da7 100644
  --- a/doc/Makefile.in
  +++ b/doc/Makefile.in
  @@ -24,6 +24,10 @@ PDFOPT               = @PDFOPT@
   RM_F           = rm -f
   RM_RF          = rm -rf
   CP_F           = cp -f
  +CP_UF          = cp -ufv

Appaching a tweak we use downstream currently.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are on the CC list for the bug.


More information about the Nasm-bugs mailing list