From owner-freebsd-questions@freebsd.org Sun Aug 30 09:35:02 2015 Return-Path: Delivered-To: freebsd-questions@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 C0C909C412A for ; Sun, 30 Aug 2015 09:35:02 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail06.adl2.internode.on.net (ipmail06.adl2.internode.on.net [150.101.137.129]) by mx1.freebsd.org (Postfix) with ESMTP id 5DBF42E4 for ; Sun, 30 Aug 2015 09:35:01 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ppp118-210-169-30.lns20.adl6.internode.on.net (HELO leader.local) ([118.210.169.30]) by ipmail06.adl2.internode.on.net with ESMTP; 30 Aug 2015 19:04:53 +0930 Message-ID: <55E2CE39.5010102@ShaneWare.Biz> Date: Sun, 30 Aug 2015 19:04:49 +0930 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Carlos J Puga Medina , emorrasg@yahoo.es CC: freebsd-questions Subject: Re: fetch a distribution file using the git commit References: <1440840184.30127.5.camel@fbsd.es> In-Reply-To: <1440840184.30127.5.camel@fbsd.es> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2015 09:35:02 -0000 On 29/08/2015 18:53, Carlos J Puga Medina wrote: >> It works for me as expected, but is this line from the configuration >> file? if yes, it should have "": > >> MASTER_SITES_tl-parser=" > https://codeload.github.com/vysheng/tl-parser/tar.gz/1659d87?dummy=" > > No. The MASTER_SITES is set by GH_* variables. That's not from the makefile, it is the output during the fetch stage. > See for details: > https://www.freebsd.org/doc/en/books/porters-handbook/makefile-distfile > s.html#makefile-master_sites-github > >> not found >> *** Error code 127 >> >> Here it is the relevant part in the Makefile >> USE_GITHUB= yes >> GH_ACCOUNT= vysheng >> GH_PROJECT= tgl:tgl tl-parser:tl-parser >> GH_TAGNAME= 2.0.1:tgl 1659d87:tl-parser >> Yes using multiple github groups has been working for a couple of months now and they had me stumped at first too, you need two small changes. The first is that you must use the default group, this is misleading as the example in the porters handbook matches what you have done and the non-github use of groups does not enforce a default group. In the second paragraph to 5.4.3.1 it does say "The main value can either have no tag, or the :DEFAULT tag" - so you should remove the usage of :tgl - not specifying a group name implies :DEFAULT The second issue is that the group name does not like the '-' sign in the name. As detailed under 5.4.8.2 - "Elements can be postfixed with :n where n is [^:,]+, that is, n could conceptually be any alphanumeric string but we will limit it to [a-zA-Z_][0-9a-zA-Z_]+ for now." This leads to the following to get it working - USE_GITHUB= yes GH_ACCOUNT= vysheng GH_PROJECT= tgl tl-parser:tlparser GH_TAGNAME= 2.0.1 1659d87:tlparser While the porters handbook has been updated since I suggested some changes I think it could still be improved a little. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=172964 -- FreeBSD - the place to B...Software Developing Shane Ambler