From nobody Wed Jun 30 11:48:44 2021 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 4551111E50BB for ; Wed, 30 Jun 2021 11:48:44 +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 4GFKP81LyYz3QJk for ; Wed, 30 Jun 2021 11:48:44 +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 1710843B2 for ; Wed, 30 Jun 2021 11:48:44 +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 15UBmiQ3055469 for ; Wed, 30 Jun 2021 11:48:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 15UBmisg055468 for ports-bugs@FreeBSD.org; Wed, 30 Jun 2021 11:48:44 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 256783] Mk/Uses/cmake.mk: Some cmake ports builds twice Date: Wed, 30 Jun 2021 11:48:44 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa, performance X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: adridg@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kde@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256783 --- Comment #4 from Adriaan de Groot --- It's not that I don't believe you, it's that I have no idea how to reproduce this -- or even why it's an issue, really. Your latest log shows hts being built, and then at stage-time five (if I counted right) C files are re-compiled. Not even all of them (here in hts, just the `kissnet/` subdirectory).=20 Locally, nothing is rebuilt; I've tried with MAKE_JOBS_UNSAFE, and without.= In poudriere, and in the host, as root and as user. I'd suggest building this up to pre-stage and then executing the steps in s= tage by hand, to figure out what's going on and why make is rebuilding things. T= he relevant steps are (here from my build, which has slightly different paths): ``` /usr/bin/make -f lib/kissnet/CMakeFiles/hts.dir/build.make lib/kissnet/CMakeFiles/hts.dir/depend cd /tmp/port/work/.build && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/port/work/pvr.hts-8.3.0-Matrix /tmp/port/work/pvr.hts-8.3.0-Matrix/lib/libhts /tmp/port/work/.build /tmp/port/work/.build/lib/kissnet /tmp/port/work/.build/lib/kissnet/CMakeFiles/hts.dir/DependInfo.cmake --col= or=3D Consolidate compiler generated dependencies of target hts /usr/bin/make -f lib/kissnet/CMakeFiles/hts.dir/build.make lib/kissnet/CMakeFiles/hts.dir/build ``` If you can trace those two `make` invocations to see exactly what is being rebuilt and why, **then** there's a chance to track this down. --=20 You are receiving this mail because: You are on the CC list for the bug.=