From owner-freebsd-ports@freebsd.org Sun Nov 27 11:57:39 2016 Return-Path: Delivered-To: freebsd-ports@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 E8045C58F6D for ; Sun, 27 Nov 2016 11:57:39 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D0F7B895 for ; Sun, 27 Nov 2016 11:57:39 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: by mailman.ysv.freebsd.org (Postfix) id D0646C58F6B; Sun, 27 Nov 2016 11:57:39 +0000 (UTC) Delivered-To: ports@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 D012BC58F6A for ; Sun, 27 Nov 2016 11:57:39 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (smtp.digiware.nl [IPv6:2001:4cb8:90:ffff::3]) (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 669EB892; Sun, 27 Nov 2016 11:57:39 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from router.digiware.nl (localhost.digiware.nl [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id 50C432859A; Sun, 27 Nov 2016 12:57:35 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.com Received: from smtp.digiware.nl ([127.0.0.1]) by router.digiware.nl (router.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DqP67L-ajztp; Sun, 27 Nov 2016 12:57:34 +0100 (CET) Received: from [192.168.10.10] (asus [192.168.10.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id 5E25428598; Sun, 27 Nov 2016 12:57:34 +0100 (CET) Subject: Re: running make makesum for multiple github repos To: Mathieu Arnold , "ports@freebsd.org" References: <14fe8d55-2d90-d722-653e-ff2df119b408@digiware.nl> From: Willem Jan Withagen Message-ID: Date: Sun, 27 Nov 2016 12:57:34 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Nov 2016 11:57:40 -0000 On 26-11-2016 21:10, Mathieu Arnold wrote: > Le 25/11/2016 à 12:46, Willem Jan Withagen a écrit : >> Hi, >> >> I'm try in to make a port for Ceph, but it depens on a lot of github >> modules. > > From having a quick look at the GH_TUPLE, it seems you have duplicate > tags, the fourth field. You seem to always put :ceph, but it *must* be > unique. > > Also, you are using master at least twice, you must not use branch > names, you must put tags or commit hashes. Hi Mathieu, Your remarks pushed me in the right direction. I needed to fix two things: Fetching all the repos, and they needed to be IN the tree that is fetched with master. So indeed the fourth field (which is called group) needs to be different, then all the repos are fetched. Placing them in subdirectories of ${WRKSRC} is done by adding the path after a / after the group. IMHO a sort of an illogical last element of GH_TUPLE. And perhaps deserves a bit/lot more explaining in the handbook. It now looks like: GH_TUPLE+= ceph:xxHash:v0.5.1-2-g1f40c65:xxHash/src/xxHash GH_TUPLE+= ceph:isa-l:v2.16.0:isal/src/isa-l GH_TUPLE+= ceph:lua:lua-5.3-ceph:lua/src/lua GH_TUPLE+= ceph:Beast:999e2fa:Beast/src/Beast GH_TUPLE+= boostorg:boost:boost-1.61.0-275-g1790aff:boost/src/boost GH_TUPLE+= ceph:dpdk:a38e5ec:dpd/src/dpd Thanx for the help, --WjW > >> GH_TUPLE= \ >> wjwithagen:ceph:master:ceph \ >> facebook:rocksdb:2.7.fb-4511-ge55f42f:ceph/src/rocksdb \ >> >> ceph:ceph-erasure-code-corpus:b5c8634:ceph/ceph-erasure-code-corpus \ >> ceph:ceph-object-corpus:master:ceph/ceph-object-corpus \ >> ceph:civetweb:v1.5-1537-gcc0dfa1:ceph/src/civetweb \ >> >> ceph:jerasure:v2-ceph:ceph/src/erasure-code/jerasure/jerasure \ >> >> ceph:gf-complete:v3-ceph:ceph/src/erasure-code/jerasure/gf-complete \ >> ceph:googletest:ceph-release-1.7.x:ceph/src/googletest \ >> ceph:spdk:v1.2.0-39-g9322c25:ceph/src/spdk \ >> ceph:xxHash:v0.5.1-2-g1f40c65:ceph/src/xxHash \ >> ceph:isa-l:v2.16.0:ceph/src/isa-l \ >> ceph:lua:lua-5.3-ceph:ceph/src/lua \ >> ceph:Beast:999e2fa:ceph/src/Beast \ >> boostorg:boost:boost-1.61.0-275-g1790aff:ceph/src/boost \ >> ceph:dpdk:a38e5ec:ceph/src/dpdk \ >> >> But if I want to make distinfo for this, it only generates: >> TIMESTAMP = 1480073496 >> SHA256 (wjwithagen-ceph-master_GH0.tar.gz) = >> b72d0f0e7c57249d144dcb4c2ecb426cb70f273be72bd587446e2d1ba71c3761 >> SIZE (wjwithagen-ceph-master_GH0.tar.gz) = 8935857 >> SHA256 (ceph-dpdk-a38e5ec_GH0.tar.gz) = >> 2f88c1e6361c99b4525dbc524c0c56cb5a45273028045d966190e73c416a0b24 >> SIZE (ceph-dpdk-a38e5ec_GH0.tar.gz) = 16158917 >> >> Being the main source and the last of the submodules. >> >> How do I get it to run makesum on all modules? >> >> Thanx >> --WjW >> _______________________________________________ >> freebsd-ports@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-ports >> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >> > >