From nobody Sat Jun 11 23:23:54 2022 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E5034840B22 for ; Sat, 11 Jun 2022 23:23:02 +0000 (UTC) (envelope-from pj@smo.de) Received: from mail.adebahr.de (mail.adebahr.de [185.66.179.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.adebahr.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LLDQZ0Ffcz3tFC for ; Sat, 11 Jun 2022 23:23:01 +0000 (UTC) (envelope-from pj@smo.de) Received: from [192.168.153.212] (pd9515a1f.dip0.t-ipconnect.de [217.81.90.31]) by mail.adebahr.de (Postfix) with ESMTPSA id 1915F600F8 for ; Sun, 12 Jun 2022 01:22:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smo.de; s=mail; t=1654989772; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BivdyAHRtest3ZUJBJMxt8lq0KFvqahAiCjUEXQffyk=; b=pq6kWt4D3C0xy1pZqJ2ih3N440IZi+bceuiIsOncskKNJp0/eyYQ6gMcyFI9DAkLEmzy3c Utqle/hPIXcf6TNkrCCfZcSeiWzKglGyyAE4mb0qEAb019WlmA+QBQO3zssuFuetRFu9Hm 5wRx8G9JB/4MJzUeIKTYURUVOCsfrd9oWON00G0jV3yGhVxdotPnmqt/BxPV8o6wgM7+OX S0/zo2c9VGcjvQ+mFArkVMd+jiiRrIDmnlG1jCaSMPbZGKqnv1SlRQ+lAUMqPBekDKEHZg ym1jJYRNYJ2Sj5TURc7AsQNZG2w7xC1xHVNvop2wW2nV/q/QoJ3NM+JDG5zIHw== Message-ID: Date: Sun, 12 Jun 2022 01:23:54 +0200 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Content-Language: en-US To: "ports@freebsd.org" From: Philipp Ost Subject: Help needed with USE_GITHUB Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4LLDQZ0Ffcz3tFC X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=smo.de header.s=mail header.b=pq6kWt4D; dmarc=pass (policy=reject) header.from=smo.de; spf=pass (mx1.freebsd.org: domain of pj@smo.de designates 185.66.179.123 as permitted sender) smtp.mailfrom=pj@smo.de X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[smo.de:s=mail]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:185.66.179.96/27]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[ports@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DKIM_TRACE(0.00)[smo.de:+]; DMARC_POLICY_ALLOW(-0.50)[smo.de,reject]; NEURAL_HAM_SHORT(-1.00)[-0.997]; TO_DN_EQ_ADDR_ALL(0.00)[]; MLMMJ_DEST(0.00)[ports]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:198930, ipnet:185.66.176.0/22, country:DE]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[217.81.90.31:received] X-ThisMailContainsUnwantedMimeParts: N Hi everyone, I'm working on a port for the Gingko library (https://github.com/ginkgo-project/ginkgo). Since the project is hosted on GitHub, I'd like to make use of the USE_GITHUB macro and its friends. Alas, I'm not able to get it to work: $ make makesum ===> License BSD3CLAUSE accepted by the user ===> License BSD3CLAUSE accepted by the user ===> gingko-1.4.0 depends on file: /usr/local/sbin/pkg - found => gingko-project-gingko-v1.4.0_GH0.tar.gz doesn't seem to exist in /home/pj/FreeBSD/ports-wip/distfiles/. => Attempting to fetch https://codeload.github.com/gingko-project/gingko/tar.gz/v1.4.0?dummy=/gingko-project-gingko-v1.4.0_GH0.tar.gz fetch: https://codeload.github.com/gingko-project/gingko/tar.gz/v1.4.0?dummy=/gingko-project-gingko-v1.4.0_GH0.tar.gz: Not Found => Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/gingko-project-gingko-v1.4.0_GH0.tar.gz fetch: http://distcache.FreeBSD.org/ports-distfiles/gingko-project-gingko-v1.4.0_GH0.tar.gz: Not Found => Couldn't fetch it - please try to retrieve this => port manually into /home/pj/FreeBSD/ports-wip/distfiles/ and try again. *** Error code 1 Stop. make[1]: stopped in /home/pj/FreeBSD/ports-wip/math/gingko *** Error code 1 Stop. make: stopped in /home/pj/FreeBSD/ports-wip/math/gingko $ Here's my WIP Makefile so far: --------8<-------- PORTNAME= gingko DISTVERSIONPREFIX= v DISTVERSION= 1.4.0 CATEGORIES= math #MASTER_SITES= GH/${GH_ACCOUNT}/${PORTNAME}/archive/refs/tags MAINTAINER= bsd@philippost.de COMMENT= High-performance linear algebra library for manycore systems LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USE_GITHUB= yes GH_ACCOUNT= gingko-project .include -------->8-------- I don't understand why this fails. Looking at other ports which make use of USE_GITHUB (i.e., devel/mold), I fail to see what I miss. Fetching https://github.com/ginkgo-project/ginkgo/archive/refs/tags/v1.4.0.tar.gz succeeds, hence my attempt at overriding MASTER_SITES. When downloading the release sources using Firefox, I receive a file gingko-1.4.0.tar.gz. I don't know where that ultimately originates from. What am I missing? Could someone please be so kind and enlighten me? Philipp