From nobody Thu Sep 07 16:17:36 2023 X-Original-To: questions@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 4RhPXg3tPmz4sVhH for ; Thu, 7 Sep 2023 16:17:39 +0000 (UTC) (envelope-from dvoich@optonline.net) Received: from altprdrgo06.altice.prod.msg.synchronoss.net (altprdrgo06.altice.prod.msg.synchronoss.net [65.20.63.40]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4RhPXf4Wr8z3Sq0 for ; Thu, 7 Sep 2023 16:17:38 +0000 (UTC) (envelope-from dvoich@optonline.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=optonline.net header.s=dkim-002 header.b=HQTmDD29; spf=pass (mx1.freebsd.org: domain of dvoich@optonline.net designates 65.20.63.40 as permitted sender) smtp.mailfrom=dvoich@optonline.net; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=optonline.net; s=dkim-002; t=1694103458; bh=ww/33fOIf2omaQklrKVmuZ2RuYVbJDh1+4YlipNbKKA=; h=Date:From:To:Subject:Message-ID:In-Reply-To:References:MIME-Version:Content-Type; b=HQTmDD29IBHHE86E2lwUlrhYnvxCxEsA1c0D9fxyj0p8BU2DbJiNyVejfvGvAjEPgAVxm/Ig54L9My/IglNTmIqI0VxvDqlUqW8vX67wNkkEFYrFcJmG9g3R4ocdnKR98vL5iCZ1limTBgRsI4ZJd7iJ6JRo7PuXe0z+aPfP/KOi/Eo4IxY0hLTiX/nYZUtvdEoqK25cB4/bbnDBiXBegCdfBZGWvjxKeDhxAevFHMc4ny7Fg1vwvnjnhy5qDn1KmSZ3Ia7hCyO1qgvP9frSZo0EKsgxdAED8rCQppMsITs5WVplcPCjzEw19KMEOpWIb49qPVjcbWGgoQhHoDK3EQ== X-RG-VS-CS: clean X-RG-VS-SC: 0 X-RG-VS: Clean X-Originating-IP: [24.185.149.5] X-RG-Env-Sender: dvoich@optimum.net X-RG-Rigid: 64D3D2B404C6415A X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedviedrudehhedgleelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecutefnvffkvefgfgfupdggtfgfnhhsuhgsshgtrhhisggvpdfqfgfvnecuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfgjfhfogggtgfesthhqredtredtjeenucfhrhhomhepgghlrgguucforghrkhhovhcuoeguvhhoihgthhesohhpthhonhhlihhnvgdrnhgvtheqnecuggftrfgrthhtvghrnhepteelvedukeefjeehledttddtfeekleejtdeuudeiteeftdejudevheevudelkeegnecukfhppedvgedrudekhedrudegledrheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopehhrghpphihrdgufigrrhhfjedrnhgvthdpihhnvghtpedvgedrudekhedrudegledrhedpmhgrihhlfhhrohhmpeguvhhoihgthhesohhpthhonhhlihhnvgdrnhgvthdpnhgspghrtghpthhtohepuddprhgtphhtthhopehquhgvshhtihhonhhssehfrhgvvggsshgurdhorhhgpdgruhhthhgpuhhsvghrpeguvhhoihgthhesohhpthhimhhumhdrnhgvthdpghgvohfkrfepfgfupdfovfetjfhoshhtpegrlhhtphhrughrghhotdei X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean Received: from happy.dwarf7.net (24.185.149.5) by altprdrgo06.altice.prod.msg.synchronoss.net (5.8.812) (authenticated as dvoich@optonline.net) id 64D3D2B404C6415A for questions@freebsd.org; Thu, 7 Sep 2023 12:17:38 -0400 Date: Thu, 7 Sep 2023 12:17:36 -0400 From: Vlad Markov To: questions@freebsd.org Subject: Re: portmaster and CR Message-ID: <20230907121736.7b1f5448@happy.dwarf7.net> In-Reply-To: <20230906121433.36725b91@happy.dwarf7.net> References: <20230901180918.137baaf3@happy.dwarf7.net> <3645ddcd-ede2-2116-3f68-5d3fcb53a643@pp.dyndns.biz> <20230906121433.36725b91@happy.dwarf7.net> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; amd64-portbld-freebsd13.2) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.09 / 15.00]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.86)[-0.856]; NEURAL_HAM_MEDIUM(-0.83)[-0.831]; R_DKIM_ALLOW(-0.20)[optonline.net:s=dkim-002]; R_SPF_ALLOW(-0.20)[+ip4:65.20.63.0/24]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; FREEMAIL_FROM(0.00)[optonline.net]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:31898, ipnet:65.20.63.0/24, country:US]; FREEMAIL_ENVFROM(0.00)[optonline.net]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[optonline.net:+]; DMARC_NA(0.00)[optonline.net]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4RhPXf4Wr8z3Sq0 On Wed, 6 Sep 2023 12:14:33 -0400 Vlad Markov wrote: > On Mon, 4 Sep 2023 01:10:30 +0200 > Morgan Wesstr=C3=B6m wrote: >=20 > > On 2023-09-02 00:09, Vlad Markov wrote: =20 > > >=20 > > > I use portmaster to update my ports. Usually there are many ports nee= ding updating. Recently, portmaster requires a carriage return after finish= ing one update before it will resume. > > >=20 > > > I find that annoying. Is there a way to get it to just keep going? I = can see stopping on an error but not stopping on success. =20 > >=20 > > This is what I use for that exact purpose: > >=20 > > portmaster -aydbg > > =20 >=20 > Thanks, your post made me check my arguments to portmaster. The only time= s it requires a carriage return is if I use "-P" or "--packages". >=20 > The debug looks like this: >=20 > + distfiles_checked=3D: > + [ ! ' KhronosGroup-Vulkan-Loader-v1.3.262_GH0.tar.gz ' '=3D' ' KhronosG= roup-Vulkan-Loader-v1.3.263_GH0.tar.gz ' ] > + pm_wait_di_file_complete > + [ -z '' ] > + head -1 >=20 > I'll look more deeply at it. > --=20 What goes on is that DI_FILES is the empty string so head is waiting for so= me input which I give by entering a carriage return. I added a check for th= e empty string. It works for me. I am not sure what I encountered is a bug = or not. 1226 if [ -z "$di_file_complete" ] && [ -n "$DI_FILES" ] && [ `head -1= $D I_FILES` =3D '############' ]; then --=20 I dream of a better tomorrow, where chickens can cross the road and not be = questioned about their motives.=E2=80=9D =E2=80=93 Ralph Waldo Emerson