From nobody Thu Feb 01 11:41:52 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 4TQcSl38qcz58T0c; Thu, 1 Feb 2024 11:41:59 +0000 (UTC) (envelope-from jamie@catflap.org) Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [IPv6:2001:19f0:7400:8808:123::1]) by mx1.freebsd.org (Postfix) with ESMTP id 4TQcSl0ZXCz4Fcl; Thu, 1 Feb 2024 11:41:58 +0000 (UTC) (envelope-from jamie@catflap.org) Authentication-Results: mx1.freebsd.org; none X-Catflap-Envelope-From: Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [209.250.224.51]) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5) with ESMTP id 411Bfqar057811; Thu, 1 Feb 2024 11:41:52 GMT (envelope-from jamie@donotpassgo.dyslexicfish.net) Received: (from jamie@localhost) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5/Submit) id 411Bfq9W057810; Thu, 1 Feb 2024 11:41:52 GMT (envelope-from jamie) From: Jamie Landeg-Jones Message-Id: <202402011141.411Bfq9W057810@donotpassgo.dyslexicfish.net> Date: Thu, 01 Feb 2024 11:41:52 +0000 Organization: Dyslexic Fish To: marietto2008@gmail.com, jamie@catflap.org Cc: wojtek@puchar.net, freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: set : illegal option -o pipefail error while trying to upgrade pkg. References: <80d527f-df83-5657-6a2a-262156e08440@puchar.net> <202401311216.40VCGZSo001051@donotpassgo.dyslexicfish.net> In-Reply-To: User-Agent: Heirloom mailx 12.4 7/29/08 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (donotpassgo.dyslexicfish.net [209.250.224.51]); Thu, 01 Feb 2024 11:41:52 +0000 (GMT) X-Rspamd-Queue-Id: 4TQcSl0ZXCz4Fcl X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:7400::/38, country:US] Mario Marietto wrote: > Can you tell me where should be stored the references to pipefail ? Maybe I > will try to remove them manually. Maybe your command does not work out of > the box. I juat tested it on an old 11.1 box and it worked. The various files are the ones listed in the command, under /usr/ports/Mk/Scripts - there are about 22 that contain mentions of pipefail, though not all will be relevent to your particilar cases. Yes, you can manually just delete the "set +o pipefail" and "set -o pipefail" commands as you find them, not forgetting the caveat mentioned in the previous mail that you may miss some errors that may occur during building.