#jsmess 2020-05-22,Fri

↑back Search

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

irclogger-viewer