From nobody Mon Feb 19 01:23:49 2024 X-Original-To: freebsd-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 4TdPvR1nYlz5CGq5 for ; Mon, 19 Feb 2024 01:24:03 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) (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 "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TdPvR06Z7z4bhv for ; Mon, 19 Feb 2024 01:24:03 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-a3cc2f9621aso366934666b.1 for ; Sun, 18 Feb 2024 17:24:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708305841; x=1708910641; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=9ElrgCFGaSUwR1gy0R4Q82dRRYFXZDWaLrl/3S7TEA8=; b=LGaMU1jYGLJGvHA3UslLwaNYy8bIqxidLFzeJqD0uWck4hs8Do2JIAF9W5gVU11Y96 gm3xDAOsLOzEI2T0Xx2+O+js/iEgJ6bF+x6nhIoXR7t8hvRtrrWPrC47ZHtB9PcQRbRU qxkl/IJwHj/1N5nLKC6OiwdnS8//JnIPIFH+7F7Drup5Y9xk5obIzjc1ifcTBwcyWf2I aJmt1UftVq8OUzWH7jYm8AJwG9eYWyrzxNpDNx3No25hai2r3QB0vk3+CDWWdTDoBS3B 43x12hPD5yzP5pZhc9B7jw5vsxHaXBAOqsoF8BuaFddSJ/NJHRAI0AVzOSV0hyx+CO1f iKcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708305841; x=1708910641; 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=9ElrgCFGaSUwR1gy0R4Q82dRRYFXZDWaLrl/3S7TEA8=; b=MhtTOvT4z0PjK62m+BeOBX3RI5mSVzpWjWn3Zsi73S5eBggS9kq1coRVkA40rsWS6V NTQAlyv1ppkev1LXdcFoacQwmTjOjYVnnukEZMcpi2mghxiDm+cHaG9Eu2EytpJxmD7A oA6XJ+4nW2rMxGMba+KItM7fVxvYFnh2YPxyl3NKV0OcFUMH53GpE7XKbBKo8McPLubE 9NqZCoDyy1RMAEFqU158pY/MdUUvCbk87/F406Df4Qe03Hgd7CGFAxqCBmYOkbhYMuua UCzXEHxXDSmRUU4n2HeT4vxb0vFC4LbH0Ma1V+kHnFmSFSVYNN57wSMu8tAfcJNkO7/W QPMQ== X-Forwarded-Encrypted: i=1; AJvYcCXEQChqDRDxSzUsTtbgitYZ+3WJhFmTWWvWxK3ygDDmPEwwIvO/s+GE0yO8Gy8rgBYh7d2JFobUMKUnhcwXaWeQhRhVy0kCMl1f X-Gm-Message-State: AOJu0YzRf2AouiFKSLSQyU+xhoin899ndPjuNXIsJESGbKM75zBbbGnW PhaimFQIAxPhCQcV6BtKMIHjSn8hyXhYWWrrn5M1ENtrP7PR+HrRplwl6qzzHks87ZNvXAaX2mt KqS+wxCoYB11dpmKF2vudEwhJzFpOxsY8ujs= X-Google-Smtp-Source: AGHT+IHMslmVuJN2X1oDoJXmwi0tbj7EKLernc9rv5+bJqBmPQWhx4hTMB9o45ZA1gnna5hoSrFyJZ8OBfGpdbHfIi0= X-Received: by 2002:a17:906:2c0e:b0:a3c:cb68:ee9c with SMTP id e14-20020a1709062c0e00b00a3ccb68ee9cmr6958521ejh.49.1708305841373; Sun, 18 Feb 2024 17:24:01 -0800 (PST) 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 References: <87B38D6C-1D83-4158-B03B-F4C8EA396DD1.ref@yahoo.com> <87B38D6C-1D83-4158-B03B-F4C8EA396DD1@yahoo.com> In-Reply-To: From: Aryeh Friedman Date: Sun, 18 Feb 2024 20:23:49 -0500 Message-ID: Subject: Re: FreeBSD ports community is broken [port building configuration notes] To: Mark Millard Cc: Miroslav Lachman <000.fbsd@quip.cz>, FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4TdPvR06Z7z4bhv X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] On Sun, Feb 18, 2024 at 3:21=E2=80=AFPM Mark Millard wr= ote: > > I fully agree that poudriere's systematic behavior > rebuilds more than the likes of portmaster [but fails > less often]. > > > As stands there are tradeoffs between use of portmaster > (and the like) vs. use of poudriere (/synth?). No one > has produced an alternative that avoids the tradeoffs > as far as I know. So one picks between the tradeoffs > by the choice of which way to build. The reason why no alternative has been produced yet is make it self is broken at the theoretical level. Instead of doing a blond DFS it should build the entire DAG and then topolocgically walk it. See Recursive Make Considered Harmful by P. Miller -- https://accu.org/journals/overload/14/71/miller_2004/ (republished). While the DAG for the entire ports system (and for each port) is too big the DAG of what ports to do in what order is not and can easily be extracted from the ports make file. So there is really no excuse for excessive building (just a question of converting it all to DAG -- devel/cook does this and likely can be shoe horned into being a hybrid of allowing each port to use make recursively but at the top levle using a DAG).