Menu

#177 man page output containing DO NOT EDIT THIS FILE (/tmp/pkgsrc/devel/autogen/work/.home/.ag-FjaasW/ag-FiaaqW)

autogen
pending
None
1
2020-09-14
2016-07-21
No

with 5.18, certain manpages are generated including a complete temporary file path, which naturally
isn't available once the build completed.

For example, in columns/

$ head -20 columns.1
.de1 NOP
.  it 1 an-trap
.  if \\n[.$] \,\\$*\/
..
.ie t \
.ds B-Font [CB]
.ds I-Font [CI]
.ds R-Font [CR]
.el \
.ds B-Font B
.ds I-Font I
.ds R-Font R
.TH columns 1 "21 Jul 2016" "GNU AutoGen (1.2)" "User Commands"
.\"
.\" DO NOT EDIT THIS FILE (/tmp/pkgsrc/devel/autogen/work/.home/.ag-FjaasW/ag-FiaaqW)
.\"
.\" It has been AutoGen-ed
.\" From the definitions ./opts.def
.\" and the template file agman-cmd.tpl
.SH NAME

if it is not possible to suppress this line, perhaps only the basename of the file should be used.

When TMPDIR is set to the temporary build HOME directory, I get the following stage-install error in pkgsrc:

=> Checking for work-directory references in autogen-5.18.10
ERROR: /opt/local/man/man1/columns.1:   .\" DO NOT EDIT THIS FILE (/tmp/pkgsrc/devel/autogen/work/.home/.ag-FjaasW/ag-FiaaqW)
ERROR: /opt/local/man/man1/getdefs.1:   .\" DO NOT EDIT THIS FILE (/tmp/pkgsrc/devel/autogen/work/.home/.ag-D7a4RJ/ag-h7a4PJ)
ERROR: /opt/local/man/man1/xml2ag.1:    .\" DO NOT EDIT THIS FILE (/tmp/pkgsrc/devel/autogen/work/.home/.ag-csaW7X/ag-Kray5X)
ERROR: *** The above files still have references to the build directory.
ERROR:     This is possibly an error that should be fixed by unwrapping
ERROR:     the files or adding missing tools to the package makefile!
*** Error code 1

Discussion

  • Bruce Korb

    Bruce Korb - 2016-07-21

    Ticket moved from /p/autogen/support-requests/3/

     
  • Bruce Korb

    Bruce Korb - 2016-07-21
    • status: open --> accepted
    • assigned_to: Bruce Korb
    • Group: --> autogen
     
  • Bruce Korb

    Bruce Korb - 2016-07-21

    It needs to be another "option" to the "dne" function (ag_scm_dne()). Very reasonable....

     
  • Bruce Korb

    Bruce Korb - 2017-09-11

    Reminder to self: needs a fix

     
  • Bruce Korb

    Bruce Korb - 2020-09-14
    • status: accepted --> pending
     
  • Bruce Korb

    Bruce Korb - 2020-09-14

    fix in source

     

Log in to post a comment.

MongoDB Logo MongoDB