Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: Sebastian Weyer <sebastian.weyer@smile.fr>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/nushell: fix sparc64 build
Date: Wed, 10 Jan 2024 22:08:02 +0100	[thread overview]
Message-ID: <20240110220802.349862b1@windsurf> (raw)
In-Reply-To: <20240106133919.1586012-1-fontaine.fabrice@gmail.com>

On Sat,  6 Jan 2024 14:39:19 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> Fix the following build failure on sparc64 raised since bump to version
> 0.85 in commit 470f0fb1ec0bd2ba03340f2aea34891ca8d7739d:
> 
> error[E0308]: mismatched types
>    --> /home/autobuild/autobuild/instance-7/output-1/build/nushell-0.85.0/VENDOR/uucore/src/lib/features/fs.rs:121:16  
>     |
> 111 |     pub fn number_of_links(&self) -> u64 {
>     |                                      --- expected `u64` because of return type
> ...
> 121 |         return self.0.st_nlink;
>     |                ^^^^^^^^^^^^^^^ expected `u64`, found `u32`
>     |
> help: you can convert a `u32` to a `u64`
>     |
> 121 |         return self.0.st_nlink.into();
>     |                               +++++++
> 
> For more information about this error, try `rustc --explain E0308`.
> error: could not compile `uucore` (lib) due to previous error
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/f9f0287a8e39c65895014ca513ed25071f020add
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  .../0001-uucore-add-support-for-sparc64.patch | 57 +++++++++++++++++++
>  package/nushell/nushell.mk                    |  7 +++
>  2 files changed, 64 insertions(+)
>  create mode 100644 package/nushell/0001-uucore-add-support-for-sparc64.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2024-01-10 21:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-06 13:39 [Buildroot] [PATCH 1/1] package/nushell: fix sparc64 build Fabrice Fontaine
2024-01-10 21:08 ` Thomas Petazzoni via buildroot [this message]
2024-01-13 20:11 ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240110220802.349862b1@windsurf \
    --to=buildroot@buildroot.org \
    --cc=fontaine.fabrice@gmail.com \
    --cc=sebastian.weyer@smile.fr \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox