!atvIbxHoEqNcAIxYpN:nixos.org

NixOS AWS

64 Members
14 Servers

Load older messages


SenderMessageTime
21 Mar 2025
@adam:robins.wtf@adam:robins.wtf I think it’s because GitHub considers that repo a fork  11:41:38
@adam:robins.wtf@adam:robins.wtf Can you fetch that branch or commit with git directly? 11:41:54
@adam:robins.wtf@adam:robins.wtf * Can you fetch that tag or commit with git directly? 11:42:11
@arianvp:matrix.orgArianNope. I can't :/15:12:46
@arianvp:matrix.orgArianUnable to checkout refs/tags/microvm-kernel-6.1.8.....15:13:09
@arianvp:matrix.orgArianOh I made a typo 15:13:34
@arianvp:matrix.orgArianOkay trying with fetchgit now. Just very slow15:14:36
@arianvp:matrix.orgArianYep worked. Thanks15:15:22
27 Mar 2025
@arianvp:matrix.orgArian @commiterate:matrix.org: do you remember why you added zstd as a buildInput to fluent-bit? Fluent-bit started vendoring libzstd-1.5.7 in their tree but because we add zstd to buildInputs and nixos has a different version it somehow ends up dynamically linking to libzstd-1.5.6 but with the wrong headers. This causes fluent-bit to segfault 22:34:54
@arianvp:matrix.orgArianI hate fluent-bit 22:35:05
28 Mar 2025
@arianvp:matrix.orgArianOkay... Fluent-bit just segfaults even without this stuff.. argh00:24:45
@arianvp:matrix.orgArianIt's due to libsystemd dlopening libzstd00:25:04
@kranzes:matrix.orgIlan Joselevich (Kranzes)
In reply to @arianvp:matrix.org
Okay... Fluent-bit just segfaults even without this stuff.. argh
Go sleep, we going surfing tomorrow morning
00:28:54
@commiterate:matrix.orgcommiterate

It's needed by rdkafka. Otherwise build complains that the library isn't available.

https://github.com/NixOS/nixpkgs/blob/698214a32beb4f4c8e3942372c694f40848b360d/pkgs/by-name/fl/fluent-bit/package.nix#L86-L87

03:52:31
@commiterate:matrix.orgcommiterateThe way Fluent Bit does things is extremely cursed.03:52:54
@commiterate:matrix.orgcommiterateIt was a pretty terrible time getting the package to work properly.03:53:24
@commiterate:matrix.orgcommiterate *

It's needed by rdkafka. Otherwise build complained that the library isn't available.

https://github.com/NixOS/nixpkgs/blob/698214a32beb4f4c8e3942372c694f40848b360d/pkgs/by-name/fl/fluent-bit/package.nix#L86-L87

03:55:10
@commiterate:matrix.orgcommiterateI didn't think it would be this brittle though.03:56:12
@commiterate:matrix.orgcommiterateI feel like at some point they're just going to vendor their entire dependency graph and continue having 0 instructions on what's needed to build it, so the only working build setup will be theirs and people can only consume their pre-built binaries.03:59:10
@arianvp:matrix.orgArianSo the problem even occurs when I use all their vendores libraries 08:17:00
@arianvp:matrix.orgArianProblem is that libsystemd dlopens an incompatible libzstd into memory08:17:21
@arianvp:matrix.orgArianAnd then all hell breaks loose08:17:27
@arianvp:matrix.orgArian🔥08:17:45
@commiterate:matrix.orgcommiterateCan't say I'm surprised with their lack of systemd tests in CI. Did this not fail the fluent-bit NixOS test?14:12:02
@commiterate:matrix.orgcommiterate* It feels like at some point they're just going to vendor their entire dependency graph and continue having 0 instructions on what's needed to build it, so the only working build setup will be theirs and people can only consume their pre-built binaries.14:12:27
@geekodour:matrix.orggeekodouri am finding it hard to find teams using aws+nix if any of your teams are hiring remotely, pls let me know! much appreciate!14:12:59
@commiterate:matrix.orgcommiterate
  • https://hydra.nixos.org/job/nixos/trunk-combined/nixos.tests.fluent-bit.x86_64-linux
  • https://hydra.nixos.org/job/nixos/trunk-combined/nixos.tests.fluent-bit.aarch64-linux

It's passing with 3.2.9 so seems like the tests aren't triggering the libzstd load (the failures have no logs so I'm assuming those were cancelled evals).

14:17:10
@commiterate:matrix.orgcommiterate *
  • https://hydra.nixos.org/job/nixos/trunk-combined/nixos.tests.fluent-bit.x86_64-linux
  • https://hydra.nixos.org/job/nixos/trunk-combined/nixos.tests.fluent-bit.aarch64-linux

It's passing with 3.2.9 so seems like the tests aren't triggering the libzstd load (the failures have no logs so I'm assuming those were cancelled evals).

Not sure if it's only loaded when pushing logs to a remote sink.

14:48:59
@arianvp:matrix.orgArianYep! That's because libzstd code path only triggers with log messages larger than 512 bytes15:49:21
@arianvp:matrix.orgArianI have a nixos test that triggers the issue locally15:49:29

Show newer messages


Back to Room ListRoom Version: 10