From nobody Mon Feb 21 10:50:31 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 AD18119CA831 for ; Mon, 21 Feb 2022 10:50:32 +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 4K2Jx42w2jz4lN3 for ; Mon, 21 Feb 2022 10:50:32 +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 3F3FB6BA5 for ; Mon, 21 Feb 2022 10:50:32 +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 21LAoWU7091719 for ; Mon, 21 Feb 2022 10:50:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 21LAoWBs091718 for ports-bugs@FreeBSD.org; Mon, 21 Feb 2022 10:50:32 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 262092] net/samba413: Improve build time Date: Mon, 21 Feb 2022 10:50:31 +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: chris@chrullrich.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: timur@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 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=1645440632; 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=azpf0qP0nvRXxBxXj5yHWQEGwDBB0lX/hZO2d+07K+8=; b=s0yFP/onmmlzJXftpW1iVgC8I967rtKZbwL5bOYL9C/xGgIxhy117znN9I603pOp5utMep 2126uvzV9cckoOjjGWz66rh/JeE5GT1vGmsEtJefsGmnlkHab/INCLYDaQaxQPMoIKYSwm xeXY9KEPDRtmaZ8ICe1Cws9d1NzDvujXq+K0eZGRpWjp1KBTs/9x6DOWGGgysWBi+slZWk YXIwhxt34okr5vyXuU2DXXYPYDPvzha0xC5Qek4+c1bUuMbPmhAa6gCkpQ2OzcBxx2oKgY HqsZjfa7kktD/lluuFwwbrPAryMFrBFQES7cVm0SG2fSFLNhqheBaR90EZZcSw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645440632; a=rsa-sha256; cv=none; b=YDzkLXIsnCcSMgcGeh1KTLoNogP6FRnU7nCfBpEOiUGEgezrY8PlBecF2Bg18NwT9RLllh VhpdizrIFXJUh1UneEnJ5fZEywvks5thX1plaTpC2jeKnmrWqvd1Bi+x1r6eqzGfhzOWoV +4DgYE+uu8XznVwH6hbAmbA+GYE0o+2AHEsn6rRJP0fiXeTQufWwws6nRmdRxhj8PNwsMJ 8jTk//cDzfjA5FJynJuFEs5bNmyVsFXJdnvMsVRsvEcheXE3X4upatI+ma7ryNI1uDDcOj thmG8X64k3/TDQ9knA9Z53jgP7dxeE8/ZTL/gN/6NLQqRzdCqk+8cERt0CZMAg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262092 Bug ID: 262092 Summary: net/samba413: Improve build time Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: timur@FreeBSD.org Reporter: chris@chrullrich.net Assignee: timur@FreeBSD.org Flags: maintainer-feedback?(timur@FreeBSD.org) Created attachment 231985 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D231985&action= =3Dedit Patch. Samba's Python-based build system, waf, will with high probability rebuild = the entire source during stage because it does not maintain the order of compil= er arguments. This appears to defeat its own minimal-rebuild logic, and defeats ccache in most cases. Patch attached; reducing build time by ~50 %. If ccache is in use, it does = not waste cache space on single-use objects and thereby improves the overall hit rate of a shared ccache. Two successive poudriere builds without the patch had port times of 13:18 a= nd 13:22 minutes respectively. With the patch, the times were 6:05 and 5:47 minutes, all measured with "hot" ccache (i.e. the times are for the ccache lookups only, and the builds without the patch had cache hits for the diffe= rent command lines as well). The upstream distribution's root Makefile already sets PYTHONHASHSEED to av= oid this issue, but the port skips it by invoking waf directly. --=20 You are receiving this mail because: You are the assignee for the bug.=