| 21 Dec 2025 |
Anders | I want to update Guitarix to 0.47.0
https://github.com/NixOS/nixpkgs/pull/472936 | 11:34:19 |
Sandro ๐ง | Lgtm, remind me in 3 days to merge it, i will probably forget that ๐
| 12:36:45 |
Anders | Thanks. Why 3 days? | 13:04:42 |
Moixaina |
Too many requests
You have exceeded a secondary rate limit.
lol | 13:06:42 |
Sandro ๐ง | Random number to give the maintainer some time to react | 13:06:47 |
| 22 Dec 2025 |
magnetophon | I'm trying to test ardour 9.0-rc2
It won't build:
fatal error: serd/serd.h: No such file or directory
but in the configure phase it does find it:
ardour> Checking for 'serd-0' >= 0.14.0 : yes
Any ideas? | 01:01:32 |
@bandithedoge:matrix.org | In reply to @magnetophon:matrix.org I'm trying to test ardour 9.0-rc2 It won't build: fatal error: serd/serd.h: No such file or directory
but in the configure phase it does find it: ardour> Checking for 'serd-0' >= 0.14.0 : yes
Any ideas? does it compile with some hack like NIX_CFLAGS_COMPILE = ["-I${pkgs.serd}/include"];? | 07:45:27 |
@bandithedoge:matrix.org | * does it compile with some hack like NIX_CFLAGS_COMPILE = ["-I${pkgs.serd.dev}/include"];? | 07:45:43 |
magnetophon | Redacted or Malformed Event | 07:59:55 |
magnetophon | I added: NIX_CFLAGS_COMPILE = ["-I${serd.dev}/include"];
Same error:
ardour> ../libs/ardour/lv2_plugin.cc:123:10: fatal error: serd/serd.h: No such file or directory
ardour> 123 | #include <serd/serd.h>
ardour> | ^~~~~~~~~~~~~
ardour> compilation terminated.
| 08:00:42 |
magnetophon | Here's the pkg: https://gist.github.com/magnetophon/86dc90fe4a1e22074e25bccde34e893f
I only changed the src (and one extra lib, but the error already appeared before adding that lib, libXi). | 08:02:25 |
@bandithedoge:matrix.org | In reply to @magnetophon:matrix.org Here's the pkg: https://gist.github.com/magnetophon/86dc90fe4a1e22074e25bccde34e893f I only changed the src (and one extra lib, but the error already appeared before adding that lib, libXi). i'll take a look when i'm back home in a few hours | 08:24:29 |
@bandithedoge:matrix.org | magnetophon i got it
NIX_CFLAGS_COMPILE = [
"-I${serd.dev}/include/serd-0"
"-I${sratom.dev}/include/sratom-0"
"-I${sord.dev}/include/sord-0"
];
| 15:00:43 |
@bandithedoge:matrix.org | i'm not familiar with the build system ardour is using but it looks like they don't use pkgconfig cflags correctly | 15:01:37 |
@bandithedoge:matrix.org | since the pc files in these packages have the right include path | 15:01:52 |
@bandithedoge:matrix.org | might be worth bringing up on their issue tracker | 15:02:13 |
@bandithedoge:matrix.org | also you might want to update meta.mainProgram | 15:04:29 |
@bandithedoge:matrix.org |  Download image.png | 15:05:37 |
magnetophon | You mean, with this, it builds?
I'm trying it now.
Thank you! | 15:13:59 |
magnetophon | I don't understand.
What are they doing wrong, and how can you tell? | 15:15:09 |
@bandithedoge:matrix.org | yeah that's the only change needed | 15:15:31 |
@bandithedoge:matrix.org | by building those packages locally and looking at their file structure | 15:16:47 |
@bandithedoge:matrix.org | let's say you run nix build nixpkgs#sord.dev && tree result-dev | 15:17:32 |
@bandithedoge:matrix.org | you'll see something like this:
๎ฟ result-dev
โโโ ๎ผ include
โ โโโ ๎ฟ sord-0
โ โโโ ๎ฟ sord
โ โโโ ๎ sord.h
โ โโโ ๎ sordmm.hpp
โโโ ๎ฟ lib
โ โโโ ๎ฟ pkgconfig
โ โโโ ๏
sord-0.pc
โโโ ๎ฟ nix-support
โโโ ๓ฐกฏ propagated-build-inputs
| 15:17:56 |
@bandithedoge:matrix.org | ardour's build scripts expect .../include/sord/sord.h but the package has .../include/sord-0/sord/sord.h | 15:18:33 |
@bandithedoge:matrix.org | if you look at the sord-0.pc file you'll notice that it contains Cflags: -I${includedir}/sord-0, which is the correct path | 15:19:05 |
@bandithedoge:matrix.org | but the build system ignores that | 15:19:30 |
magnetophon | IIUC, that would mean they broke their build scripts going from ardour8 to 9?
Seems weird, no? | 15:19:53 |
@bandithedoge:matrix.org | again, this is just a guess, i don't even know if they're actually using pkg-config for these libraries | 15:20:06 |
@bandithedoge:matrix.org | either that or the packaging of these libraries changed | 15:20:34 |