From owner-freebsd-ports@freebsd.org Thu May 7 18:39: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 E94822E1273 for ; Thu, 7 May 2020 18:39:57 +0000 (UTC) (envelope-from info@netocean.de) Received: from netocean.de (mx1.netocean.email [45.155.84.4]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49J2Lz4f12z4Y9K for ; Thu, 7 May 2020 18:39:54 +0000 (UTC) (envelope-from info@netocean.de) Received: by netocean.de (NetOcean MX, from userid 58) id 3084199F857; Thu, 7 May 2020 20:39:46 +0200 (CEST) Received: from [192.168.0.169] (Prod-HAProxy-10.ocn.sh [172.18.12.103]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by netocean.de (NetOcean MX) with ESMTPSA id 3C84399F853; Thu, 7 May 2020 20:39:43 +0200 (CEST) Subject: Re: Poudriere - Compile ALL Ports To: freebsd-ports@freebsd.org, portmaster@BSDforge.com References: <43d5e0710e147420e3cdcfa1342122f7@udns.ultimatedns.net> From: Leander Schaefer Organization: NetOcean GmbH Message-ID: Date: Thu, 7 May 2020 20:39:41 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 49J2Lz4f12z4Y9K X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of info@netocean.de designates 45.155.84.4 as permitted sender) smtp.mailfrom=info@netocean.de X-Spamd-Result: default: False [-5.91 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; HAS_ORG_HEADER(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-3.61)[ip: (-9.49), ipnet: 45.155.84.0/22(-4.75), asn: 60776(-3.80), country: DE(-0.02)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:60776, ipnet:45.155.84.0/22, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Thu, 07 May 2020 18:39:58 -0000 Hello Chris, Hello List, I have checked out ports-mgmt/synth unfortunately it would be a massive downgrade compared to poudriere. Does anyone have the right clue about how the FreeBSD package managment team provides a complete repository without having these conflicts? There must be a way to do this with poudriere since I am most certainly sure they also use poudriere. Also is there a way to tell poudriere to give a package a different / individual name. E.g. I want to compile openldap one time with SASL and another time without SASL and place them in the same repository. The package naming could/should then be something like this: - openldap-sasl - openldap Thanks Am 05.05.20 um 23:06 schrieb Leander Schaefer: > Hello Chris, > > > thanks for your reply. Thanks for the hint about ports-mgmt/synth. I > am definitly going to have a look into this! Well, my Podriere is > using Jails by default. Is there any hack you applied for this issue > to avoid? > > > Best regards, > > Leander > > > Am 05.05.20 um 22:46 schrieb Chris: >> On Tue, 5 May 2020 22:38:36 +0200 Leander Schaefer info@NetOcean.de said >> >>> Hello, >>> >>> I have been dealing with Poudriere for quite a while and one of the >>> most issues I have is, that I have ports which won't compile along >>> with another. Reason is mostly something like: >>> >>> pkg-static: ImageMagick7-7.0.10.6 conflicts with >>> ImageMagick6-6.9.11.6,1 (installs files into the same place). >>> Problematic file: /usr/local/bin/Magick++-config >>> >>> So in other words a newer version is going to place its binaries >>> etc. into the same place as the previous version. I have read and >>> used something like: >>> >>> # Build several PHP versions parallel on the same server: >>> # https://github.com/freebsd/poudriere/issues/602 >>> PHP_ALT=php56 php70 php71 php72 php73 >>> .for port in ${PHP_ALT} >>> .if ${.CURDIR:M*/ports*/*/${port}*} >>> DISABLE_CONFLICTS=YES >>> PREFIX=/usr/local/${port} >>> PHPBASE=/usr/local/${port} >>> LOCALBASE=/usr/local >>> CONFIGURE_ARGS+=--datadir=/usr/local/${port}/share >>> CONFIGURE_ARGS+=--bindir=/usr/local/${port}/bin >>> CONFIGURE_ARGS+=--with-config-file-scan-dir=/usr/local/${port}/etc/php >>> #CONFIGURE_ARGS+=--with-php-config=/usr/local/${port}/bin/php.conf >>> #CONFIGURE_ARGS+=--with-iconv=/usr/local >>> #CONFIGURE_ARGS+=--with-pcre-dir=/usr/local >>> .endif >>> .endfor >>> >>> But I was wondering: How is the FreeBSD Team dealing with this, when >>> they compile their packages for the public repository? Because we >>> only use one official repository and all packages are there ... some >>> even with differet options enabled. So how to deal with this? How >>> can I compile the entire ports tree without issues and build a >>> repository of it and some packages even with different options? Lets >>> say one OpenLDAP with SASL and another one with SASL? The only way I >>> was able to do this was building it in separate repositories. >>> >>> Thanks >> I use Jails which helps weed out some of the conflicts. That is >> different >> jails for different (port) options that *may* cause conflict. Also >> ports-mgmt/synth is pretty damn clever about sorting out conflicts. >> However, I have no direct knowledge on how the pkg build admins deal >> with >> this. But just thought I'd share some alternate avenue(s) FWIW. :-) >> >>> >>> _______________________________________________ >>> freebsd-ports@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-ports >>> To unsubscribe, send any mail to >>> "freebsd-ports-unsubscribe@freebsd.org" >> >> > > Mit freundlichen Grüßen > > Leander Schäfer > > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"