Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→ 502,152 events total
2021-04-25 19:45:26 <petrus> but I can't see where it gets the idea to search for this file at the first place
2021-04-25 19:45:26 × nineonine quits (~nineonine@2604:3d08:7785:9600:bde3:c459:7b57:e4c8) (Remote host closed the connection)
2021-04-25 19:46:19 <petrus> I feel like banging my head to a brick wall :-(
2021-04-25 19:46:29 nineonine joins (~nineonine@2604:3d08:7785:9600:bde3:c459:7b57:e4c8)
2021-04-25 19:46:55 <maerwald> that's usually more satisfying than debugging cabal
2021-04-25 19:47:04 Enrico63 joins (520efe97@cpc92708-cmbg20-2-0-cust150.5-4.cable.virginm.net)
2021-04-25 19:47:48 <sclv> does ghci search for the file, or just cabal repl?
2021-04-25 19:47:55 <sclv> also have you tried running repl with high verbosity?
2021-04-25 19:50:17 × sclv quits (sid39734@gateway/web/irccloud.com/x-wtovbcwumwbvxdup) (Changing host)
2021-04-25 19:50:17 sclv joins (sid39734@haskell/developer/sclv)
2021-04-25 19:50:49 × nineonine quits (~nineonine@2604:3d08:7785:9600:bde3:c459:7b57:e4c8) (Ping timeout: 245 seconds)
2021-04-25 19:50:49 <petrus> sclv: no. what is the flag for high verbosity?
2021-04-25 19:51:12 <sclv> `cabal repl -v3`
2021-04-25 19:51:29 <petrus> no -> I mean only cabal repl
2021-04-25 19:53:30 × ddellacosta quits (~ddellacos@86.106.143.73) (Remote host closed the connection)
2021-04-25 19:54:22 <petrus> sclv: okay, I got this verbose output it's as noisy as strace, what should I look for
2021-04-25 19:54:41 <petrus> the file name shows up only once just before crash
2021-04-25 19:55:15 <sclv> ok well look for anything that would indicate why its trying to load the file?
2021-04-25 19:55:21 <sclv> maybe paste it?
2021-04-25 19:55:50 <sclv> you can also try v1 or v2 to get less verbose output that may still help
2021-04-25 19:56:14 nicholasbulka joins (~nicholasb@2601:900:4301:da0:58e6:3a0a:96a:ca2c)
2021-04-25 19:56:27 <maerwald> zzz: can you confirm?
2021-04-25 19:58:00 <petrus> actually ghci what fails finding the damn file, but cabal somehow asks it to open it.
2021-04-25 19:58:31 <petrus> I can't paste that, dumps the whole environment
2021-04-25 19:59:45 <petrus> by the way I am talking about the top level test project, cannot be interference but there is!
2021-04-25 19:59:52 Lord_of_Life_ joins (~Lord@unaffiliated/lord-of-life/x-0885362)
2021-04-25 19:59:56 × gnumonic quits (~gnumonic@c-73-170-91-210.hsd1.ca.comcast.net) (Quit: Leaving)
2021-04-25 20:00:24 × nicholasbulka quits (~nicholasb@2601:900:4301:da0:58e6:3a0a:96a:ca2c) (Ping timeout: 245 seconds)
2021-04-25 20:00:32 × dastomaten quits (~dastomate@0543f40b.skybroadband.com) (Ping timeout: 240 seconds)
2021-04-25 20:00:33 <petrus> I have already ran a few "sudo ldconfig", since strace shows it is consulted several times
2021-04-25 20:01:10 <sclv> i mean use a pastebin, not into like irc directly
2021-04-25 20:02:26 <int-e> petrus: the thing to look for in the case of strace would be configuration files (like the ghc environment files)... it's difficult to say, probably easier to come up with files that can be safely excluded (like .so files)... in the case of -v3 it's similar, but you're at the mercy of the program to print the information.
2021-04-25 20:02:47 × Lord_of_Life quits (~Lord@unaffiliated/lord-of-life/x-0885362) (Ping timeout: 252 seconds)
2021-04-25 20:02:57 Lord_of_Life_ is now known as Lord_of_Life
2021-04-25 20:03:02 <petrus> sclv: what's the difference?
2021-04-25 20:03:59 × _ht quits (~quassel@82-169-194-8.biz.kpn.net) (Remote host closed the connection)
2021-04-25 20:04:18 <petrus> is it possible the the name of my project "watchdog" is in collision with something in ghc system
2021-04-25 20:04:46 <petrus> just a desperate idea
2021-04-25 20:05:33 × Sheilong quits (uid293653@gateway/web/irccloud.com/x-dlsyikshxdkdktlg) ()
2021-04-25 20:05:41 <monochrom> No.
2021-04-25 20:05:57 <int-e> nah. really, no. 1) there is no such thing in ghc. 2) the file name looks too much like one generated by cabal
2021-04-25 20:06:35 <int-e> (the -inplace- part in particular; an installed ghc would not have that)
2021-04-25 20:06:44 <petrus> int-e: the whole strace show no environment file opened until the very end
2021-04-25 20:06:49 <monochrom> I disbelieve the ghc-env-file theory. My understanding of cabal repl is that cabal repl ignores it.
2021-04-25 20:07:16 <int-e> petrus: good, that pretty much confirms what monochrom just wrote
2021-04-25 20:08:03 <petrus> once again, repl fails in watchdog project dir too, however the file is there, in this case
2021-04-25 20:08:45 × jb55 quits (~jb55@gateway/tor-sasl/jb55) (Ping timeout: 240 seconds)
2021-04-25 20:09:05 <petrus> here it is: ./dist-newstyle/build/x86_64-linux/ghc-8.10.4/watchdog-0.1.0.0/build/libHSwatchdog-0.1.0.0-inplace-ghc8.10.4.so
2021-04-25 20:09:29 <sclv> petrus: so there _is_ an env file opened at the end?
2021-04-25 20:10:11 <maerwald> http://hackage.haskell.org/package/watchdog
2021-04-25 20:10:28 × stree quits (~stree@68.36.8.116) (Ping timeout: 265 seconds)
2021-04-25 20:10:33 <petrus> sclv: no
2021-04-25 20:10:52 <maerwald> note that the hackage one has a higher version
2021-04-25 20:11:01 <sclv> "the whole strace show no environment file opened until the very end" ?
2021-04-25 20:11:30 <int-e> sclv: english is a difficult and ambiguous language
2021-04-25 20:11:32 <monochrom> This is why temporal logics define two "until" operators. >:)
2021-04-25 20:11:48 <sclv> not for me it isn't. english is clear and unambiguous to me.
2021-04-25 20:11:49 acidjnk_new joins (~acidjnk@p200300d0c72b9563253a50075d84e1af.dip0.t-ipconnect.de)
2021-04-25 20:11:58 <sclv> but i'm different
2021-04-25 20:12:02 <petrus> until bu the very end - but no, not at all
2021-04-25 20:12:12 <sclv> ok, thanks for clearing that up :-)
2021-04-25 20:12:23 <int-e> sclv: evidently not, since you read the sentence in an admittetly natural, but unintended way :P
2021-04-25 20:12:28 <int-e> *admittedly
2021-04-25 20:12:43 jb55 joins (~jb55@gateway/tor-sasl/jb55)
2021-04-25 20:13:59 <petrus> does hls cache stuff somewhere?
2021-04-25 20:14:29 <int-e> Ugh, how is hls involved?
2021-04-25 20:14:43 <petrus> in my neovim editor
2021-04-25 20:16:02 <int-e> (I thought you were running cabal repl from the shell. So that should make both the editor and hls irrelevant. I'd hope.)
2021-04-25 20:16:59 × knupfer quits (~Thunderbi@200116b82be79e0055f724416be108a9.dip.versatel-1u1.de) (Remote host closed the connection)
2021-04-25 20:17:05 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 260 seconds)
2021-04-25 20:17:09 knupfer joins (~Thunderbi@200116b82be79e00f8104d127665e968.dip.versatel-1u1.de)
2021-04-25 20:17:58 <petrus> int-e: correct I run repl from the shell. however hls/editor/... (may) create loaded modules cche
2021-04-25 20:18:11 <maerwald> ~/.cache/hie-bios/
2021-04-25 20:18:30 <petrus> I have found something .cache/ghc and already wiped it
2021-04-25 20:18:46 <petrus> maerwald: yes!
2021-04-25 20:20:14 fiedlr joins (~fiedlr@83.148.33.254)
2021-04-25 20:20:18 nineonine joins (~nineonine@2604:3d08:7785:9600:d9d9:f067:f388:4d71)
2021-04-25 20:20:28 <int-e> So haskell-ide-engine? and how does that get picked up? through an environment variable or something else?
2021-04-25 20:20:29 <petrus> maerwald: wiped it, problem persists.
2021-04-25 20:20:59 <petrus> int-e: no, I think just the location
2021-04-25 20:21:43 <int-e> cabal doesn't know about that location without being told I'd think.
2021-04-25 20:21:52 <int-e> But it didn't help so never mind.
2021-04-25 20:22:29 × knupfer quits (~Thunderbi@200116b82be79e00f8104d127665e968.dip.versatel-1u1.de) (Ping timeout: 245 seconds)
2021-04-25 20:22:34 × maralorn quits (maralornma@gateway/shell/matrix.org/x-fpczaqijffcnrkpc) (Quit: issued !quit command)
2021-04-25 20:22:35 letmein joins (~letmein@2601:1c1:4200:938f:f8bf:6a67:4eed:b2c1)
2021-04-25 20:23:12 <petrus> int-e: I don't really have any specific cabal, ghc etc env vars
2021-04-25 20:23:22 <int-e> . o O ( env | grep GHC\\\|CABAL )
2021-04-25 20:23:32 stree joins (~stree@68.36.8.116)
2021-04-25 20:23:40 usr25 joins (~usr25@unaffiliated/usr25)
2021-04-25 20:23:52 <petrus> already did
2021-04-25 20:25:16 × fiedlr quits (~fiedlr@83.148.33.254) (Ping timeout: 268 seconds)
2021-04-25 20:25:27 × nineonine quits (~nineonine@2604:3d08:7785:9600:d9d9:f067:f388:4d71) (Ping timeout: 250 seconds)
2021-04-25 20:27:13 ddellacosta joins (ddellacost@gateway/vpn/mullvad/ddellacosta)
2021-04-25 20:29:22 <petrus> I am considering wiping the whole .ghc,.cabal,.ghcup but worried about two things 1) this lib name cached somewhere else 2) it could take ages to recompile my projects and fill up the cabal/store again
2021-04-25 20:29:54 × ADG1089 quits (~aditya@171.76.29.233) (Quit: Konversation terminated!)
2021-04-25 20:30:14 <maerwald> why delete? mv
2021-04-25 20:30:55 <int-e> mirror (you did that already, didn't you?) then delete
2021-04-25 20:31:07 int-e shrugs
2021-04-25 20:31:29 <petrus> maerwald: ld caching uses file id-s I think not names
2021-04-25 20:31:39 × ddellacosta quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 245 seconds)

All times are in UTC.