Logs: liberachat/#haskell
| 2025-09-06 21:38:40 | → | h2t joins (~h2t@user/h2t) |
| 2025-09-06 21:38:46 | × | wootehfoot quits (~wootehfoo@user/wootehfoot) (Read error: Connection reset by peer) |
| 2025-09-06 21:39:03 | → | Nosrep joins (~jimothy@user/nosrep) |
| 2025-09-06 21:39:27 | × | hc quits (~hc@mail.hce.li) (Ping timeout: 260 seconds) |
| 2025-09-06 21:40:02 | × | Typedfern quits (~Typedfern@15.red-83-37-26.dynamicip.rima-tde.net) (Ping timeout: 260 seconds) |
| 2025-09-06 21:40:03 | × | gorignak quits (~gorignak@user/gorignak) (Read error: Connection reset by peer) |
| 2025-09-06 21:40:25 | → | Typedfern joins (~Typedfern@15.red-83-37-26.dynamicip.rima-tde.net) |
| 2025-09-06 21:40:27 | × | merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 265 seconds) |
| 2025-09-06 21:40:46 | → | gorignak joins (~gorignak@user/gorignak) |
| 2025-09-06 21:41:02 | → | hc joins (~hc@mail.hce.li) |
| 2025-09-06 21:51:04 | → | merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl) |
| 2025-09-06 21:54:21 | × | h2t quits (~h2t@user/h2t) (Quit: ZNC - https://znc.in) |
| 2025-09-06 21:54:42 | → | h2t joins (~h2t@user/h2t) |
| 2025-09-06 21:55:45 | × | merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 245 seconds) |
| 2025-09-06 21:59:09 | × | h2t quits (~h2t@user/h2t) (Client Quit) |
| 2025-09-06 21:59:39 | × | takuan quits (~takuan@d8D86B9E9.access.telenet.be) (Remote host closed the connection) |
| 2025-09-06 21:59:52 | → | h2t joins (~h2t@user/h2t) |
| 2025-09-06 22:00:22 | → | alienmind joins (~cmo@2604:3d09:207f:8000::d1dc) |
| 2025-09-06 22:00:43 | × | chexum quits (~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection) |
| 2025-09-06 22:00:51 | → | chexum_ joins (~quassel@gateway/tor-sasl/chexum) |
| 2025-09-06 22:04:20 | <alienmind> | hi. i'm trying to install rasterific but can't because i'm getting missing file errors. 'ghc-pkg check' reveals a lot of packages missing 'haddock-html' and 'haddock-interfaces' files. these files seem to be missing in packages installed by pacman. i tried deleteing '~/.cabal' and running 'cabal install --reinstall Rasterific', however it results in the same missing file error. how might i proceed? |
| 2025-09-06 22:04:53 | → | inline joins (~inline@ip-005-146-196-246.um05.pools.vodafone-ip.de) |
| 2025-09-06 22:06:33 | → | merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl) |
| 2025-09-06 22:10:50 | × | trickard quits (~trickard@cpe-53-98-47-163.wireline.com.au) (Ping timeout: 258 seconds) |
| 2025-09-06 22:11:07 | → | trickard joins (~trickard@cpe-53-98-47-163.wireline.com.au) |
| 2025-09-06 22:11:13 | × | merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 258 seconds) |
| 2025-09-06 22:12:54 | <alienmind> | ok ive thought of an approach. i'm going to extract the missing files and directories from the ghc-pkg errors and touch them all |
| 2025-09-06 22:15:33 | → | Lycurgus joins (~juan@user/Lycurgus) |
| 2025-09-06 22:18:43 | × | ystael quits (~ystael@user/ystael) (Ping timeout: 252 seconds) |
| 2025-09-06 22:18:47 | → | jim_simi joins (~jm@2600:1012:a024:8574:476c:f888:d14e:49d) |
| 2025-09-06 22:20:13 | × | jim_simi quits (~jm@2600:1012:a024:8574:476c:f888:d14e:49d) (Client Quit) |
| 2025-09-06 22:22:02 | → | merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl) |
| 2025-09-06 22:27:48 | × | target_i quits (~target_i@user/target-i/x-6023099) (Quit: leaving) |
| 2025-09-06 22:28:13 | <geekosaur> | those should be warnings, not errors, since documentation builds are optional (you would need `documentation: True` in your cabal config or --enable-documentation on the command line) |
| 2025-09-06 22:28:25 | <tomsmeding> | alienmind: assuming you're on arch linux: either install ghc-static and hope for the best, or uninstall ghc from pacman and get haskell stuff from ghcup instead |
| 2025-09-06 22:28:36 | <geekosaur> | for pacman, they may have separate documentation packages |
| 2025-09-06 22:28:48 | × | merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 256 seconds) |
| 2025-09-06 22:28:52 | <tomsmeding> | the haskell situation in the arch linux repos is a running joke here |
| 2025-09-06 22:29:16 | <tomsmeding> | ( https://www.haskell.org/ghcup/ ) |
| 2025-09-06 22:32:33 | <tomsmeding> | if you still have missing files issues with ghcup, tell us precisely what errors you get when running which commands (use e.g. the pastebin in the topic) |
| 2025-09-06 22:32:54 | <tomsmeding> | I'll be sleeping for ~9 hours now but others might pick it up :) |
| 2025-09-06 22:33:33 | <geekosaur> | right, you are most likely missing the static packages that Arch deliberately removes and which will prevent pretty much anything they don't package from installing |
| 2025-09-06 22:33:53 | <geekosaur> | as tomsmeding said, the only real fix is to ditch Arch's ghc entirely and use ghcup |
| 2025-09-06 22:34:17 | <alienmind> | i'm getting a new laptop. i'm going to install nix on it |
| 2025-09-06 22:34:18 | <geekosaur> | Arch only cares about packaging the minimum needed to package pandoc built dynamically |
| 2025-09-06 22:37:52 | × | arandombit quits (~arandombi@user/arandombit) (Ping timeout: 256 seconds) |
| 2025-09-06 22:38:40 | ← | Lycurgus parts (~juan@user/Lycurgus) (bye room!) |
| 2025-09-06 22:40:06 | → | merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl) |
| 2025-09-06 22:44:34 | × | merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 258 seconds) |
| 2025-09-06 22:55:20 | → | vanishingideal joins (~vanishing@user/vanishingideal) |
| 2025-09-06 22:55:30 | → | merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl) |
| 2025-09-06 22:59:58 | × | merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 256 seconds) |
| 2025-09-06 23:00:07 | <anselmschueler> | does anyone know if Stack have fixed their Nix integration so it doesn’t just completely fail any time a GHC version is not in nixpkgs? |
| 2025-09-06 23:00:33 | <anselmschueler> | last time I tried it Stack just generated the package name for the GHC version and if it wasn’t called that or wasn’t there it would just fail immediately |
| 2025-09-06 23:00:35 | × | vanishingideal quits (~vanishing@user/vanishingideal) (Ping timeout: 244 seconds) |
| 2025-09-06 23:10:58 | → | merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl) |
| 2025-09-06 23:15:28 | × | merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 260 seconds) |
| 2025-09-06 23:17:07 | → | poscat0x04 joins (~poscat@user/poscat) |
| 2025-09-06 23:18:46 | × | puke quits (~puke@user/puke) (Quit: puke) |
| 2025-09-06 23:19:03 | × | poscat quits (~poscat@user/poscat) (Ping timeout: 265 seconds) |
| 2025-09-06 23:19:58 | → | slondr joins (cf9f9e8f44@2a03:6000:1812:100::10b6) |
| 2025-09-06 23:21:27 | → | puke joins (~puke@user/puke) |
| 2025-09-06 23:21:40 | <slondr> | hi, I have ghc and haskell-language-server installed via GHCup, but when I run lsp in emacs I get: Failed to find the GHC version of this Defaul project. |
| 2025-09-06 23:22:26 | <slondr> | does this look familiar to anyone? |
| 2025-09-06 23:23:48 | → | arandombit joins (~arandombi@2603:7000:4600:ffbe:2133:587c:64a5:1340) |
| 2025-09-06 23:23:48 | × | arandombit quits (~arandombi@2603:7000:4600:ffbe:2133:587c:64a5:1340) (Changing host) |
| 2025-09-06 23:23:48 | → | arandombit joins (~arandombi@user/arandombit) |
| 2025-09-06 23:26:22 | → | merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl) |
| 2025-09-06 23:26:37 | <geekosaur> | what version of cabal did you install? the LSP uses cabal to find out what ghc version a project uses, but the latest HLS doesn't work with the latest cabal (this will be fixed in the next cabal release, scheduled for when ghc 9.14.1 comes out because some tweaks were needed for that as well) |
| 2025-09-06 23:27:05 | <slondr> | I just accepted all of the default suggestions |
| 2025-09-06 23:27:11 | <slondr> | So maybe that is the problem? |
| 2025-09-06 23:27:13 | <geekosaur> | okay, then that's not it |
| 2025-09-06 23:29:57 | <geekosaur> | the default cabal version in ghcup is 3.12.1.0, it's 3.16.0.0 that breaks current HLS. (which won't be updated for it until ghc 9.14.1 is released and HLS can be updated to support its ghc-lib) |
| 2025-09-06 23:30:46 | <slondr> | yes my cabal version is 3.12.1.0 and my hls version is 9.4.8 |
| 2025-09-06 23:31:00 | × | merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds) |
| 2025-09-06 23:31:22 | <geekosaur> | you mean ghc version? |
| 2025-09-06 23:31:30 | <geekosaur> | HLS versions don't go that high |
| 2025-09-06 23:32:18 | <geekosaur> | also that sounds like an out of date ghcup, or at least ghcup metadata; current metadata has 9.6.7 as recommended |
| 2025-09-06 23:32:51 | <slondr> | oh! that's a clue |
| 2025-09-06 23:33:02 | <slondr> | my hls binary is named "haskell-language-server-9.4.8" |
| 2025-09-06 23:33:38 | <slondr> | It looks like I also have haskell-language-server-9.6.7 |
| 2025-09-06 23:36:16 | <slondr> | emacs lsp reports: ghc 9.6.7, cabal 3.12.1.0, stack 3.3.1 |
| 2025-09-06 23:36:48 | <slondr> | I also see: libc.so.6: undefined symbol: __nptl_change_stack_perm, version GLIBC_PRIVATE |
| 2025-09-06 23:39:01 | <geekosaur> | right, you need an HLS binary for each ghc version because the ghc-api it uses must match |
| 2025-09-06 23:39:16 | <geekosaur> | the undefined symbol one sounds like much more of a problem |
| 2025-09-06 23:40:55 | → | ljdarj1 joins (~Thunderbi@user/ljdarj) |
| 2025-09-06 23:41:05 | <slondr> | I'm on glibc 2.42 should I expect hls to support that? |
| 2025-09-06 23:41:46 | → | merijn joins (~merijn@host-vr.cgnat-g.v4.dfn.nl) |
| 2025-09-06 23:42:13 | <geekosaur> | the question is whether or how your glibc supports linux's native posix threads library (the "nptl" in that symbol) |
| 2025-09-06 23:43:17 | × | hiredman quits (~hiredman@frontier1.downey.family) (Remote host closed the connection) |
| 2025-09-06 23:44:12 | <geekosaur> | if you can find libc.so.6, can you run it as if it were a program and if so what does it say for "libc ABIs"? |
| 2025-09-06 23:44:18 | → | hiredman joins (~hiredman@frontier1.downey.family) |
| 2025-09-06 23:44:21 | × | ljdarj quits (~Thunderbi@user/ljdarj) (Ping timeout: 250 seconds) |
| 2025-09-06 23:44:21 | ljdarj1 | is now known as ljdarj |
| 2025-09-06 23:44:35 | <slondr> | libc ABIs: UNIQUE IFUNC ABSOLUTE |
| 2025-09-06 23:45:18 | <geekosaur> | okay, so that's not it (same here) |
| 2025-09-06 23:45:30 | <geekosaur> | also I have 2.41 but it's Ubuntu's build |
| 2025-09-06 23:45:43 | <slondr> | yeah I just have the normal default Arch Linux glibc |
| 2025-09-06 23:46:17 | × | merijn quits (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 258 seconds) |
| 2025-09-06 23:47:33 | <geekosaur> | this might be a question for maerwald, but the answer may again be "give up on the Arch ghc install" because it just causes too many problems for Haskell maintainers |
All times are in UTC.