From nobody Sun Jan 28 16:20:03 2024 X-Original-To: freebsd-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 4TNGqx6fCgz58s68 for ; Sun, 28 Jan 2024 16:20:29 +0000 (UTC) (envelope-from void@f-m.fm) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (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 4TNGqx0zHBz4HYy for ; Sun, 28 Jan 2024 16:20:29 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm3 header.b=T469a4U7; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=YwgdjBOF; dmarc=pass (policy=none) header.from=f-m.fm; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 64.147.123.25 as permitted sender) smtp.mailfrom=void@f-m.fm Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id D1BA33200AAE for ; Sun, 28 Jan 2024 11:20:26 -0500 (EST) Received: from imap46 ([10.202.2.96]) by compute6.internal (MEProxy); Sun, 28 Jan 2024 11:20:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1706458826; x=1706545226; bh=xCEzh2Aymf Xy0nJcUNLwSyg6Ek0636bdkjxCSYRdxbs=; b=T469a4U7/CKrX8+G3QcwWqN2wI RIKdysZJPGHXf4jedtwBh8/Ud53xaXaL4BocU4QQ6GkVMY+evL2kUuVYda8ZFx0w UYLVSmN61pSEwmrVtZZFx0vRpeJ91UDkeiTb8aVbosqymrhtAWMmZFor2OTj7bK7 oPhUiNj5dVvQL9tozYVV3S518fuz4RPsZ2YlckwVlbGjilbfQAhZX35vPfQTv6z9 H96XVavOybldNOneId+6Hs6+LRvZNH3/7xTpPwTv/mn5nc8wAkMyCameUYdIkros o2FK6OGKQNF9HW6GBznATORt6z6uhhVTs/6Dy725Iaql2p8r1e9barhsZPPg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1706458826; x=1706545226; bh=xCEzh2AymfXy0nJcUNLwSyg6Ek06 36bdkjxCSYRdxbs=; b=YwgdjBOFBkc1mTYDk40Ejgl4o7pOCCYw+DjzosP60wFi BPaqKEx0ozoEL1jULnI5xQAaJdUV0t6ZArB5j2NMazgAyVw6GZeZWYyKhkLcSvlV AR0ySEUTKvkqQ528LHiV2cxaiUVol8dhts/mo3M6HoYRJCLn6BlcE3+hZve7i8pJ xG3IdgfU42bUt73wT4ZQzPzcq4NhDCpUefus68Qlkdyj14Nzlegy6NAcg7rD/JHM 7Gdz+zMRCqXSwdjTrR4mtUDEBAmHG25v9TGbtaSEUiCgy3Do/WMCQIaWINgYS1SG 8GtOTqAfiL2n6G9qT9tt0e3qKXFszExLSWYboGMWaA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrfedtvddgkeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsehttd ertderredtnecuhfhrohhmpehvohhiugcuoehvohhiugesfhdqmhdrfhhmqeenucggtffr rghtthgvrhhnpeeitedvueehtdehtddvhfeuhfevhedvieelvdeiffehveelheegfedule ejudekvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pehvohhiugesfhdqmhdrfhhm X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 180372A2008B; Sun, 28 Jan 2024 11:20:26 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-119-ga8b98d1bd8-fm-20240108.001-ga8b98d1b 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 Message-Id: <7a10cd38-1c4c-4d27-9b6f-3dce729d3a6a@app.fastmail.com> In-Reply-To: References: Date: Sun, 28 Jan 2024 16:20:03 +0000 From: void To: freebsd-questions Subject: Re: set : illegal option -o pipefail error while trying to upgrade pkg. Content-Type: text/plain X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.49 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; RWL_MAILSPIKE_EXCELLENT(-0.40)[64.147.123.25:from]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm3,messagingengine.com:s=fm3]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.25]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.25:from]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:29838, ipnet:64.147.123.0/24, country:US]; FROM_HAS_DN(0.00)[]; TO_DN_ALL(0.00)[]; FREEMAIL_FROM(0.00)[f-m.fm]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[f-m.fm] X-Rspamd-Queue-Id: 4TNGqx0zHBz4HYy On Sun, 28 Jan 2024, at 14:33, Mario Marietto wrote: > Using sh of FreeBSD 12.04 : > > /bin/sh : Undefined symbol "stat@FBSD_1.5" > > nothing to do. Maybe copy the sh from /rescue? it's statically-linked % file /rescue/sh /rescue/sh: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), statically linked, for FreeBSD 15.0 (1500012), FreeBSD-style, stripped % file /bin/sh /bin/sh: ELF 64-bit LSB pie executable, x86-64, version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 15.0 (1500012), FreeBSD-style, stripped --