Date: Sun, 19 Oct 2025 11:09:57 +0800 From: Vanilla Hsu <vanilla@fatpipi.com> To: Po-Chuan Hsieh <sunpoet@freebsd.org> Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 482cadcb0741 - main - shells/bash-completion: Fix 'make extract' on riscv64 Message-ID: <CAB_qb6__C4dvoHdV_N69NKxdLYVL0FBv51VrL2S3=GW5jMJ3nA@mail.gmail.com> In-Reply-To: <202510190007.59J074rt099184@gitrepo.freebsd.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] it builded failure on my box, --- root@nat:/usr/ports/shells/bash-completion # make make: /usr/ports/shells/bash-completion/Makefile:19: Variable "ARCH" is undefined make: Fatal errors encountered -- cannot continue make: stopped making "all" in /usr/ports/shells/bash-completion -- Po-Chuan Hsieh <sunpoet@freebsd.org> 於 2025年10月19日 週日 上午8:07寫道: > The branch main has been updated by sunpoet: > > URL: > https://cgit.FreeBSD.org/ports/commit/?id=482cadcb07419678f225eb4e1a941e0dfb43a4ea > > commit 482cadcb07419678f225eb4e1a941e0dfb43a4ea > Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> > AuthorDate: 2025-10-19 00:00:49 +0000 > Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> > CommitDate: 2025-10-19 00:00:49 +0000 > > shells/bash-completion: Fix 'make extract' on riscv64 > > PR: 289914 > Reported by: Meng Zhuo <mengzhuo@iscas.ac.cn> > --- > shells/bash-completion/Makefile | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/shells/bash-completion/Makefile > b/shells/bash-completion/Makefile > index 04f82d2f03a5..756ddedf803e 100644 > --- a/shells/bash-completion/Makefile > +++ b/shells/bash-completion/Makefile > @@ -16,6 +16,9 @@ TEST_DEPENDS= runtest:misc/dejagnu \ > > USES= autoreconf gmake pathfix tar:xz > > +.if ${ARCH} == riscv64 > +EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar > +.endif > GNU_CONFIGURE= yes > NO_ARCH= yes > > [-- Attachment #2 --] <div dir="ltr">it builded failure on my box,<div><br></div><div>---</div><div>root@nat:/usr/ports/shells/bash-completion # make<br>make: /usr/ports/shells/bash-completion/Makefile:19: Variable "ARCH" is undefined<br>make: Fatal errors encountered -- cannot continue<br>make: stopped making "all" in /usr/ports/shells/bash-completion<br></div><div>--</div><div><br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">Po-Chuan Hsieh <<a href="mailto:sunpoet@freebsd.org">sunpoet@freebsd.org</a>> 於 2025年10月19日 週日 上午8:07寫道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">The branch main has been updated by sunpoet:<br> <br> URL: <a href="https://cgit.FreeBSD.org/ports/commit/?id=482cadcb07419678f225eb4e1a941e0dfb43a4ea" rel="noreferrer" target="_blank">https://cgit.FreeBSD.org/ports/commit/?id=482cadcb07419678f225eb4e1a941e0dfb43a4ea</a><br> <br> commit 482cadcb07419678f225eb4e1a941e0dfb43a4ea<br> Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org><br> AuthorDate: 2025-10-19 00:00:49 +0000<br> Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org><br> CommitDate: 2025-10-19 00:00:49 +0000<br> <br> shells/bash-completion: Fix 'make extract' on riscv64<br> <br> PR: 289914<br> Reported by: Meng Zhuo <<a href="mailto:mengzhuo@iscas.ac.cn" target="_blank">mengzhuo@iscas.ac.cn</a>><br> ---<br> shells/bash-completion/Makefile | 3 +++<br> 1 file changed, 3 insertions(+)<br> <br> diff --git a/shells/bash-completion/Makefile b/shells/bash-completion/Makefile<br> index 04f82d2f03a5..756ddedf803e 100644<br> --- a/shells/bash-completion/Makefile<br> +++ b/shells/bash-completion/Makefile<br> @@ -16,6 +16,9 @@ TEST_DEPENDS= runtest:misc/dejagnu \<br> <br> USES= autoreconf gmake pathfix tar:xz<br> <br> +.if ${ARCH} == riscv64<br> +EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar<br> +.endif<br> GNU_CONFIGURE= yes<br> NO_ARCH= yes<br> <br> </blockquote></div>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAB_qb6__C4dvoHdV_N69NKxdLYVL0FBv51VrL2S3=GW5jMJ3nA>
