From owner-svn-src-all@freebsd.org Fri Sep 11 09:13:46 2020 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E942A3D323F; Fri, 11 Sep 2020 09:13:46 +0000 (UTC) (envelope-from ruslanngaripov@gmail.com) Received: from mail-lf1-x142.google.com (mail-lf1-x142.google.com [IPv6:2a00:1450:4864:20::142]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bnqn55w8xz43q9; Fri, 11 Sep 2020 09:13:45 +0000 (UTC) (envelope-from ruslanngaripov@gmail.com) Received: by mail-lf1-x142.google.com with SMTP id q8so5132325lfb.6; Fri, 11 Sep 2020 02:13:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:date:message-id:in-reply-to:references:user-agent :subject:mime-version:content-transfer-encoding; bh=9fX0eqYI3fXmmw0aVTIoKXYKA6vVlWJaD70CYuvR2ls=; b=WjZZQIYP79wfbOHKz6YKO4DrUXjWrwjufIRTijN82ku9AX7Bn6Xk4nZVXvQ5q+qLUF VAUHAg9my8adDUccDWZPJxBe6G1vNX+ljQs6GGR2AnMqFx7zDJrSWWC1PBhdfFpaixZm K6KawWhVofNzLyVuFBFz0yE5wwX84O2cY76yvavOnZsr6C2BF/qT1/Paj5OsTEV/FhMZ H6ox/DlxCEFjd3ddB231gBftYBi2ER7zsQFDUMfg3nSmhwPVTqBmOpFNC6pvEGTX/6AT SyWGX1wzGcH05YPoW7ji8pfQkLS7XtNSa3QLPafO42qEg0/cNGNcwtoENavTcrZ5CuDT 6YUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:date:message-id:in-reply-to :references:user-agent:subject:mime-version :content-transfer-encoding; bh=9fX0eqYI3fXmmw0aVTIoKXYKA6vVlWJaD70CYuvR2ls=; b=foOmkbtBVAujP2Zm4IbUp02tBkX2eEmpucJfnYX5dNnM/V1wviGnXpZgRV+bxZucnm pp4cvGu0ObdY292ZovNbsXySDk3IL0yLvGWueBpCSaxKU+XJvgooXa3FKS66JD735N3m Gz73jyPYIvfJByiiD3FadJxs2aiVmZmDdlMNuPCQu7hif6Epq3bqXMCbWMRai2qOPlj+ VNjKdJ4IP6sMQbp1oLEIH45LTwPwUwNLwkW6JcEuPmPA8DYshS6zcYC7TJnGzP8TnzeB 19ohpRjtQlOqA2ot4Hgg51MGv5b5wHjhA6vXBqXQGWs0Z8pswFqpihIjkusJsjxh8gBc AU1A== X-Gm-Message-State: AOAM530couhb5zt5BJPAJSTHB8CzBMwQ4LWpLijX84AQtC/eItl721Hj pFt1yWDQRCbHVCPz6Tsxk+MKKy9vrg6zlA== X-Google-Smtp-Source: ABdhPJyXqnXciq+uvpDI927XSTpkAn9qtZkLTnPdtLunusV4xmB7Rgjsn2oyrxq2O4Wz1okdLJ971A== X-Received: by 2002:a19:b4b:: with SMTP id 72mr3581lfl.590.1599815623701; Fri, 11 Sep 2020 02:13:43 -0700 (PDT) Received: from [192.168.0.15] (ip-18-154.tagiltelecom.ru. [217.114.18.154]) by smtp.gmail.com with ESMTPSA id i17sm433940lja.45.2020.09.11.02.13.42 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Sep 2020 02:13:43 -0700 (PDT) From: Ruslan Garipov To: Glen Barber CC: , , Date: Fri, 11 Sep 2020 14:13:41 +0500 Message-ID: <1747c711988.27b9.e2363f32305322128423a5fd7014e4c4@gmail.com> In-Reply-To: <20200909135114.GC61041@FreeBSD.org> References: <202008272119.07RLJGgb043888@repo.freebsd.org> <174719d0148.27b9.e2363f32305322128423a5fd7014e4c4@gmail.com> <20200909135114.GC61041@FreeBSD.org> User-Agent: AquaMail/1.26.0-1689 (build: 102600004) Subject: Re: svn commit: r364891 - in head: . release release/scripts MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="us-ascii" Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Bnqn55w8xz43q9 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=WjZZQIYP; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of ruslanngaripov@gmail.com designates 2a00:1450:4864:20::142 as permitted sender) smtp.mailfrom=ruslanngaripov@gmail.com X-Spamd-Result: default: False [-2.94 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.995]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.04)[0.035]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_MEDIUM(-0.98)[-0.977]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::142:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[svn-src-all,svn-src-head]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2020 09:13:47 -0000 On September 9, 2020 6:51:18 PM Glen Barber wrote: > On Wed, Sep 09, 2020 at 11:45:49AM +0500, Ruslan Garipov wrote: >> On August 28, 2020 2:19:33 AM Glen Barber wrote: >> >> > Author: gjb >> > Date: Thu Aug 27 21:19:16 2020 >> > New Revision: 364891 >> > URL: https://svnweb.freebsd.org/changeset/base/364891 >> > >> > Log: >> > Merge the projects/release-git branch to head. >> > This allows building 13.x from Git instead of Subversion. >> I'm sorry for the late response (and for the bad first one I made on this >> commit recently via Gmail web client). >> >> My build machine is completely offline. I provide it with fresh snapshots >> of the source and ports tree manually -- via tarballs which I'm pulling on >> a FreeBSD machine having Internet connection. Therefore, neither >> "/scratch", nor the chrooted environment for me don't require Internet >> access (I fetch distfiles for offline usage too). >> >> Can we somehow remove that requirement for the devel/git port? For >> example, if one has set all three {SRC,PORTS,DOC}_UPDATE_SKIP variables, >> then release/release.sh doesn't require devel/git to exist on the host. >> >> I really don't need git on my build machine (and don't need it for >> building). >> > > Can you verify if the attached patch works for your use case? You will > need to set NOGIT=1 in your release.conf. Partially. It doesn't require devel/git to create the initial build environment, but it does before beginning cross-build in the extra_chroot_setup(). You check there does the NOGIT have zero length. If NOGIT isn't empty, then release.sh will ($(which git) returns nothing for me) try to install devel/git port or package again. And NOGIT isn't empty because in this function my release.conf was already sourced. So I had removed "not" (``!'') on line #278, ignoring NOGIT checking, and cross-build started. It failed eventually on modifications made by r365398, but that's another story. Thanks again, Glen! > > Glen >