From nobody Mon Apr 14 05:27:18 2025 X-Original-To: dev-commits-ports-all@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 4ZbbQs5nZYz5s7B9; Mon, 14 Apr 2025 05:27:49 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-yb1-f181.google.com (mail-yb1-f181.google.com [209.85.219.181]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZbbQr33QYz3V25; Mon, 14 Apr 2025 05:27:48 +0000 (UTC) (envelope-from 6yearold@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=freebsd.org (policy=none); spf=pass (mx1.freebsd.org: domain of 6yearold@gmail.com designates 209.85.219.181 as permitted sender) smtp.mailfrom=6yearold@gmail.com Received: by mail-yb1-f181.google.com with SMTP id 3f1490d57ef6-e589c258663so3466142276.1; Sun, 13 Apr 2025 22:27:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744608467; x=1745213267; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JDW/FP8SdRJTJp9zGHjsMrY897/oASEC/90JuHA+fGs=; b=EiNIzDIoUuhzI2OpQmuNqrBPzfeyQGLEUA3nSh0pV85cZCnc/p7rw0/6T8iE1KROJi QPcbCuYcm/YcMicnHqYmJ+bWL1calfZr4VLzyP5yONanHIplNXD2hiTdxxhvP9TEbcED 9NQ5CgoLvX49O5E1yN0FDcZKNoTy5nt+2zl14nIjGdy+PcFpCIQmzH3TCYelMl8nwrFW 9NzCtDnk/bzxc8cavv0uiRNL+ynQS28VOPVwAG02RU+pP03gGgTym3wAswq4Mr5ahfFO MAs5sC/cxQB6w0kzqAALmUdTBhToW8llhSDVvCo9IfzA9u0FOjplueOyg3bkAGh93Pwp bHDQ== X-Forwarded-Encrypted: i=1; AJvYcCVAtX3UR0zwD9Aq2CU8riJQ1YSJuSAMK6OC+iera+YvMlSC5z8fMO9odXKkV4JoxXelpmXVB4N2/wP0G1M8Yar7J62ziLo=@freebsd.org, AJvYcCVYubWm53s9Il38gBWMZLl6O6GunsGqx35BKGkuP3V9vZDxkGzOl3VhoBtD/xl5gj3sPpzJIrwI3WQjLtTrZIFdd94L/cY+qA==@freebsd.org X-Gm-Message-State: AOJu0Yz4PnOdmYdLE/cGU9epFF5Za4g4+Gml2Zw5lisQGnb9VpHOaa0o X4+XeGn6rtTSHVZGCiQ8JoxoxqDsfEYZ6GFrNuxkbxD3/57sq1lyIEYRYV4C X-Gm-Gg: ASbGncuaS7+AVTgQc5NMay3iETuA/YJbSnEkb1YAiPlvqiM5J9s712bBJDKC61UFlJ9 3d2f/tS0/YdXkanUHAaiku1f87Jh/wwWJxej7YyX0jAtixEd59VgCDcbks6qQhEwaa6KbLZdEWO DBs5if18P8TDGSeuDg9PqnJBOR+OFJqG+qHWU5q6OTAZVTa7uIhYzXSo5H0Qz064v5qsCYaVGsg CbWftyE5NGh1h3XAUq0uGE+KfGS1DuQEWf4/hW25LIuaLpOHfu5RZLDCeWbSHuxQIxtmntF7+8C Upa6lJi7YEkyEMrBdbIBBw9b8YwXKaExNCVrhF3SSAwbUkokTeu/FV2m/DPNNRwmydfN/XTkH7u LUkix1Gda909DYOI= X-Google-Smtp-Source: AGHT+IGwb9x/fqFsm7rVMDEdUgUGZeA75LXw/lBfSMpdQN3HAfg+kbRaZs9AB7db1gA0aX9J9WiE0g== X-Received: by 2002:a05:6902:1b81:b0:e6d:da84:e903 with SMTP id 3f1490d57ef6-e704de728f4mr17166021276.4.1744608466688; Sun, 13 Apr 2025 22:27:46 -0700 (PDT) Received: from mail-yb1-f178.google.com (mail-yb1-f178.google.com. [209.85.219.178]) by smtp.gmail.com with ESMTPSA id 3f1490d57ef6-e70324051b2sm2679430276.4.2025.04.13.22.27.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 13 Apr 2025 22:27:46 -0700 (PDT) Received: by mail-yb1-f178.google.com with SMTP id 3f1490d57ef6-e6e2a303569so2908737276.0; Sun, 13 Apr 2025 22:27:46 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCVu3mqgyVGqJPDH5FiGq3IbLsEJDrkU90iRopeGDqgRoICa0yGO1ivSGA5NVch/dIwX0fQcKQVhHKOBtlYJvIQAMWvDVnWhbg==@freebsd.org, AJvYcCXg4ABzAmQnn85E8VDJ5/sa2RNRMLBx1auoQ7ko6vQQD5I826hFtaLi7thK1z6pYdDpgTxc3+UWxl6h8uaYXPUy57AAMTc=@freebsd.org X-Received: by 2002:a05:6902:12cb:b0:e6d:e693:4114 with SMTP id 3f1490d57ef6-e704db01ae8mr17739128276.0.1744608466046; Sun, 13 Apr 2025 22:27:46 -0700 (PDT) List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 References: <202504052037.535KbCiZ034253@gitrepo.freebsd.org> <010001961e2cc6af-4bd2aced-ca18-49b0-81c9-07f0668fe5d0-000000@email.amazonses.com> <0100019630030905-b61b0f13-81f0-4423-bc77-7adbe711b03f-000000@email.amazonses.com> In-Reply-To: <0100019630030905-b61b0f13-81f0-4423-bc77-7adbe711b03f-000000@email.amazonses.com> From: Gleb Popov Date: Mon, 14 Apr 2025 08:27:18 +0300 X-Gmail-Original-Message-ID: X-Gm-Features: ATxdqUG-lubDIE3KQ5bgkpapde7D4y9l0VTBmCFoQea-nyDG0Mqg9cdGM3FzksM Message-ID: Subject: Re: git: de7c5ca4a2d4 - main - devel/py-wheel044: "temporarily" add To: Colin Percival Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [1.11 / 15.00]; NEURAL_SPAM_LONG(1.00)[1.000]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; NEURAL_HAM_SHORT(-0.99)[-0.987]; FORGED_SENDER(0.30)[arrowd@freebsd.org,6yearold@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; MIME_GOOD(-0.10)[text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), No valid DKIM,none]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; RCVD_IN_DNSWL_NONE(0.00)[209.85.219.181:from,209.85.219.178:received]; ARC_NA(0.00)[]; RBL_SENDERSCORE_REPUT_8(0.00)[209.85.219.181:from]; RCPT_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; MISSING_XM_UA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[arrowd@freebsd.org,6yearold@gmail.com]; RCVD_COUNT_THREE(0.00)[3]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[dev-commits-ports-all@freebsd.org,dev-commits-ports-main@freebsd.org]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.219.181:from] X-Rspamd-Queue-Id: 4ZbbQr33QYz3V25 X-Spamd-Bar: + On Sun, Apr 13, 2025 at 7:37=E2=80=AFPM Colin Percival wrote: > > I believe the problem comes with the following commit which adds a > dependency on this (8b5ae17d2f43388fade30e266615a9e34bf06abd). I found a mistake in my testcase. Now I can reproduce the problem with both your commit and main's tip. I will look into this today, but my understanding of Python build machinery is lacking, so I can't promise anything. > All I'm asking is that > # cd /usr/ports/foo/bar && make > on a clean system should succeed. It is a pretty high expectation for an arbitrary port in our tree. Here's w= hy: - Upstream may introduce circular dependencies that we'll have to somehow untangle (glib case, but luckily rare) - A tree of transitive build dependencies may contain conflicting packages (py-wheel problem we're facing now). For example, dep1 requires gcc11 while dep2 requires gcc12. Luckily, our gcc ports are arranged in a such way that they are coinstallable, but this is not always the case and requires additional work. - That dependency tree is ever-changing as ports get updated, DEFAULT_OPTIONS changed, etc. The larger it gets, the harder it is to track install conflicts. - Feature autoactivation may kick in in an unclean build environments > No. Release building happens in a clean jail. There's no host contamina= tion. It is not about simply running the whole process in prison !=3D 0. This by itself does not buy anything, of course. The idea behind Poudriere is that each port builds in a separate jail, which means that only build dependencies of this port would get installed. To the contrary, running "make all install" for a port would install all transitive build dependencies, which brings us to the problem described above. > And the code is in src/release. Anything which breaks release building i= s > also going to break ports for plenty of regular users. Yes, plenty of regular users that build on host, not Poudriere users. Right now each Ports committer is obliged to verify that his submission builds in Poudriere. There is no such requirement for the build-on-host tools like portmaster, portupgrade and plain make. If you think this should be changed you should approach portmgr@ so that this decision would be codified somewhere. I wouldn't be happy about it, but will obey.