From nobody Fri Dec 09 18:50:10 2022 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 4NTKpC2fl6z4jylp for ; Fri, 9 Dec 2022 18:50:11 +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 4NTKpC1crzz3R6f for ; Fri, 9 Dec 2022 18:50:11 +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=1670611811; 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: in-reply-to:in-reply-to:references:references; bh=eGnKpCViFTUbMPkIGffbGeXbxmBhwcT8tP69tRt/lPo=; b=FU03KahKk2k9RCnfK+Meq3rKH7NDywNLzYyQN+dNcf8FMEpVjDWkqkmkPGW6gZGJ2D8S8o DuVcdDgeNLOW7beLF2AOjOjyvKgodvVSrWTDTqsl2S+XPjgb6ZWGUj0cdbRCzxppak1oH9 Wh96WsPVpnUCHoSUpfhRM2edIXUOYUVVc+wVPi+3HtnHB+XTWj4MMCzWXuXAI9oKdrRZcr f84SYpbx/ART6uUHbQ8iEqFACDAuyMhu5s8EPAHEjQzeXItP2d2N0lBEsM9CPz0uQwQ0oB Pae1scQdbwiCzTRG8P38hxkep1Hp83Q6QzETUW1k/ORdrfNcuU6kjMVMBbpP5w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670611811; a=rsa-sha256; cv=none; b=c00n7Wuv8vW6yMYE6nEJ571jwabXfUj/03zlJTq5sY1052VRK2VtljJraOkaOV1pqCydFY xd3PLe5/tC6OtJhd5EFitM6N7mGBD2z68RDGGwqtZExXiGpG/yPpQ8ivYKolhu1MKBTFqQ vFme9ZzhSoiARwFmU7ik+ICHfmsF0gBHP3ckL3T4hKjmac5rCxqxZP75GOVORfKVRb62L2 KNoFiD/YtMTjFcsf1sArJTW5EVOWmBvm+eshyCzrdfG0MdOQukWaaDq62ZqCKFo+GVriuK Dpg50wAG6GXMUSwqlpS5sXoFrwMYVDRfDyJzvJR/fvrvikLhVTd8LG3jpaxcNQ== 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 4NTKpC0hy2zmqC for ; Fri, 9 Dec 2022 18:50:11 +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 2B9IoBF2003569 for ; Fri, 9 Dec 2022 18:50:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2B9IoBIT003568 for bugs@FreeBSD.org; Fri, 9 Dec 2022 18:50:11 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 267871] /usr/bin/rs compile fails after udate to c++ Date: Fri, 09 Dec 2022 18:50:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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: jhb@FreeBSD.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: cc 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: 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267871 John Baldwin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sjg@FreeBSD.org --- Comment #6 from John Baldwin --- (In reply to devel from comment #5) Doing a fresh git clone doesn't ensure that /usr/obj is empty. The only way make(1) could possibly know to look for rs.c is if it found a generated .de= pend file in /usr/obj that contained a reference to rs.c. One question though is if you are using meta mode by chance? I don't know = if somehow the implicit SRCS breaks. bsd.prog.mk has logic to assume .cc instead of .c for the default value of SRCS if PROG_CXX is used instea= d of PROG. I see a somewhat dubious check for PROG_CXX (seems like it should be checking something else?) in local.dirdeps.mk, but aside from that I can't = see any way that make would think the implicit source was rs.c instead of rs.cc. --=20 You are receiving this mail because: You are the assignee for the bug.=