all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* U-boot update revert.
@ 2020-04-23 11:07 Mathieu Othacehe
  2020-04-23 18:56 ` Vagrant Cascadian
  0 siblings, 1 reply; 7+ messages in thread
From: Mathieu Othacehe @ 2020-04-23 11:07 UTC (permalink / raw)
  To: vagrant; +Cc: guix-devel


Hello Vagrant,

I reverted the U-Boot update to 2020.04 because it breaks the build of
u-boot-tools package. Could you please have a look?

Thanks,

Mathieu

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

* Re: U-boot update revert.
  2020-04-23 11:07 U-boot update revert Mathieu Othacehe
@ 2020-04-23 18:56 ` Vagrant Cascadian
  2020-04-23 19:15   ` Vagrant Cascadian
  0 siblings, 1 reply; 7+ messages in thread
From: Vagrant Cascadian @ 2020-04-23 18:56 UTC (permalink / raw)
  To: Mathieu Othacehe; +Cc: guix-devel

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

On 2020-04-23, Mathieu Othacehe wrote:
> I reverted the U-Boot update to 2020.04 because it breaks the build of
> u-boot-tools package. Could you please have a look?

Hrm. Pretty sure it worked locally when I committed it...

Unfortunately, won't have a chance to debug till next week; if anyone
else could look into it sooner that would be great!

live well,
  vagrant

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

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

* Re: U-boot update revert.
  2020-04-23 18:56 ` Vagrant Cascadian
@ 2020-04-23 19:15   ` Vagrant Cascadian
  2020-04-23 19:46     ` Pierre Langlois
  0 siblings, 1 reply; 7+ messages in thread
From: Vagrant Cascadian @ 2020-04-23 19:15 UTC (permalink / raw)
  To: Mathieu Othacehe; +Cc: guix-devel

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

On 2020-04-23, Vagrant Cascadian wrote:
> On 2020-04-23, Mathieu Othacehe wrote:
>> I reverted the U-Boot update to 2020.04 because it breaks the build of
>> u-boot-tools package. Could you please have a look?
>
> Hrm. Pretty sure it worked locally when I committed it...
>
> Unfortunately, won't have a chance to debug till next week; if anyone
> else could look into it sooner that would be great!

I did take the time to look at the failed build log:

  https://ci.guix.gnu.org/build/2602399/details

But the log just cuts off for no apparent reason during the unpack
phase... I don't think the new u-boot is at fault there.


It built successfully on i686, armhf and aarch64 ... and the failed
x86_64 test is mysteriously absent? hrm:

  https://ci.guix.gnu.org/search?query=u-boot-tools-2020.04

But that's not hugely surprising, given that tests are not run on those
architectures.

Honestly, the most of the test suite run for u-boot-tools is a generic
test suite for u-boot sandbox platforms, and most of the tests are
unrelated to what u-boot-tools actually provides, so I wonder if it's
even appropriate to run many of the tests as part of u-boot-tools...

I'm not really sure the best way forward here.


live well,
  vagrant

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

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

* Re: U-boot update revert.
  2020-04-23 19:15   ` Vagrant Cascadian
@ 2020-04-23 19:46     ` Pierre Langlois
  2020-04-23 19:59       ` Vincent Legoll
  0 siblings, 1 reply; 7+ messages in thread
From: Pierre Langlois @ 2020-04-23 19:46 UTC (permalink / raw)
  To: Vagrant Cascadian; +Cc: guix-devel

Hi Vagrant and Mathieu,

Vagrant Cascadian writes:

> On 2020-04-23, Vagrant Cascadian wrote:
>> On 2020-04-23, Mathieu Othacehe wrote:
>>> I reverted the U-Boot update to 2020.04 because it breaks the build of
>>> u-boot-tools package. Could you please have a look?
>>
>> Hrm. Pretty sure it worked locally when I committed it...
>>
>> Unfortunately, won't have a chance to debug till next week; if anyone
>> else could look into it sooner that would be great!
>
> I did take the time to look at the failed build log:
>
>   https://ci.guix.gnu.org/build/2602399/details
>
> But the log just cuts off for no apparent reason during the unpack
> phase... I don't think the new u-boot is at fault there.
>
>
> It built successfully on i686, armhf and aarch64 ... and the failed
> x86_64 test is mysteriously absent? hrm:
>
>   https://ci.guix.gnu.org/search?query=u-boot-tools-2020.04
>
> But that's not hugely surprising, given that tests are not run on those
> architectures.
>
> Honestly, the most of the test suite run for u-boot-tools is a generic
> test suite for u-boot sandbox platforms, and most of the tests are
> unrelated to what u-boot-tools actually provides, so I wonder if it's
> even appropriate to run many of the tests as part of u-boot-tools...
>
> I'm not really sure the best way forward here.

I noticed the revert today and got a chance to take a look, it seems
u-boot-tools can't find sdl2:

```
make[2]: sdl2-config: Command not found
make[2]: sdl2-config: Command not found
make[2]: sdl2-config: Command not found
make[2]: sdl2-config: Command not found
../arch/sandbox/cpu/sdl.c:10:10: fatal error: SDL2/SDL.h: No such file or directory
#include <SDL2/SDL.h>
          ^~~~~~~~~~~~
compilation terminated.
```

Switching u-boot's dependency on sdl to sdl2 fixed it for me locally!

I can send a patch tomorrow if nobody beats me to it :-)

Thanks,
Pierre

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

* Re: U-boot update revert.
  2020-04-23 19:46     ` Pierre Langlois
@ 2020-04-23 19:59       ` Vincent Legoll
  2020-04-24 22:00         ` [bug#40833] [PATCH] gnu: u-boot: Update to 2020.04 Pierre Langlois
  0 siblings, 1 reply; 7+ messages in thread
From: Vincent Legoll @ 2020-04-23 19:59 UTC (permalink / raw)
  To: Pierre Langlois, Vagrant Cascadian; +Cc: guix-devel

Hello,

On 23/04/2020 21:46, Pierre Langlois wrote:
 > Switching u-boot's dependency on sdl to sdl2 fixed it for me locally!
 >
 > I can send a patch tomorrow if nobody beats me to it :-)

The u-boot sandbox switched to SDL2 recently, see:

https://gitlab.denx.de/u-boot/u-boot/-/commit/96d0cd460430f18d0f22eead5409ed3dc53b4c4e

-- 
Vincent Legoll

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

* [bug#40833] [PATCH] gnu: u-boot: Update to 2020.04.
  2020-04-23 19:59       ` Vincent Legoll
@ 2020-04-24 22:00         ` Pierre Langlois
       [not found]           ` <877dy4eb0r.fsf@ponder>
  0 siblings, 1 reply; 7+ messages in thread
From: Pierre Langlois @ 2020-04-24 22:00 UTC (permalink / raw)
  To: 40833, vagrant, m.othacehe; +Cc: Vincent Legoll, Pierre Langlois

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

Hi all!

Vincent Legoll writes:

> Hello,
>
> On 23/04/2020 21:46, Pierre Langlois wrote:
>> Switching u-boot's dependency on sdl to sdl2 fixed it for me locally!
>>
>> I can send a patch tomorrow if nobody beats me to it :-)
>
> The u-boot sandbox switched to SDL2 recently, see:
>
> https://gitlab.denx.de/u-boot/u-boot/-/commit/96d0cd460430f18d0f22eead5409ed3dc53b4c4e

As promised, here's a patch to update u-boot again but with sdl switched
to sdl2.

Vagrant, I've kept you as the original author, and just added a
co-authored by note in the commit message, I think that's how we do
things right?

Thanks,
Pierre


[-- Attachment #2: 0001-gnu-u-boot-Update-to-2020.04.patch --]
[-- Type: text/x-patch, Size: 2115 bytes --]

From e2ccdcd01e520c1d37a91d81acd05fbdf5044243 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@debian.org>
Date: Tue, 14 Apr 2020 23:14:01 -0700
Subject: [PATCH] gnu: u-boot: Update to 2020.04.

* gnu/packages/bootloaders (u-boot): Update to 2020.04.
[native-inputs]: Replace sdl with sdl2.

Co-authored-by: Pierre Langlois <pierre.langlois@gmx.com>
---
 gnu/packages/bootloaders.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index 2a6e0707b2..666562762f 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -12,6 +12,7 @@
 ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
 ;;; Copyright © 2020 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
 ;;; Copyright © 2018, 2019, 2020 Vagrant Cascadian <vagrant@debian.org>
+;;; Copyright © 2020 Pierre Langlois <pierre.langlois@gmx.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -400,7 +401,7 @@ tree binary files.  These are board description files used by Linux and BSD.")
 (define u-boot
   (package
     (name "u-boot")
-    (version "2020.01")
+    (version "2020.04")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -408,7 +409,7 @@ tree binary files.  These are board description files used by Linux and BSD.")
                     "u-boot-" version ".tar.bz2"))
               (sha256
                (base32
-                "1w9ml4jl15q6ixpdqzspxjnl7d3rgxd7f99ms1xv5c8869h3qida"))))
+                "0wjkasnz87q86hx93inspdjfjsinmxi87bcvj30c773x0fpjlwzy"))))
     (native-inputs
      `(("bc" ,bc)
        ("bison" ,bison)
@@ -419,7 +420,7 @@ tree binary files.  These are board description files used by Linux and BSD.")
        ("python" ,python)
        ("python-coverage" ,python-coverage)
        ("python-pytest" ,python-pytest)
-       ("sdl" ,sdl)
+       ("sdl2" ,sdl2)
        ("swig" ,swig)))
     (build-system  gnu-build-system)
     (home-page "https://www.denx.de/wiki/U-Boot/")
-- 
2.26.2


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

* [bug#40833] [PATCH] gnu: u-boot: Update to 2020.04.
       [not found]           ` <877dy4eb0r.fsf@ponder>
@ 2020-04-26  9:42             ` Mathieu Othacehe
  0 siblings, 0 replies; 7+ messages in thread
From: Mathieu Othacehe @ 2020-04-26  9:42 UTC (permalink / raw)
  To: Vagrant Cascadian; +Cc: Vincent Legoll, Pierre Langlois, 40833


Hello!

> I flipped the author/co-author, since it was you who found the fix (I
> get the credit for breaking it :)
>
> Fix pushed to master.
>
> Thanks for the fix!

Closing the ticket opened by Pierre.

Thanks for taking care of this,

Mathieu

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

end of thread, other threads:[~2020-04-26  9:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-23 11:07 U-boot update revert Mathieu Othacehe
2020-04-23 18:56 ` Vagrant Cascadian
2020-04-23 19:15   ` Vagrant Cascadian
2020-04-23 19:46     ` Pierre Langlois
2020-04-23 19:59       ` Vincent Legoll
2020-04-24 22:00         ` [bug#40833] [PATCH] gnu: u-boot: Update to 2020.04 Pierre Langlois
     [not found]           ` <877dy4eb0r.fsf@ponder>
2020-04-26  9:42             ` Mathieu Othacehe

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

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.