[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK7LNASvgVBZ+zdPX4ExjbYc9rzSFm-VNoN_L=Q2aWj+t_mrnA@mail.gmail.com>
Date: Thu, 14 Sep 2023 13:58:25 +0900
From: Masahiro Yamada <masahiroy@...nel.org>
To: "chenxiang (M)" <chenxiang66@...ilicon.com>
Cc: linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Nicolas Schier <nicolas@...sle.eu>
Subject: Re: [PATCH 11/19] kbuild: rpm-pkg: use a dummy string for _arch when undefined
On Tue, Sep 12, 2023 at 4:09 PM chenxiang (M) <chenxiang66@...ilicon.com> wrote:
>
> Hi,
>
> I build the latest kernel (6.6-rc1) for arm64 platform on x86 server
> (with cross complile), and the complile command is as following:
>
> export
> PATH=$PATH:/opt/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu/bin/
> export ARCH=arm64
> export CROSS_COMPILE=aarch64-linux-gnu-
>
> make -j64 Image (ok)
>
> make binrpm-pkg -j64 (failed)
>
> But when complile binrpm-pkg, it is failed and the error info is as
> following:
>
> rpmbuild -bb kernel.spec --define='_topdir
> /home/chenxiang/kernel/mainline/linux-next/rpmbuild' --target
> aarch64-linux --build-in-place --noprep --define='_smp_mflags %{nil}'
> $(rpm -q rpm >/dev/null 2>&1 || echo --nodeps) --without devel
> rpmbuild: --build-in-place: unknown option
I cannot reproduce it on my build environment,
but the error message:
rpmbuild: --build-in-place: unknown option
describes the issue.
Which version of rpmbuild did you use?
Using a newer version fixes the issue?
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists