Bug 220812 - ports-mgmt/synth: Update to 1.70, Add option to disable build timeout watchdog
Summary: ports-mgmt/synth: Update to 1.70, Add option to disable build timeout watchdog
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: Matthew Seaman
URL:
Keywords: easy, needs-qa
Depends on:
Blocks:
 
Reported: 2017-07-18 00:59 UTC by Jonathan Chen
Modified: 2017-07-29 02:24 UTC (History)
3 users (show)

See Also:
ericturgeon.bsd: maintainer-feedback+


Attachments
synth port patches (2.43 KB, patch)
2017-07-18 00:59 UTC, Jonathan Chen
no flags Details | Diff
synth-1.70 with NOWATCHDOG option (2.20 KB, patch)
2017-07-22 21:28 UTC, Jonathan Chen
koobs: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Chen 2017-07-18 00:59:03 UTC
Created attachment 184457 [details]
synth port patches

Updates for synth:

1. Add option (enabled by default) to disable the timeout watchdog, as agreed with the author. https://github.com/jrmarino/synth/issues/53#issuecomment-293621998

2. Add upstream patch for aarch64 platform recognition https://github.com/jrmarino/synth/pull/82
Comment 1 Eric Turgeon 2017-07-22 17:19:18 UTC
I just got a notification from Marino that 1.70 is out.
Comment 2 Jonathan Chen 2017-07-22 21:28:12 UTC
Created attachment 184603 [details]
synth-1.70 with NOWATCHDOG option

I've updated the patch to accomodate 1.70
Comment 3 Eric Turgeon 2017-07-23 02:29:06 UTC
thanks
Comment 4 Kubilay Kocak freebsd_committer freebsd_triage 2017-07-23 12:41:03 UTC
Comment on attachment 184603 [details]
synth-1.70 with NOWATCHDOG option

@Eric, would appreciate if you could set this flag to + to signify maintainer approval
Comment 5 Kubilay Kocak freebsd_committer freebsd_triage 2017-07-23 12:42:30 UTC
Still pending QA (poudriere in particular)
Comment 6 Eric Turgeon 2017-07-23 13:55:45 UTC
I already flag it as +.
Comment 7 Kubilay Kocak freebsd_committer freebsd_triage 2017-07-24 01:36:47 UTC
Note the distinction between maintainer-feedback flag (at the issue level) and maintainer-approval flag (at the attachment/patch level) which is used to approve patches
Comment 8 Jonathan Chen 2017-07-24 23:41:49 UTC
(In reply to Kubilay Kocak from comment #5)

How can I progress this? Is it with me or you, Kubilay?
Comment 9 Kubilay Kocak freebsd_committer freebsd_triage 2017-07-25 05:01:20 UTC
(In reply to Jonathan Chen from comment #8)

Nothing further appears to be required to progress, pending a committer assigning themselves.
Comment 10 commit-hook freebsd_committer freebsd_triage 2017-07-25 16:20:34 UTC
A commit references this bug:

Author: matthew
Date: Tue Jul 25 16:20:05 UTC 2017
New revision: 446594
URL: https://svnweb.freebsd.org/changeset/ports/446594

Log:
  Update to 1.70

  Add NOWATCHDOG option

  PR:		220812
  Submitted by:	jonc@chen.org.nz
  Approved by:	ericturgeon.bsd@gmail.com (maintainer)

Changes:
  head/ports-mgmt/synth/Makefile
  head/ports-mgmt/synth/distinfo
  head/ports-mgmt/synth/files/
  head/ports-mgmt/synth/files/extrapatch-nowatchdog-portscan-buildcycle.adb
Comment 11 Matthew Seaman freebsd_committer freebsd_triage 2017-07-25 16:21:09 UTC
Committed, thanks!
Comment 12 David Z. 2017-07-29 02:17:12 UTC
Shouldn't the NOWATCHDOG option be off by default, per the author's comment?  https://github.com/jrmarino/synth/issues/53#issuecomment-293621998

"If you want to propose a change to the port to give it an option to build with the watchdog on (off by default), you have my blessing."
Comment 13 David Z. 2017-07-29 02:22:34 UTC
Never mind -- sorry for the spam.  I think I had trouble parsing whether the author was actually in favor of the watchdog being on or off by default, given his ambivalence on the subject.
Comment 14 Jonathan Chen 2017-07-29 02:24:09 UTC
The author wants the port to have the watchdog _disabled_ by default.

Since the code enables the watchdog on as is, it was easier to have a patch that would disable it, and have it applied by default. If you read the github thread, this is in response to long builds without output that are terminated prematurely.