From nobody Tue Jun 4 21:30:08 2024 X-Original-To: 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 4Vv3f91wMjz5Md7H for ; Tue, 04 Jun 2024 21:30:09 +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 4Vv3f90B9Fz4tcC for ; Tue, 4 Jun 2024 21:30:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717536609; a=rsa-sha256; cv=none; b=ygBVzsViALiazeA+doMfJYgQgd/GLyf14q1R+dYefdhWaUl2B26mupqam3T7oDPvmt04g8 v1HCrkXYTcdLOERKcoTouKxtQfH/JiFPYiaVRh5db0cGDGdYooMAP1O2PGu1kqsbwmFQMf MFP+JOv0devtETZYGOv2I7BVjcFZHwRLpyX97PMz2GdCH/5Aen+nLCr+Oz7KozB4fdBgY1 oxxJVtj1HQGBaB9H5Uo9/PS5ps85r3lC1rAZczf1ufXM77mm4CFEciU9yQ9sg34umep+5D wtpJk7Rca/7E1EPH0lDcvVIj9/wZg3y72H5uuWh9UOjOWvPat5Z3k38FT0BFig== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717536609; 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=OEeIPFin4JjNlDjprBtDYV9Eb7+ROoTN+cooghwYA3w=; b=pHstXMXb70AjCEhjbvWC2jFV9RmGR5QCdKofZWkxZPKqYiF/W39tUPhRK9m1WGM3YxsHc6 bfuw4qPQPMzQHE6YY/t922mq+5A7g1g2eOHvvVKZ8nQ8rzNIUpd5ppoqj1TJANmb17nOnt 6+HETjnNOG9C89/B0r0p8TAkh0AUAoRGqlPhnqXL4QofQof5gyE3YbGJz1/6kRtAjmba5j tS3p0U1GeyL8pGJP8JB4Rd8chmgzVqNKeC7X9o6CDOu3d5K4+gMXOt60z+E920rFxdn5f3 GeUIAvycYzmyrOn31pN5GPfOTaNYQNQuR7osPpRnIU5fZN5AZDbBO3jBsgnesw== 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 4Vv3f86vGVzb1Z for ; Tue, 4 Jun 2024 21:30:08 +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 454LU8jT018244 for ; Tue, 4 Jun 2024 21:30:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 454LU8CP018242 for bugs@FreeBSD.org; Tue, 4 Jun 2024 21:30:08 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: bugs@FreeBSD.org Subject: [Bug 279530] Improved Build Option/src.conf Dependency Support Date: Tue, 04 Jun 2024 21:30:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: editor@callfortesting.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279530 Bug ID: 279530 Summary: Improved Build Option/src.conf Dependency Support Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: editor@callfortesting.org It is above my pay grade to say if this is a bug or feature request. FreeBSD build options have a limited notion of dependency warning, notably = if you enter a src-env.conf entry in src.conf, you quickly receive the notification: make: "/usr/src/share/mk/src.sys.mk" line 27: Option may onl= y be defined in /etc/src-env.conf, environment, or make argument, not /src.conf. This is an appreciated time saver. Options such as WITHOUT_SYSTEM_LINKER include dependency information in src.conf(5) such as, "This option is only relevant when WITH_LLD_BOOTSTRAP = is set.". However, it fails without a warning, and the src.conf(5) entry for WITH_LLD_BOOTSTRAP reports, "To be able to build the system an alternate li= nker must be provided via XLD.". Having those as machine-mandated rather than manual-mandated dependencies w= ould be very helpful and time saving when validating the build options. It would= be nice if attempting to build with one minus the other would simply give the information in the manual page and exit, rather than continue for minutes or hours, and return an error, which can be particularly confusing when built = in parallel. Related, example syntax of "an alternative linker" would make the informati= on more actionable. --=20 You are receiving this mail because: You are the assignee for the bug.=