[03:24] *** godane has quit IRC (Read error: Operation timed out) [03:40] *** godane has joined #jsmess [06:45] *** godane has quit IRC (Read error: Operation timed out) [06:57] *** godane has joined #jsmess [07:06] *** Sgeo has quit IRC (Read error: Connection reset by peer) [14:29] *** defacto2 has quit IRC (hub.efnet.us irc.servercentral.net) [14:29] *** datajerk_ has quit IRC (hub.efnet.us irc.servercentral.net) [16:08] HUGS [16:08] *** SketchCo1 is now known as SketchCow [16:22] <3 [16:22] how goes the battle, SketchCow [16:37] Which battle [16:37] So many [16:40] the battle you rage against the sands of time [16:41] I saw that sweet scanner you got the other day. I need one of those, but I don't $700-worth-of-need it [16:42] Oh yeah [16:42] Well, that was my problem, overextending myself. [16:43] Knowing that I could do good work, but blowing $800-$900 for it (including taxes, etc.) [16:43] But now it's on the way woo hoooo [16:45] yeah whereas in my case I'd buy it, scan three pictures from the big ol' box of family photos, and say "cool it works, now when I've got some time I'll just sit there feeding the whole thing in there and digitally cataloging it and build a cool virtual world of memories that I can share with my loved ones and it'll be a capture of a moment in time that I can leave for future generations" [16:45] and then 6 months later all I've got is my 3 test 600dpi .tiffs [16:47] As you can imagine, that won't be the case with me [16:47] yeah you're an unstoppable ingestion machine :D [16:50] Shit's gotta get online! [17:35] I know this whole thing's been backlogged. Part is Dan gone, but another part is that we don't have an official dev machine. [17:35] How much memory did we need to consider it possible? [17:36] hard to say, compiling mame with emscripten used to need at least 2gb and it could still sometimes spiral out of control if something went wrong [17:37] but that side of things has likely gotten a lot more efficient and less buggy since then [17:37] Let me see what the command is to see how big ubuntu is [17:52] root@teamarchive1:~# free -h [17:52] total used free shared buffers cached [17:52] Mem: 23G 21G 2.2G 226M 964M 18G [17:52] -/+ buffers/cache: 2.1G 21G [17:52] Swap: 23G 0B 23G [17:52] That seems... good? OK? [18:03] Want to take a shot at putting the environment in SISYPHUS? [18:03] Where's the instructions for installing everything. I'll just take a wild-ass shot [18:10] DopefishJ: and bai - do I do the emsdk? [18:12] yeah emsdk is probably the best bet now [18:12] things are a lot more stable than they used to be, we don't need incoming or anything fancy anymore [18:13] Yeah [18:13] OK, I did it. it's installed. [18:13] root@teamarchive1:/1/EMSCRIPTEN/emsdk# emmake [18:13] emscripten requires at least python 3.5 (or python 2.7.12 or above) [18:15] do you know which version of ubuntu you're running? [18:15] Non-fantastic [18:16] Ubuntu 14.04.5 LTS [18:16] Trusty. [18:16] oof [18:17] might be getting into backport territory there if you need python 3.5 and I dunno how happy everything else on the system will be if you start swapping out python version [18:18] 2.7 would probably be a safer bet, at least [18:18] That's what I'm doing. [18:19] trying to remember what trusty had, 2.6? [18:19] It's got 2.7. [18:19] oh ok, good [18:19] But it's 2.7.6 installed currently. [18:19] What I'm installing is either destroying the mahcine, or not. [18:19] If it is, no big [18:19] I'll take the data off, and then we can restart [18:20] well luckily 2.7.6 to 2.7.12 should just be package management fuckery, not every script on your system saying "what the hell kind of python is this?" territory :D [18:23] python --version [18:23] Python 2.7.12 [18:23] root@teamarchive1:/1/EMSCRIPTEN/emsdk# emmake [18:23] emscripten requires at least python 3.5 (or python 2.7.12 or above) [18:25] >:( [18:25] Weird [18:25] I wonder where it's looking. [18:25] yeah actually I seem to remember the first run of emscripten sets up a config file with some detected paths [18:26] look in ~/.emscripten and see if there's anything there [18:30] Nothing [18:30] root@teamarchive1:/1/EMSCRIPTEN/emsdk# python3.5 --version [18:30] Python 3.5.2 [18:31] ah, I bet you could just run alias python=python3.5 before running the script [18:32] Tried PYTHON = `/usr/bin/python3.5' [18:34] I should hand this machine to you [18:35] I have a little agent of chaos within smashing distance of the keyboard right now so best if I'm not logging in as root anywhere, but yeah I can take a look at it in a bit [18:36] Sent you creds elsewhere [18:50] *** kripken_ has joined #jsmess [18:51] hi SketchCow [19:02] Hey there [19:02] We THINK we're sort of good sort of [19:02] I am trying to get emscripten to use a more modern python [19:02] I know it's there. [19:03] root@teamarchive1:/1/EMSCRIPTEN# emcc [19:03] emscripten requires at least python 3.5 (or python 2.7.12 or above) [19:03] root@teamarchive1:/1/EMSCRIPTEN# /usr/bin/python --version [19:03] Python 2.7.12 [19:03] root@teamarchive1:/1/EMSCRIPTEN# /usr/bin/python3.5 --version [19:03] Python 3.5.2 [19:05] Is there a setting to go use the good python? [19:09] (Bai is also hopping in) [19:09] It's time to upgrade and build a harness [19:24] root@teamarchive1:/1/EMSCRIPTEN/emsdk# /usr/bin/python3 --version [19:24] Python 3.4.3 [19:24] Bai is now on the system, he's going to go around and mess [19:24] /usr/bin/python3.5 [19:24] yeah, but for whatever reason emconfigure and emmake are trying to run python3 [19:25] I tried setting PYTHON=python3.5 in ~/.emscripten but that didn't seem to change it [19:40] I did a python3.5 emsdk but that's not helped [19:42] I mean...we could use update-alternatives to point python3 => python3.5, but then we're into THAT territory [19:44] Let's not do that. [19:44] I agree [19:44] Let me see what python is [19:46] I moved the /usr/bin/python [19:46] ohhhh boy [19:47] btw you can do python3 emcc.py .. and it will use that python [19:47] it's actually /usr/bin/python3 you need to move, not /usr/bin/python [19:48] I'd suggest carefully putting /usr/bin/python back at 2.7, put the pin back in the grenade before it explodes :D [19:48] Something's weird, I think. [19:48] Moved it back [19:49] phew :D [19:58] bai, want to try kripken's suggestion? [19:59] Oh, I can download mame and put it somewhere [19:59] If you want [19:59] Or you can. You have the run of the machine, go nuts [21:51] bai: Did you solve it or do I gotta hack in there [21:54] kripken_: Is there some environment to set for python? [21:55] what do you mean? in general emcc.py will look for python3. but you can run python emcc.py to pick the python [21:56] Well, it's not finding the python [21:57] Trying some hail marys [21:58] OK, I fixed it. [21:58] (remove python3.4 [22:01] bai: It works now [22:04] root@teamarchive1:/1/MAME/mame0221# emmake make SUBTARGET=pacmantest SOURCES=src/mame/drivers/pacman.cpp [22:04] make: make SUBTARGET=pacmantest SOURCES=src/mame/drivers/pacman.cpp [22:04] GCC detected [22:04] lapi.c [22:04] /bin/sh: 1: gcc: not found [22:04] make[1]: *** [obj/Release/src/host/lua-5.3.0/src/lapi.o] Error 127 [22:04] make: *** [3rdparty/genie/bin/linux/genie] Error 2 [22:05] sorry got pulled away for other stuff. ok now it sounds like we just need to install some build deps [22:05] Yes. [22:06] Weirdly, gcc is not on this box? Or in a weird way I installed it. [22:07] I guess I'll see if I can do a build [22:08] it looks like /usr/bin/gcc specifically has been deleted [22:08] the gcc package is installed [22:08] I'm going to remove and reinstall [22:08] and most of the files from the package are there, eg, /usr/bin/c99-gcc [22:09] but straight-up "gcc" is gone [22:09] probably from a similar "oh, the default is out of date so it got deleted to make room for a newer version that got installed somewhere else and we forgot" scenario :D [22:09] I really, really, really fuck with machines [22:09] I'm building [22:09] I can see :D [22:10] Starting over with a timestamp. [22:18] Hasn't crashed yet. [22:18] Errored out [22:19] We started this at Fri May 22 22:12:31 UTC 2020 [22:19] And now it is Fri May 22 22:20:39 UTC 2020 [22:19] So that's at least informative. It takes at least 8 minutes to build pacman [22:19] But it blew up. [22:19] Compiling 3rdparty/lzma/C/LzmaEnc.c... [22:19] ../../../../../3rdparty/lzma/C/LzmaEnc.c:1405:9: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation] [22:19] { [22:19] ^ [22:19] ../../../../../3rdparty/lzma/C/LzmaEnc.c:1401:7: note: previous statement is here [22:19] if (repIndex == 0) [22:19] ^ [22:19] 1 error generated. [22:23] -Wmisleading-indentation is a thing, but I don't know where to stick it. [22:23] -Wno-error=misleading-indentation I mean [22:32] I don't know the command or where to put it. [22:39] *** Sgeo has joined #jsmess