Logs: liberachat/#haskell
| 2026-02-11 21:25:28 | <haskellbridge> | <sm> I feel there's an out of date build of process somewhere getting used by that particular project (and the package version number may not tell the whole story) |
| 2026-02-11 21:26:01 | → | tromp joins (~textual@2001:1c00:3487:1b00:5913:697:5f95:d198) |
| 2026-02-11 21:27:26 | <haskellbridge> | <sm> but I think your paste showed the path of it, you could try just deleting those files ? |
| 2026-02-11 21:29:19 | → | PorfirioAguilar joins (~PorfirioA@user/PorfirioAguilar) |
| 2026-02-11 21:30:01 | × | takuan quits (~takuan@d8D86B9E9.access.telenet.be) (Ping timeout: 244 seconds) |
| 2026-02-11 21:30:59 | <EvanR> | rebuilding the broken project in a new sandbox seems like it would test sm's theory |
| 2026-02-11 21:31:09 | <EvanR> | that it's not the project's actual fault |
| 2026-02-11 21:31:18 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2026-02-11 21:33:18 | <haskellbridge> | <sm> oh the paste didn't show the path, but the filename might be this ? libHSprcss-1.6.26.1-e81c95d2-ghc9.12.2.dylib. I'm assuming it's not under the project dir |
| 2026-02-11 21:34:38 | <EvanR> | that there's a working test case elsewhere makes me think it's not the lib |
| 2026-02-11 21:35:31 | <haskellbridge> | <sm> they're not using the same .dylib |
| 2026-02-11 21:35:42 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 244 seconds) |
| 2026-02-11 21:36:05 | × | PorfirioAguilar quits (~PorfirioA@user/PorfirioAguilar) (Quit: WeeChat 4.1.1) |
| 2026-02-11 21:36:36 | <EvanR> | can't that be encoded in the freeze file? |
| 2026-02-11 21:36:43 | <EvanR> | I think tomsmeding brought this up recently |
| 2026-02-11 21:39:42 | <tomsmeding> | in a 'constraints:' clause in cabal.project you can put 'any.' before a package name to apply the constraint to all targets being built, including built-tool dependencies |
| 2026-02-11 21:39:47 | <tomsmeding> | and cabal freeze does this |
| 2026-02-11 21:39:56 | <tomsmeding> | from skimming the scrollback I feel like this is irrelevant |
| 2026-02-11 21:40:05 | <tomsmeding> | s/built-tool/build-tool/ |
| 2026-02-11 21:40:37 | <tomsmeding> | perryprog: this is a stupid suggestion, but what about taking your copy of the project that _does_ work, and copying it over the one that doesn't work |
| 2026-02-11 21:40:46 | <brioche> | :q |
| 2026-02-11 21:40:56 | × | brioche quits (~username@user/brioche) () |
| 2026-02-11 21:41:25 | <perryprog> | it's not two versions of the same project—I haven't been able to get the main project (oama) working at all, but the thing that doesn't work works fine in isolation. (Will try other suggestions soon™) |
| 2026-02-11 21:42:05 | <tomsmeding> | the concrete dependency tree including versions can be found in dist-newstyle/cache/plan.json |
| 2026-02-11 21:43:33 | → | oskarw` joins (~user@user/oskarw) |
| 2026-02-11 21:44:31 | × | oskarw quits (~user@user/oskarw) (Ping timeout: 246 seconds) |
| 2026-02-11 21:45:33 | × | target_i quits (~target_i@user/target-i/x-6023099) (Quit: leaving) |
| 2026-02-11 21:46:41 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2026-02-11 21:53:41 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds) |
| 2026-02-11 22:04:43 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2026-02-11 22:09:17 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 244 seconds) |
| 2026-02-11 22:13:21 | × | Googulator quits (~Googulato@84-236-65-138.pool.digikabel.hu) (Quit: Client closed) |
| 2026-02-11 22:13:45 | → | Googulator joins (~Googulato@84-236-65-138.pool.digikabel.hu) |
| 2026-02-11 22:18:43 | × | ljdarj quits (~Thunderbi@user/ljdarj) (Ping timeout: 260 seconds) |
| 2026-02-11 22:20:04 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2026-02-11 22:22:08 | × | oskarw` quits (~user@user/oskarw) (Remote host closed the connection) |
| 2026-02-11 22:22:09 | → | oskarw joins (~user@user/oskarw) |
| 2026-02-11 22:24:29 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds) |
| 2026-02-11 22:24:33 | <perryprog> | weird, I can't actually fine what libHSprcss /is/. HLS has some dylib with that in the name but besides that I can't see it anywhere. |
| 2026-02-11 22:25:37 | <perryprog> | and it's not linked to by ghc or libHSrts |
| 2026-02-11 22:26:37 | <tomsmeding> | it's "process" but without vowels; cabal/ghc/something removes vowels from filenames in some situations |
| 2026-02-11 22:27:00 | <tomsmeding> | can you find that file on your machine somewhere? |
| 2026-02-11 22:27:09 | <perryprog> | ahh okay wasn't sure if that was the case; in that case yes |
| 2026-02-11 22:27:28 | → | CiaoSen joins (~Jura@2a02:8071:64e1:da0:5a47:caff:fe78:33db) |
| 2026-02-11 22:28:00 | → | fgarcia joins (~lei@user/fgarcia) |
| 2026-02-11 22:28:26 | <EvanR> | egyptian filename style |
| 2026-02-11 22:28:37 | <perryprog> | I mean, it's all in my .ghcup so it's all stuff I've deleted before |
| 2026-02-11 22:29:06 | <tomsmeding> | I just realised that in your lldb backtrace, it showed that the crash is not simply a dereference of a null pointer, it's a _jump_ to a null pointer |
| 2026-02-11 22:29:14 | <tomsmeding> | or rather, a call to a null pointer |
| 2026-02-11 22:29:34 | <tomsmeding> | I don't see any such indirect call in the source of do_posix_spawn |
| 2026-02-11 22:29:37 | <tomsmeding> | (https://hackage-content.haskell.org/package/process-1.6.26.1/src/cbits/posix/posix_spawn.c) |
| 2026-02-11 22:29:50 | → | mange joins (~mange@user/mange) |
| 2026-02-11 22:29:58 | <tomsmeding> | though I guess it might be hidden inside something |
| 2026-02-11 22:31:12 | × | oskarw quits (~user@user/oskarw) (Ping timeout: 252 seconds) |
| 2026-02-11 22:32:18 | × | CiaoSen quits (~Jura@2a02:8071:64e1:da0:5a47:caff:fe78:33db) (Ping timeout: 252 seconds) |
| 2026-02-11 22:35:03 | <perryprog> | maybe I just compile ghc with debug symbols |
| 2026-02-11 22:35:30 | <tomsmeding> | perryprog: if you switch to frame 1 in lldb in that crash, you should be in do_posix_spawn, which is a normal C file from the 'process' library |
| 2026-02-11 22:35:35 | → | merijn joins (~merijn@62.45.136.136) |
| 2026-02-11 22:35:38 | <tomsmeding> | debugging that function should not require a GHC with debug symbols |
| 2026-02-11 22:36:11 | <perryprog> | tomsmeding, that's do_posix_spawn from process? https://github.com/haskell/process/blob/98101f82543b3a28e9f5192d758a508881f8b464/cbits/posix/posix_spawn.c#L100 |
| 2026-02-11 22:36:16 | <perryprog> | oh |
| 2026-02-11 22:36:17 | <perryprog> | so ture |
| 2026-02-11 22:36:19 | <perryprog> | true* |
| 2026-02-11 22:36:24 | <tomsmeding> | should be, yes |
| 2026-02-11 22:36:36 | <perryprog> | for some reason I was thinking process was part of ghc |
| 2026-02-11 22:36:58 | <tomsmeding> | be sure to take the function from the exact 'process' version that you're looking at, though, to avoid vexingly confusing mismatches |
| 2026-02-11 22:37:22 | <tomsmeding> | it's one of the libraries distributed with ghc, but it's not part of ghc itself |
| 2026-02-11 22:37:35 | <perryprog> | yeah; looks easy enough to build |
| 2026-02-11 22:37:40 | <perryprog> | and good call |
| 2026-02-11 22:37:47 | × | emmanuelux quits (~em@user/emmanuelux) (Read error: Connection reset by peer) |
| 2026-02-11 22:37:57 | tomsmeding | has to go though, good luck |
| 2026-02-11 22:39:08 | <perryprog> | o7 thanks for your help |
| 2026-02-11 22:40:31 | × | merijn quits (~merijn@62.45.136.136) (Ping timeout: 264 seconds) |
| 2026-02-11 22:42:09 | → | emmanuelux joins (~em@user/emmanuelux) |
| 2026-02-11 22:45:48 | × | michalz quits (~michalz@185.246.207.203) (Remote host closed the connection) |
| 2026-02-11 22:50:30 | <perryprog> | ahhhh very suspect; I think I ran into this same issue when compiling emacs... some of these functions such as posix_spawn_file_actions_addchdir are only for macOS 26.0 or newer and I've held off on updating |
| 2026-02-11 22:50:52 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2026-02-11 22:51:06 | igemnace_ | is now known as igemnace |
| 2026-02-11 22:55:17 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds) |
| 2026-02-11 23:04:02 | × | emmanuelux quits (~em@user/emmanuelux) (Read error: Connection reset by peer) |
| 2026-02-11 23:06:11 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2026-02-11 23:07:20 | → | emmanuelux joins (~em@user/emmanuelux) |
| 2026-02-11 23:07:53 | × | tromp quits (~textual@2001:1c00:3487:1b00:5913:697:5f95:d198) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 2026-02-11 23:09:01 | × | __monty__ quits (~toonn@user/toonn) (Quit: leaving) |
| 2026-02-11 23:10:41 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds) |
| 2026-02-11 23:14:41 | → | terrorjack joins (~terrorjac@static.27.101.55.162.clients.your-server.de) |
| 2026-02-11 23:21:33 | → | merijn joins (~merijn@host-cl.cgnat-g.v4.dfn.nl) |
| 2026-02-11 23:22:15 | × | emmanuelux quits (~em@user/emmanuelux) (Read error: Connection reset by peer) |
| 2026-02-11 23:22:25 | <perryprog> | yeah, pretty sure that's the issue and while there is probably a change that can be made to the configure.ac but I dunno what it is (see also https://yhetil.org/emacs/87ms6ru5cg.fsf@gmail.com/) |
| 2026-02-11 23:22:51 | <perryprog> | for now gonna just remove the template haskell from the problem file, lol |
| 2026-02-11 23:24:06 | → | bggd_ joins (~bgg@2a01:e0a:fd5:f510:7e0c:bf30:b02a:8ed5) |
| 2026-02-11 23:25:31 | → | emmanuelux joins (~em@user/emmanuelux) |
| 2026-02-11 23:25:54 | → | peterbecich joins (~Thunderbi@71.84.33.135) |
| 2026-02-11 23:26:24 | <haskellbridge> | <sm> that.. does not seem the optimal fix :) |
| 2026-02-11 23:26:52 | <perryprog> | look, all of this was for a one line change for personal use :P |
| 2026-02-11 23:27:13 | <haskellbridge> | <sm> wouldn't installing an older ghc, or installing ghc by a different method (eg homebrew ?) likely solve it ? |
| 2026-02-11 23:27:32 | <haskellbridge> | <sm> hehe that's what you get for TINKERING |
| 2026-02-11 23:27:42 | <haskellbridge> | <sm> sorry about it though |
| 2026-02-11 23:28:18 | <perryprog> | I think it only supports 9.10.1 up |
| 2026-02-11 23:28:20 | × | merijn quits (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 244 seconds) |
All times are in UTC.