From: Peter Korsgaard <peter@korsgaard.com>
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: Sat, 13 Jan 2024 21:11:11 +0100 [thread overview]
Message-ID: <87ttnhro2o.fsf@48ers.dk> (raw)
In-Reply-To: <20240106133919.1586012-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sat, 6 Jan 2024 14:39:19 +0100")
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> 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>
Committed to 2023.11.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2024-01-13 20:11 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
2024-01-13 20:11 ` Peter Korsgaard [this message]
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=87ttnhro2o.fsf@48ers.dk \
--to=peter@korsgaard.com \
--cc=buildroot@buildroot.org \
--cc=fontaine.fabrice@gmail.com \
--cc=sebastian.weyer@smile.fr \
/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