*** gtristan has quit IRC | 04:52 | |
*** gtristan has joined #baserock | 05:40 | |
*** fay_ has joined #baserock | 08:20 | |
*** fay_ is now known as faybrocklebank | 08:21 | |
*** bruce_ has joined #baserock | 08:28 | |
*** tiagogomes_ has joined #baserock | 08:40 | |
*** gtristan has quit IRC | 08:41 | |
*** bashrc has joined #baserock | 09:11 | |
*** rdale has joined #baserock | 09:16 | |
*** gtristan has joined #baserock | 09:19 | |
*** franred has joined #baserock | 09:25 | |
*** jonathanmaw has joined #baserock | 09:35 | |
*** ssam2 has joined #baserock | 09:58 | |
*** ChanServ sets mode: +v ssam2 | 09:58 | |
*** edcragg has joined #baserock | 10:00 | |
*** ssam2 has quit IRC | 10:05 | |
*** ssam2 has joined #baserock | 10:06 | |
*** ChanServ sets mode: +v ssam2 | 10:06 | |
edcragg | morning :) | 10:08 |
---|---|---|
edcragg | w/w | 10:08 |
franred | good morning edcragg | 10:12 |
edcragg | morning franred :) | 10:13 |
radiofree | the upcoming patches for the jetson are pretty good, you'll be able to use everything from mainline (well... weston needs two patches on top) | 10:51 |
radiofree | however, you'll need to update u-boot | 10:51 |
radiofree | this isn't a problem if you just flash the image clean onto a jetson, however if you want to use "morph upgrade..." then you're going to have to do it manually | 10:52 |
radiofree | i'm looking at trying to upgrade u-boot from userspace though, so it shouldn't be too much of a pain | 10:53 |
radiofree | hi system-version-manager doesn't appear to work | 11:23 |
radiofree | http://fpaste.org/307243/99297214/ | 11:23 |
radiofree | master of definitions | 11:23 |
*** CTtpollard has quit IRC | 11:23 | |
*** jonathanmaw has quit IRC | 11:23 | |
*** CTtpollard has joined #baserock | 11:23 | |
*** bjdooks has quit IRC | 11:23 | |
*** bjdooks has joined #baserock | 11:23 | |
*** jonathanmaw has joined #baserock | 11:23 | |
franred | radiofree, Python 3 vs Python 2 | 11:24 |
* richard_maw kicks cpython | 11:24 | |
richard_maw | stupidly deciding that if there's no /usr/bin/python then obviously you want python3 there! | 11:25 |
radiofree | franred: sorry? | 11:25 |
richard_maw | radiofree: system-version-manager is a python script with #!/usr/bin/python | 11:25 |
radiofree | i see... | 11:25 |
richard_maw | I think jjardon supplied patches to make python3 the default, but the python build system does the daft thing of deciding that if you have no /usr/bin/python then it installs a symlink to the current version in it | 11:26 |
radiofree | did i do something wrong to cause this system to not have python 2 then? | 11:26 |
richard_maw | radiofree: not necessarily, it could be that python2 isn't installing the /usr/bin/python symlink to replace the python3 install | 11:26 |
* richard_maw lost track | 11:26 | |
* radiofree doesn't have anything called /usr/bin/python2* | 11:27 | |
radiofree | is this broken for everything then? | 11:27 |
richard_maw | let me check which systems python2 is included in | 11:28 |
* radiofree hacks extlinux.conf for now | 11:29 | |
richard_maw | python2 is included in build and devel systems, hmm | 11:29 |
richard_maw | radiofree: yes, looks like insufficient QA in system-version-manager before approving the change | 11:30 |
radiofree | i have /usr/lib/python2.7 folder | 11:31 |
radiofree | so is python2 on there, just /usr/bin/python has been overwritten? | 11:31 |
richard_maw | radiofree: not if you don't have a python2.7 binary in PATH | 11:32 |
radiofree | i do not | 11:32 |
richard_maw | could be something tried to install a python library in a weird way thn | 11:32 |
radiofree | "include_server" whatever that is | 11:33 |
richard_maw | not a clue | 11:33 |
richard_maw | radiofree: unicode safety is probably too much work, but you could try a small number of structural changes to make it python3 syntax compatible. Lines 86, 207,210,213 put brackets on the print and line 410 change it to `except SystemNotCompatibleError as e` | 11:37 |
jjardon | richard_maw, richard_maw : weston systems doesn't have python2; taking in acount python2 is a runtime dependency of tbdiff (in foundation), we should add python2 to all systemd that includes the foundation stratum, or port version-control-manager to python3, or make foundation build-depends on python2, even if its not strictly a build dependency | 11:38 |
richard_maw | making foundation build-depend on python2 won't fix it | 11:39 |
jjardon | oh, yeah, you are rigth; so only 2 options then | 11:40 |
radiofree | richard_maw: thanks, though i get this error now http://fpaste.org/307254/51993996/ | 11:40 |
*** rdale_ct has joined #baserock | 11:40 | |
richard_maw | hrm, unicode | 11:41 |
*** rdale has quit IRC | 11:42 | |
richard_maw | radiofree: for that one change `'['` to `b'['` | 11:44 |
richard_maw | oh, and the '/run' on the following line | 11:45 |
radiofree | change that to b'/run'? | 11:47 |
richard_maw | yeah | 11:47 |
richard_maw | the issue being you can't split a byte string on a unicode string | 11:47 |
radiofree | ok, did that, still more errors :\ | 11:47 |
radiofree | top error is just running "system-version-manager", second one is running "system-version-manager list" | 11:48 |
radiofree | http://fpaste.org/307255/19944981/ | 11:48 |
radiofree | sorry i can't be of any use here, i barely know python2.... | 11:49 |
richard_maw | the error in `system-version-manager list` requires changing all the strings in the function call on line 133 from 'foo' style to b'foo' style | 11:51 |
richard_maw | the first error requires a more structural change than I can articulate | 11:55 |
radiofree | hmm didn't work, same error | 11:55 |
richard_maw | bah! | 11:56 |
* richard_maw kicks python3 | 11:56 | |
richard_maw | far too much stuff assumes that paths are unicode, rather than arbitrary strings! | 11:56 |
rjek | tut | 11:57 |
rjek | They're not quite arbitrary strings :) | 11:57 |
richard_maw | sorry radiofree, it's going to require a bigger rewrite than I thought | 11:58 |
radiofree | ok, for now i think i'll just re-add python2, thanks for the help | 11:58 |
*** rdale has joined #baserock | 12:13 | |
*** Lachlan1975 has joined #baserock | 12:13 | |
*** rdale_ct has quit IRC | 12:16 | |
*** franred has quit IRC | 12:48 | |
*** Lachlan1975 has quit IRC | 12:55 | |
*** franred has joined #baserock | 12:59 | |
*** gtristan has quit IRC | 13:12 | |
*** gtristan has joined #baserock | 13:33 | |
*** franred has quit IRC | 13:34 | |
*** franred has joined #baserock | 13:55 | |
*** Lachlan1975 has joined #baserock | 14:15 | |
*** locallycompact has quit IRC | 14:31 | |
*** locallycompact has joined #baserock | 14:41 | |
*** tiagogomes_ has quit IRC | 15:04 | |
*** edcragg has quit IRC | 15:06 | |
*** edcragg has joined #baserock | 15:07 | |
*** locallycompact has quit IRC | 15:11 | |
*** tiagogomes_ has joined #baserock | 15:19 | |
*** toscalix has joined #baserock | 15:23 | |
*** radiofree has quit IRC | 15:56 | |
*** radiofree has joined #baserock | 15:57 | |
*** bruce_ has quit IRC | 16:26 | |
*** toscalix has quit IRC | 17:01 | |
paulsherwood | https://www.redhat.com/en/about/press-releases/red-hat-acquire-it-automation-and-devops-leader-ansible | 17:37 |
*** jonathanmaw has quit IRC | 18:02 | |
*** bashrc has quit IRC | 18:04 | |
*** edcragg has quit IRC | 18:18 | |
*** Lachlan1975 has quit IRC | 18:27 | |
*** ssam2 has quit IRC | 18:31 | |
*** edcragg has joined #baserock | 21:45 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!