From owner-freebsd-testing@freebsd.org Fri Dec 1 16:53:38 2017 Return-Path: Delivered-To: freebsd-testing@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4A845E5FC94 for ; Fri, 1 Dec 2017 16:53:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 37E06682AC for ; Fri, 1 Dec 2017 16:53:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vB1Grbve012367 for ; Fri, 1 Dec 2017 16:53:38 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-testing@freebsd.org Subject: [Bug 205481] The `subject matching jailid` testcase fails on stable/9, stable/10, and head Date: Fri, 01 Dec 2017 16:53:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: tests X-Bugzilla-Version: 9.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: asomers@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ngie@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution assigned_to cc bug_status 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 MIME-Version: 1.0 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Dec 2017 16:53:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205481 Alan Somers changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Assignee|freebsd-testing@freebsd.org |ngie@FreeBSD.org CC| |asomers@FreeBSD.org Status|New |Closed --- Comment #4 from Alan Somers --- Assigning to committer. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-testing@freebsd.org Fri Dec 1 17:55:33 2017 Return-Path: Delivered-To: freebsd-testing@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8AADDE665F8 for ; Fri, 1 Dec 2017 17:55:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 713096A51D for ; Fri, 1 Dec 2017 17:55:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vB1HtXAm052624 for ; Fri, 1 Dec 2017 17:55:33 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-testing@freebsd.org Subject: [Bug 223564] Using a test script with filename "null" prevent "make install" Date: Fri, 01 Dec 2017 17:55:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: tests X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: asomers@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-testing@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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 MIME-Version: 1.0 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Dec 2017 17:55:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223564 Alan Somers changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open CC| |asomers@FreeBSD.org --- Comment #1 from Alan Somers --- I can confirm the bug. I ran "make && sudo make -dA install" in both the working and non-working case and compared the output. What I found was very surprising. In the working (file name is not named "null") case, I see thi= s: Applying[.MAKE.DEPENDFILE] :T to "/dev/null" Result[.MAKE.DEPENDFILE] of :T is "null" Searching for null ... failed. Searching for null ... /usr/home/alans/freebsd/head/share/mk ... /usr/share/mk ... failed. In the non-working (file name is "null") case, I see this: Applying[.MAKE.DEPENDFILE] :T to "/dev/null" Result[.MAKE.DEPENDFILE] of :T is "null" Global:.MAKE.MAKEFILES =3D /usr/home/alans/freebsd/head/share/mk/sys.mk /usr/home/alans/freebsd/head/share/mk/local.sys.env.mk /usr/home/alans/freebsd/head/share/mk/src.sys.env.mk /usr/home/alans/freebsd/head/s Parse_SetInput: file /usr/obj/usr/home/alans/freebsd/head/amd64.amd64/tests/bug/testing/null, li= ne 0, fd -1, nextbuf 0x414cc0, arg 0x800d647c0 Global:.PARSEDIR =3D /usr/obj/usr/home/alans/freebsd/head/amd64.amd64/tests/bug/testing Global:.PARSEFILE =3D null ParseSetParseFile: ${.PARSEDIR} =3D `/usr/obj/usr/home/alans/freebsd/head/amd64.amd64/tests/bug/testing' ${.PARSEFILE} =3D `null' ParseReadLine (3): 'atf_test_case "dummy" "cleanup"' ParseDoDependency(atf_test_case "dummy" "cleanup") So it looks like in every case make thinks that /dev/null is a depend file = (the thing that is normally named Makefile.depend) for the target, and tries to = read commands from it. Also, for some reason it strips off the dirname. Most of the time, the file can't be found. But if a file named "null" exists, then make will try to read commands from it. The target doesn't even need to be named "null". The bug can be reproduced as long as a file named "null" is present that contains invalid make syntax. For example: $ cd /usr/src/tests/etc/rc.d $ echo "a b c" > null $ make && sudo make install make: "/usr/src/tests/etc/rc.d/null" line 1: Need an operator make: Fatal errors encountered -- cannot continue make: stopped in /usr/src/tests/etc/rc.d --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-testing@freebsd.org Fri Dec 1 18:00:26 2017 Return-Path: Delivered-To: freebsd-testing@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5DAF0E667D2 for ; Fri, 1 Dec 2017 18:00:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BD526A84F for ; Fri, 1 Dec 2017 18:00:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vB1I0QUW064161 for ; Fri, 1 Dec 2017 18:00:26 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-testing@freebsd.org Subject: [Bug 223564] Using a test script with filename "null" prevent "make install" Date: Fri, 01 Dec 2017 18:00:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: tests X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: asomers@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bdrewery@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to 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 MIME-Version: 1.0 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Dec 2017 18:00:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223564 Alan Somers changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-testing@freebsd.org |bdrewery@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.=