Logs: liberachat/#haskell
| 2021-08-25 08:33:59 | <kuribas> | I think the SAX parser simply returns the processing instructions... |
| 2021-08-25 08:34:05 | <tdammers> | you also want to disable validating against arbitrary schemas |
| 2021-08-25 08:34:09 | → | jtomas joins (~jtomas@233.red-83-34-2.dynamicip.rima-tde.net) |
| 2021-08-25 08:35:39 | × | jippiedoe quits (~david@77-171-152-62.fixed.kpn.net) (Ping timeout: 250 seconds) |
| 2021-08-25 08:35:46 | → | dunj3 joins (~dunj3@p200300f617104f71b48bd778569fa2df.dip0.t-ipconnect.de) |
| 2021-08-25 08:36:22 | → | enoq joins (~enoq@2a05:1141:1f5:5600:b9c9:721a:599:bfe7) |
| 2021-08-25 08:37:34 | × | elf_fortres quits (~elf_fortr@adsl-72-50-4-46.prtc.net) (Ping timeout: 246 seconds) |
| 2021-08-25 08:38:41 | × | jespada quits (~jespada@90.254.245.194) (Ping timeout: 250 seconds) |
| 2021-08-25 08:39:01 | × | hnOsmium0001 quits (uid453710@id-453710.stonehaven.irccloud.com) (Quit: Connection closed for inactivity) |
| 2021-08-25 08:39:35 | → | jippiedoe joins (~david@2a02-a44c-e14e-1-9da9-d54e-bfee-aa3a.fixed6.kpn.net) |
| 2021-08-25 08:39:40 | × | Erutuon quits (~Erutuon@user/erutuon) (Ping timeout: 240 seconds) |
| 2021-08-25 08:40:28 | → | jespada joins (~jespada@90.254.245.194) |
| 2021-08-25 08:40:52 | × | jtomas quits (~jtomas@233.red-83-34-2.dynamicip.rima-tde.net) (Remote host closed the connection) |
| 2021-08-25 08:41:57 | → | jtomas joins (~jtomas@233.red-83-34-2.dynamicip.rima-tde.net) |
| 2021-08-25 08:44:07 | × | jippiedoe quits (~david@2a02-a44c-e14e-1-9da9-d54e-bfee-aa3a.fixed6.kpn.net) (Ping timeout: 240 seconds) |
| 2021-08-25 08:46:21 | × | turlando quits (~turlando@user/turlando) (Quit: turlando) |
| 2021-08-25 08:46:38 | → | turlando joins (~turlando@93-42-250-112.ip89.fastwebnet.it) |
| 2021-08-25 08:46:38 | × | turlando quits (~turlando@93-42-250-112.ip89.fastwebnet.it) (Changing host) |
| 2021-08-25 08:46:38 | → | turlando joins (~turlando@user/turlando) |
| 2021-08-25 08:49:25 | → | eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:6136:f245:971c:30da) |
| 2021-08-25 08:50:16 | → | famubu joins (~famubu@14.139.174.50) |
| 2021-08-25 08:51:05 | → | jumper149 joins (~jumper149@80.240.31.34) |
| 2021-08-25 08:51:10 | × | azeem quits (~azeem@176.201.15.223) (Ping timeout: 240 seconds) |
| 2021-08-25 08:51:13 | → | burnsidesLlama joins (~burnsides@dhcp168-022.wadham.ox.ac.uk) |
| 2021-08-25 08:51:14 | × | cross quits (~cross@spitfire.i.gajendra.net) (Quit: Lost terminal) |
| 2021-08-25 08:52:18 | <kuribas> | tdammers: or I just copy the part of the library I use into my own library... |
| 2021-08-25 08:53:03 | <kuribas> | I only use the SAX part anyway... |
| 2021-08-25 08:53:18 | <tdammers> | that's also a fork, just a more ad-hoc one |
| 2021-08-25 08:53:40 | × | eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:6136:f245:971c:30da) (Ping timeout: 240 seconds) |
| 2021-08-25 08:54:27 | <kuribas> | tdammers: I just don't feel like maintaining a big library... |
| 2021-08-25 08:54:42 | <kuribas> | I mean, *another* big library :) |
| 2021-08-25 08:54:53 | <tdammers> | haha yeah, well, I never said this was an easy choice |
| 2021-08-25 08:55:14 | <Taneb> | Are you tied to hexpat? |
| 2021-08-25 08:55:21 | <tdammers> | but sure, you could just factor out the SAX part and "maintain" that as your own personal-use library which you then vendor into your project instead of formally depending on it |
| 2021-08-25 08:56:19 | <kuribas> | Taneb: not really, except it's in the package name :) |
| 2021-08-25 08:57:39 | × | jtomas quits (~jtomas@233.red-83-34-2.dynamicip.rima-tde.net) (Remote host closed the connection) |
| 2021-08-25 08:57:45 | × | xff0x quits (~xff0x@2001:1a81:536c:3300:2715:adb6:6b2e:5e0d) (Ping timeout: 250 seconds) |
| 2021-08-25 08:58:24 | <kuribas> | Taneb: if you know another fast complient SAX parser, let me know :) |
| 2021-08-25 08:58:55 | → | azeem joins (~azeem@176.201.15.223) |
| 2021-08-25 08:59:15 | <tdammers> | oh, third option: start from scratch and make your own expat bindings |
| 2021-08-25 09:03:06 | <kuribas> | The hexpat-bindings look ok. Definitely not trivial to setup... |
| 2021-08-25 09:07:07 | × | hyiltiz quits (~quassel@31.220.5.250) (Ping timeout: 240 seconds) |
| 2021-08-25 09:07:42 | → | hyiltiz joins (~quassel@31.220.5.250) |
| 2021-08-25 09:13:40 | → | mikoto-chan joins (~mikoto-ch@ip-83-134-2-136.dsl.scarlet.be) |
| 2021-08-25 09:14:55 | × | ChaiTRex quits (~ChaiTRex@user/chaitrex) (Remote host closed the connection) |
| 2021-08-25 09:14:55 | × | jpds quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection) |
| 2021-08-25 09:15:19 | → | jpds joins (~jpds@gateway/tor-sasl/jpds) |
| 2021-08-25 09:15:27 | → | ChaiTRex joins (~ChaiTRex@user/chaitrex) |
| 2021-08-25 09:16:21 | → | Kabouik joins (~Kabouik@user/kabouik) |
| 2021-08-25 09:17:17 | <Kabouik> | Hello. I am trying to build something with cabal (which worked on Debian Sid on another machine), but I am getting the following errors on another machine and I don't quite know how to trouble shoot, my web searches were not very successful: https://p.teknik.io/Simple/Q4TMp |
| 2021-08-25 09:17:19 | <Kabouik> | Any ideas? |
| 2021-08-25 09:17:45 | <Kabouik> | I'm not sure why those packages fail to build. |
| 2021-08-25 09:18:33 | ← | jakalx parts (~jakalx@base.jakalx.net) (Error from remote client) |
| 2021-08-25 09:19:45 | <Drew[m]> | It doesn't look like a Haskell compilation error. Looks like it could be a linking issue |
| 2021-08-25 09:20:31 | <int-e> | No alex found |
| 2021-08-25 09:20:32 | <Drew[m]> | Brick has C deps |
| 2021-08-25 09:20:36 | <int-e> | sorry |
| 2021-08-25 09:21:10 | <int-e> | It thinks there's an installed network-3.1.1.1-4pp4vfRvcxm9PeTHatjCEm package but fails to actually use it... it may be registered but missing files |
| 2021-08-25 09:21:38 | <int-e> | <command line>: cannot satisfy -package-id network-3.1.1.1-4pp4vfRvcxm9PeTHatjCEm |
| 2021-08-25 09:21:49 | <int-e> | that's the first actual error, I think |
| 2021-08-25 09:22:53 | → | epolanski joins (uid312403@id-312403.helmsley.irccloud.com) |
| 2021-08-25 09:23:57 | <Kabouik> | Thank you. I ran `cabal new-clean` and `cabal new-update` but that doesn't fix it |
| 2021-08-25 09:24:45 | <int-e> | what about ghc-pkg list and ghc-pkg check? |
| 2021-08-25 09:25:05 | <Kabouik> | Note that at some point cabal was reporting a truncated tar archive because of an Internet connection issue during `cabal new-update`, which made it fail. The only way I could find to run cabal commands gain was to remove ~/.cabal/packages (and did another update afterwards). I suppose this could ber elated? |
| 2021-08-25 09:25:12 | <int-e> | new-clean will only clean local build artefacts, not globally or user installed packages |
| 2021-08-25 09:25:49 | <int-e> | (I think. I'm still not really using the new-* commands.) |
| 2021-08-25 09:26:28 | <Drew[m]> | Are you using an old cabal version? |
| 2021-08-25 09:26:31 | <Kabouik> | `ghc-pkg check` confirms says it cannot satisfy -package-id bifunctors-5.5.7-blahblah |
| 2021-08-25 09:27:40 | <int-e> | Drew[m]: old enough: 3.2 |
| 2021-08-25 09:28:03 | <Kabouik> | Even worse apparently: cabal-install version 2.4.0.0 |
| 2021-08-25 09:29:17 | <int-e> | Drew[m]: What happened was that I got used to sandboxes, and the v2- commands don't support that model in a convenient way. |
| 2021-08-25 09:30:12 | <int-e> | (It's not impossible; one can set up local package stores per project. But it's not the same.) |
| 2021-08-25 09:30:29 | <Drew[m]> | Oh, so you use `cabal v1-clean` instead of `cabal clean`? |
| 2021-08-25 09:32:21 | <int-e> | Drew[m]: I nuke and reinitialize the sandbox when dependencies become inconsistent. |
| 2021-08-25 09:32:27 | int-e | shrugs. |
| 2021-08-25 09:33:17 | × | jgeerds quits (~jgeerds@55d4b311.access.ecotel.net) (Ping timeout: 250 seconds) |
| 2021-08-25 09:33:27 | <Kabouik> | I really have no clue how cabal works to be honest, no idea why it's throwing errors on a fresh git repository that compiled well on another machine |
| 2021-08-25 09:33:35 | <Kabouik> | I don't think I'm missing dependencies |
| 2021-08-25 09:34:09 | <int-e> | I'll make the switch eventually. Soon in fact, because v1-command support is mostly gone in 3.6. |
| 2021-08-25 09:35:09 | <int-e> | Kabouik: My best guess is that you have broken packages. Note that `network` is *not* in the list of packages being built, so it's picked up from elsewhere... either as a global package or as a user package. |
| 2021-08-25 09:35:49 | <kuribas> | tdammers: hmm, then I can get rid of the ridiculous GenericXMLString nonsense, and just use Text :) |
| 2021-08-25 09:35:55 | <Kabouik> | How would I restart from scratch to rebuild broken packages? Not sure what I need to delete in the first place. I'll check mydistro repo for network. |
| 2021-08-25 09:36:01 | <int-e> | That's why I suggested `ghc-pkg check`: it should detect that. |
| 2021-08-25 09:36:42 | <Kabouik> | I have a haskell-network globally installed. |
| 2021-08-25 09:37:12 | <int-e> | Kabouik: is it split into that and a -dev package? |
| 2021-08-25 09:37:41 | <Kabouik> | ghc-pkg check gives that: https://p.teknik.io/Simple/ujgiZ (lots of warnings) |
| 2021-08-25 09:38:27 | <Kabouik> | There's a devel package too (no -dev on Solus), indeed. That guy is 60MB big, ouch! |
| 2021-08-25 09:39:01 | <Kabouik> | That's because it's going to install ghc-devel too apparently. I didn't know I needed that if using cabal actually (but again, I'm a newbie). |
| 2021-08-25 09:39:04 | <int-e> | /usr/lib64/ghc-8.6.5/network-3.1.1.1/include doesn't exist or isn't a directory |
| 2021-08-25 09:39:09 | <int-e> | that one may be a problem |
| 2021-08-25 09:39:17 | <int-e> | the haddock stuff is mostly harmless |
| 2021-08-25 09:40:03 | <Kabouik> | /usr/lib64/ghc-8.6.5/network-3.1.1.1/ exists though, just not /usr/lib64/ghc-8.6.5/network-3.1.1.1/include |
| 2021-08-25 09:40:23 | → | xff0x joins (~xff0x@2001:1a81:536c:3300:2715:adb6:6b2e:5e0d) |
| 2021-08-25 09:40:46 | <maerwald> | how did you install ghc? |
| 2021-08-25 09:40:59 | → | fvr joins (uid503686@id-503686.highgate.irccloud.com) |
| 2021-08-25 09:41:16 | <int-e> | distributtion packages, evidently... though I'm not sure which distribution :P |
| 2021-08-25 09:41:33 | <Kabouik> | I think I just installed it from my distribution repository. Now I installed ghc-devel too, and haskell-network-devel. At least the cabal new-build doesn't seem to fail as early as it did before, so there's hope (still building). |
| 2021-08-25 09:41:38 | <Kabouik> | Solus |
| 2021-08-25 09:41:54 | <int-e> | ah, you said so, didn't register. |
| 2021-08-25 09:42:05 | <Kabouik> | I thought I mentioned it above when I said it worked on Debian, but sorry if I haven't |
All times are in UTC.