From nobody Sat Dec 02 20:37:40 2023 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SjMFP2bnfz52Vq4 for ; Sat, 2 Dec 2023 20:38:01 +0000 (UTC) (envelope-from trashcan@ellael.org) Received: from mx1.enfer-du-nord.net (mx1.enfer-du-nord.net [91.121.41.56]) (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) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SjMFN3WZ6z4cwB for ; Sat, 2 Dec 2023 20:38:00 +0000 (UTC) (envelope-from trashcan@ellael.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ellael.org header.s=dkim header.b=ltYoxkGR; spf=pass (mx1.freebsd.org: domain of trashcan@ellael.org designates 91.121.41.56 as permitted sender) smtp.mailfrom=trashcan@ellael.org; dmarc=pass (policy=quarantine) header.from=ellael.org Received: from smtpclient.apple (p5b2e5bf1.dip0.t-ipconnect.de [91.46.91.241]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.enfer-du-nord.net (Postfix) with ESMTPSA id 4SjMFC1zFdzSh5 for ; Sat, 2 Dec 2023 21:37:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellael.org; s=dkim; t=1701549471; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1jCAXZLXsuRp7t4i0CCmj5+g8jn5zYszHqNWdhqrFWg=; b=ltYoxkGR7e3PsDdaisP1KFrrMHoPvvR2embReO2+Ixjmg1FInvy56HGi4GP3VtafdLqmph tZ7THpvuecXuWgMKWah49TDdBfQ7j1kxuBo9wFnHjU5NSVkXPToU2cpa7MR2P11N26YywR 9fPblTCWP/xFx4xPJXgv0i0r5z9vrZYAkbzbZ+M3Wbe8spJl19oV7gBLnPofCtG2ptLCIQ VPg/QtwFbNiNx47/FiZSeGBIkPC/K3iBvukh0DNJZnhTiPY1dvxuKaKrFhsNrTewbn+6hz EyyrbqeEGlTZpNEfK6tqUGncwQW+T/b7LUWIkmyL11CInA18Etb5T85qIMmR6A== From: Michael Grimm Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Setting of DEFAULT_VERSIONS of php and poudriere's ports compilation woes in my setup Message-Id: <420DE888-DFEC-417F-B557-50FFCB416FB8@ellael.org> Date: Sat, 2 Dec 2023 21:37:40 +0100 To: ports@freebsd.org X-Mailer: Apple Mail (2.3731.700.6) X-Spamd-Result: default: False [-3.40 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[ellael.org,quarantine]; R_DKIM_ALLOW(-0.20)[ellael.org:s=dkim]; R_SPF_ALLOW(-0.20)[+ip4:91.121.41.56]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; PREVIOUSLY_DELIVERED(0.00)[ports@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[ports@freebsd.org]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; ASN(0.00)[asn:16276, ipnet:91.121.0.0/16, country:FR]; TO_DN_NONE(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DKIM_TRACE(0.00)[ellael.org:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4SjMFN3WZ6z4cwB X-Spamd-Bar: --- Hi, I am following the git repository for ports and using poudriere to = compile those. Today I stumbled over: 20231125: AFFECTS: users of lang/php81 AUTHOR: bofh@FreeBSD.org The default version of PHP has been switched from 8.1 to 8.2. [=E2=80=A6] I had had the following definition for default php version in my = poudriere make.conf: DEFAULT_VERSIONS+=3D php=3D81 [=E2=80=A6] Now, I *removed* 'php=3D81' from DEFAULT_VERSIONS and ended up with the = following errors from poudriere: Warning: (local/wpm): Error: local/wpm depends on nonexistent = origin 'lang/php8.2-extensions';=20 Please contact maintainer of the port to = fix this. Warning: (mail/roundcube@php8.2): Error: Invalid FLAVOR 'php8.2' = for mail/roundcube Error: Fatal errors encountered gathering ports metadata Understandable to me because all relevant ports are named as 'php82'... I do have that local port local/wpm defined as follows: [=E2=80=A6] RUN_DEPENDS+=3D = php${PHP_DEFAULT}-extensions>0:${PORTSDIR}/lang/php${PHP_DEFAULT}-extensio= ns RUN_DEPENDS+=3D = roundcube-php${PHP_DEFAULT}>0:${PORTSDIR}/mail/roundcube@php${PHP_DEFAULT}= [=E2=80=A6] Adding 'DEFAULT_VERSIONS+=3D php=3D82 [=E2=80=A6]' to my poudriere = make.conf resolves this issue. It looks like $PHP_DEFAULT in port definition without = 'DEFAULT_VERSIONS+=3D php=3D82' in make.conf translates to an erroneous = 'php8.2' and runs into errors. Whereas the explicit definition of 'DEFAULT_VERSIONS+=3D php=3D82' in = make.conf is resulting in a $PHP_DEFAULT translating to 'php82' which = successfully compiles those ports without complaints. I really don't understand what I am doing wrong. And I would appreciate = if someone could explain it to me. Thanks in advance and regards, Michael