Bug 226054 - misc/gimp-help-en - random failures when doing parallel builds
Summary: misc/gimp-help-en - random failures when doing parallel builds
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Tobias Kortkamp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-20 00:08 UTC by Don Lewis
Modified: 2019-02-24 15:09 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (liangtai.s16)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Don Lewis freebsd_committer freebsd_triage 2018-02-20 00:08:19 UTC
When I attempt to do parallel builds in poudriere by setting ALLOW_MAKE_JOBS=yes, I see random failures of the various gimp-help ports.  I've never seen failures of  gimp-help-en, only the non-English slave ports.

gmake[3]: Leaving directory '/wrkdirs/usr/ports/misc/gimp-help-nn/work/gimp-help-2.8.2'
[XML] xml/nn/dialogs/edit-template-dialog.xml
[XML] xml/nn/dialogs/sample-points.xml
[XML] xml/nn/dialogs/qmask.xml
[XML] xml/nn/dialogs/histogram-dialog.xml
[XML] xml/nn/dialogs/fonts-dialog.xml
[XML] xml/nn/dialogs/layer-mask.xml
[XML] xml/nn/dialogs/dialogs-content.xml
[XML] xml/nn/preface/authors.xml
Cleaning up 'nn' xml files ...
Copying images (nn) ... 1607 (nn: 607)
*** Making html for nn ...
warning: failed to load external entity "xml/nn/dialogs/dialogs-structure.xml"
xml/nn/gimp.xml:161: element include: XInclude error : could not load xml/nn/dialogs/dialogs-structure.xml, and no fallback was found
warning: failed to load external entity "xml/nn/dialogs/color-dialog.xml"
xml/nn/dialogs/dialogs-content.xml:9: element include: XInclude error : could not load xml/nn/dialogs/color-dialog.xml, and no fallback was found
warning: failed to load external entity "xml/nn/dialogs/brushes-dialog.xml"
xml/nn/dialogs/dialogs-content.xml:10: element include: XInclude error : could not load xml/nn/dialogs/brushes-dialog.xml, and no fallback was fo
und
warning: failed to load external entity "xml/nn/dialogs/gradient-editor-dialog.xml"
xml/nn/dialogs/gradient-dialog.xml:340: element include: XInclude error : could not load xml/nn/dialogs/gradient-editor-dialog.xml, and no fallba
ck was found
warning: failed to load external entity "xml/nn/dialogs/dialogs-management.xml"
xml/nn/gimp.xml:163: element include: XInclude error : could not load xml/nn/dialogs/dialogs-management.xml, and no fallback was found
warning: failed to load external entity "xml/nn/dialogs/dialogs-misc.xml"
xml/nn/gimp.xml:164: element include: XInclude error : could not load xml/nn/dialogs/dialogs-misc.xml, and no fallback was found
gmake[2]: *** [Makefile:1381: html/nn/index.html] Error 6
gmake[2]: Leaving directory '/wrkdirs/usr/ports/misc/gimp-help-nn/work/gimp-help-2.8.2'
gmake[1]: *** [Makefile:666: all-recursive] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/misc/gimp-help-nn/work/gimp-help-2.8.2'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Adding MAKE_JOBS_UNSAFE=yes to the Makefile for the master port eliminates these failures.
Comment 1 SimaMoto,RyōTa 2018-02-25 05:43:52 UTC
Thank you for your nice report.  I'll amend these ports as you point out.
Update report #226189 was sent.

My machine does not have enough capacity, unfortunately, to regenerate
multi-jobs error that you found under the state 'ALLOW_MAKE_JOBS=yes', but
I believe such bug fix should be important for managing the ports safely.
Comment 2 SimaMoto,RyōTa 2018-02-25 06:38:39 UTC
Sorry I made mistake.

The update report is bug #226189.
Comment 3 commit-hook freebsd_committer freebsd_triage 2019-02-24 15:08:45 UTC
A commit references this bug:

Author: tobik
Date: Sun Feb 24 15:08:23 UTC 2019
New revision: 493763
URL: https://svnweb.freebsd.org/changeset/ports/493763

Log:
  */gimp-help*: Mark MAKE_JOBS_UNSAFE

  The build of the non-English slave ports can fail randomly when
  building in parallel.  Mark the master port (misc/gimp-help-en)
  MAKE_JOBS_UNSAFE to work around this.

  - Drop 'The' prefix from COMMMENT in the slave ports while here

  PR:		226054, 226189
  Submitted by:	maintainer
  Reported by:	truckman

Changes:
  head/chinese/gimp-help-zh_CN/Makefile
  head/french/gimp-help/Makefile
  head/german/gimp-help/Makefile
  head/graphics/gimp-help/Makefile
  head/japanese/gimp-help/Makefile
  head/korean/gimp-help/Makefile
  head/misc/gimp-help-ca/Makefile
  head/misc/gimp-help-da/Makefile
  head/misc/gimp-help-el/Makefile
  head/misc/gimp-help-en/Makefile
  head/misc/gimp-help-en_GB/Makefile
  head/misc/gimp-help-es/Makefile
  head/misc/gimp-help-it/Makefile
  head/misc/gimp-help-nl/Makefile
  head/misc/gimp-help-nn/Makefile
  head/misc/gimp-help-sl/Makefile
  head/misc/gimp-help-sv/Makefile
  head/portuguese/gimp-help-pt_BR/Makefile
  head/russian/gimp-help/Makefile