From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Feb 18 17:32:02 2015 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 69DF0428 for ; Wed, 18 Feb 2015 17:32:02 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id EC22AAB7 for ; Wed, 18 Feb 2015 17:32:01 +0000 (UTC) Received: from worm.infracaninophle.co.uk (worm.infracaninophle.co.uk [81.2.117.101] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.1/8.15.1) with ESMTPSA id t1IHVthG044223 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Wed, 18 Feb 2015 17:31:55 GMT (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk t1IHVthG044223 Authentication-Results: smtp.infracaninophile.co.uk/t1IHVthG044223; dkim=none reason="no signature"; dkim-adsp=none; dkim-atps=neutral Message-ID: <54E4CC8A.1070204@FreeBSD.org> Date: Wed, 18 Feb 2015 17:31:54 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-ports-bugs@freebsd.org Subject: Re: change in how dependencies are recorded References: In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.98.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2015 17:32:02 -0000 On 2015/02/18 17:15, Vick Khera wrote: > I traced it down to the following RUN_DEPENDS: > > emacs>=23.3:${PORTSDIR}/editors/emacs-nox11 \ > > This was confusing the dependency registration of the port; that is, "make > depends" would notice it needed emacs, then install it. However, when "make > install" would run, the resulting package did not register the dependency > for emacs. The fix was to remove the ">=23.3" version check. My suspicion > is that it has something to do with emacs-nox11 being a slave port. This is because a RUN_DEPENDS like emacs>=23.3:${PORTSDIR}.... means 'check for a package called "emacs" and make sure its version is at least 23.3' whereas a RUN_DEPENDS like emacs:${PORTSDIR}... means 'check for the presence of an executable named emacs on $PATH' which works because either the emacs or emacs-nox11 packages will provide an emacs binary, but obviously doesn't allow for checking the version numbers. So emacs>=23.3:${PORTSDIR}/editors/emacs-nox11 is non-sensical, and should probably be rewritten as emacs-nox11>=23.3:${PORTSDIR}/editors/emacs-nox11 Cheers, Matthew