!EAGpsNNWRMltlOrGdy:nixos.org

NixOS Audio

168 Members
44 Servers

Load older messages


SenderMessageTime
22 Dec 2025
@bandithedoge:matrix.orgbandithedoge
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.orgbandithedoge

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.orgbandithedogei'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.orgbandithedogesince the pc files in these packages have the right include path15:01:52
@bandithedoge:matrix.orgbandithedogemight be worth bringing up on their issue tracker15:02:13
@bandithedoge:matrix.orgbandithedogealso you might want to update meta.mainProgram15:04:29
@bandithedoge:matrix.orgbandithedogeimage.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.orgbandithedogeyeah that's the only change needed15:15:31
@bandithedoge:matrix.orgbandithedogeby building those packages locally and looking at their file structure15:16:47
@bandithedoge:matrix.orgbandithedoge let's say you run nix build nixpkgs#sord.dev && tree result-dev 15:17:32
@bandithedoge:matrix.orgbandithedoge

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.orgbandithedoge ardour's build scripts expect .../include/sord/sord.h but the package has .../include/sord-0/sord/sord.h 15:18:33
@bandithedoge:matrix.orgbandithedoge 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.orgbandithedogebut 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.orgbandithedogeagain, this is just a guess, i don't even know if they're actually using pkg-config for these libraries15:20:06
@bandithedoge:matrix.orgbandithedogeeither that or the packaging of these libraries changed15:20:34
@bandithedoge:matrix.orgbandithedogealthough that would also break ardour 815:20:40
@magnetophon:matrix.orgmagnetophonThis looks like pkg-config output, no? ardour> Checking for 'serd-0' >= 0.14.0 : yes15:21:12
@bandithedoge:matrix.orgbandithedogeidk, i think you should tell them about this15:21:19
@bandithedoge:matrix.orgbandithedogeprobably15:21:24
@magnetophon:matrix.orgmagnetophonTo be honest, I don't feel very confident in my abilities to explain the problem and to answer any follow-up questions. Would you be willing to tell them? https://tracker.ardour.org/15:23:14
@magnetophon:matrix.orgmagnetophonI'll try building ardour8 next, just to double-check.15:24:29
@bandithedoge:matrix.orgbandithedogefor all i know this could also be a waf issue as i can't see any notable changes in the build script, sord in nixpkgs or sord upstream15:43:40
@magnetophon:matrix.orgmagnetophonYou mean a bug that should be reported to the makers of the waf build system?15:50:40
@magnetophon:matrix.orgmagnetophonIn the meantime ardour9 finished building and I did a quick test run. Now I'm building ardour8.15:51:33
@bandithedoge:matrix.orgbandithedogei don't know, they're using autowaf to find the packages but i'm not familiar with this tool at all https://github.com/Ardour/ardour/blob/adf0d528721917490080199ae80231b952c9c14e/libs/ardour/wscript#L31615:55:49
@magnetophon:matrix.orgmagnetophonOK, so what do we do now? Are you ok with reporting this to ardour, because I don't know what to tell them.15:59:04

Show newer messages


Back to Room ListRoom Version: 10