From owner-svn-ports-all@freebsd.org Sun Jan 17 16:01:19 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7CD16A86C63; Sun, 17 Jan 2016 16:01:19 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 544D019BE; Sun, 17 Jan 2016 16:01:19 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u0HG1IEg075823; Sun, 17 Jan 2016 16:01:18 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u0HG1ISJ075587; Sun, 17 Jan 2016 16:01:18 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201601171601.u0HG1ISJ075587@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Sun, 17 Jan 2016 16:01:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r406514 - head/ports-mgmt/synth X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jan 2016 16:01:19 -0000 Author: marino Date: Sun Jan 17 16:01:17 2016 New Revision: 406514 URL: https://svnweb.freebsd.org/changeset/ports/406514 Log: ports-mgmt/synth: hanging process watchdog and various fixes The following changes have been implemented: * The builder command executer had been upgraded with a watchdog. It does not monitor the overall time of a phase (things like fetch / checksum vary depending on the internet connection and the volume it needs to download ranges from bytes to gigabytes), but it does monitor log progress. Each phase has a maximum amount of time allowed for the log to be static (measured in lines, not file size). If the log is static for too long for that phase, the processes of the builder will be killed, and the builder log updated accordingly. * The load indicator was stuck at 0.00 for some named locales (only on FreeBSD) so this was resolved. * Ports tree scanning time was cut nearly in half by caching make variables on each builders make.conf * Support for /usr/lib/lib32 was added for FreeBSD * purge-distfiles command was improved by handling potential exceptions and fixing the case of 100-1023 Mb purged (range was too narrow) * Typos on man page fixed * The directory ${PORTSDIR}/packages are now ignored. This is the default package location and any existing packages were getting treated as port directories. * Skip some additional questions/actions if a graceful shutdown was previously detected Modified: head/ports-mgmt/synth/Makefile head/ports-mgmt/synth/distinfo Modified: head/ports-mgmt/synth/Makefile ============================================================================== --- head/ports-mgmt/synth/Makefile Sun Jan 17 15:04:56 2016 (r406513) +++ head/ports-mgmt/synth/Makefile Sun Jan 17 16:01:17 2016 (r406514) @@ -3,7 +3,7 @@ PORTNAME= synth PORTVERSION= 0.98 -PORTREVISION= 2 +PORTREVISION= 3 DISTVERSIONPREFIX= v CATEGORIES= ports-mgmt @@ -21,7 +21,7 @@ USES= ada:6 ncurses:port USE_GITHUB= yes GH_ACCOUNT= jrmarino GH_PROJECT= synth_external:bundle -GH_TAGNAME= v1.3:bundle c83a9d9 +GH_TAGNAME= v1.3:bundle 78e49f9 # When framework is moved to Ada6, the ada-util and ini-file-manager # libraries can be used as prebuilt (switch default.gpr url) @@ -43,8 +43,11 @@ do-build: gcc -I. -c ${csrc}.c -o ../../build/adacurses/${csrc}.o) .endfor (cd ${WRKSRC}/synthexec && ${SETENV} ${MAKE_ENV} \ + gcc -c nonblock_wait.c -o ../build/nonblock_wait.o) + (cd ${WRKSRC}/synthexec && ${SETENV} ${MAKE_ENV} \ gcc synthexec.c -o ../build/synthexec) - (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} gnatmake -P default) + (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} gnatmake -P default \ + -largs build/nonblock_wait.o) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/build/synth \ Modified: head/ports-mgmt/synth/distinfo ============================================================================== --- head/ports-mgmt/synth/distinfo Sun Jan 17 15:04:56 2016 (r406513) +++ head/ports-mgmt/synth/distinfo Sun Jan 17 16:01:17 2016 (r406514) @@ -1,4 +1,4 @@ -SHA256 (jrmarino-synth-v0.98-c83a9d9_GH0.tar.gz) = 130b788b2952c5ef9e3fc7e3ce2e1230073030d9be327e96c955cc6c79338bb3 -SIZE (jrmarino-synth-v0.98-c83a9d9_GH0.tar.gz) = 73628 +SHA256 (jrmarino-synth-v0.98-78e49f9_GH0.tar.gz) = 72b26e685564908b86e76634e26bc1ebe358f5d16dc1b6985b7f9afbb2d1d6b6 +SIZE (jrmarino-synth-v0.98-78e49f9_GH0.tar.gz) = 75728 SHA256 (jrmarino-synth_external-v1.3_GH0.tar.gz) = 2afc03e494d2394446eabdb5244967c202a79b449c7cad7ea67a87807cc25f44 SIZE (jrmarino-synth_external-v1.3_GH0.tar.gz) = 209283