From owner-freebsd-ports@freebsd.org Mon May 11 17:04:43 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 D6D152E5CB8 for ; Mon, 11 May 2020 17:04:43 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic311-24.consmr.mail.gq1.yahoo.com (sonic311-24.consmr.mail.gq1.yahoo.com [98.137.65.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49LS3G1Kykz3JJQ for ; Mon, 11 May 2020 17:04:41 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: dVUAY_AVM1nELeec4ehv03pdPsMBvkpbQrC.K3QaeLJHhTdibuAmghtZOJXIq6v 6S50Z3gRJKx6UKAfF2DFB.7BBuoDzSA_0Kbnw3ODR2XpM4XKQo5mW7xvHLPlcI1TTyu9UZCPWGd7 .hs1XjKcH9GIcK02XsU0qjvc_DkxGyOD8UP2UkvCLpGR2ll98XmCZ.QCK1zTgyocnW73glD_UMh4 E1u2kJyBZXUljM.w6AjJIBG6xNzGurMEfWex0X5Xj5JXpOBvfLW6n4qSxTS7SWZSQ4Z8.xAqzvY2 xzB6Gs0LCfO2pATMoaeSnVhTsn272EaiC31bpYrpQofj94aaeEONGJvTTtSuFUibe9nVoPOfstil c7aCNYHSV7hD3axpE4uLoT20qnozS8g_ZNkx50F.FS1ZsiszSNUOasAMV9qzBGUkL0ZUVHvEstK4 BxN6vubyQ1r6YwRn6hyWuTi41m4mUbFOcNsKlDRsnXZfKw1cuQAVNwRAu9qbCu4I6.4Sr2pL0F26 glzP1kaxk9NXJtx59BzdtYKFE.H_FP9URX7wkKb8vFR6JQQDp.BTxbOP96dNhIm_zn_bo3hsQhBA jFoBT5QSe2hJsiA6GyxDh3HR6BcYo9tSg.Y5bgAQyNQDW39GRlOClx4DcHXz.9Lo3.o7i6Wn1Uq5 jM_TstODCk9UkheOocMeLvJP62gshGB9zcrtDh06WKla7MUUV38eKEeM9ktLbI9K0usmp76sWM1_ kS71xCJBnS3p3r0c.uPjWYMb9d3imKfmvT0gmpiLn5NUViqie5Ot3CuPh4Wsbl3n4504RSjYWPWq 28x9XjVCc63zBWsppOORvJ53w_pMgbSWh_im5_wktU89UoX1U4Ol3GAuX2aYioh7i6wNXbbT8lIj 5diodEK_VcpSLrjEbBQ0JgnoGCIPWYxmXplgEDkuq75KXubu1U9bNAm6i5TM2c6XoOunPqZVs779 .D8U5fWHFODj5pRvKqFMnPTgTZGTqhAwHSfDjvgzO.KZBq0i4hIEiWsyCO58X8WUiFnRU64lwJ1. 9CrKmULE0asttgzbCrtRnGFm4Mf8fLZOBS9D2PnSDJO11mKMV8HUTHX89R0XsKw5bhMKCggZf.7I L.O6tI_Yb.QUJt9gV1Xo2k7veMAUJL9dSDx12TctyH81YOrJ0xslT2wJe6e7pP2C.mX63WYlI9sH BSHmvdP1rHRRu8jH8JPmEjuRYoTyvQSd4Nxld2HBC45tWH2PZW9iD6xuC1c.WAs9G87dLy4S4ccz PjPK43J3QXBNT0q4w8y0UDQpyTfc.A5fpir.ybZPDPNmxECs7RzCFhGw4peuaJovcN5g5XuLg_2e qEYT_GfHNSDgDsp59vIy3uFC0g9BkL22iXK3n38hZFmHvqaKIHDL6545695vmYiK4OxQUYJiFLwY 6upVc2oSOdVim_E7_Mw-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.gq1.yahoo.com with HTTP; Mon, 11 May 2020 17:04:40 +0000 Received: by smtp427.mail.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID d2d261ffaa4d60be4b215172735c8521; Mon, 11 May 2020 17:04:39 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: Poudriere - Compile ALL Ports Message-Id: <625BBD86-9740-41D0-8199-CF1B3ACB5320@yahoo.com> Date: Mon, 11 May 2020 10:04:36 -0700 To: "info@netocean.de " , FreeBSD ports X-Mailer: Apple Mail (2.3608.80.23.2.2) References: <625BBD86-9740-41D0-8199-CF1B3ACB5320.ref@yahoo.com> X-Rspamd-Queue-Id: 49LS3G1Kykz3JJQ X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.02 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.68)[-0.683,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.84)[-0.838,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (3.19), ipnet: 98.137.64.0/21(0.83), asn: 36647(0.66), country: US(-0.05)]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[205.65.137.98.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[205.65.137.98.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2] 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: Mon, 11 May 2020 17:04:43 -0000 Leander Schaefer info at NetOcean.de wrote on Tue May 5 20:38:49 UTC 2020 : > I have been dealing with Poudriere for quite a while and one of the = most=20 > issues I have is, that I have ports which won't compile along with=20 > another. Reason is mostly something like: >=20 > pkg-static: ImageMagick7-7.0.10.6 conflicts with = ImageMagick6-6.9.11.6,1=20 > (installs files into the same place). Problematic file:=20 > /usr/local/bin/Magick++-config >=20 > So in other words a newer version is going to place its binaries etc.=20= > into the same place as the previous version. I have read and used=20 > something like: >=20 > # Build several PHP versions parallel on the same server: > #=20 > https://github.com/freebsd/poudriere/issues/602 >=20 > PHP_ALT=3Dphp56 php70 php71 php72 php73 > .for port in ${PHP_ALT} > .if ${.CURDIR:M*/ports*/*/${port}*} > DISABLE_CONFLICTS=3DYES > PREFIX=3D/usr/local/${port} > PHPBASE=3D/usr/local/${port} > LOCALBASE=3D/usr/local > CONFIGURE_ARGS+=3D--datadir=3D/usr/local/${port}/share > CONFIGURE_ARGS+=3D--bindir=3D/usr/local/${port}/bin > CONFIGURE_ARGS+=3D--with-config-file-scan-dir=3D/usr/local/${port}/etc/p= hp > #CONFIGURE_ARGS+=3D--with-php-config=3D/usr/local/${port}/bin/php.conf > #CONFIGURE_ARGS+=3D--with-iconv=3D/usr/local > #CONFIGURE_ARGS+=3D--with-pcre-dir=3D/usr/local > .endif > .endfor >=20 > But I was wondering: How is the FreeBSD Team dealing with this, when=20= > they compile their packages for the public repository? Because we only=20= > use one official repository and all packages are there ... some even=20= > with differet options enabled. So how to deal with this? How can I=20 > compile the entire ports tree without issues and build a repository of=20= > it and some packages even with different options? Lets say one = OpenLDAP=20 > with SASL and another one with SASL? The only way I was able to do = this=20 > was building it in separate repositories. The following is based on a guess about what might be going on. In my context, for example, I have: # poudriere jail -l JAILNAME VERSION ARCH METHOD TIMESTAMP = PATH FBSDFSSDjail 13.0-CURRENT amd64 null 2018-11-09 = 08:58:53 /usr/obj/DESTDIRs/clang-amd64-installworld-poud I do not chroot into /usr/obj/DESTDIRs/clang-amd64-installworld-poud and install any ports there. Why? Because the installed port could conflict with whatever port(s) poudriere bulk might want to install temporarily. My /usr/obj/DESTDIRs/clang-amd64-installworld-poud/ is only for = poudriere's use. Having installed ports in = /usr/obj/DESTDIRs/clang-amd64-installworld-poud would also lead to poudriere using the installed port over instead installing ports that it is building. This can lead t using the wrong version of such an installed port. Also, I have: # ls -laT /usr/obj/DESTDIRs/clang-amd64-installworld-poud/usr/local/ total 8 drwxr-xr-x 2 root wheel 512 Mar 29 23:31:30 2020 . drwxr-xr-x 14 root wheel 512 Apr 29 11:57:28 2020 .. I do not make that a mount point for making /usr/local visible for chrooting into clang-amd64-installworld-poud. This is for the same reason as above: poudriere activity there could end up conflicting with any pre-existing content that as made visible in /usr/obj/DESTDIRs/clang-amd64-installworld-poud/usr/local/ . I do sometimes create other directory trees for use with chroot (but not as the PATH for a poudiere jail). In these I freely install ports. These notes apply to more than just "bulk -a" builds: smaller subsets built can have the same problems with having pre-existing material in an equivalent of my /usr/obj/DESTDIRs/clang-amd64-installworld-poud/usr/local/ area. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)