!EAGpsNNWRMltlOrGdy:nixos.org

NixOS Audio

163 Members
42 Servers

Load older messages


SenderMessageTime
21 Dec 2025
@anders:sorby.xyzAndersI want to update Guitarix to 0.47.0 https://github.com/NixOS/nixpkgs/pull/47293611:34:19
@sandro:supersandro.deSandro ๐ŸงLgtm, remind me in 3 days to merge it, i will probably forget that ๐Ÿ˜…12:36:45
@anders:sorby.xyzAndersThanks. Why 3 days?13:04:42
@rampoina:matrix.orgMoixaina

Too many requests

You have exceeded a secondary rate limit.

lol

13:06:42
@sandro:supersandro.deSandro ๐ŸงRandom number to give the maintainer some time to react13:06:47
22 Dec 2025
@magnetophon:matrix.orgmagnetophonI'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@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@bandithedoge:matrix.org * does it compile with some hack like NIX_CFLAGS_COMPILE = ["-I${pkgs.serd.dev}/include"];? 07:45:43
@magnetophon:matrix.orgmagnetophonRedacted or Malformed Event07:59:55
@magnetophon:matrix.orgmagnetophon

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:matrix.orgmagnetophonHere'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@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@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@bandithedoge:matrix.orgi'm not familiar with the build system ardour is using but it looks like they don't use pkgconfig cflags correctly15:01:37
@bandithedoge:matrix.org@bandithedoge:matrix.orgsince the pc files in these packages have the right include path15:01:52
@bandithedoge:matrix.org@bandithedoge:matrix.orgmight be worth bringing up on their issue tracker15:02:13
@bandithedoge:matrix.org@bandithedoge:matrix.orgalso you might want to update meta.mainProgram15:04:29
@bandithedoge:matrix.org@bandithedoge:matrix.orgimage.png
Download image.png
15:05:37
@magnetophon:matrix.orgmagnetophonYou mean, with this, it builds? I'm trying it now. Thank you!15:13:59
@magnetophon:matrix.orgmagnetophonI don't understand. What are they doing wrong, and how can you tell?15:15:09
@bandithedoge:matrix.org@bandithedoge:matrix.orgyeah that's the only change needed15:15:31
@bandithedoge:matrix.org@bandithedoge:matrix.orgby building those packages locally and looking at their file structure15:16:47
@bandithedoge:matrix.org@bandithedoge:matrix.org let's say you run nix build nixpkgs#sord.dev && tree result-dev 15:17:32
@bandithedoge:matrix.org@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@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@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@bandithedoge:matrix.orgbut the build system ignores that15:19:30
@magnetophon:matrix.orgmagnetophonIIUC, that would mean they broke their build scripts going from ardour8 to 9? Seems weird, no?15:19:53
@bandithedoge:matrix.org@bandithedoge:matrix.orgagain, this is just a guess, i don't even know if they're actually using pkg-config for these libraries15:20:06
@bandithedoge:matrix.org@bandithedoge:matrix.orgeither that or the packaging of these libraries changed15:20:34

Show newer messages


Back to Room ListRoom Version: 10