From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 933 invoked from network); 24 Feb 2023 12:34:22 -0000 Received: from tb-ob0.topicbox.com (64.147.108.117) by inbox.vuxu.org with ESMTPUTF8; 24 Feb 2023 12:34:22 -0000 Received: from tb-mx1.topicbox.com (tb-mx1.nyi.icgroup.com [10.90.30.61]) by tb-ob0.topicbox.com (Postfix) with ESMTP id 7C8CE1A4F5 for ; Fri, 24 Feb 2023 07:34:20 -0500 (EST) (envelope-from bounce.mMdbb0237c5d0d5fa0441d5e2e.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx1.topicbox.com (Postfix, from userid 1132) id 79962E9A341; Fri, 24 Feb 2023 07:34:20 -0500 (EST) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=musolino.id.au; spf=pass smtp.mailfrom=alex@musolino.id.au smtp.helo=vultr.musolino.id.au; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:to:subject:from:date:in-reply-to :mime-version:content-type:content-transfer-encoding:list-help :list-id:list-post:list-subscribe:reply-to:list-unsubscribe; s= sysmsg-1; t=1677242060; bh=x/Y6eG1b05aUzZKBU5hSK44D+kq27XMMSshKk JK485w=; b=X+OoznATlbkREAtSGr5X2hnp84Ee9XTcsOy+fqUr63wWxKKl8CHSa YaIuqfzmticCMFxcjarZYq64ow5c25ZXGXwgiVHkQ1xVmB6uyUher5G/1bON7i0t HP90BGNStfoVpPTxRahhQcsDhqLDWztDPyITRix0CdOVDNm1lUnqvA= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1677242060; b=kZekeWuR7HAregw7xmhVSESE90thn1r5QWoeDMHFJ3ANE6PdVn KIZFEML2htE0i1SrGd5YhzbSP7mo9R+lwnEW5OUIGDLmjKumCz6IWY44dYqp5cIl p9l0S3XdYkRlL0zFMmK968IVqcDlpphah1UXZlT5JdEbiiP60mUjF4Tvk= Authentication-Results: topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=musolino.id.au; spf=pass smtp.mailfrom=alex@musolino.id.au smtp.helo=vultr.musolino.id.au; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=musolino.id.au; iprev=pass smtp.remote-ip=45.76.123.158 (vultr.musolino.id.au); spf=pass smtp.mailfrom=alex@musolino.id.au smtp.helo=vultr.musolino.id.au; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=vultr.musolino.id.au policy.ptr=vultr.musolino.id.au; x-return-mx=pass header.domain=musolino.id.au policy.is_org=yes (MX Records found: musolino.id.au); x-return-mx=pass smtp.domain=musolino.id.au policy.is_org=yes (MX Records found: musolino.id.au); x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=message-id :to:subject:from:date:in-reply-to:mime-version:content-type :content-transfer-encoding:list-help:list-id:list-post :list-subscribe:reply-to:list-unsubscribe; s=dkim-1; t= 1677242060; x=1677328460; bh=dKJotMD8xz3MxTHTGXSZSUkI+ujffe5gSmw c5T+ZpuE=; b=Q2ElDk3yPQ+OSSkHB/cBXOieEju/cf155uHPgDx3nHwmhQHuyC5 k/qUJgVm2efMwwYZIrUIjVMjSt9RJoYmZWHG86+7k4bapAFNsT3b7Arvk4D4Ivgp LavZd+zUbRRdHAFjkSUz1p8ssRueG72yfyC0Oodc5vw5y4Pf+3uYcabk= Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id E9C3BE99EF0 for <9fans@9fans.net>; Fri, 24 Feb 2023 07:34:08 -0500 (EST) (envelope-from alex@musolino.id.au) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id 2734011238F; Fri, 24 Feb 2023 07:34:08 -0500 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1677242048; b=czcCvzEJAgFFMr2/uL0XlsQgjGXU6gDnaQbi7H4dcWw1+oXlI1 o7UAQMpKmZnnsQpEikT2/gULLCBxYKJL+vSY4Njl8ax8mnN7dT2XmIEHejXdFtB7 lAyiKDo4RJ9A3WMFaRQbLqHBZjRFxNe/Z5oT4MoC6KfiQPs3u28GqIMonbVOWCaW ipqRLr+GpBIG70upNv/vpBScRgiSRXogBo8EdsQ7PQ8zHqbVC81ij3GxvuD8xVay ji+aub+obPLYDKzagjiY+BCGfMpFkhAX1rR06YoeLJ4/AjC7BGcAKY8Oz/PWSAnn FbokxwYwPsn7aiVrT4uf+Zfv2MZl9tMW3ldA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:to:subject:from:date:in-reply-to :mime-version:content-type:content-transfer-encoding; s=arcseal; t=1677242048; bh=x+aV5yFTkW7oDg5c/9QtYl8ttBtfek5HKMXJUsYrMec=; b= KS+vYMS6I3MhihCIE0mxdmJD5O0CpzQzSPlqN83LtO8yorybfdM2Cw8bAbnJ7i0+ VuT81GN+kkSQBaw65/VB9XIPrSKuIcaEF0dCigP6FiMMt61fbJCEKzyM2bwpOXUY Ka9exn9Ezs9NhtFsNF/1bPpg5ptdwQNQy6jSGMQyjR58DZYsXf4P9kWJUMlXyGDQ EO52c8l1SPt/RKUdF89DNet7tfBlSbhZeyNEv8nYkMQgFpwsUz5j9zzU2eL0zX5a lRPRfLo71i3tUfgxIRF41gGqA1sWT+oDfvfqLa7LKFDcnX+CPM358us3yRs5Gbkw etazRwHbuNClJM0Nnq8/0A== ARC-Authentication-Results: i=1; tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=musolino.id.au; iprev=pass smtp.remote-ip=45.76.123.158 (vultr.musolino.id.au); spf=pass smtp.mailfrom=alex@musolino.id.au smtp.helo=vultr.musolino.id.au; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=vultr.musolino.id.au policy.ptr=vultr.musolino.id.au; x-return-mx=pass header.domain=musolino.id.au policy.is_org=yes (MX Records found: musolino.id.au); x-return-mx=pass smtp.domain=musolino.id.au policy.is_org=yes (MX Records found: musolino.id.au); x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedvhedrudekfedgfeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefkvffuhf ffjgggtgfgsehtkeejtddttdejnecuhfhrohhmpeetlhgvgicuofhushholhhinhhouceo rghlvgigsehmuhhsohhlihhnohdrihgurdgruheqnecuggftrfgrthhtvghrnhepfedute efvdegtefgtdehteefieetleduhfejvdeuhfdtkeegjeejheeitdekhfdvnecuffhomhgr ihhnpeelfhhrohhnthdrohhrghenucfkphepgeehrdejiedruddvfedrudehkedpudektd drudehtddrudduvddrudeijeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep ihhnvghtpeeghedrjeeirdduvdefrdduheekpdhhvghlohepvhhulhhtrhdrmhhushholh hinhhordhiugdrrghupdhmrghilhhfrhhomhepoegrlhgvgiesmhhushholhhinhhordhi ugdrrghuqe X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (musolino.id.au: 45.76.123.158 is authorized to use 'alex@musolino.id.au' in 'mfrom' identity (mechanism 'ip4:45.76.123.158' matched)) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="alex@musolino.id.au"; helo=vultr.musolino.id.au; client-ip=45.76.123.158 Received: from vultr.musolino.id.au (vultr.musolino.id.au [45.76.123.158]) by tb-mx1.topicbox.com (Postfix) with ESMTP for <9fans@9fans.net>; Fri, 24 Feb 2023 07:34:07 -0500 (EST) (envelope-from alex@musolino.id.au) Received: from 180.150.112.167 ([180.150.112.167]) by vultr; Fri Feb 24 23:33:34 +1100 2023 Message-ID: To: 9fans@9fans.net Subject: Re: [9fans] Error when trying to install contrib/install From: Alex Musolino Date: Fri, 24 Feb 2023 23:03:33 +1030 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 8b7ed7fe-b43f-11ed-b926-eef03da60c3b Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UMjNiNzk2NGNmNmU4Nzc2ZS1NZGJiMDIzN2M1ZDBkNWZhMDQ0MWQ1?= =?UTF-8?B?ZTJlPg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:Mdbb0237c5d0d5fa0441d5e2e:1:blsrIUA-sSN-9Oz7rYkPaXG2zGTDxT3WMZSK4OKnfI8 > I believe so, yes. It looks like 9front has made some significant > changes to (or removed? I didn=E2=80=99t dig in) test=E2=80=99s handling= of > =E2=80=9Cimplied=E2=80=9D -a and -o operands. Test(1) was changed for 9front because the old test(1) was broken. It does not have any sort of "implied" -a or -o operands. Actually, it silently ignores what comes after the first expression if there is no -o or -a to combine it with other expressions. The specific example from fgb's contrib/install script is doubly wrong since there's no argument supplied to the -w option. I guess because old test(1) doesn't complain, people may have assumed that this syntax was a cute way to check that a directory exists *and* that it is writable. Ratrace(1), however, will show you that the old test(1) only does one stat(5) syscall in this case and, in fact, calls exits(0) regardless of whether the directory is writable or not. The new test(1) in 9front passes the following test suite, which is mostly stolen from something the OpenBSD folks had used to test their own test(1) program: http://git.9front.org/plan9front/regress/717df14acac498bfb4496066a60c1ae83e= 93d9b7/cmd/test.rc/f.html > I would suggest compiling the plan9 version locally and seeing if > that fixes the issue. That will probably get you by, but I'd say the contrib/install script should be fixed also. -- Cheers, Alex Musolino ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T23b7964cf6e8776e-Mdbb02= 37c5d0d5fa0441d5e2e Delivery options: https://9fans.topicbox.com/groups/9fans/subscription