From nobody Mon Aug 7 10:47:55 2023 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 4RKChX0R8dz4mN3Z for ; Mon, 7 Aug 2023 10:47:56 +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 4RKChW5CMgz3Rq6 for ; Mon, 7 Aug 2023 10:47:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691405275; 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=jSUs0CViDt+GCUvOJND6ap2gHuUUefeEBQGFulHSSYM=; b=ulnhWS2w+mqEh3Po+fHQJNIGBEzVxdKQw8bdDMMsuFXTuESBPVObukMJKpgb1H59WAMHrp Z9QkCzwXlCT2ugdKhty8u+cSPFVuuN08AIItAYuMdS4HwwAh3bWTxnBwRe62Su9iXjbGtX QvStl5SaVeZ/MezLUhkz2OHK/itIe6iTh0h6ygoTrpdEGSYZnT3+lEXuICBdgmq3opA8Ra oqHhM1+Cy1Jgi411O3mMQrfCDbmKg5j9bjQBFr4+6iAQ7cE8okBJvsvNzmBuzxhyuxSqow wvkSdPbiEqaJ7tdbK+ZMp13EdIxEz2/faz5o78ywgpqUFnMNywp7TQLgA0sekw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691405275; a=rsa-sha256; cv=none; b=vZL1dRlAdiIQseh5TRVGc/21L3FRFEBeVw11p7uYaaD+FOvOIpj2AE6u6Wgu2Z9hXM4eri zpOBQIGlHfmXYCH/++ZjgjxZL5EBqcAXNwbE3ux6u5y3oyhoF7swimnNszNmPPjyBPJKTZ IFVLAR+lAhQdMYgNUf4MfeU1WFv52y2pmmmPM+KZc2wrIzdFKgtFWM9xRRLotBbJf18OlV CMBRobuTwZEazs4FWiYT01lj59St3Rsd8XpK/TQf6C4++nMgRsmgde9v5tBK5OHUv5v+bS aotxnGLgzjaPLGqRwPVrpxTSjJEZtxYMkhBDsq9LStRrT3Ys1QSkxdZ+8B3qBw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RKChW4B1Pzpyb for ; Mon, 7 Aug 2023 10:47:55 +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 377AltS2005044 for ; Mon, 7 Aug 2023 10:47:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 377AltLs005043 for ports-bugs@FreeBSD.org; Mon, 7 Aug 2023 10:47:55 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 272995] dns/bind-tools: fails to build with MANPAGES=off if sphinx is installed Date: Mon, 07 Aug 2023 10:47:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: michael.osipov@siemens.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: mat@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272995 Bug ID: 272995 Summary: dns/bind-tools: fails to build with MANPAGES=3Doff if sphinx is installed Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: mat@FreeBSD.org Reporter: michael.osipov@siemens.com Assignee: mat@FreeBSD.org Flags: maintainer-feedback?(mat@FreeBSD.org) 9.18.16 fails for me to build when MANPAGES and DOCS are disabled: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D /usr/bin/make all-am Making all in man echo "" /usr/local/bin/sphinx-build -b man -d ./_build/.doctrees/man -W=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 -c . -a -n=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 -D version=3D"@""PACKAGE_VERSION@" -D today=3D"@""RELEASE_DATE@"=20= =20=20=20=20=20=20=20=20=20=20 -D release=3D"@""PACKAGE_VERSION@" -D rst_epilog=3D"$(printf "${man_RST_EPILOG}")" . ./_build/man Running Sphinx v5.3.0 making output directory... done building [mo]: all of 0 po files building [man]: all source files updating environment: [new config] 34 added, 0 changed, 0 removed reading sources... [100%] tsig-keygen Warning, treated as error: ../../bin/delv/delv.rst:105:Undefined substitution referenced: "bind_keys". *** Error code 2 Stop. make[5]: stopped in /usr/ports/dns/bind-tools/work/bind-9.18.16/doc/man =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D By reading Bug 270286 and https://gitlab.isc.org/isc-projects/bind9/-/issues/3681#note_359741 the pro= blem is that sphinx is implicitly found (installed by other means) and used, but= the Makefile processing requires gmake, BSD make fails here. Read also how Restructured Text substitutions work and they are passed through the Makefi= le. I see two ways to solve this problem: (a) always say: USES=3Dgmake (b) apply the following patch for 9.18.14+: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D diff --git a/dns/bind918/Makefile b/dns/bind918/Makefile index 5410e2297e31..92cd005bf74f 100644 --- a/dns/bind918/Makefile +++ b/dns/bind918/Makefile @@ -179,0 +180,4 @@ BUILD_DEPENDS+=3D cmocka>0:sysutils/cmocka +.if !${PORT_OPTIONS:MMANPAGES} && !${PORT_OPTIONS:MDOCS} +CONFIGURE_ENV+=3D ac_cv_path_SPHINX_BUILD=3D +.endif + =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D which basically reverts https://cgit.freebsd.org/ports/commit/?id=3D0612249ceafda613efff5c03ab08cb4= 023fe4836 except for the value. --=20 You are receiving this mail because: You are the assignee for the bug.=