Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jan 2024 01:11:15 +0100
From:      Mario Marietto <marietto2008@gmail.com>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>,  freebsd-hackers <freebsd-hackers@freebsd.org>
Subject:   set : illegal option -o pipefail error while trying to upgrade pkg.
Message-ID:  <CA%2B1FSijXJUDtkmf0KKEtCJ_cFhg4Htc_a=q1BWt9mtGV1T7oLw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hello.

I'm trying to upgrade as much as I can FreeBSD 10.4 because it is the only
one version that can compile some of the old arm 32 bit code I need to use
for one of my projects. As you already know,packages don't work at all,but
ports almost work. I was trying to install xfce4 from ports,but the
compilation stopped when it didn't accept this file :


http://distcache.FreeBSD.org/ports-distfiles/trousers-0.3.14.tar.gz


at this point,I decided to upgrade the system with :


# freebsd-update fetch
# freebsd-update install


and the ports tree with :


# portsnap fetch extract
# portsnap fetch update


At this point it asked me to update pkg,so I did :


# cd /usr/ports/ports-mgmt/pkg
# make


but unfortunately I got this error that I'm not able to fix :


set : illegal option -o pipefail


and I can't do anything anymore. I'm stuck here. Can someone help me to fix
it ? thanks.
-- 
Mario.

[-- Attachment #2 --]
<div dir="ltr"><div class="gmail-_3xX726aBn29LDbsDtzr_6E gmail-_1Ap4F5maDtT1E1YuCiaO0r gmail-D3IL3FD0RFy_mkKLPwL4" style="max-width:800px"><div class="gmail-_292iotee39Lmt0MkQZ2hPV gmail-RichTextJSON-root"><p class="gmail-_1qeIAgB0cPwnLhDF9XSiJM">Hello.</p><p class="gmail-_1qeIAgB0cPwnLhDF9XSiJM">I&#39;m
 trying to upgrade as much as I can FreeBSD 10.4 because it is the only one
 version that can compile some of the old arm 32 bit code I need to use 
for one of my projects. As you already know,packages don&#39;t work at 
all,but ports almost work. I was trying to install xfce4 from ports,but 
the compilation stopped when it didn&#39;t accept this file :</p><p class="gmail-_1qeIAgB0cPwnLhDF9XSiJM"><br></p><p class="gmail-_1qeIAgB0cPwnLhDF9XSiJM"><a href="http://distcache.FreeBSD.org/ports-distfiles/trousers-0.3.14.tar.gz" class="gmail-_3t5uN8xUmg0TOwRCOGQEcU" rel="noopener nofollow ugc" target="_blank">http://distcache.FreeBSD.org/ports-distfiles/trousers-0.3.14.tar.gz</a></p><p class="gmail-_1qeIAgB0cPwnLhDF9XSiJM"><br></p><p class="gmail-_1qeIAgB0cPwnLhDF9XSiJM">at this point,I decided to upgrade the system with :</p><p class="gmail-_1qeIAgB0cPwnLhDF9XSiJM"><br></p><pre class="gmail-_3GnarIQX9tD_qsgXkfSDz1"><code class="gmail-_34q3PgLsx9zIU5BiSOjFoM"># freebsd-update fetch
# freebsd-update install
</code></pre><p class="gmail-_1qeIAgB0cPwnLhDF9XSiJM"><br></p><p class="gmail-_1qeIAgB0cPwnLhDF9XSiJM">and the ports tree with :</p><p class="gmail-_1qeIAgB0cPwnLhDF9XSiJM"><br></p><pre class="gmail-_3GnarIQX9tD_qsgXkfSDz1"><code class="gmail-_34q3PgLsx9zIU5BiSOjFoM"># portsnap fetch extract
# portsnap fetch update
</code></pre><p class="gmail-_1qeIAgB0cPwnLhDF9XSiJM"><br></p><p class="gmail-_1qeIAgB0cPwnLhDF9XSiJM">At this point it asked me to update pkg,so I did :</p><p class="gmail-_1qeIAgB0cPwnLhDF9XSiJM"><br></p><pre class="gmail-_3GnarIQX9tD_qsgXkfSDz1"><code class="gmail-_34q3PgLsx9zIU5BiSOjFoM"># cd /usr/ports/ports-mgmt/pkg
# make
</code></pre><p class="gmail-_1qeIAgB0cPwnLhDF9XSiJM"><br></p><p class="gmail-_1qeIAgB0cPwnLhDF9XSiJM">but unfortunately I got this error that I&#39;m not able to fix :</p><p class="gmail-_1qeIAgB0cPwnLhDF9XSiJM"><br></p><pre class="gmail-_3GnarIQX9tD_qsgXkfSDz1"><code class="gmail-_34q3PgLsx9zIU5BiSOjFoM">set : illegal option -o pipefail
</code></pre><p class="gmail-_1qeIAgB0cPwnLhDF9XSiJM"><br></p><p class="gmail-_1qeIAgB0cPwnLhDF9XSiJM">and I can&#39;t do anything anymore. I&#39;m stuck here. Can someone help me to fix it ?  thanks.</p></div></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Mario.<br></div></div>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B1FSijXJUDtkmf0KKEtCJ_cFhg4Htc_a=q1BWt9mtGV1T7oLw>