From nobody Fri Mar 18 01:47:07 2022 X-Original-To: ports-bugs@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 34AD61A1B871 for ; Fri, 18 Mar 2022 01:47:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KKRhW6KP3z3Kgk for ; Fri, 18 Mar 2022 01:47:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B0BC715CC7 for ; Fri, 18 Mar 2022 01:47:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 22I1l7Hn092532 for ; Fri, 18 Mar 2022 01:47:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22I1l75s092531 for ports-bugs@FreeBSD.org; Fri, 18 Mar 2022 01:47:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 262639] Add support for make.conf helper variable to disable FLAVOR Date: Fri, 18 Mar 2022 01:47:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bofh@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647568027; 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=xI05XMR6yMFotysjf6M2ELvP0eGvl/8SmWoktnYA2Lw=; b=xsCgFArYUw73M1JZfDyJx6zUtJPz/DPIBk/1Z4ahb7F1AgUwqQubXVlSD1BQ2ambmgVIPN /iYr77grLywC/Oa7tpxjxEfwPgiEYVzIf+P/OoIurcgPsoBhQuQYsFXBFl0C9hhodfpOXa GyBuw4Qp2b4IX+DMX1bItHOl7icvasqmu2owfpU+6upkz7SXshLe7KI7MPYymO8wfNEaDY JVs8osoKiujfC5W0mdLqp87XD/SFJj5+1P6PvC4cvXzrmwOjUGe+/5jltsMYglDiZfhAdP 68RjKKOscU1YhYwTWxqNYI5QS/lOAaVs0lvfcanVNlkz3v7cwJZ67ln4imsi2Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647568027; a=rsa-sha256; cv=none; b=sXP6Dq++eYw7GPyLbeFoufLfN39m4hnWIz1iViD/iQJxmWGAriORdN7mtXu1HIKa4Nd0tY 4lwKQxVMZspv/Nb9zCZ2Po/x6TgJLWUc/jme93aUgiGHR7XDqwXzNWIlsGUC3dgx7mgY0I 7WUcyboqNDhmBvxHnXFev9on15cubwDXhKnCewffJm7G65L6k6g5Lz2dJ/Gj6F0VehVb72 ON/m+fJW+PG7BpZE2dyRTF+uqS9YAo/xSBHp6hVzBBStlLCT49z9wU2o6fFuYaGJRP9Wj3 bk6umD/H9Wet5RgkVeHOAro5akJW5H6vCPGgf14xEgqzbqcOTSCx3flVwAFW1g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262639 Bug ID: 262639 Summary: Add support for make.conf helper variable to disable FLAVOR Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Ports Framework Assignee: portmgr@FreeBSD.org Reporter: bofh@freebsd.org CC: ports-bugs@FreeBSD.org Created attachment 232540 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D232540&action= =3Dedit Disable flavor in PHP Currently our php.mk is defined in such a way that when testing with poudri= ere if a port do not support the PHP default version it tries to build with a different php version that the port supports. Unfortunately this behavior is not too much helpful when we want to add/remove a old/new php version as it doesn't gives a clear picture of which ports fails to build with a specific= PHP version. So this patch defines a variable "BUILD_ONLY_DEFAULT_FLAVOR". If t= his variable is defined in make.conf then poudriere will build with default fla= vor and in case it's not supported this will IGNORE/SKIP the port which gives a clear overview of which ports are going to create problem while adding/removing/changing default php. For example if you go here you can see how the ports are ignored/skipped while this variable is setup: http://pdr.bofh.network/build.html?mastername=3D130-default-PHP80&build=3D2= 022-03-09_03h23m04s One major issue is not all port maintainers use PKGNAMEPREFIX while flavori= ng their ports which actually creates the problem. Hence some ports ignores wh= ile the others tries to build them using the supported php version even though = it is not the DEFAULT php. One more thing is there are some old php modules still listed specifically dbase_DEPENDS, mssql_DEPENDS and sybase_ct_DEPENDS which are actually no lo= nger in the tree. We should remove those. --=20 You are receiving this mail because: You are on the CC list for the bug.=