Logs: freenode/#haskell
| 2021-04-25 18:51:15 | × | psydruid[m] quits (psydruidma@gateway/shell/matrix.org/x-ijjtojxooyvwelme) (Ping timeout: 245 seconds) |
| 2021-04-25 18:51:33 | → | fox[m]1 joins (foxforestf@gateway/shell/matrix.org/x-zftkphzstualrnft) |
| 2021-04-25 18:52:44 | → | slycelote[m] joins (slycelotem@gateway/shell/matrix.org/x-jwwdnktlxoqqmejb) |
| 2021-04-25 18:52:44 | → | pqwy[m] joins (pqwymatrix@gateway/shell/matrix.org/x-veqquvhdxxabijbc) |
| 2021-04-25 18:52:54 | × | Guest14320 quits (bitonicmat@gateway/shell/matrix.org/x-ahzjoopovnugnfrk) (Ping timeout: 245 seconds) |
| 2021-04-25 18:52:56 | → | CrabMan joins (phi-matrix@gateway/shell/matrix.org/x-lcpxgjtgvabxggfm) |
| 2021-04-25 18:53:13 | <monochrom> | But I didn't get an invalid-cert error. |
| 2021-04-25 18:53:49 | <monochrom> | To be fair, I added a cert I created for myself. |
| 2021-04-25 18:53:55 | <zva> | maerwald: you mean as in enough options that are not neovim? ty I think I'll use vsc. |
| 2021-04-25 18:54:11 | <maerwald> | zva: no, I mean alternative LSP clients |
| 2021-04-25 18:54:23 | <maerwald> | coc.nvim, LanguageClient-neovim and others |
| 2021-04-25 18:54:46 | → | alexfmpe joins (alexfmpema@gateway/shell/matrix.org/x-gtmdhmuxxyypwmhc) |
| 2021-04-25 18:55:39 | <zva> | maerwald: ok ty |
| 2021-04-25 18:56:05 | → | psydruid[m] joins (psydruidma@gateway/shell/matrix.org/x-mrkfgejepoksviny) |
| 2021-04-25 18:58:12 | × | Lord_of_Life quits (~Lord@unaffiliated/lord-of-life/x-0885362) (Read error: Connection reset by peer) |
| 2021-04-25 18:58:14 | → | wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 2021-04-25 18:58:47 | → | Guest14320 joins (bitonicmat@gateway/shell/matrix.org/x-ecvwsnanzejbrweo) |
| 2021-04-25 19:00:50 | → | mozzarella joins (~sam@unaffiliated/sam113101) |
| 2021-04-25 19:00:51 | × | nut quits (~gtk@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Ping timeout: 260 seconds) |
| 2021-04-25 19:01:30 | → | Lord_of_Life joins (~Lord@unaffiliated/lord-of-life/x-0885362) |
| 2021-04-25 19:01:47 | → | geowiesnot joins (~user@87-89-181-157.abo.bbox.fr) |
| 2021-04-25 19:02:17 | → | petrus joins (~petrus@unaffiliated/petrus) |
| 2021-04-25 19:03:45 | × | kuribas quits (~user@ptr-25vy0i72aubpu4xq2xw.18120a2.ip6.access.telenet.be) (Remote host closed the connection) |
| 2021-04-25 19:08:09 | × | malumore quits (~malumore@151.62.115.131) (Ping timeout: 252 seconds) |
| 2021-04-25 19:08:29 | <petrus> | Suddenly I cannot run cabal repl in any of my project directories, it always dies with this mysterious error message: libHSwatchdog-0.1.0.0-inplace-ghc8.10.4.so: cannot open shared object file |
| 2021-04-25 19:09:49 | × | geowiesnot quits (~user@87-89-181-157.abo.bbox.fr) (Ping timeout: 252 seconds) |
| 2021-04-25 19:11:29 | <petrus> | Now watchdog is one of my projects and this "missing" file is somewhere deep inside of dist-newstyle/ |
| 2021-04-25 19:12:26 | <petrus> | in this project everything works fine, but the repl |
| 2021-04-25 19:13:02 | mjlbach | is now known as aterius |
| 2021-04-25 19:13:07 | <petrus> | however in any other project's directory cabal repl fails with the same error message |
| 2021-04-25 19:13:11 | aterius | is now known as mjblach |
| 2021-04-25 19:13:14 | mjblach | is now known as mjlbach |
| 2021-04-25 19:14:00 | <sclv> | check if you have a ghc env file |
| 2021-04-25 19:14:19 | <petrus> | sclv: where? |
| 2021-04-25 19:14:57 | <maerwald> | zzz: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/3.4.0.0/cabal-install-3.4.0.0-i386-unknown-linux.tar.xz |
| 2021-04-25 19:15:01 | <maerwald> | can you try that one? |
| 2021-04-25 19:15:24 | <sclv> | petrus: see the package env section here https://ghc.gitlab.haskell.org/ghc/doc/users_guide/packages.html |
| 2021-04-25 19:17:28 | → | cfricke joins (~cfricke@unaffiliated/cfricke) |
| 2021-04-25 19:19:40 | × | xkapastel quits (uid17782@gateway/web/irccloud.com/x-ffvsvgtndmjolwtr) (Quit: Connection closed for inactivity) |
| 2021-04-25 19:20:17 | <petrus> | sclv: that doesn't really help. where these env files can be I cannot find any |
| 2021-04-25 19:20:59 | <petrus> | and why other projects know about this particular project's lib |
| 2021-04-25 19:21:24 | <petrus> | which actually do exist, but cannot be found |
| 2021-04-25 19:21:48 | <petrus> | mot even by its own project |
| 2021-04-25 19:21:55 | <sclv> | i suspect it would be in the ghc homedir |
| 2021-04-25 19:22:14 | <sclv> | you might have it if you ever cabal installed your project |
| 2021-04-25 19:22:22 | <petrus> | sclv: I use, ghcup |
| 2021-04-25 19:23:00 | <petrus> | what is the format of this env file's name? so I can search for it |
| 2021-04-25 19:23:25 | <petrus> | actually, i never installed this project |
| 2021-04-25 19:23:29 | <sclv> | its in ~/.ghc/your-ghc-arch/environments |
| 2021-04-25 19:24:10 | <petrus> | sclv: I do not have such directory |
| 2021-04-25 19:24:30 | <sclv> | no ~/.ghc at all? |
| 2021-04-25 19:25:18 | <petrus> | of course I have .ghc, i don;t have ~/.ghc/your-ghc-arch/environments |
| 2021-04-25 19:25:36 | <sclv> | its not literally your ghc arch |
| 2021-04-25 19:25:48 | <sclv> | Substitute in the ghc you’re using |
| 2021-04-25 19:26:07 | <sclv> | but if its not there, might not be the problem |
| 2021-04-25 19:26:27 | <sclv> | if raw ghci causes the problem then its likely at issue tho |
| 2021-04-25 19:26:33 | <petrus> | I did not take it literally |
| 2021-04-25 19:26:47 | <sclv> | you can also try from your homedir |
| 2021-04-25 19:27:00 | <petrus> | try what? |
| 2021-04-25 19:27:07 | <petrus> | ghci? |
| 2021-04-25 19:27:16 | <sclv> | Ya |
| 2021-04-25 19:27:30 | <sclv> | Ghc will search any superdir for an env file |
| 2021-04-25 19:27:32 | <petrus> | if I am outside of any project, the cabal repl works with fake |
| 2021-04-25 19:27:47 | <petrus> | project or whatever |
| 2021-04-25 19:28:24 | <sclv> | ok and if you try a fresh project in a fresh dir directly off your home dir? |
| 2021-04-25 19:29:15 | <petrus> | I already did that, it fails the same way, complaining about the same lib! |
| 2021-04-25 19:29:35 | <sclv> | the autodiscovered ones are prefixed .ghc.environment fwiw |
| 2021-04-25 19:29:46 | × | Thom2503 quits (~Thom2503@49-135-166-62.ftth.glasoperator.nl) (Quit: Leaving) |
| 2021-04-25 19:29:51 | <sclv> | if its not an env file i have no other guesses, sorry... |
| 2021-04-25 19:30:01 | → | Guest91421 joins (~zmv@unaffiliated/zmv) |
| 2021-04-25 19:30:18 | <int-e> | is there any reference to the watchdog project in the environment variables? |
| 2021-04-25 19:30:19 | <petrus> | just figured myself too |
| 2021-04-25 19:30:29 | × | Guest6509 quits (~laudiacay@67.176.215.84) (Ping timeout: 246 seconds) |
| 2021-04-25 19:30:33 | <petrus> | int-e:no |
| 2021-04-25 19:31:29 | → | minoru_shiraeesh joins (~shiraeesh@109.166.59.190) |
| 2021-04-25 19:31:52 | × | __minoru__shirae quits (~shiraeesh@77.94.25.177) (Ping timeout: 240 seconds) |
| 2021-04-25 19:32:26 | × | wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 240 seconds) |
| 2021-04-25 19:32:44 | <petrus> | I have just searched ~/.cabal, .ghc, .ghcup, .local, .cache |
| 2021-04-25 19:33:30 | <sclv> | petrus: does the problem occur with ghcup or just cabal? |
| 2021-04-25 19:33:33 | <petrus> | found no .ghc.environment.x86_64-linux-8.10.4 file |
| 2021-04-25 19:33:42 | <sclv> | there may also be a cabal project file in a superdir confusing things... |
| 2021-04-25 19:34:09 | <int-e> | mysterious. maybe something like strace -eopenat -f cabal repl to figure out which interesting files are opened? |
| 2021-04-25 19:34:23 | <petrus> | the brand new test project was in my home dir top |
| 2021-04-25 19:34:53 | <int-e> | (not for the faint of heart, strace tends to be very noisy) |
| 2021-04-25 19:34:54 | <petrus> | so there is no super dir |
| 2021-04-25 19:35:24 | <petrus> | int-e: hmm I an gonna try |
| 2021-04-25 19:36:31 | <petrus> | one more thing I mirrored my whole home dir but .cache on another machine, now I get the same problem there too |
| 2021-04-25 19:36:57 | × | ddellaco_ quits (~ddellacos@ool-44c73afa.dyn.optonline.net) (Ping timeout: 260 seconds) |
| 2021-04-25 19:37:30 | <zzz> | maerwald: what is that exactly? |
| 2021-04-25 19:37:59 | <maerwald> | zzz: a static cabal-install 32 bit binary that shouldn't have that fdlock error |
| 2021-04-25 19:38:08 | → | wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 2021-04-25 19:38:12 | <maerwald> | 3.4.0.0 |
| 2021-04-25 19:38:17 | × | juuandyy quits (~juuandyy@90.106.228.121) (Quit: Konversation terminated!) |
| 2021-04-25 19:39:10 | <maerwald> | it's gpg signed and contains plan.json if you're paranoid... |
| 2021-04-25 19:42:49 | × | wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 252 seconds) |
| 2021-04-25 19:43:07 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 2021-04-25 19:44:05 | <petrus> | int-e: cabel repl searching for this one particular file everywhere! /etc/ /usr/lib, .ghcup .cabal/store |
| 2021-04-25 19:44:09 | → | nineonine joins (~nineonine@2604:3d08:7785:9600:bde3:c459:7b57:e4c8) |
| 2021-04-25 19:44:42 | × | fiedlr_ quits (~fiedlr@83.148.33.254) (Remote host closed the connection) |
| 2021-04-25 19:44:43 | × | cfricke quits (~cfricke@unaffiliated/cfricke) (Ping timeout: 250 seconds) |
All times are in UTC.