Newest at the top
2025-01-14 05:04:57 +0100 | <dmwit> | Okay. What tool crafted this command line? |
2025-01-14 05:04:43 +0100 | <Guest38> | The only packages listed here not in my ghc-pkg list are gtk2hs-buildtools and xhtml |
2025-01-14 05:03:50 +0100 | <Guest38> | The command turned out to not be cabal, it was just ghc -hide-all-packages -package Cabal -package array … -package xhtml -package gtk2hs-buildtools —make … |
2025-01-14 05:03:17 +0100 | <dmwit> | At this point without the exact cabal command I don't think there's much folks here can do for you. |
2025-01-14 05:02:47 +0100 | merijn | (~merijn@128-137-045-062.dynamic.caiway.nl) merijn |
2025-01-14 05:02:35 +0100 | <dmwit> | If none of them say "broken" afterwards then that hypothesis is out. |
2025-01-14 05:01:15 +0100 | <Guest38> | ‘ghc-pkg list’ with no package argument gives what looks like standard libraries such as base, binary, template-Haskell, parsec, mtl, and Cabal. There are more but I am on my phone so don’t want to type them out |
2025-01-14 04:59:45 +0100 | avidseeker | (av@user/avidseeker) avidseeker |
2025-01-14 04:57:01 +0100 | avidseeker | (av@user/avidseeker) () |
2025-01-14 04:55:19 +0100 | merijn | (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds) |
2025-01-14 04:50:35 +0100 | merijn | (~merijn@128-137-045-062.dynamic.caiway.nl) merijn |
2025-01-14 04:47:44 +0100 | <dmwit> | (root or whatever user emerge runs as, I guess) |
2025-01-14 04:46:54 +0100 | <dmwit> | (One hypothesis is that GHC's package database is broken; if it were, this might reveal that.) |
2025-01-14 04:46:26 +0100 | <dmwit> | ...although if emerge and your shell are choosing different GHC versions, then the ghc-pkg command I suggested earlier will need to be tweaked. Can you try it again as root? ghc-pkg list gtk2hs-buildtools |
2025-01-14 04:45:36 +0100 | <dmwit> | That's a very unusual dependency, it should only be needed when installing things that depend on gtk2hs, which are bindings to a GUI library. |
2025-01-14 04:45:14 +0100 | <dmwit> | If you can find out what exact cabal command it's running, that might help explain why it believes it needs gtk2hs-buildtools. |
2025-01-14 04:42:34 +0100 | <Guest38> | All the logs say the same thing, that is, gtk2hs-buildtools couldn’t be found by the inner cabal that emerge uses. Of course, because it isn’t installed yet. I reinstalled cabal to see if that would change anything, but no luck |
2025-01-14 04:39:33 +0100 | merijn | (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds) |
2025-01-14 04:38:49 +0100 | <dmwit> | I mean I guess I don't really know what's going wrong. Perhaps you can find out a bit more about what emerge is doing with a --verbose or something? |
2025-01-14 04:38:48 +0100 | peterbecich | (~Thunderbi@syn-047-229-123-186.res.spectrum.com) peterbecich |
2025-01-14 04:36:35 +0100 | hueso | (~root@user/hueso) hueso |
2025-01-14 04:35:13 +0100 | merijn | (~merijn@128-137-045-062.dynamic.caiway.nl) merijn |
2025-01-14 04:34:59 +0100 | Guest38 | (~Guest29@2403-5805-c700-0-f01e-fad9-5333-2933.ip6.aussiebb.net) |
2025-01-14 04:33:47 +0100 | hueso | (~root@user/hueso) (Ping timeout: 244 seconds) |
2025-01-14 04:31:26 +0100 | Guest57 | (~Guest29@2403-5805-c700-0-f01e-fad9-5333-2933.ip6.aussiebb.net) (Quit: Client closed) |
2025-01-14 04:29:54 +0100 | <haskellbridge> | <maerwald> Especially since it's not run as the user |
2025-01-14 04:29:43 +0100 | <haskellbridge> | <maerwald> I'm pretty sure there's environment sanitization when emerge is run |
2025-01-14 04:29:13 +0100 | <haskellbridge> | <maerwald> I don't think so |
2025-01-14 04:29:13 +0100 | <dmwit> | I wouldn't be too surprised if you have multiple versions installed even without considering what ghcup's done in $HOME |
2025-01-14 04:29:01 +0100 | <geekosaur> | decide whether you are using emerge or ghcup, and get rid of the one you're not using |
2025-01-14 04:28:43 +0100 | <geekosaur> | if you have a different ghc in your $PATH when you run emerge then things will get mixed up |
2025-01-14 04:28:32 +0100 | <dmwit> | Wow. That is not a channel I would have guessed. Okay, thanks. |
2025-01-14 04:28:21 +0100 | <Guest57> | Well, my problem is emerge failures, I don’t see how ghcup will affect those when I merge under root, which doesn’t have any of my local ghcup stuff in its path |
2025-01-14 04:28:07 +0100 | <geekosaur> | dmwit, I don't really know what happens after it's built, that's probably a #hackage question |
2025-01-14 04:27:33 +0100 | Everything | (~Everythin@195.138.86.118) (Ping timeout: 252 seconds) |
2025-01-14 04:27:28 +0100 | <dmwit> | Two green checks means default, one means installed, zero means available. |
2025-01-14 04:27:22 +0100 | <geekosaur> | two green checkmarks means it's the default |
2025-01-14 04:27:00 +0100 | <Guest57> | If two greens mean installed, then only GHC 9.4.8 is installed, along with stack and cabal |
2025-01-14 04:26:42 +0100 | <geekosaur> | pick one |
2025-01-14 04:26:39 +0100 | <geekosaur> | ghcup won't know about the system-wide version, and having both will lead to confusion at best and brokenness at worst |
2025-01-14 04:26:01 +0100 | <Guest57> | Well, they don’t say anything, they’re just green |
2025-01-14 04:25:46 +0100 | <Guest57> | Systemwide version is 9.8.2 and ghcup version is 9.4.8. I tried downgrading but didn’t work |
2025-01-14 04:25:17 +0100 | <geekosaur> | does it actually say they're installed, or just available? |
2025-01-14 04:25:00 +0100 | <dmwit> | scary =P |
2025-01-14 04:24:38 +0100 | <Guest57> | ghcup tui says I have an install of stack, cabal, and 10 GHC versions |
2025-01-14 04:24:22 +0100 | merijn | (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds) |
2025-01-14 04:24:19 +0100 | swistak | (~swistak@185.21.216.141) |
2025-01-14 04:24:14 +0100 | <dmwit> | geekosaur: So I can see that foreign-library results in a library being built into dist-newstyle, but I'm not sure how I'm meant to access that library('s directory) from within my application. At the very least cabal hasn't added the directory to any environment variables. |
2025-01-14 04:23:07 +0100 | <dmwit> | Not sure whether that was after :09 or not. |
2025-01-14 04:22:57 +0100 | <dmwit> | I told you that ghcup tui would tell you about what ghcup knows. |