Logs: freenode/#haskell
| 2021-03-25 19:18:58 | → | shieru[m] joins (shierualet@gateway/shell/matrix.org/x-xqebitkoctqsqrrq) |
| 2021-03-25 19:19:01 | → | alar[m] joins (alarmxalat@gateway/shell/matrix.org/x-xyufcijrhgobwhht) |
| 2021-03-25 19:19:02 | → | Cesionaut[m] joins (cesionautm@gateway/shell/matrix.org/x-thzaqisfhjtnjxiv) |
| 2021-03-25 19:19:02 | → | viktorstrate[m] joins (viktorstra@gateway/shell/matrix.org/x-jzjyxmvrxfrstvkg) |
| 2021-03-25 19:19:02 | → | rust-rocks[m] joins (rust-rocks@gateway/shell/matrix.org/x-ztvyhrreyiyrdiaw) |
| 2021-03-25 19:19:03 | → | invent[m] joins (inventmatr@gateway/shell/matrix.org/x-szzijrqsdjgoiqjh) |
| 2021-03-25 19:19:03 | <remedan> | Hello, I'm new to haskell and I'm trying to run a simple script. It runs unless I import anything. Then it hangs. Example: https://paste.tomsmeding.com/QdOpCG9G I've tried removing ~/.stack |
| 2021-03-25 19:19:03 | → | ManofLetters[m] joins (manoflette@gateway/shell/matrix.org/x-lhhtyyzwgyplirka) |
| 2021-03-25 19:19:04 | → | Lurkki[m]1 joins (lurkkipriv@gateway/shell/matrix.org/x-tllccbvhmdwuvhei) |
| 2021-03-25 19:19:05 | → | Haskman[m] joins (haskmanmat@gateway/shell/matrix.org/x-aabmdmieqqpjkbyp) |
| 2021-03-25 19:19:28 | × | Firedancer_ quits (sid336191@gateway/web/irccloud.com/x-oqnhfavzetzfosjq) () |
| 2021-03-25 19:19:33 | → | Pressyware[m] joins (pressyware@gateway/shell/matrix.org/x-aixuldvihabgyxzq) |
| 2021-03-25 19:19:34 | → | MahmoudMAZOUZ[m] joins (mazouzmaen@gateway/shell/matrix.org/x-tdhzypoavtepgyci) |
| 2021-03-25 19:19:48 | → | Firedancer_ joins (sid336191@gateway/web/irccloud.com/x-mtbaiflqonfwpdpt) |
| 2021-03-25 19:19:51 | <remedan> | Google got me nowhere |
| 2021-03-25 19:20:11 | × | mniip quits (mniip@freenode/staff/mniip) (Quit: This page is intentionally left blank.) |
| 2021-03-25 19:20:48 | <maerwald> | sclv: tar needs a rewrite, utilizing something like streamly |
| 2021-03-25 19:20:55 | → | aarvar joins (~foewfoiew@2601:602:a080:fa0:8d5e:8b07:4f7a:6938) |
| 2021-03-25 19:21:04 | <tomsmeding> | remedan: how long did you wait? that step might take a while |
| 2021-03-25 19:21:12 | <maerwald> | afair the streaming in current tar is realized via laziness (ugh) |
| 2021-03-25 19:21:15 | <sclv> | conceptually, yes. for the purposes of cabal, i think not :-) |
| 2021-03-25 19:21:27 | <maerwald> | and so in some weird rare cases, it isn't lazy |
| 2021-03-25 19:21:29 | → | mniip joins (mniip@freenode/staff/mniip) |
| 2021-03-25 19:21:34 | <remedan> | tomsmeding: about a minute, does it take longer? |
| 2021-03-25 19:21:38 | <maerwald> | because laziness generally isn't something easy to reason about |
| 2021-03-25 19:21:57 | × | rj quits (~x@gateway/tor-sasl/rj) (Ping timeout: 240 seconds) |
| 2021-03-25 19:22:26 | <tomsmeding> | remedan: does it use CPU in the mean time? What cpu do you have? |
| 2021-03-25 19:23:08 | <maerwald> | sclv: yeah, the problem with libarchive was that it's an external library, but I added static build to it |
| 2021-03-25 19:23:25 | <maerwald> | cabal is very peculiar with it's dep footprint, for good reason |
| 2021-03-25 19:23:30 | × | conal quits (~conal@192.145.118.103) (Quit: Computer has gone to sleep.) |
| 2021-03-25 19:23:31 | <tapas> | tar does indeed need a rewrite. |
| 2021-03-25 19:23:39 | <sclv> | created a ticket to track this discussion: https://github.com/haskell/cabal/issues/7343 |
| 2021-03-25 19:23:40 | <remedan> | tomsmeding: it's using ~3% of a core, my CPU is AMD Ryzen 7 3700X |
| 2021-03-25 19:23:50 | <tapas> | i agree with maerwald here, and I"m happy to take on the discussion with anyone who wants to |
| 2021-03-25 19:23:56 | → | rj joins (~x@gateway/tor-sasl/rj) |
| 2021-03-25 19:24:18 | <tomsmeding> | remedan: ok 3% of a core looks like it's hanging indeed, then I don't know unfortunately |
| 2021-03-25 19:24:27 | <tomsmeding> | remedan: linux or windows? |
| 2021-03-25 19:24:57 | <sclv> | (basically when the hackage builder used to get stuck it was Almost Certainly busting on packages with module names so long the file names broke tar. The current solution is now failure in such cases is handled less horribly) |
| 2021-03-25 19:25:10 | <remedan> | tomsmeding: linux |
| 2021-03-25 19:25:31 | <tomsmeding> | remedan: % strace -o log.txt stack --resolver lts-17.7 script -- fails.hs |
| 2021-03-25 19:25:39 | <tomsmeding> | kill that after a while and send me log.txt |
| 2021-03-25 19:25:42 | × | xourt quits (d4c620ea@212-198-32-234.rev.numericable.fr) (Ping timeout: 240 seconds) |
| 2021-03-25 19:26:16 | <tomsmeding> | (that logs all the system calls stack does) |
| 2021-03-25 19:26:37 | → | thillux joins (~thillux@p200300d1ef42cb00c107b90fceadaf04.dip0.t-ipconnect.de) |
| 2021-03-25 19:27:22 | × | m1dnight_ quits (~m1dnight@78-22-9-5.access.telenet.be) (Quit: WeeChat 2.4) |
| 2021-03-25 19:28:32 | <maerwald> | tapas: libarchive just needs work to build on windows and 32bit, then I think there's no reason to have a native tar implementation |
| 2021-03-25 19:28:42 | <maerwald> | except for bragging purposes (which is also important) |
| 2021-03-25 19:29:13 | EPic | is now known as APic |
| 2021-03-25 19:30:17 | <monochrom> | Bragging is cool, but perhaps the long-name issue should be fixed before there is something to brag about. :) |
| 2021-03-25 19:30:32 | × | Firedancer quits (~Firedance@178.62.203.79) (Remote host closed the connection) |
| 2021-03-25 19:30:40 | <tapas> | well, perhaps we can look at that in the future. But right now, i'd like to fix up what we can, and then focus on finding a sustainable way to maintain these packages that isn't "foist them on me" |
| 2021-03-25 19:30:52 | → | m1dnight_ joins (~m1dnight@188.ip-51-91-158.eu) |
| 2021-03-25 19:31:01 | × | heatsink quits (~heatsink@2600:1700:bef1:5e10:10c4:3f41:be04:1f78) (Remote host closed the connection) |
| 2021-03-25 19:31:13 | → | jneira joins (501e65b6@gateway/web/cgi-irc/kiwiirc.com/ip.80.30.101.182) |
| 2021-03-25 19:31:14 | Firedancer_ | is now known as Firedancer |
| 2021-03-25 19:31:21 | <monochrom> | But I believe that the original intention was not wanting to bother with C libraries rather than bragging. |
| 2021-03-25 19:31:49 | <maerwald> | tapas: well, tar as it is now needs a major patch to even fix the utf8 thing |
| 2021-03-25 19:31:59 | <tapas> | yep |
| 2021-03-25 19:32:03 | <tapas> | i think davean has one |
| 2021-03-25 19:32:17 | <maerwald> | tapas: that's what my fork is for :p |
| 2021-03-25 19:32:38 | → | ddellaco_ joins (~ddellacos@ool-44c73afa.dyn.optonline.net) |
| 2021-03-25 19:32:41 | × | elfets quits (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de) (Ping timeout: 240 seconds) |
| 2021-03-25 19:33:10 | <maerwald> | https://github.com/haskell/tar/commit/fad816a4bb8309b505ae8541659e348dd4a4a82d |
| 2021-03-25 19:33:24 | <maerwald> | but I also dropped windows support (bc I couldn't test the code there) |
| 2021-03-25 19:35:13 | → | Neuromancer joins (~Neuromanc@unaffiliated/neuromancer) |
| 2021-03-25 19:35:40 | <sclv> | yeah lmao dropping windows support is a nonstarter |
| 2021-03-25 19:35:41 | <remedan> | tomsmeding: head of log.txt: https://pastebin.com/K4Fr7hmY tail: https://pastebin.com/vf3Aun2U |
| 2021-03-25 19:35:54 | <sclv> | (dropping c libs is also tied to making windows and other xplat support easier) |
| 2021-03-25 19:36:18 | <maerwald> | sclv: it should be straight forward to adjust the patch for windows support |
| 2021-03-25 19:36:28 | <maerwald> | but I don't upload code for platforms I cannot test |
| 2021-03-25 19:36:32 | <sclv> | fair nuff |
| 2021-03-25 19:36:49 | <sclv> | but in any case the Big Advantage of pure haskell is, in general, portability |
| 2021-03-25 19:37:00 | → | Lord_of_Life_ joins (~Lord@unaffiliated/lord-of-life/x-0885362) |
| 2021-03-25 19:37:06 | <sclv> | (interacting with a quirky filesystem of course cuts against that but...) |
| 2021-03-25 19:37:20 | <maerwald> | yes... libarchive codebase has much more knowledge about these things |
| 2021-03-25 19:37:54 | × | Lord_of_Life_ quits (~Lord@unaffiliated/lord-of-life/x-0885362) (Remote host closed the connection) |
| 2021-03-25 19:38:11 | <maerwald> | so portability is higher when not using pure haskell imo |
| 2021-03-25 19:38:21 | <maerwald> | it's just the building part that's more annoying |
| 2021-03-25 19:38:57 | → | conal joins (~conal@192.145.118.251) |
| 2021-03-25 19:39:11 | × | Lord_of_Life quits (~Lord@unaffiliated/lord-of-life/x-0885362) (Ping timeout: 260 seconds) |
| 2021-03-25 19:40:48 | <tomsmeding> | remedan: obscure, it doesn't look like being blocked on anything |
| 2021-03-25 19:41:18 | → | Firedancer_ joins (~Firedance@178.62.203.79) |
| 2021-03-25 19:42:29 | → | Lord_of_Life joins (~Lord@unaffiliated/lord-of-life/x-0885362) |
| 2021-03-25 19:43:03 | × | motersen quits (~user@2a0a-a540-7dde-0-2d1c-e683-f179-e2a.ipv6dyn.netcologne.de) (Quit: rcirc on GNU Emacs 27.1) |
| 2021-03-25 19:43:44 | <remedan> | tomsmeding: there is a lot of (No such file or directory) in the strace, does that indicate my system is broken? |
| 2021-03-25 19:43:55 | <remedan> | when I compile with stack ghc -- fails.hs there is no issue |
| 2021-03-25 19:45:46 | Guest16912 | is now known as stilgart |
| 2021-03-25 19:45:53 | × | Firedancer_ quits (~Firedance@178.62.203.79) (Ping timeout: 260 seconds) |
| 2021-03-25 19:45:56 | <tomsmeding> | remedan: I don't think so, not necessarily; I'm running it myself now too and it's also taking a while |
| 2021-03-25 19:46:00 | → | coot joins (~coot@37.30.55.131.nat.umts.dynamic.t-mobile.pl) |
| 2021-03-25 19:47:24 | <tomsmeding> | remedan: those ENOENT errors are for pantry.sqlite3-journal, right? |
| 2021-03-25 19:48:07 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 2021-03-25 19:48:37 | × | m1dnight_ quits (~m1dnight@188.ip-51-91-158.eu) (Remote host closed the connection) |
| 2021-03-25 19:49:10 | <remedan> | tomsmeding: at the end yes |
| 2021-03-25 19:49:20 | <remedan> | tomsmeding: at the beginning there's a bunch of stuff not found in /usr/lib/ghc-8.10.4/ |
| 2021-03-25 19:50:34 | <tomsmeding> | remedan: it finds libHSstack-* on line 524 |
| 2021-03-25 19:50:46 | × | stree quits (~stree@68.36.8.116) (Ping timeout: 245 seconds) |
| 2021-03-25 19:50:57 | <tomsmeding> | looking for libraries in lots of places and finding them only after a while is not necessarily a sign that something is wrong |
| 2021-03-25 19:51:24 | <remedan> | oh, right |
| 2021-03-25 19:51:39 | Guest50224 | is now known as zzz |
All times are in UTC.