Re: How to change PATH setting of poudriere
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 ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Conflict on very first port (xorg) on rpi3
An attempt to compile x11/xorg on a new installation of 12.1 on a Pi3B resulted in a conflict: ===> Installing for py37-sphinx18-1.8.5_1,1 ===> Checking if py37-sphinx18 is already installed ===> Registering installation for py37-sphinx18-1.8.5_1,1 as automatic Installing py37-sphinx18-1.8.5_1,1... pkg-static: py37-sphinx18-1.8.5_1,1 conflicts with py37-sphinx-3.0.2,1 (installs files into the same place). Problematic file: /usr/local/bin/sphinx-apidoc-3.7 *** Error code 70 Had this been the umpteenth port compiled, I'd understand somewhat. As the _very_ first port compiled, I'm confounded.. Uname -a reports FreeBSD nemesis.zefox.com 12.1-STABLE FreeBSD 12.1-STABLE r361020 GENERIC arm64 Svnlite info /usr/ports reports: Path: /usr/ports Working Copy Root Path: /usr/ports URL: svn://svn.freebsd.org/ports/head Relative URL: ^/head Repository Root: svn://svn.freebsd.org/ports Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 Revision: 535263 Node Kind: directory Schedule: normal Last Changed Author: jkim Last Changed Rev: 535263 Last Changed Date: 2020-05-14 20:52:33 -0700 (Thu, 14 May 2020) Thanks for reading, bob prohaska ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: How to change PATH setting of poudriere
From: Bryan Drewery Subject: Re: How to change PATH setting of poudriere,Re: How to change PATH setting of poudriere Date: Thu, 14 May 2020 14:09:40 -0700 > But I think the make.conf method should work fine. PATH is passed down > in MAKE_ENV and CONFIGURE_ENV but exporting it might be needed. > > PATH:= ${PATH}:/opt/bin > .export PATH 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. In general what settings are necessary to build and install ports with non default LOCALBASE? I though following 2 settings are sufficient. 1. Set LOCALBASE in make.conf 2. Change setting of PATH environment variable so it includes ${LOCALBASE}/bin (and ${LOCALBASE}/sbin too?) However, in reality, some ports failed to build with them. Then are any other settings necessary or does it caused by any other reason (e.g. problme of failed ports, some other setting for poudriere specific, etc.)? Best Regards. --- Yasuhiro KIMURA ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
rspamd core dumps with current luajit
Hi, A couple of days ago rspamd starting coredumping on my three 12-stable servers on startup. After two days of intermittent tearing my hair out, I traced it to the luajit port. Reinstalling luajit fixes the problem. Hope this saves somebody else the annoyance. Although I have regained much of my basic knowledge of debugging coredumps with gdb, so there is that. Cheers, Russell ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: How to change PATH setting of poudriere
Hi, On Thu, May 14, 2020 at 05:04:14PM +0900, Yasuhiro KIMURA wrote: > Hello. > > I would like to test non-default LOCALBASE build with poudriere and > add 'LOCALBASE=/opt' in /usr/local/etc/poudriere.d/make.conf. But > build of some ports fails because /opt/bin is not included in value of > PATH environment variable. How do I change PATH setting of poudriere? I am not sure it is possible to set /opt precisely. If you simply want to test with a non standard LOCALBASE and PREFIX, you can use `poudriere testport -P` which will build with a non default PREFIX. -- Mathieu Arnold signature.asc Description: PGP signature
How to change PATH setting of poudriere
Hello. I would like to test non-default LOCALBASE build with poudriere and add 'LOCALBASE=/opt' in /usr/local/etc/poudriere.d/make.conf. But build of some ports fails because /opt/bin is not included in value of PATH environment variable. How do I change PATH setting of poudriere? Best Regards. --- Yasuhiro KIMURA ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
FreeBSD ports you maintain which are out of date
Dear port maintainer, The portscout new distfile checker has detected that one or more of your ports appears to be out of date. Please take the opportunity to check each of the ports listed below, and if possible and appropriate, submit/commit an update. If any ports have already been updated, you can safely ignore the entry. You will not be e-mailed again for any of the port/version combinations below. Full details can be found at the following URL: http://portscout.freebsd.org/po...@freebsd.org.html Port| Current version | New version +-+ devel/caf | 0.17.4 | 0.17.5 +-+ If any of the above results are invalid, please check the following page for details on how to improve portscout's detection and selection of distfiles on a per-port basis: http://portscout.freebsd.org/info/portscout-portconfig.txt Reported by:portscout! ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"