From owner-freebsd-ports@freebsd.org Tue May 5 20:46:26 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 90B092C557E for ; Tue, 5 May 2020 20:46:26 +0000 (UTC) (envelope-from portmaster@BSDforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ultimatedns.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49GsFt0Q6gz4X45 for ; Tue, 5 May 2020 20:46:25 +0000 (UTC) (envelope-from portmaster@BSDforge.com) Received: from udns.ultimatedns.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by udns.ultimatedns.net (8.15.2/8.15.2) with ESMTPS id 045KkNxV077786 (version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Tue, 5 May 2020 13:46:30 -0700 (PDT) (envelope-from portmaster@BSDforge.com) X-Mailer: Cypht MIME-Version: 1.0 Cc: John Berry , In-Reply-To: From: Chris Reply-To: portmaster@BSDforge.com To: Leander Schaefer Subject: Re: Poudriere - Compile ALL Ports Date: Tue, 05 May 2020 13:46:30 -0700 Message-Id: <43d5e0710e147420e3cdcfa1342122f7@udns.ultimatedns.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 49GsFt0Q6gz4X45 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.89 / 15.00]; NEURAL_HAM_MEDIUM(-0.92)[-0.915,0]; NEURAL_HAM_LONG(-0.98)[-0.978,0]; ASN(0.00)[asn:11404, ipnet:24.113.0.0/16, country:US]; local_wl_ip(0.00)[24.113.41.81] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 20:46:26 -0000 On Tue, 5 May 2020 22:38:36 +0200 Leander Schaefer info@NetOcean=2Ede said > Hello, >=20 > 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=2E Reason is mostly something like: >=20 > pkg-static: ImageMagick7-7=2E0=2E10=2E6 conflicts with ImageMagick6-6=2E9=2E11=2E6,1= =20 > (installs files into the same place)=2E Problematic file:=20 > /usr/local/bin/Magick++-config >=20 > So in other words a newer version is going to place its binaries etc=2E=20 > into the same place as the previous version=2E I have read and used=20 > something like: >=20 > # Build several PHP versions parallel on the same server: > # https://github=2Ecom/freebsd/poudriere/issues/602 > PHP_ALT=3Dphp56 php70 php71 php72 php73 > =2Efor port in ${PHP_ALT} > =2Eif ${=2ECURDIR: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/ph= p > #CONFIGURE_ARGS+=3D--with-php-config=3D/usr/local/${port}/bin/php=2Econf > #CONFIGURE_ARGS+=3D--with-iconv=3D/usr/local > #CONFIGURE_ARGS+=3D--with-pcre-dir=3D/usr/local > =2Eendif > =2Eendfor >=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 =2E=2E=2E some even=20 > with differet options enabled=2E 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=2E >=20 > Thanks I use Jails which helps weed out some of the conflicts=2E That is different jails for different (port) options that *may* cause conflict=2E Also ports-mgmt/synth is pretty damn clever about sorting out conflicts=2E However, I have no direct knowledge on how the pkg build admins deal with this=2E But just thought I'd share some alternate avenue(s) FWIW=2E :-) >=20 > _______________________________________________ > freebsd-ports@freebsd=2Eorg mailing list > https://lists=2Efreebsd=2Eorg/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd=2Eorg"