* bug#59913: branch master updated: Revert "gnu: make-linux-libre*: Remove input labels."
[not found] <167059225344.15591.17976801315617510996@vcs2.savannah.gnu.org>
@ 2022-12-09 19:18 ` Pierre Langlois
2022-12-09 20:06 ` Maxim Cournoyer
0 siblings, 1 reply; 5+ messages in thread
From: Pierre Langlois @ 2022-12-09 19:18 UTC (permalink / raw)
To: Maxim Cournoyer; +Cc: 59913
[-- Attachment #1: Type: text/plain, Size: 1035 bytes --]
Hi Maxim,
guix-commits@gnu.org writes:
> This is an automated email from the git hooks/post-receive script.
>
> apteryx pushed a commit to branch master
> in repository guix.
>
> The following commit(s) were added to refs/heads/master by this push:
> new 0ffa501f2b Revert "gnu: make-linux-libre*: Remove input labels."
> 0ffa501f2b is described below
>
> commit 0ffa501f2b3e83ae56e9c2bd31418439090e869a
> Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
> AuthorDate: Fri Dec 9 08:16:07 2022 -0500
>
> Revert "gnu: make-linux-libre*: Remove input labels."
>
> This reverts commit dfc6957a5af7d179d4618eb19d4f555c519bc6f2. git-bisect
> found it broke guix pull on non-x86_64 systems like powerpc64le, for reasons
> to investigate.
In case you've not seen, I noticed this as well and I /think/ worked out
what went wrong on https://issues.guix.gnu.org/59913.
Hopefully the report is helpful and you didn't spend too much time on it
if you've not seen it!
Thanks,
Pierre
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 519 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#59913: branch master updated: Revert "gnu: make-linux-libre*: Remove input labels."
2022-12-09 19:18 ` bug#59913: branch master updated: Revert "gnu: make-linux-libre*: Remove input labels." Pierre Langlois
@ 2022-12-09 20:06 ` Maxim Cournoyer
2022-12-09 21:33 ` Pierre Langlois
0 siblings, 1 reply; 5+ messages in thread
From: Maxim Cournoyer @ 2022-12-09 20:06 UTC (permalink / raw)
To: Pierre Langlois; +Cc: 59913
Hi Pierre,
Pierre Langlois <pierre.langlois@gmx.com> writes:
> Hi Maxim,
>
> guix-commits@gnu.org writes:
>
>> This is an automated email from the git hooks/post-receive script.
>>
>> apteryx pushed a commit to branch master
>> in repository guix.
>>
>> The following commit(s) were added to refs/heads/master by this push:
>> new 0ffa501f2b Revert "gnu: make-linux-libre*: Remove input labels."
>> 0ffa501f2b is described below
>>
>> commit 0ffa501f2b3e83ae56e9c2bd31418439090e869a
>> Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
>> AuthorDate: Fri Dec 9 08:16:07 2022 -0500
>>
>> Revert "gnu: make-linux-libre*: Remove input labels."
>>
>> This reverts commit dfc6957a5af7d179d4618eb19d4f555c519bc6f2. git-bisect
>> found it broke guix pull on non-x86_64 systems like powerpc64le, for reasons
>> to investigate.
>
> In case you've not seen, I noticed this as well and I /think/ worked out
> what went wrong on https://issues.guix.gnu.org/59913.
>
> Hopefully the report is helpful and you didn't spend too much time on it
> if you've not seen it!
Thanks for finding a solution! I was quite puzzled by the failure and
didn't have the time to investigate. We could rebase it on master with
a patch reverting the revert, and post it here to see what QA thinks
about it.
--
Thanks,
Maxim
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#59913: branch master updated: Revert "gnu: make-linux-libre*: Remove input labels."
2022-12-09 20:06 ` Maxim Cournoyer
@ 2022-12-09 21:33 ` Pierre Langlois
2022-12-13 9:52 ` bug#59913: [tentative PATCH] Failure to guix pull on aarch64 since recent make-linux-libre* Ludovic Courtès
0 siblings, 1 reply; 5+ messages in thread
From: Pierre Langlois @ 2022-12-09 21:33 UTC (permalink / raw)
To: Maxim Cournoyer; +Cc: Pierre Langlois, 59913
[-- Attachment #1: Type: text/plain, Size: 2629 bytes --]
Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
> Hi Pierre,
>
> Pierre Langlois <pierre.langlois@gmx.com> writes:
>
>> Hi Maxim,
>>
>> guix-commits@gnu.org writes:
>>
>>> This is an automated email from the git hooks/post-receive script.
>>>
>>> apteryx pushed a commit to branch master
>>> in repository guix.
>>>
>>> The following commit(s) were added to refs/heads/master by this push:
>>> new 0ffa501f2b Revert "gnu: make-linux-libre*: Remove input labels."
>>> 0ffa501f2b is described below
>>>
>>> commit 0ffa501f2b3e83ae56e9c2bd31418439090e869a
>>> Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
>>> AuthorDate: Fri Dec 9 08:16:07 2022 -0500
>>>
>>> Revert "gnu: make-linux-libre*: Remove input labels."
>>>
>>> This reverts commit dfc6957a5af7d179d4618eb19d4f555c519bc6f2. git-bisect
>>> found it broke guix pull on non-x86_64 systems like powerpc64le, for reasons
>>> to investigate.
>>
>> In case you've not seen, I noticed this as well and I /think/ worked out
>> what went wrong on https://issues.guix.gnu.org/59913.
>>
>> Hopefully the report is helpful and you didn't spend too much time on it
>> if you've not seen it!
>
> Thanks for finding a solution! I was quite puzzled by the failure and
> didn't have the time to investigate. We could rebase it on master with
> a patch reverting the revert, and post it here to see what QA thinks
> about it.
I'm not sure I follow, I'd suggest to revert the revert and then apply a
fix in the same commit, that way it can easily be reverted again if it's
problematic, that's probably what you meant already?
I think the following fix should do it, just to make sure the
`kernel-config' function returns #f on unsupported systems, as per its
docstring:
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 5ae6366593..2d0d1aa29f 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -781,8 +781,10 @@ (define* (kernel-config arch #:key variant)
ARCH and optionally VARIANT, or #f if there is no such configuration."
(let* ((name (string-append (if variant (string-append variant "-") "")
(if (string=? "i386" arch) "i686" arch) ".conf"))
- (file (string-append "linux-libre/" name)))
- (local-file (search-auxiliary-file file))))
+ (file (string-append "linux-libre/" name))
+ (config (search-auxiliary-file file)))
+ (and config
+ (local-file config))))
(define %default-extra-linux-options
`(;; Make the kernel config available at /proc/config.gz
WDYT?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 519 bytes --]
^ permalink raw reply related [flat|nested] 5+ messages in thread
* bug#59913: [tentative PATCH] Failure to guix pull on aarch64 since recent make-linux-libre*
2022-12-09 21:33 ` Pierre Langlois
@ 2022-12-13 9:52 ` Ludovic Courtès
2023-01-13 21:04 ` Maxim Cournoyer
0 siblings, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2022-12-13 9:52 UTC (permalink / raw)
To: Pierre Langlois; +Cc: 59913, Maxim Cournoyer
Hi,
Pierre Langlois <pierre.langlois@gmx.com> skribis:
> I'm not sure I follow, I'd suggest to revert the revert and then apply a
> fix in the same commit, that way it can easily be reverted again if it's
> problematic, that's probably what you meant already?
Sounds good to me. The commit log can be similar to the original one
(rather than “Revert: "Revert: "whatever"”), with a couple of lines
like:
This restores commit XYZ, with an additional fix for …
Fixes <https://issues.guix.gnu.org/59913>.
> I think the following fix should do it, just to make sure the
> `kernel-config' function returns #f on unsupported systems, as per its
> docstring:
>
> diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
> index 5ae6366593..2d0d1aa29f 100644
> --- a/gnu/packages/linux.scm
> +++ b/gnu/packages/linux.scm
> @@ -781,8 +781,10 @@ (define* (kernel-config arch #:key variant)
> ARCH and optionally VARIANT, or #f if there is no such configuration."
> (let* ((name (string-append (if variant (string-append variant "-") "")
> (if (string=? "i386" arch) "i686" arch) ".conf"))
> - (file (string-append "linux-libre/" name)))
> - (local-file (search-auxiliary-file file))))
> + (file (string-append "linux-libre/" name))
> + (config (search-auxiliary-file file)))
> + (and config
> + (local-file config))))
LGTM!
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#59913: [tentative PATCH] Failure to guix pull on aarch64 since recent make-linux-libre*
2022-12-13 9:52 ` bug#59913: [tentative PATCH] Failure to guix pull on aarch64 since recent make-linux-libre* Ludovic Courtès
@ 2023-01-13 21:04 ` Maxim Cournoyer
0 siblings, 0 replies; 5+ messages in thread
From: Maxim Cournoyer @ 2023-01-13 21:04 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: Pierre Langlois, 59913-done
Hello,
Ludovic Courtès <ludo@gnu.org> writes:
> Hi,
>
> Pierre Langlois <pierre.langlois@gmx.com> skribis:
>
>> I'm not sure I follow, I'd suggest to revert the revert and then apply a
>> fix in the same commit, that way it can easily be reverted again if it's
>> problematic, that's probably what you meant already?
>
> Sounds good to me. The commit log can be similar to the original one
> (rather than “Revert: "Revert: "whatever"”), with a couple of lines
> like:
>
> This restores commit XYZ, with an additional fix for …
>
> Fixes <https://issues.guix.gnu.org/59913>.
Commit restored as 4913ac74915c4229aeb3ca26a5f9920c759fb6a3, with
Pierre's fix (thanks!)
Closing.
--
Thanks,
Maxim
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-01-13 21:06 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <167059225344.15591.17976801315617510996@vcs2.savannah.gnu.org>
2022-12-09 19:18 ` bug#59913: branch master updated: Revert "gnu: make-linux-libre*: Remove input labels." Pierre Langlois
2022-12-09 20:06 ` Maxim Cournoyer
2022-12-09 21:33 ` Pierre Langlois
2022-12-13 9:52 ` bug#59913: [tentative PATCH] Failure to guix pull on aarch64 since recent make-linux-libre* Ludovic Courtès
2023-01-13 21:04 ` Maxim Cournoyer
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.