All of lore.kernel.org
 help / color / mirror / Atom feed
* v2023.01: u-boot-tools build failure
@ 2023-01-13 21:26 Fabio Estevam
  2023-01-13 21:28 ` Tom Rini
  0 siblings, 1 reply; 4+ messages in thread
From: Fabio Estevam @ 2023-01-13 21:26 UTC (permalink / raw)
  To: Peter Robinson, Simon Glass
  Cc: Otavio Salvador, Tom Rini, Marek Vasut, U-Boot-Denx

Hi,

I am trying to upgrade U-Boot to 2023.01 in OpenEmbedded, but I see
the following error when trying to build u-boot-tools:

| /bin/sh: line 1: tools/bmp_logo: No such file or directory

Reverting the commit below makes u-boot-tools build again:

commit 1cfba53ca46cade2dbf4e067afc8c19e72909a4b
Author: Peter Robinson <pbrobinson@gmail.com>
Date:   Thu Nov 24 14:05:59 2022 +0000

    config: tools only: add VIDEO to build bmp_logo

    Pre 2023.01 the bmp_logo was built as part of the tools-only_defconfig
    build, something changed and the VIDEO dep needed to build it
    is no longer pulled in so fix that by explicitly defining it.

    Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
    Reviewed-by: Simon Glass <sjg@chromium.org>

u-boot-tools-native builds fine though.

What would be the correct way to fix this?

Thanks,

Fabio Estevam

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: v2023.01: u-boot-tools build failure
  2023-01-13 21:26 v2023.01: u-boot-tools build failure Fabio Estevam
@ 2023-01-13 21:28 ` Tom Rini
  2023-01-13 23:36   ` Vagrant Cascadian
  0 siblings, 1 reply; 4+ messages in thread
From: Tom Rini @ 2023-01-13 21:28 UTC (permalink / raw)
  To: Fabio Estevam, Vagrant Cascadian
  Cc: Peter Robinson, Simon Glass, Otavio Salvador, Marek Vasut, U-Boot-Denx

[-- Attachment #1: Type: text/plain, Size: 1369 bytes --]

On Fri, Jan 13, 2023 at 06:26:00PM -0300, Fabio Estevam wrote:
> Hi,
> 
> I am trying to upgrade U-Boot to 2023.01 in OpenEmbedded, but I see
> the following error when trying to build u-boot-tools:
> 
> | /bin/sh: line 1: tools/bmp_logo: No such file or directory
> 
> Reverting the commit below makes u-boot-tools build again:
> 
> commit 1cfba53ca46cade2dbf4e067afc8c19e72909a4b
> Author: Peter Robinson <pbrobinson@gmail.com>
> Date:   Thu Nov 24 14:05:59 2022 +0000
> 
>     config: tools only: add VIDEO to build bmp_logo
> 
>     Pre 2023.01 the bmp_logo was built as part of the tools-only_defconfig
>     build, something changed and the VIDEO dep needed to build it
>     is no longer pulled in so fix that by explicitly defining it.
> 
>     Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
>     Reviewed-by: Simon Glass <sjg@chromium.org>
> 
> u-boot-tools-native builds fine though.
> 
> What would be the correct way to fix this?

Vagrant also hit this for Debian as Fedora cross-builds bmp_logo and
ships it in host tools, but the logo header files that we generate with
bmp_logo need the tool host built.  And the same flag, VIDEO_LOGO
(default y if VIDEO, basically) controls both the tool and the headers.
I think the first thing to figure out is if bmp_logo should be shipped
as a host tool, or not.

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: v2023.01: u-boot-tools build failure
  2023-01-13 21:28 ` Tom Rini
@ 2023-01-13 23:36   ` Vagrant Cascadian
  2023-01-15 19:34     ` Fabio Estevam
  0 siblings, 1 reply; 4+ messages in thread
From: Vagrant Cascadian @ 2023-01-13 23:36 UTC (permalink / raw)
  To: Tom Rini, Fabio Estevam
  Cc: Peter Robinson, Simon Glass, Otavio Salvador, Marek Vasut, U-Boot-Denx

[-- Attachment #1: Type: text/plain, Size: 1789 bytes --]

On 2023-01-13, Tom Rini wrote:
> On Fri, Jan 13, 2023 at 06:26:00PM -0300, Fabio Estevam wrote:
>> I am trying to upgrade U-Boot to 2023.01 in OpenEmbedded, but I see
>> the following error when trying to build u-boot-tools:
>> 
>> | /bin/sh: line 1: tools/bmp_logo: No such file or directory
>> 
>> Reverting the commit below makes u-boot-tools build again:
>> 
>> commit 1cfba53ca46cade2dbf4e067afc8c19e72909a4b
>> Author: Peter Robinson <pbrobinson@gmail.com>
>> Date:   Thu Nov 24 14:05:59 2022 +0000
>> 
>>     config: tools only: add VIDEO to build bmp_logo
>> 
>>     Pre 2023.01 the bmp_logo was built as part of the tools-only_defconfig
>>     build, something changed and the VIDEO dep needed to build it
>>     is no longer pulled in so fix that by explicitly defining it.
>> 
>>     Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
>>     Reviewed-by: Simon Glass <sjg@chromium.org>
>> 
>> u-boot-tools-native builds fine though.
>> 
>> What would be the correct way to fix this?
>
> Vagrant also hit this for Debian as Fedora cross-builds bmp_logo and
> ships it in host tools, but the logo header files that we generate with
> bmp_logo need the tool host built.  And the same flag, VIDEO_LOGO
> (default y if VIDEO, basically) controls both the tool and the headers.
> I think the first thing to figure out is if bmp_logo should be shipped
> as a host tool, or not.

FWIW, we have not shipped bmp_logo in Debian's u-boot-tools package, so
we have managed without it, though curious what the use-case might be.

It is disabled in Debian for now:

  https://salsa.debian.org/debian/u-boot/-/blob/debian/2023.01+dfsg-1/debian/patches/tools-disable-video-logo

... at least until a better fix comes along. :)

live well,
  vagrant

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: v2023.01: u-boot-tools build failure
  2023-01-13 23:36   ` Vagrant Cascadian
@ 2023-01-15 19:34     ` Fabio Estevam
  0 siblings, 0 replies; 4+ messages in thread
From: Fabio Estevam @ 2023-01-15 19:34 UTC (permalink / raw)
  To: Vagrant Cascadian, Peter Robinson
  Cc: Tom Rini, Simon Glass, Otavio Salvador, Marek Vasut, U-Boot-Denx

Hi Vagrant,

On Fri, Jan 13, 2023 at 8:37 PM Vagrant Cascadian <vagrant@debian.org> wrote:

> FWIW, we have not shipped bmp_logo in Debian's u-boot-tools package, so
> we have managed without it, though curious what the use-case might be.
>
> It is disabled in Debian for now:
>
>   https://salsa.debian.org/debian/u-boot/-/blob/debian/2023.01+dfsg-1/debian/patches/tools-disable-video-logo
>
> ... at least until a better fix comes along. :)

Thanks for sharing your input.

Peter,

Commit 1cfba53ca46c ("config: tools only: add VIDEO to build
bmp_logo") is causing issues
on Debian and OpenEmbedded.

How do you suggest we proceed?

Thanks

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-01-15 19:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-13 21:26 v2023.01: u-boot-tools build failure Fabio Estevam
2023-01-13 21:28 ` Tom Rini
2023-01-13 23:36   ` Vagrant Cascadian
2023-01-15 19:34     ` Fabio Estevam

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.