From owner-freebsd-ports@freebsd.org Fri May 15 05:23:57 2020 Return-Path: Delivered-To: freebsd-ports@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 84A0D2EA9E2 for ; Fri, 15 May 2020 05:23:57 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from gate.utahime.jp (gate.utahime.jp [183.180.29.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49NcJq60kpz4NW1 for ; Fri, 15 May 2020 05:23:55 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1]) (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) (No client certificate requested) by gate.utahime.jp (Postfix) with ESMTPS id 1AF1C46AD5 for ; Fri, 15 May 2020 14:23:49 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=utahime.org; s=maybe2019112701; t=1589520229; bh=NqWkmb/AOgw182Gh7j3Jb/Av+adTGn8JPn05w2nP0Gs=; h=Date:To:Subject:From:In-Reply-To:References; b=KMYDInt0tgEzYxDO2g7o04ywmk3h5KTvKS0TqqMCt0Zonoi1X/WBU0t1p3h20rXEW u939ayoWO5yY5MgIWUJ3OsFWCNyzB6E+WViLSudufMDswhZATnHimlozSQkB9lj4DV bc9pVAFLTNAVVVrPuQ6h8g2dBQxkiE4szPc6UBpTDZeGBfOb2lOMiIKy1XWmQPnfGs VnN7qaNc6TtePjetzM8+XuzOchl6fuDZ6tOzriY+YkGO/tms0xEnR/0SNw3Z8ACXX2 RQNFjqijKmyNefhXN/A54GpwlLTXPnks37ZyNYkHAG92wGqBIv+xFiFHwn3Jj1LluJ 42W0g9UKQm3cg== Received: from localhost (rolling.home.utahime.org [192.168.174.11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by eastasia.home.utahime.org (Postfix) with ESMTPSA id 233882AE6A; Fri, 15 May 2020 14:23:46 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.3 at eastasia.home.utahime.org Date: Fri, 15 May 2020 14:23:00 +0900 (JST) Message-Id: <20200515.142300.28161559058609585.yasu@utahime.org> To: freebsd-ports@freebsd.org Subject: Re: How to change PATH setting of poudriere From: Yasuhiro KIMURA In-Reply-To: <20200515.100032.2170535329108358923.yasu@utahime.org> References: <20200514.170414.2224930171617974842.yasu@utahime.org> <1b409d0c-9e70-ba1a-c1dc-98f332d5f169@FreeBSD.org> <20200515.100032.2170535329108358923.yasu@utahime.org> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49NcJq60kpz4NW1 X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=utahime.org header.s=maybe2019112701 header.b=KMYDInt0; dmarc=none; spf=pass (mx1.freebsd.org: domain of yasu@utahime.org designates 183.180.29.210 as permitted sender) smtp.mailfrom=yasu@utahime.org X-Spamd-Result: default: False [2.78 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[utahime.org:s=maybe2019112701]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:spf-authorized.utahime.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; TO_DN_NONE(0.00)[]; NEURAL_SPAM_MEDIUM(0.73)[0.729,0]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[utahime.org]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[utahime.org:+]; NEURAL_SPAM_LONG(0.35)[0.353,0]; MID_CONTAINS_FROM(1.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.70)[ip: (0.20), ipnet: 183.180.0.0/16(0.10), asn: 2519(3.13), country: JP(0.05)]; ASN(0.00)[asn:2519, ipnet:183.180.0.0/16, country:JP]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 May 2020 05:23:57 -0000 From: Yasuhiro KIMURA Subject: Re: How to change PATH setting of poudriere Date: Fri, 15 May 2020 10:00:32 +0900 (JST) > Thank you for reply. I added above lines to make.conf but resulted in > error that "Variable PATH is recursive". So I changed as follwing. > > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/opt/sbin:/opt/bin:${HOME}/bin > .export PATH > > Then build progressed but failed in other port. And error seems to be > nothing to do with PATH setting. So let me change my question. Let me provide detail of the problem. Environments: Host: 12.1-RELEASE-p5 amd64 Poudriere: 3.3.4 Jail: 12.1-RELEASE-p5 amd64 Ports tree: head r535191 I'm maintainer of security/clamav and would like to test attached patch of this bug report. Bug 246059 - security/clamav: fix build with non-default LOCALBASE, PREFIX https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246059 I added following lines in /usr/local/etc/poudriere.d/make.conf, applied the patch to ports tree and tried test build of security/clamav from scratch. ---------------------------------------------------------------------- LOCALBASE=/opt PATH=/sbin:/bin:/usr/sbin:/usr/bin:/opt/sbin:/opt/bin:${HOME}/bin .export PATH ---------------------------------------------------------------------- Then test build failed with configure error of misc/help2man. And URL below is build log. https://www.utahime.org/FreeBSD/poudriere/data/logs/bulk/121amd64-test/2020-05-15_13h43m34s/logs/help2man-1.47.15.log According to it build failed because configure script couldn't find Locale::gettext perl module. ---------------------------------------------------------------------- =================================================== ===> Configuring for help2man-1.47.15 configure: loading site script /usr/ports/Templates/config.site checking for perl... perl checking for module Locale::gettext... no checking for msgfmt... /opt/bin/msgfmt checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking for library containing dlsym... none required checking for library containing bindtextdomain... -lintl configure: error: perl module Locale::gettext required ===> Script "configure" failed unexpectedly. Rebuild lang/perl5.30 and devel/p5-Locale-gettext manually before contacting maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/misc/help2man ---------------------------------------------------------------------- But p5-Locale-gettext is surely installed at build-depends phase. ---------------------------------------------------------------------- =================================================== ===> help2man-1.47.15 depends on package: p5-Locale-gettext>=0 - not found ===> Installing existing package /packages/All/p5-Locale-gettext-1.07.txz [121amd64-test-job-01] Installing p5-Locale-gettext-1.07... [121amd64-test-job-01] `-- Installing gettext-runtime-0.20.2... [121amd64-test-job-01] | `-- Installing indexinfo-0.3.1... [121amd64-test-job-01] | `-- Extracting indexinfo-0.3.1: .... done [121amd64-test-job-01] `-- Extracting gettext-runtime-0.20.2: .......... done [121amd64-test-job-01] `-- Installing perl5-5.30.2... [121amd64-test-job-01] `-- Extracting perl5-5.30.2: .......... done [121amd64-test-job-01] Extracting p5-Locale-gettext-1.07: ........ done ===== Message from perl5-5.30.2: -- The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. ===> help2man-1.47.15 depends on package: p5-Locale-gettext>=0 - found ===> Returning to build of help2man-1.47.15 ---------------------------------------------------------------------- So it seems something other than PATH setting causes this build error. --- Yasuhiro KIMURA