[prev in list] [next in list] [prev in thread] [next in thread] 

List:       buildroot
Subject:    Re: [Buildroot] [PATCH v3 1/2] package/uutils-coreutils: new package
From:       Thomas Petazzoni via buildroot <buildroot () buildroot ! org>
Date:       2023-09-30 19:59:40
Message-ID: 20230930215940.7644e93c () windsurf
[Download RAW message or body]

On Fri, 17 Mar 2023 16:18:00 +0100
Sebastian Weyer <sebastian.weyer@smile.fr> wrote:

> This package is an implementation of coreutils written completely in rust.

Thanks for this patch. Unfortunately, it doesn't build. Tested on ARM,
it fails with:

The following warnings were emitted during compilation:

warning: arm-linux-g++.br_real: error: unrecognized command-line option ‘-m64'

error: failed to run custom build command for `uu_stdbuf_libstdbuf v0.0.21 \
(/home/thomas/projets/buildroot/output/build/uutils-coreutils-0.0.21/src/uu/stdbuf/src/libstdbuf)`


Caused by:
  process didn't exit successfully: \
`/home/thomas/projets/buildroot/output/build/uutils-coreutils-0.0.21/target/release/build/uu_stdbuf_libstdbuf-a77654d14689edab/build-script-build` \
(exit status: 1)

So, some C++ code gets built with ARM cross-compiler, but with a -m64
option that doesn't make sense on ARM.

Note: it failed with 0.0.17 which was used in your patch, so I updated
to 0.0.21 (as you can see in the log above), but it fails in a similar
way.

Also, your patch will have to be updated for 0.0.21, and I think your 2
patches can be combined into one by changing:

install: build manpages completions

to just:

install:

Could you have a look, and send an updated patch?

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic