| 4 Jul 2026 |
emily | so the header it includes that doesn't exist on Darwin is just there to error out. | 15:09:57 |
emily | Alyssa Ross: …why on earth does our Meson hook not default to release builds? | 15:31:45 |
Puna | my original comment on the matter was rewritten in the open-vela switch PR
# libldac code detects & #error's out on non-LE byte order
https://github.com/NixOS/nixpkgs/pull/253986 ¯\_(ツ)_/¯
| 15:36:46 |
emily | thanks | 15:39:03 |
emily | I'll put back your comment | 15:39:07 |
emily | K900: https://github.com/NixOS/nixpkgs/pull/538418 pls test PipeWire on Linux | 15:48:55 |
tom | This is the issue that triggered the change from release to plain: https://github.com/NixOS/nixpkgs/issues/58310 | 15:49:20 |
K900 | In reply to @emilazy:matrix.org K900: https://github.com/NixOS/nixpkgs/pull/538418 pls test PipeWire on Linux env -> enc | 15:49:58 |
emily | ugh | 15:50:05 |
emily | fixed | 15:50:26 |
emily | https://github.com/NixOS/nixpkgs/pull/538398 could use a merge too | 15:50:46 |
emily | only thing left of these is Swift. I'll give that a brief look now and then call it a day | 15:51:13 |
emily | I see | 15:51:35 |
emily | but Meson doesn't even specify optimization flags by default with plain AFAICT | 15:51:44 |
emily | we happen to inject -O2 in stdenv as part of hardening flags | 15:51:53 |
emily | but that doesn't feel terribly robust | 15:52:00 |
emily | for instance, hardeningDisable = [ "fortify" ]; plus Meson means no optimization flags at all, I think(!) | 15:52:28 |
K900 | That uhhh | 15:54:14 |
K900 | Does not sound good | 15:54:16 |
K900 | But also why is -O2 part of hardening | 15:54:24 |
tom | yeah, plain means no flags at all
no extra build flags are used, even for compiler warnings, useful for distro packagers and other cases where you need to specify all arguments by yourself
| 15:54:29 |
K900 | > ../spa/plugins/bluez5/a2dp-codec-ldac.c:16:10: fatal error: ldacBT.h: No such file or directory
> 16 | #include <ldacBT.h>
| 15:54:56 |
emily | right. will fix | 16:01:44 |
emily | try now | 16:05:06 |
K900 | Well it build | 16:07:25 |
K900 | Redacted or Malformed Event | 16:07:26 |
Grimmauld (any/all) | i am not convinced we actually want to control ALL flags ourselves... | 16:07:29 |
K900 | Need to verify if it runs now | 16:07:32 |
hexa | [root@acaffacc65e0 /]# touch foo
tar -cjf foo.tar.bz2 foo
file --brief --mime --uncompress foo.tar.bz2
application/x-decompression-error-bzlib-Fork-is-required-to-uncompress--but-disabled compressed-encoding=application/x-bzip2; charset=binary
| 16:08:23 |
hexa | also confirmed on arch in docker fwiw | 16:08:36 |