From nobody Sun Jan 28 18:08:13 2024 X-Original-To: freebsd-hackers@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 4TNKDH3FDgz5929N; Sun, 28 Jan 2024 18:08:15 +0000 (UTC) (envelope-from leres@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 4TNKDH2H7Dz4Xwd; Sun, 28 Jan 2024 18:08:15 +0000 (UTC) (envelope-from leres@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706465295; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Xd3ydOW1ClMWmmDN7bw9soQxEaCmZDTpn2LZT3scOvU=; b=AWyDppqsUpUXQmwhxlwehPGw26eZCabh/t4agcIyI449e9cr523zBGfZ6mP5mGB8H/2e1K fL7zbupCk2IGNtSIN0wSIsNk0rWSlczfko2N806pCxD5zNeoh74BZ9fSqy6Y8XKjR4Z4g9 HWW5m79+aXAeYMMl/i4r1GG4I7BKp2EI4tkZB5rbSd1Hu8A1cZ2iqgSjnrmc9MzVp9W6WI a7DPDtm7aWP70yQacsEpPFDlTufyTWj1CXrAdKjx7ZcYYxq5qN3wn4gwMtUXTVDPjEYeIp dZs98rlb96FK68GgOKVExVTlAh1QdfHzItElUoLk0xPo39foBkvjKEtzAegkJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706465295; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Xd3ydOW1ClMWmmDN7bw9soQxEaCmZDTpn2LZT3scOvU=; b=vZc9D5xJdZvKn5p3Kf6L10qXvlPrgLm2MxXTdzxcZgvSSZyE5iwMnM8sxFoTqmk3WvAyhC vrdpVwSDQ2X3n/8s8MfkuMTbjS3V6llrWOK8gXhGT84wB+8qf51xeZ26Gcd0k+xqI+rzsB 5NpRX6ckgbl+24gzPdWAVQg4Ykg8vd373k3IluP26/bCi58QH7O0Kf5+JCaPzj8Sd+0Pa/ mboeWUJWJLL0WLYbTdFiQidEUQJkg3cfvm/iccHZbiBG/GMTd0y9sunfpbl53aPyQLugYu yyblsSmqdjMsVi5pf+/VDMHq6h3DGX4B/I5TMxxhkqTJTA3iqLJFMUeCSW2/3w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706465295; a=rsa-sha256; cv=none; b=MHK4xmALW4TvHpQ0pWswczdNLo5Uc/Xb+kOr34InPPeFuOVLmQF/M3wIn0mg7NzaZmykJt G6sIVTdkzmorXEB+QUChvSTLCnoYKNVBKox5ZUoATCrHIrwj38TT9JkDDJN6Id/A8dq8PU ickGhD6sMXGk6Y86KvuN195KbdwkkcGiRupcFaSHUzqVI+PCqdH1Fw8+JfpN9FUUTgiVp4 teLdpiBJd+5nSRgXBc5KlGmLMEyLrCa0k7LqgW/RscEb09AlnjCsVxv32odr2/gnrpIsNY FTNS0mFWSNI0heqfnKu0kj3LJHtTIDu3k1htkKeFa4bv6UfQrqe4epxMdD86aA== Received: from [IPV6:fd:1965::2] (unknown [IPv6:2600:1700:ab1b:6800:2e0:edff:fece:8f27]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: leres) by smtp.freebsd.org (Postfix) with ESMTPSA id 4TNKDG5kgtzZ8d; Sun, 28 Jan 2024 18:08:14 +0000 (UTC) (envelope-from leres@freebsd.org) Message-ID: <2840a1c8-839c-480f-a0db-42235bf7581e@freebsd.org> Date: Sun, 28 Jan 2024 10:08:13 -0800 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: set : illegal option -o pipefail error while trying to upgrade pkg. Content-Language: en-US To: Warner Losh , Mario Marietto Cc: FreeBSD Mailing List , freebsd-hackers References: From: Craig Leres In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 1/28/24 09:55, Warner Losh wrote: > On Sun, Jan 28, 2024 at 10:53 AM Warner Losh > wrote: > > OK. On your 10.x arm system, you need to build /bin/sh using sources > from FreeBSD 13. > Binaries from 12 or 13 won't work on your 10.x system: libc doesn't > have the right symbols. > But source build against a 10.x system should work. That was my > suggestion. Too bad > pipefail didn't arrive until 14. So you'll need to build that on > your 14 system. > > ... need to build stable/14 on your 10.x system this should say. Rather > an important > detail I didn't catch on first proofreading. What about just copying /rescue/sh from a new enough system? My build server is 13.2 but it has a 14.0-RELEASE-p4 poudriere jail and the sh from that runs on 13.2 at least (and has pipefail). I tried to test with an older version of FreeBSD but it looks like my spare machine is too new for its usb keyboard to work with FreeBSD 10 or 11... Craig