From owner-freebsd-ports@freebsd.org Mon Oct 16 05:07:37 2017 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 BB92AE2E43D for ; Mon, 16 Oct 2017 05:07:37 +0000 (UTC) (envelope-from o.hartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2DECA6CEA0; Mon, 16 Oct 2017 05:07:36 +0000 (UTC) (envelope-from o.hartmann@walstatt.org) Received: from freyja.zeit4.iv.bundesimmobilien.de ([87.138.105.249]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LyF3F-1d85gl3nsr-015Xy1; Mon, 16 Oct 2017 07:07:23 +0200 Date: Mon, 16 Oct 2017 07:07:14 +0200 From: "O. Hartmann" To: blubee blubeeme Cc: Yuri , "O. Hartmann" , FreeBSD Ports , Stefan Esser Subject: Re: [ports]: GH_TAGNAME: how to figure out this tagname on downloadable archives? Message-ID: <20171016070714.0201fd1d@freyja.zeit4.iv.bundesimmobilien.de> In-Reply-To: References: <20171015211940.44065925@thor.intern.walstatt.dynvpn.de> <19aa7f0a-3b52-5d34-cf80-136ef3fe489b@rawbw.com> <20171015214725.68e32dd9@thor.intern.walstatt.dynvpn.de> <130d6a72-ca4b-d948-68f6-69f8e7ac1f7e@rawbw.com> Organization: Walstatt MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:bhNIPfbpqFaJSbjARqfKVAVrVUoLcoX0kfFd+8yc76MLqZaOsUS yqrWZRtzBVkhCFMCw72GtagA9A7bJcbm7Iv/Mz5YhKDnAbiL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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: Mon, 16 Oct 2017 05:07:37 -0000 On Mon, 16 Oct 2017 04:19:24 +0000 blubee blubeeme wrote: > I just ran into this issue yesterday myself. > > To find the tagname I went to the project in githib, looked at their > committed files and found the one with the latest date. > > Click on that file, then you'll see three buttons in the upper right hand > side; > raw, blame, history. > > Click on history and you'll see the tagnames on the right have column. > > Copy that to your GH_TAGNAME in the makefile and you should be fine. > > There are ways to get the tagname from git but that's if you've cloned the > repo locally which I didn't want to bother doing. > > Best All right, thanks a lot for the hint, but it doesn't solve the problem for me. I think I was in a kind of panic mode yesterday when I realised that some ports I'm named as the maintainer has been outdated. Port devel/opencl is "tagged" as PORTVERSION=2.1 and HEADER_TAG=2d06e09. If looking at github (https://github.com/KhronosGroup/OpenCL-Headers/tree/2d4cc6184094fd6c70f114e381bdd51299b81fff/opencl22/CL), you'll realise, that with 16th of May 2017, OpenCL 2.2 and the precedesors has been altered to have the header files in a new subfolder, CL, beneath its main folder. this is the very same for the older header files of OpenCL. If proceeding as described, I find that the latest commit on opencl.h in OpenCL22/CL/ has the tag number 2d4cc61 - as Yuri mentioned before, a 7 digit/alphanum number. I copied that into the Makefile (following the simple logic stupidly now knowing how the tarball is created at all ...). Altering the port's version to 2.2 - also simply following a simple logic, results then in the following (PORTVERSION=2.2; HEADER_TAG=2d4cc61): [...] # make distclean makesum => KhronosGroup-OpenCL-Headers-2.2-2d4cc61_GH0.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch https://codeload.github.com/KhronosGroup/OpenCL-Headers/tar.gz/2d4cc61?dummy=/KhronosGroup-OpenCL-Headers-2.2-2d4cc61_GH0.tar.gz Certificate verification failed for /C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 High Assurance Server CA 34374640024:error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/s3_clnt.c:1269: fetch: https://codeload.github.com/KhronosGroup/OpenCL-Headers/tar.gz/2d4cc61?dummy=/KhronosGroup-OpenCL-Headers-2.2-2d4cc61_GH0.tar.gz: Authentication error => Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/KhronosGroup-OpenCL-Headers-2.2-2d4cc61_GH0.tar.gz fetch: http://distcache.FreeBSD.org/ports-distfiles/KhronosGroup-OpenCL-Headers-2.2-2d4cc61_GH0.tar.gz: Not Found => Couldn't fetch it - please try to retrieve this => port manually into /usr/ports/distfiles/ and try again. *** Error code 1 Stop. make: stopped in /usr/ports/devel/opencl This attempt is from 12-CURRENT system at the bureau, another box, at the lab's, proceeds successfully and I can retrieve the *_GH0.tar.gz tarball. I found this out this morning. What is that creepy authentication error? My confusion has its roots in the fact that with the old scheme the retrieved files expand in ./work/ in a different way prior to 16th May 2017 - I guess. Now I have to check why the same alerations to the Makefile of port devel/opencl work from one 12-CURRENT box (attached to a network from another provider, FreeBSD 12.0-CURRENT #356 r324638: Sun Oct 15 21:46:03 CEST 2017 amd64) and on the other one not (12-CURRENT also, but last compiled on Friday, FreeBSD 12.0-CURRENT #59 r324593: Fri Oct 13 14:25:15 CEST 2017 amd64) :-( Thank you all very much, kind regards Oliver > > On Mon, Oct 16, 2017, 04:58 Yuri wrote: > > > On 10/15/17 12:47, O. Hartmann wrote: > > > all right, that is what I picked up from the porter's handbook, but I > > must have > > > overlooked the note (if there is anything like that) regarding the > > sufficient first 7 > > > digits. > > > > If you look at other ports, most use 7 digits. > > > > > I tried this earlier (yes, and I do also a make makesum ;-))), but I get > > a complete > > > different "structure" right now - no tarball which contains exactly > > OpenCL 2.1 or OpenCL > > > 2.2 (the one I'd like to download), but a complete hierarchie of the CL > > sources, starting > > > from OpenCL 1.0 to OpenCL 2.2. Either, there has been a change in the > > way OpenCL headers > > > are provided, or there is a magic trick to download, depending on the > > GH_TAGNAME, a > > > tarball ending in "*_GH0.tar.xz" > > > > > > The version downloaded using GH_TAGNAME should have the same structure > > as releases, unless the project structure itself has been radically > > changed between releases. The top folder name is going to be different > > for GH_TAGNAME. A release is just an alpa-numeric tag in a sequence of > > commits, nothing more. > > > > > > Yuri > > > > _______________________________________________ > > 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" > >