Logs: freenode/#haskell
| 2021-04-07 19:35:39 | × | ukari quits (~ukari@unaffiliated/ukari) (Remote host closed the connection) |
| 2021-04-07 19:36:02 | → | kiltzman joins (~k1ltzman@5.206.224.243) |
| 2021-04-07 19:36:09 | → | connrs joins (~connrs@connolley.uk) |
| 2021-04-07 19:36:16 | × | connrs quits (~connrs@connolley.uk) (Client Quit) |
| 2021-04-07 19:36:50 | → | ukari joins (~ukari@unaffiliated/ukari) |
| 2021-04-07 19:36:52 | → | justanotheruser joins (~justanoth@unaffiliated/justanotheruser) |
| 2021-04-07 19:37:01 | <tomsmeding> | geekosaur: llvm-hs's cabal file looks like it uses vanilla hsc2hs, not something clang-specific; perhaps it doesn't particularly care about your C/C++ compiler, but just links to libllvm? |
| 2021-04-07 19:37:19 | → | connrs joins (~connrs@connolley.uk) |
| 2021-04-07 19:37:49 | × | connrs quits (~connrs@connolley.uk) (Client Quit) |
| 2021-04-07 19:37:51 | <geekosaur> | dunno |
| 2021-04-07 19:37:57 | ← | thriqon parts (~thriqon@HSI-KBW-46-223-163-79.hsi.kabel-badenwuerttemberg.de) () |
| 2021-04-07 19:38:10 | <geekosaur> | I'm just suspicious of a --with-gcc involved with an llvm-related package |
| 2021-04-07 19:38:46 | <fiedlr> | tomsmeding Thanks for the hint! Well I was lazy and just fired it myself at the right moment :-D It seems that --with-gcc is ignored and /Library/Developer/CommandLineTools/usr/bin/clang is used anyway. |
| 2021-04-07 19:38:50 | → | connrs joins (~connrs@connolley.uk) |
| 2021-04-07 19:38:55 | × | frozenErebus quits (~frozenEre@37.231.244.249) (Ping timeout: 252 seconds) |
| 2021-04-07 19:39:40 | <tomsmeding> | env PATH="/path/to/your/chosen/gcc:$PATH" cabal build |
| 2021-04-07 19:39:40 | <tomsmeding> | ? |
| 2021-04-07 19:40:04 | <geekosaur> | if this is hsc2hs failing then maybe it'd work (of course "gcc" from apple dev tools is a wrapper for clang) but complaining about constexpr sounds like it is compiling c++ code and wants a recentish clang++ |
| 2021-04-07 19:40:25 | → | royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) |
| 2021-04-07 19:40:33 | × | connrs quits (~connrs@connolley.uk) (Client Quit) |
| 2021-04-07 19:40:51 | → | dcoutts__ joins (~duncan@94.186.125.91.dyn.plus.net) |
| 2021-04-07 19:41:14 | × | dcoutts quits (~duncan@94.186.125.91.dyn.plus.net) (Read error: Connection reset by peer) |
| 2021-04-07 19:41:36 | → | connrs joins (~connrs@connolley.uk) |
| 2021-04-07 19:43:36 | × | supercoven_ quits (~Supercove@dsl-hkibng31-58c384-213.dhcp.inet.fi) (Ping timeout: 260 seconds) |
| 2021-04-07 19:44:00 | × | royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Client Quit) |
| 2021-04-07 19:44:20 | → | royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) |
| 2021-04-07 19:44:39 | × | Ranhir quits (~Ranhir@157.97.53.139) (Ping timeout: 265 seconds) |
| 2021-04-07 19:44:58 | × | juliuco quits (~juliuco@213.177.196.21) (Quit: juliuco) |
| 2021-04-07 19:45:07 | <fiedlr> | This apple dev tools clang is a pain in the neck. Every time. |
| 2021-04-07 19:46:56 | <tomsmeding> | you can put a brew clang before it in your PATH |
| 2021-04-07 19:48:34 | → | Lord_of_Life_ joins (~Lord@unaffiliated/lord-of-life/x-0885362) |
| 2021-04-07 19:48:35 | <fiedlr> | True, but I think brew doesn't shadow it by default for some reason... Even gcc is installed as gcc-10 |
| 2021-04-07 19:48:51 | <fiedlr> | That's why I haven't done it so far |
| 2021-04-07 19:48:58 | <fiedlr> | But idk, no idea |
| 2021-04-07 19:49:07 | × | royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Ping timeout: 248 seconds) |
| 2021-04-07 19:50:21 | × | justanotheruser quits (~justanoth@unaffiliated/justanotheruser) (Read error: Connection reset by peer) |
| 2021-04-07 19:50:23 | × | Lord_of_Life quits (~Lord@unaffiliated/lord-of-life/x-0885362) (Ping timeout: 260 seconds) |
| 2021-04-07 19:50:56 | <tomsmeding> | brew does not change your path |
| 2021-04-07 19:51:38 | Lord_of_Life_ | is now known as Lord_of_Life |
| 2021-04-07 19:51:41 | → | Fabe joins (~Faberyayo@ptr-g9pig2kcm602krccqi3.18120a2.ip6.access.telenet.be) |
| 2021-04-07 19:52:07 | <tomsmeding> | it's perhaps a bad idea to put /usr/local/bin in the front of your path to let everything from brew take precedence (though I believe I did that at some point), but you can create a different folder ($HOME/bin for example) in which you add symlinks to the brew things you want to have precedence, and then add _that_ folder to your pATH |
| 2021-04-07 19:52:48 | <tomsmeding> | fiedlr: did the temporary PATH override that I suggested work? |
| 2021-04-07 19:53:58 | <joel135> | If I have a monad for which the bind operation which takes a -> m b and outputs m a -> m b is an isomorphism, is this related to m being an idempotent monad? |
| 2021-04-07 19:54:24 | ← | Fabe parts (~Faberyayo@ptr-g9pig2kcm602krccqi3.18120a2.ip6.access.telenet.be) ("Leaving") |
| 2021-04-07 19:55:18 | → | molehillish joins (~molehilli@2600:8800:8d06:1800:e032:860d:11aa:7812) |
| 2021-04-07 19:55:21 | <fiedlr> | tomsmeding: It didn't (I used stack though). |
| 2021-04-07 19:55:43 | → | Ranhir joins (~Ranhir@157.97.53.139) |
| 2021-04-07 19:56:25 | <tomsmeding> | fiedlr: yeah the 'cabal build' was just a standin for whatever you're using |
| 2021-04-07 19:56:29 | × | hexagenic quits (~mattias@81-224-107-147-no71.tbcn.telia.com) (Quit: WeeChat 1.9.1) |
| 2021-04-07 19:56:38 | <sm[m]> | I always put brew, nix etc. first in PATH on mac and haven't noticed any issues |
| 2021-04-07 19:56:40 | <tomsmeding> | fiedlr: can you post the entire build log to a pastebin? |
| 2021-04-07 19:58:05 | <fiedlr> | tomsmeding: I guess I really need that clang++? I know that brew doesn't change paths, I just meant the suffixes (gcc-10...). |
| 2021-04-07 19:58:32 | <fiedlr> | sm[m]: Ok I'll try :-D |
| 2021-04-07 19:58:34 | <tomsmeding> | ooo that might be a thing |
| 2021-04-07 19:58:48 | × | malumore quits (~malumore@151.62.125.43) (Remote host closed the connection) |
| 2021-04-07 19:59:05 | → | malumore joins (~malumore@151.62.125.43) |
| 2021-04-07 19:59:33 | <tomsmeding> | fiedlr: mkdir $HOME/bin; ln -vis $(which gcc-10) $HOME/bin/gcc; ln -vis $(WHICH g++-10) $HOME/bin/g++; env PATH="$HOME/bin:$PATH" stack build |
| 2021-04-07 19:59:47 | <tomsmeding> | perhaps do a similar thing with clang/clang++ if necessary, not sure if necessary |
| 2021-04-07 20:00:06 | <tomsmeding> | lol s/WHICH/which/ though that might not even matter on mac |
| 2021-04-07 20:01:31 | <maerwald> | sm[m]: interestingly I got an angry bug report saying ghcup should put itself LAST in PATH (like all tools should)... although this is false logic |
| 2021-04-07 20:01:43 | × | heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 2021-04-07 20:01:46 | <maerwald> | order matters, no matter if you prepend or append |
| 2021-04-07 20:01:52 | <maerwald> | there will always be problems |
| 2021-04-07 20:02:40 | <maerwald> | but apparently there are conflicts with nix |
| 2021-04-07 20:03:01 | <maerwald> | so you probably want to put nix first |
| 2021-04-07 20:03:10 | × | connrs quits (~connrs@connolley.uk) (Quit: ZNC 1.8.2 - https://znc.in) |
| 2021-04-07 20:03:10 | <maerwald> | unless you don't |
| 2021-04-07 20:03:42 | → | coot joins (~coot@37.30.55.131.nat.umts.dynamic.t-mobile.pl) |
| 2021-04-07 20:04:11 | → | connrs joins (~connrs@connolley.uk) |
| 2021-04-07 20:04:58 | × | petersen quits (~petersen@redhat/juhp) (Ping timeout: 240 seconds) |
| 2021-04-07 20:05:00 | <geekosaur> | fiedlr, given that it's LLVM, I'd check the LLVM version I wanted to link against and use its clang and clang++ |
| 2021-04-07 20:05:34 | <fiedlr> | This is the log https://pastebin.com/EnLNGmr6 |
| 2021-04-07 20:05:51 | × | geekosaur quits (82650c7a@130.101.12.122) (Quit: Connection closed) |
| 2021-04-07 20:06:21 | × | dpl quits (~dpl@77-121-78-163.chn.volia.net) (Ping timeout: 260 seconds) |
| 2021-04-07 20:06:35 | → | hyperisco joins (~hyperisco@d192-186-117-226.static.comm.cgocable.net) |
| 2021-04-07 20:07:48 | → | petersen joins (~petersen@redhat/juhp) |
| 2021-04-07 20:08:08 | <tomsmeding> | fiedlr: is that the full log? no configure output about llvm-hs beforehand? |
| 2021-04-07 20:08:14 | <fiedlr> | It's funny that I forgot I actually don't have brew clang and I'm running on some Apple's prehistoric version given that I can't update from Catalina |
| 2021-04-07 20:08:36 | <fiedlr> | Sorry, just the error log, wait a sec |
| 2021-04-07 20:08:41 | × | Benzi-Junior quits (~BenziJuni@dsl-149-67-143.hive.is) (Ping timeout: 246 seconds) |
| 2021-04-07 20:08:47 | → | B-J joins (~BenziJuni@88-149-64-251.du.xdsl.is) |
| 2021-04-07 20:09:13 | × | _ht quits (~quassel@82-169-194-8.biz.kpn.net) (Remote host closed the connection) |
| 2021-04-07 20:09:54 | <tomsmeding> | "warning: alias declarations are a C++11 extension [-Wc++11-extensions]" |
| 2021-04-07 20:10:26 | <tomsmeding> | oh perhaps it's old enough that it doesn't know -std=c++11 and needs c++0x, but the cabal file has c++11 |
| 2021-04-07 20:10:51 | <tomsmeding> | fiedlr: you're not using nix by any chance? |
| 2021-04-07 20:11:09 | × | dhouthoo quits (~dhouthoo@ptr-eitgbj2w0uu6delkbrh.18120a2.ip6.access.telenet.be) (Quit: WeeChat 3.0) |
| 2021-04-07 20:12:06 | <fiedlr> | Not that I'm aware of |
| 2021-04-07 20:12:26 | <tomsmeding> | then I hope you're not :p |
| 2021-04-07 20:12:37 | <fiedlr> | :-D |
| 2021-04-07 20:13:01 | <tomsmeding> | nix tends to be a complete pain in the behind for remote debugging, because it makes everything behave in different, unexpected ways |
| 2021-04-07 20:13:15 | <tomsmeding> | in my opinion :) |
| 2021-04-07 20:13:58 | × | stree quits (~stree@68.36.8.116) (Ping timeout: 240 seconds) |
| 2021-04-07 20:15:25 | → | lawt joins (~lawt@c-73-151-3-92.hsd1.ca.comcast.net) |
| 2021-04-07 20:15:28 | → | geekosaur joins (82650c7a@130.101.12.122) |
| 2021-04-07 20:15:36 | <fiedlr> | Completed 2 action(s). |
| 2021-04-07 20:15:47 | × | solvr quits (57e3c46d@87.227.196.109) (Quit: Connection closed) |
| 2021-04-07 20:15:58 | <fiedlr> | Hooray :-D :-D It was really the suffixes :-D :-D |
| 2021-04-07 20:16:12 | <tomsmeding> | :') |
| 2021-04-07 20:16:13 | <fiedlr> | Thanks tomsmeding and geekosaur for help! |
| 2021-04-07 20:16:21 | <fiedlr> | And sorry to waste your time |
All times are in UTC.