* [PATCH 1/2] vm/sys/net: build against pkgsMusl
@ 2025-10-12 22:27 Yureka Lilian
2025-10-12 22:27 ` [PATCH 2/2] lib/nixpkgs.default.nix: update to staging-next Yureka Lilian
2025-10-31 11:17 ` [PATCH 1/2] vm/sys/net: build against pkgsMusl Alyssa Ross
0 siblings, 2 replies; 9+ messages in thread
From: Yureka Lilian @ 2025-10-12 22:27 UTC (permalink / raw)
To: devel; +Cc: Yureka Lilian, Alyssa Ross
Some of the following changes do not work with pkgsStatic,
specifically it is difficult to link libbpf statically[1].
[1] https://lists.fedorahosted.org/archives/list/elfutils-devel@lists.fedorahosted.org/thread/CMDG6FPJGD4UWNQOFKZPCKUSZ4NSM7D5/
Signed-off-by: Yureka Lilian <yureka@cyberchaos.dev>
Reviewed-by: Alyssa Ross <hi@alyssa.is>
---
vm/sys/net/default.nix | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/vm/sys/net/default.nix b/vm/sys/net/default.nix
index b8dc964..4cdb1c4 100644
--- a/vm/sys/net/default.nix
+++ b/vm/sys/net/default.nix
@@ -2,8 +2,8 @@
# SPDX-FileCopyrightText: 2021-2023 Alyssa Ross <hi@alyssa.is>
import ../../../lib/call-package.nix (
-{ spectrum-build-tools, src, terminfo, pkgsStatic }:
-pkgsStatic.callPackage (
+{ spectrum-build-tools, src, terminfo, pkgsMusl }:
+pkgsMusl.callPackage (
{ lib, stdenvNoCC, nixos, runCommand, writeClosure
, erofs-utils, jq, s6-rc, util-linux, xorg
--
2.51.0
^ permalink raw reply related [flat|nested] 9+ messages in thread* [PATCH 2/2] lib/nixpkgs.default.nix: update to staging-next
2025-10-12 22:27 [PATCH 1/2] vm/sys/net: build against pkgsMusl Yureka Lilian
@ 2025-10-12 22:27 ` Yureka Lilian
2025-10-21 16:00 ` Alyssa Ross
` (2 more replies)
2025-10-31 11:17 ` [PATCH 1/2] vm/sys/net: build against pkgsMusl Alyssa Ross
1 sibling, 3 replies; 9+ messages in thread
From: Yureka Lilian @ 2025-10-12 22:27 UTC (permalink / raw)
To: devel; +Cc: Yureka Lilian
Signed-off-by: Yureka Lilian <yureka@cyberchaos.dev>
---
lib/nixpkgs.default.nix | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/nixpkgs.default.nix b/lib/nixpkgs.default.nix
index c119aef..ff5b679 100644
--- a/lib/nixpkgs.default.nix
+++ b/lib/nixpkgs.default.nix
@@ -4,6 +4,6 @@
# Generated by scripts/update-nixpkgs.sh.
import (builtins.fetchTarball {
- url = "https://github.com/NixOS/nixpkgs/archive/a870b7409045459d9a4011ddd6a42acbb2faed9c.tar.gz";
- sha256 = "0a2plvg99na3g9ma17lq77mc6vxjn4nazf0zpdjmaj869b1dg4fn";
+ url = "https://github.com/NixOS/nixpkgs/archive/c91d2da044a9e4af299c989ca9d395ae53dd65cf.tar.gz";
+ sha256 = "1xlvihrr1m3zxy3bwjr0lp8fkfn5b2kra52x8264bl75b30kcwa5";
})
--
2.51.0
^ permalink raw reply related [flat|nested] 9+ messages in thread* Re: [PATCH 2/2] lib/nixpkgs.default.nix: update to staging-next
2025-10-12 22:27 ` [PATCH 2/2] lib/nixpkgs.default.nix: update to staging-next Yureka Lilian
@ 2025-10-21 16:00 ` Alyssa Ross
2025-10-26 9:09 ` Alyssa Ross
2025-10-31 11:17 ` Alyssa Ross
2 siblings, 0 replies; 9+ messages in thread
From: Alyssa Ross @ 2025-10-21 16:00 UTC (permalink / raw)
To: Yureka Lilian; +Cc: devel
[-- Attachment #1: Type: text/plain, Size: 1143 bytes --]
Yureka Lilian <yureka@cyberchaos.dev> writes:
> Signed-off-by: Yureka Lilian <yureka@cyberchaos.dev>
> ---
> lib/nixpkgs.default.nix | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Alyssa Ross <hi@alyssa.is>
Very grateful to have somebody else having taken care of a Nixpkgs
update. I'm hoping we can get a fix for the BPF x86_64 issue before I
apply this so that the builders can do a complete build. It sounds like
Demi should have a new patch soon.
> diff --git a/lib/nixpkgs.default.nix b/lib/nixpkgs.default.nix
> index c119aef..ff5b679 100644
> --- a/lib/nixpkgs.default.nix
> +++ b/lib/nixpkgs.default.nix
> @@ -4,6 +4,6 @@
> # Generated by scripts/update-nixpkgs.sh.
>
> import (builtins.fetchTarball {
> - url = "https://github.com/NixOS/nixpkgs/archive/a870b7409045459d9a4011ddd6a42acbb2faed9c.tar.gz";
> - sha256 = "0a2plvg99na3g9ma17lq77mc6vxjn4nazf0zpdjmaj869b1dg4fn";
> + url = "https://github.com/NixOS/nixpkgs/archive/c91d2da044a9e4af299c989ca9d395ae53dd65cf.tar.gz";
> + sha256 = "1xlvihrr1m3zxy3bwjr0lp8fkfn5b2kra52x8264bl75b30kcwa5";
> })
> --
> 2.51.0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: [PATCH 2/2] lib/nixpkgs.default.nix: update to staging-next
2025-10-12 22:27 ` [PATCH 2/2] lib/nixpkgs.default.nix: update to staging-next Yureka Lilian
2025-10-21 16:00 ` Alyssa Ross
@ 2025-10-26 9:09 ` Alyssa Ross
2025-10-26 9:18 ` Demi Marie Obenour
2025-10-29 20:05 ` Alyssa Ross
2025-10-31 11:17 ` Alyssa Ross
2 siblings, 2 replies; 9+ messages in thread
From: Alyssa Ross @ 2025-10-26 9:09 UTC (permalink / raw)
To: Yureka Lilian; +Cc: devel
[-- Attachment #1: Type: text/plain, Size: 1300 bytes --]
Yureka Lilian <yureka@cyberchaos.dev> writes:
> Signed-off-by: Yureka Lilian <yureka@cyberchaos.dev>
> ---
> lib/nixpkgs.default.nix | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
I'm seeing a timeout in the networking test in
release/checks/integration with this patch applied. I'll try bisecting,
but I get the impression you might have the resources to be able to do
that faster, if you want to try to beat me.
Note that the default timeout on aarch64 is quite high if you have good
hardware, so if you do try you might want to adjust it to something more
raesonable. (On my MacBook Pro it takes under two minutes.)
> diff --git a/lib/nixpkgs.default.nix b/lib/nixpkgs.default.nix
> index c119aef..ff5b679 100644
> --- a/lib/nixpkgs.default.nix
> +++ b/lib/nixpkgs.default.nix
> @@ -4,6 +4,6 @@
> # Generated by scripts/update-nixpkgs.sh.
>
> import (builtins.fetchTarball {
> - url = "https://github.com/NixOS/nixpkgs/archive/a870b7409045459d9a4011ddd6a42acbb2faed9c.tar.gz";
> - sha256 = "0a2plvg99na3g9ma17lq77mc6vxjn4nazf0zpdjmaj869b1dg4fn";
> + url = "https://github.com/NixOS/nixpkgs/archive/c91d2da044a9e4af299c989ca9d395ae53dd65cf.tar.gz";
> + sha256 = "1xlvihrr1m3zxy3bwjr0lp8fkfn5b2kra52x8264bl75b30kcwa5";
> })
> --
> 2.51.0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: [PATCH 2/2] lib/nixpkgs.default.nix: update to staging-next
2025-10-26 9:09 ` Alyssa Ross
@ 2025-10-26 9:18 ` Demi Marie Obenour
2025-10-26 9:24 ` Alyssa Ross
2025-10-29 20:05 ` Alyssa Ross
1 sibling, 1 reply; 9+ messages in thread
From: Demi Marie Obenour @ 2025-10-26 9:18 UTC (permalink / raw)
To: Alyssa Ross, Yureka Lilian; +Cc: devel
[-- Attachment #1.1.1: Type: text/plain, Size: 821 bytes --]
On 10/26/25 05:09, Alyssa Ross wrote:
> Yureka Lilian <yureka@cyberchaos.dev> writes:
>
>> Signed-off-by: Yureka Lilian <yureka@cyberchaos.dev>
>> ---
>> lib/nixpkgs.default.nix | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> I'm seeing a timeout in the networking test in
> release/checks/integration with this patch applied. I'll try bisecting,
> but I get the impression you might have the resources to be able to do
> that faster, if you want to try to beat me.
I wonder if this is not a new bug, but rather a pre-existing race
being exposed. I have run into this before on x86.
I think it would be better to actually figure out what is happening.
One option would be allow the person running the tests to break into
a shell.
--
Sincerely,
Demi Marie Obenour (she/her/hers)
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 7253 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 2/2] lib/nixpkgs.default.nix: update to staging-next
2025-10-26 9:18 ` Demi Marie Obenour
@ 2025-10-26 9:24 ` Alyssa Ross
0 siblings, 0 replies; 9+ messages in thread
From: Alyssa Ross @ 2025-10-26 9:24 UTC (permalink / raw)
To: Demi Marie Obenour, Yureka Lilian; +Cc: devel
[-- Attachment #1: Type: text/plain, Size: 1223 bytes --]
Demi Marie Obenour <demiobenour@gmail.com> writes:
> On 10/26/25 05:09, Alyssa Ross wrote:
>> Yureka Lilian <yureka@cyberchaos.dev> writes:
>>
>>> Signed-off-by: Yureka Lilian <yureka@cyberchaos.dev>
>>> ---
>>> lib/nixpkgs.default.nix | 4 ++--
>>> 1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> I'm seeing a timeout in the networking test in
>> release/checks/integration with this patch applied. I'll try bisecting,
>> but I get the impression you might have the resources to be able to do
>> that faster, if you want to try to beat me.
> I wonder if this is not a new bug, but rather a pre-existing race
> being exposed. I have run into this before on x86.
>
> I think it would be better to actually figure out what is happening.
> One option would be allow the person running the tests to break into
> a shell.
Interesting — I haven't. It should be possible to get a shell by
entering the nix-shell for release/checks/integration, running the test
with meson test -v networking, and then running vm-console in the
graphical QEMU that spawns.
I'd be a bit surprised if this turns out to be the same issue, since
this happens consistently, but I guess not /that/ surprised.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 2/2] lib/nixpkgs.default.nix: update to staging-next
2025-10-26 9:09 ` Alyssa Ross
2025-10-26 9:18 ` Demi Marie Obenour
@ 2025-10-29 20:05 ` Alyssa Ross
1 sibling, 0 replies; 9+ messages in thread
From: Alyssa Ross @ 2025-10-29 20:05 UTC (permalink / raw)
To: Yureka Lilian; +Cc: devel
[-- Attachment #1: Type: text/plain, Size: 546 bytes --]
Alyssa Ross <hi@alyssa.is> writes:
> Yureka Lilian <yureka@cyberchaos.dev> writes:
>
>> Signed-off-by: Yureka Lilian <yureka@cyberchaos.dev>
>> ---
>> lib/nixpkgs.default.nix | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> I'm seeing a timeout in the networking test in
> release/checks/integration with this patch applied. I'll try bisecting,
> but I get the impression you might have the resources to be able to do
> that faster, if you want to try to beat me.
https://lore.kernel.org/regressions/87y0ota32b.fsf@alyssa.is/
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 2/2] lib/nixpkgs.default.nix: update to staging-next
2025-10-12 22:27 ` [PATCH 2/2] lib/nixpkgs.default.nix: update to staging-next Yureka Lilian
2025-10-21 16:00 ` Alyssa Ross
2025-10-26 9:09 ` Alyssa Ross
@ 2025-10-31 11:17 ` Alyssa Ross
2 siblings, 0 replies; 9+ messages in thread
From: Alyssa Ross @ 2025-10-31 11:17 UTC (permalink / raw)
To: Yureka Lilian, devel; +Cc: Yureka Lilian
This patch has been committed as 57d800d6645aafb742d6e22bdc6e99fd68f06188,
which can be viewed online at
https://spectrum-os.org/git/spectrum/commit/?id=57d800d6645aafb742d6e22bdc6e99fd68f06188.
This is an automated message. Send comments/questions/requests to:
Alyssa Ross <hi@alyssa.is>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/2] vm/sys/net: build against pkgsMusl
2025-10-12 22:27 [PATCH 1/2] vm/sys/net: build against pkgsMusl Yureka Lilian
2025-10-12 22:27 ` [PATCH 2/2] lib/nixpkgs.default.nix: update to staging-next Yureka Lilian
@ 2025-10-31 11:17 ` Alyssa Ross
1 sibling, 0 replies; 9+ messages in thread
From: Alyssa Ross @ 2025-10-31 11:17 UTC (permalink / raw)
To: Yureka Lilian, devel; +Cc: Yureka Lilian, Alyssa Ross
This patch has been committed as 2bac0c01cd7184f584385647a5892beedae685a0,
which can be viewed online at
https://spectrum-os.org/git/spectrum/commit/?id=2bac0c01cd7184f584385647a5892beedae685a0.
This is an automated message. Send comments/questions/requests to:
Alyssa Ross <hi@alyssa.is>
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2025-10-31 11:17 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-12 22:27 [PATCH 1/2] vm/sys/net: build against pkgsMusl Yureka Lilian
2025-10-12 22:27 ` [PATCH 2/2] lib/nixpkgs.default.nix: update to staging-next Yureka Lilian
2025-10-21 16:00 ` Alyssa Ross
2025-10-26 9:09 ` Alyssa Ross
2025-10-26 9:18 ` Demi Marie Obenour
2025-10-26 9:24 ` Alyssa Ross
2025-10-29 20:05 ` Alyssa Ross
2025-10-31 11:17 ` Alyssa Ross
2025-10-31 11:17 ` [PATCH 1/2] vm/sys/net: build against pkgsMusl Alyssa Ross
Code repositories for project(s) associated with this public inbox
https://spectrum-os.org/git/crosvm
https://spectrum-os.org/git/doc
https://spectrum-os.org/git/mktuntap
https://spectrum-os.org/git/nixpkgs
https://spectrum-os.org/git/spectrum
https://spectrum-os.org/git/ucspi-vsock
https://spectrum-os.org/git/www
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).