bugGNU roff - Bugs: bug #35146, parallel build failure in pdfmark...

 
 

bug #35146: parallel build failure in pdfmark subdir

Submitter:  Mike Frysinger <vapier>
Submitted:  Wed 21 Dec 2011 07:27:50 PM UTC
   
 
Category:  Macro package - others/general Severity:  3 - Normal
Item Group:  Build/Installation Status:  Fixed
Privacy:  Public Assigned to:  wl
Open/Closed:  Closed Planned Release:  1.22.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 22 Jan 2022 02:19:57 PM UTC, comment #2: 


commit 379dab35f750071de19b76d2efdeffc432a3fe72
Author: Werner LEMBERG <wl@gnu.org>
Date:   Mon Dec 26 08:20:53 2011 +0000

    Fix parallel build race failure.

    Sometimes building in parallel will fail in the pdfmark directory:

      make[2]: Entering directory '.../contrib/pdfmark'
      rm -f pdfroff
      rm -f pdfmark.pdf
      sed -f ... ./pdfroff.sh >pdfroff
      ...; ./pdfroff ... pdfmark.ms >pdfmark.pdf
      /bin/sh: ./pdfroff: Permission denied
      chmod +x pdfroff
      make[2]: *** [pdfmark.pdf] Error 126

    This is because the generated pdf files use the local generated
    pdfroff helper script, but they don't depend directly upon it, so
    make tries to create the two in parallel and randomly falls over.

    * Makefile.sub: Have all the .pdf files explicitly depend on the
    `pdfroff' helper script.


G. Branden Robinson <gbranden>
Group administrator
Mon 26 Dec 2011 08:23:39 AM UTC, comment #1: 

Patch applied, thanks.

Werner LEMBERG <wl>
Group administrator
Wed 21 Dec 2011 07:27:50 PM UTC, original submission:  

patch is attached.  info from patch:

Sometimes building in parallel will fail in the pdfmark directory:
    make[2]: Entering directory '.../contrib/pdfmark'
    rm -f pdfroff
    rm -f pdfmark.pdf
    sed -f ... ./pdfroff.sh >pdfroff
    ...; ./pdfroff ... pdfmark.ms >pdfmark.pdf
    /bin/sh: ./pdfroff: Permission denied
    chmod +x pdfroff
    make[2]: * [pdfmark.pdf] Error 126

This is because the generated pdf files use the local generated pdfroff helper script, but they don't depend directly upon it, so make tries to create the two in parallel and randomly falls over.

Have all the .pdf files explicitly depend on the pdfroff helper script.

Mike Frysinger <vapier>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gbranden (Posted a comment)
  • -email is unavailable- added by wl (Posted a comment)
  • -email is unavailable- added by vapier (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-01-22 gbranden CategoryNone Macro package - others/general
        Item GroupNone Build/Installation
        Planned ReleaseNone 1.22.0
    2011-12-26 wl StatusNone Fixed
        Assigned toNone wl
        Open/ClosedOpen Closed
    2011-12-21 vapier Attached File- Added groff-1.20.1-pdfmark-parallel.patch, #24644

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code