From nobody Thu Jun 16 09:45:53 2022 X-Original-To: freebsd-current@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 F2EB783FB6D for ; Thu, 16 Jun 2022 09:45:58 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LNy3V4cgQz3pPJ; Thu, 16 Jun 2022 09:45:58 +0000 (UTC) (envelope-from se@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655372758; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=dTDvsrcGS3MH3joaFOd+kWlhrHfWo/6PlmWqtnikdmU=; b=mPzJyIggNWj3c4SzFaLAYCgpMR6LPUCyZeVw4pnO6V3JlDQOcbRSA93uIRid20hNZ1fbpX 9AaUAY9vKnNC0ciuMvJCsXQDSoIpDoq0kjsJ/FkndnwYcawdpVLetawrFZhLI7Y4Gah9Hg r//O8kDnH96ROIDR0uoHH05Wso7GsS5zpg7xPqbkozHt1cHpE4DBrX32lR33AS3m0Aw0kf mljNr/R338SMitVU37eQUVxHUlYgURsIJS0/tP4zYRdRvOPyczWN931bKgjGQHzpnWiu18 FlVYfJaJxfD/q3xm4h88EPMvYal+1p1+fO18k4n+Fl6KaSu3dMUR5KyPGS8ZkQ== Received: from [IPV6:2003:cd:5f17:8800:bde9:2858:8dd2:3c3e] (p200300cd5f178800bde928588dd23c3e.dip0.t-ipconnect.de [IPv6:2003:cd:5f17:8800:bde9:2858:8dd2:3c3e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: se/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 12C0B175D; Thu, 16 Jun 2022 09:45:57 +0000 (UTC) (envelope-from se@FreeBSD.org) Message-ID: <061a512b-d70e-782d-dba0-3860215522fa@FreeBSD.org> Date: Thu, 16 Jun 2022 11:45:53 +0200 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: How to supress prompt on bc 5.3.1,Re: How to supress prompt on bc 5.3.1 Content-Language: en-US To: Michael Butler References: <20220614.100141.1363594437311677262.ish@amail.plala.or.jp> <87k09j82zb.wl-herbert@gojira.at> <222ac8d4-3c57-745e-939d-bc0c325ede4f@FreeBSD.org> <20220616.074713.228633784522673985.ish@amail.plala.or.jp> From: Stefan Esser Cc: freebsd-current@freebsd.org In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------KjDVSWkgs7W4QQLtgugBhl0e" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655372758; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=dTDvsrcGS3MH3joaFOd+kWlhrHfWo/6PlmWqtnikdmU=; b=qRdchuz61FwRyzb4u0z38cEuhRfmeXo2LdTs02oXUlQgu7Oq01HMPgNzC7BdJAJWi4UHzX Fcj0WfvLekDyhVA7B15RpBIgjCYcQlznEhbZSe1RFulcFOGTO2PbHnlxxtMEbEKrxDpqW6 OYFHENiHBt2oOCmJWWUTGX7r4AB3MLntAsX9dSkFkYse67VvxgG/OUgDPjnT5bE+IuaPwn 18soEILKNrwFYpsFT/EeueVmTuurokwokRrtF/B9YJ/2Pocv0OOP37YgmV3kqqN7UzPml1 FrFABwSUWw1C8cvM3HVa2/EJZwX39wdXNEEPwxAAABnQKUsYazwIE+pTeCK1hQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655372758; a=rsa-sha256; cv=none; b=nHkE/rQ/1f4kFAJVcM/sgPgq9zqhDPunypnQuIZA9bKmF5fP0WzMS6fnT1UgrAssd3r5Is 8OkotzNAdN++I0wK1lVZDmeaaZSDhqyYw5CZc+62iSH1vUgZQDv3BrvJ4nauNojCNFYuO8 wlTLiCllZpd9qsbfXAjpSCElmOsZsiGLrROiuyJFfe+yJ4rnfR5FgRf/o2aOIkKm3Lg7hn bZejRhyWAn+Ppt50iaCjapwVMYBBsRAbOgiT6gKsXnXQvq6dbpA4cZvIShxdZdjKYFAYHZ E5m0qLsmJQYSXqrWilWhR3zRCWxvsrCKJL+IHcnh1CXoWbvZA7tr2j61eAQBTA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------KjDVSWkgs7W4QQLtgugBhl0e Content-Type: multipart/mixed; boundary="------------Mj7QZX6AHcZ0Kp9Gc1CcY3SV"; protected-headers="v1" From: Stefan Esser To: Michael Butler Cc: freebsd-current@freebsd.org Message-ID: <061a512b-d70e-782d-dba0-3860215522fa@FreeBSD.org> Subject: Re: How to supress prompt on bc 5.3.1,Re: How to supress prompt on bc 5.3.1 References: <20220614.100141.1363594437311677262.ish@amail.plala.or.jp> <87k09j82zb.wl-herbert@gojira.at> <222ac8d4-3c57-745e-939d-bc0c325ede4f@FreeBSD.org> <20220616.074713.228633784522673985.ish@amail.plala.or.jp> In-Reply-To: --------------Mj7QZX6AHcZ0Kp9Gc1CcY3SV Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am 16.06.22 um 03:22 schrieb Michael Butler: > On 6/15/22 18:47, Masachika ISHIZUKA wrote: >>>>> =C2=A0=C2=A0 I updated to master-n256084-5dd1f6f1441 (1400061) and = this >>>>> leads to bc to 5.3.1. >>>>> =C2=A0=C2=A0 Previosly, 'BC-ENV-APRG=3D-P' or 'bc -P' were working = but it >>>>> doesn't work on 5.3.1.=C2=A0 Is there any way to supress prompt ? >>>> >>>> This is fixed in 5.3.2: >>> >>> This version is already available as a port, but it cannot be >>> built in the base system at the default WARNS level. >>> >>> I had suggested a different patch that was tested in base and >>> have re-submitted that patch after noticing the issue with the >>> current code. >> >> =C2=A0=C2=A0 Thank you for commit. >> >> =C2=A0=C2=A0 'bc' 5.3.3 works fine on master-n256152-ce00b11940a. >=20 > There's still some remaining buildworld left-overs in /tmp from this se= ries of > updates .. >=20 > imb@toshi:/home/imb> ll /tmp/*tmp > -rw-r--r--=C2=A0 1 root=C2=A0 wheel=C2=A0 6768 Jun 15 12:18 /tmp/bc_hel= p.txt.XBwzl9An2r.tmp > -rw-r--r--=C2=A0 1 root=C2=A0 wheel=C2=A0 6768 Jun 15 11:26 /tmp/bc_hel= p.txt.zLR884lFpG.tmp > -rw-r--r--=C2=A0 1 root=C2=A0 wheel=C2=A0 5797 Jun 15 12:18 /tmp/dc_hel= p.txt.RGfFwWi2Yh.tmp > -rw-r--r--=C2=A0 1 root=C2=A0 wheel=C2=A0 5797 Jun 15 11:26 /tmp/dc_hel= p.txt.oltK8Dc7mR.tmp > -rw-r--r--=C2=A0 1 root=C2=A0 wheel=C2=A0 3416 Jun 15 12:18 /tmp/lib.bc= =2ENuspIZHi5s.tmp > -rw-r--r--=C2=A0 1 root=C2=A0 wheel=C2=A0 3416 Jun 15 11:26 /tmp/lib.bc= =2EwwZJr98NlN.tmp > -rw-r--r--=C2=A0 1 root=C2=A0 wheel=C2=A0 9069 Jun 15 11:26 /tmp/lib2.b= c.5ywBAhZgwg.tmp > -rw-r--r--=C2=A0 1 root=C2=A0 wheel=C2=A0 9069 Jun 15 12:18 /tmp/lib2.b= c.D4PYZlxfWk.tmp These left over files appear to be due to a commented-out "rm" at the end of scripts/functions.sh, probably due to debugging of recent changes in gen/genstr.sh: # Remove multiple blank lines. uniq "$_filter_text_temp" "$_filter_text_out" # Remove the temp file. #rm -rf "$_filter_text_temp" <---- # Reset IFS. IFS=3D"$_filter_text_ifs" } You can fix it locally by removing the "#" in front of that rm command. I'll contact the author of this software to get this fixed in his reposit= ory and will then import that change. (The author wants downstream versions t= o not diverge from his repository and I respect this wish.) Thank you for reporting this issue! Best regards, STefan --------------Mj7QZX6AHcZ0Kp9Gc1CcY3SV-- --------------KjDVSWkgs7W4QQLtgugBhl0e Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEo3HqZZwL7MgrcVMTR+u171r99UQFAmKq+9EFAwAAAAAACgkQR+u171r99USu LAf9Gx6ZxvQ8qs48+pbsKKS8j0ASMbse9N7fvLS+uJPTGzrGQs9qsAcHh21LRkPA3d/MxhjGeUyH 9G2TH5lVj6vYHbFiIT9tH7KY8RgYhBk1rHWC0kVVkoO3ZbaoDkcKTs5DHg+GQ+ETAwDm5SRfeaN9 lEDBY3A+3G7KdvWKqtYs/nUtNrOah43WGpg+awtOXEW6AdSUszhmNIMKTHiIIJvOlIro+IK+BCwz yuxes/ip8a0CsgwQSZD56yAhvibXP2b0O6mDiusSTMmB+hj3WokFemeVHo/aT6CCqzvTkpF75u7w SXKDnyJe83ge3uBSu6Mz/gta8quYgPJ36WTOISQm8Q== =Pa5i -----END PGP SIGNATURE----- --------------KjDVSWkgs7W4QQLtgugBhl0e--