*** edcragg has quit IRC | 00:14 | |
*** gtristan has quit IRC | 03:03 | |
*** gtristan has joined #baserock | 03:59 | |
*** lachlanmackenzie has quit IRC | 05:23 | |
*** lachlanmackenzie has joined #baserock | 05:24 | |
*** jjardon has quit IRC | 05:25 | |
*** jjardon has joined #baserock | 05:34 | |
*** CTtpollard has quit IRC | 07:24 | |
*** CTtpollard has joined #baserock | 07:28 | |
*** toscalix has joined #baserock | 07:53 | |
*** edcragg has joined #baserock | 08:04 | |
*** edcragg has quit IRC | 08:14 | |
*** tiagogomes has joined #baserock | 08:21 | |
*** tiagogomes has quit IRC | 08:33 | |
*** rdale has joined #baserock | 08:34 | |
*** tiagogomes has joined #baserock | 08:37 | |
*** gtristan has quit IRC | 08:40 | |
*** edcragg has joined #baserock | 08:41 | |
*** jonathanmaw has joined #baserock | 08:46 | |
*** tiagogomes has quit IRC | 08:48 | |
*** tiagogomes has joined #baserock | 08:50 | |
*** tiagogomes has quit IRC | 09:07 | |
*** tiagogomes has joined #baserock | 09:09 | |
*** locallycompact has joined #baserock | 09:43 | |
*** locallycompact has quit IRC | 09:44 | |
*** locallycompact has joined #baserock | 09:45 | |
*** gtristan has joined #baserock | 09:51 | |
paulsherwood | folks, can anyone shed any light on what might be happening in http://paste.baserock.org/zogotijaxu | 10:46 |
---|---|---|
paulsherwood | i'm currently thinking this is to do with the system ybd is running on, rather than ybd or sandboxlib | 10:47 |
CTtpollard | is it to do with python2.7-3? | 10:48 |
paulsherwood | possibly? | 10:49 |
SotK | paulsherwood: what python version are you using? | 10:50 |
SotK | ah, 2.7 | 10:51 |
* SotK is blind | 10:51 | |
locallycompact | paulsherwood, are you trying to build a 64 bit system on a 32 bit runner | 10:52 |
paulsherwood | locallycompact: yes, i am | 10:52 |
paulsherwood | why should that matter? | 10:52 |
locallycompact | Isn't that impossible? | 10:52 |
paulsherwood | oh... would the reverse also be impossible? | 10:53 |
paulsherwood | ie could i build 32-bit on a 64-bit runner? | 10:53 |
locallycompact | the reverse should not be impossible, but it happened to not work when we tried it originally | 10:53 |
paulsherwood | ah, ok... | 10:53 |
jmacs | Why is 64-on-32 impossible, out of interest? | 10:54 |
rjek | That's cross compiling :) | 10:54 |
SotK | isn't this error the one described here? https://github.com/CodethinkLabs/sandboxlib/issues/17 | 10:54 |
jmacs | oh yes, we don't do that, do we | 10:55 |
persia | Technically, 32-bit on 64-bit is also cross-compiling, but for some 64-bit implementations (aarch64, ppc64, x86_64), there are tricks one can do to make the runner pretend to be 32-bit so it isn't cross-compiling. | 10:57 |
rjek | linux32 | 10:59 |
rjek | Also works on SPARC | 10:59 |
rjek | Or UltraSPARC I should say | 10:59 |
persia | rjek: Does it? I had trouble with it some time in the past. | 11:01 |
* persia is glad to hear of progress. | 11:01 | |
rjek | Everybody who has ever used SPARC systems has had trouble with them. | 11:01 |
persia | I also heard it didn't work for MIPS, but I haven't tried that one. | 11:01 |
persia | The only trouble I had with SPARC was linux32: everything else seemed to work fine. Maybe it was just me. | 11:02 |
rjek | MIPS64, IIRC, is exactly the same as MIPS32 except the registers are twice as wide; 32 bit code should "just work" in 64 bit mode due to some tricks | 11:02 |
persia | Yes, but is there `linux32` support? | 11:02 |
rjek | I think so; although I seem to recall it's implemented as an LD_PRELOAD on some systems. | 11:03 |
persia | Looking at the source, it *should* work for MIPS and AXP, but I don't have any AXP anymore, and my usual MIPS target isn't MIPS64, so I can't verify. | 11:05 |
persia | Also s390/s390x | 11:05 |
paulsherwood | SotK: i guess you are right | 11:11 |
locallycompact | I pushed the data model we were talking about last week in disambiguating "chunk files" into what they actually are, which is "build templates" | 11:16 |
locallycompact | https://github.com/locallycompact/Earthquake/blob/master/app/Earthquake.hs | 11:16 |
locallycompact | parses this https://github.com/locallycompact/simpledefs | 11:16 |
paulsherwood | oh, that makes sense! | 11:30 |
* SotK thinks its much better than the current state of things | 11:32 | |
paulsherwood | i'd go a bit further, though... s/chunk/contents/ and have that rust can itself have repo, ref, bit | 11:32 |
paulsherwood | this would allow us to deal with stratum: ansible contains chunk ansible and a load of other things required to build ansible | 11:32 |
SotK | I'm confused as to the benefit there | 11:33 |
SotK | you can do that with the example given surely? | 11:33 |
paulsherwood | the example has rust-lang and rust, which avoids the problem iiuc | 11:34 |
paulsherwood | i want unique names... hence ansible contains ansible is not good for me | 11:34 |
paulsherwood | and zookeeper contains zookeeper etc | 11:35 |
locallycompact | rust-lang was just to reflect the name of the repository. if I called it "rust" I wouldn't have a problem in haskell because Chunk and Stratum are different types | 11:36 |
paulsherwood | we have more than 10 examples of this | 11:36 |
paulsherwood | so you don't want to go for generic nesting? you still want explicitly chunk, stratum, system, cluster? | 11:36 |
* paulsherwood reminds locallycompact that names are important for people, whether the code cares about them or not | 11:39 | |
SotK | paulsherwood: aha, that makes sense | 11:40 |
locallycompact | We always say "the ansible stratum", "the ansible chunk" | 11:40 |
locallycompact | but that's *because* they're loosely typed like that | 11:40 |
SotK | locallycompact: how would you know which to build if I did `build-tool rust x86_64`? | 11:40 |
paulsherwood | SotK: exactly :) | 11:41 |
locallycompact | I'd say that doing that for a chunk is already ill-defined currently and this hasn't made a difference | 11:41 |
locallycompact | Two chunks in different stratum with the same name is already ambiguous, the only way to distinguish it is to force qualification, stratum.chunkname | 11:41 |
paulsherwood | it has made a difference. every little cranny of uncertainty needs to be cleaned out | 11:41 |
paulsherwood | this would be solved tidily by what i said above, ie | 11:42 |
paulsherwood | 12:32 < paulsherwood> i'd go a bit further, though... s/chunk/contents/ and have that rust can itself have repo, ref, bit | 11:42 |
locallycompact | s/chunk/contents doesn't do much for the types | 11:43 |
paulsherwood | i want generic nesting... but others may disagree | 11:44 |
paulsherwood | in my dream scenario, contents is a list of definitions... each definition may have further contents | 11:45 |
locallycompact | Can you sketch out an example yaml | 11:45 |
locallycompact | I don't think it's unreasonable to want any concievable grammar representation tbh. | 11:46 |
locallycompact | In fact I welcome that problem | 11:46 |
paulsherwood | i'll have a think | 11:51 |
*** tiagogomes has quit IRC | 12:32 | |
*** tiagogomes has joined #baserock | 12:58 | |
leeming | If I've written some lorry files. How do i test them before submitting a merge request? | 13:09 |
leeming | or is there a build system similar to in gitlab? | 13:10 |
SotK | you can run lorry locally passing it the lorry file you made | 13:10 |
* leeming scratches head | 13:15 | |
leeming | ok but doesnt that mean running a local trove? | 13:15 |
SotK | nope, but it is a little annoying if you aren't in a baserock devel system | 13:16 |
* SotK finds links | 13:16 | |
SotK | you can clone lorry from http://git.baserock.org/cgit/baserock/baserock/lorry.git/ and run it from the checkout | 13:17 |
SotK | but it depends on various version control systems iirc | 13:18 |
leeming | oh right.. i have that checkedout | 13:19 |
SotK | ok, I think you can do `./test-lorry /path/to/lorry` | 13:20 |
SotK | ha, or not | 13:21 |
SotK | `SRCDIR="." ./test-lorry /path/to/lorry` seems better | 13:22 |
* leeming actually didnt have lorry.git checkouted out, actually had lorrieS.git , was confused for a sec | 13:22 | |
leeming | SotK, correct to assume if the script returns empty, the file is correct? | 13:39 |
SotK | I expect so, do you have a 'workd' directory now? (and if so, does it contain the thing you tried to lorry?) | 13:40 |
leeming | ah yes, thanks | 13:41 |
leeming | ok I have some additional lorry files. What is the process for submitting a patch/merge request | 13:48 |
SotK | do you have a gerrit account yet? | 13:49 |
leeming | eerrr, this is baserock, so i guess not... | 13:50 |
leeming | will make one now | 13:50 |
* leeming wonders if email is being that slow.. or if registration failed | 13:57 | |
leeming | pedroalvarez, i didn't mess up my email AGAIN did i? :\ | 14:18 |
leeming | starting to feel like one of them days | 14:18 |
SotK | when you've got your account set up, you'll probably want to add your ssh key to it on the preferences page in Gerrit | 14:34 |
SotK | then do `git review -s` in the checkout of the repo you are sending patches to | 14:36 |
SotK | and `git review` to actually send the patch | 14:36 |
*** toscalix has quit IRC | 15:10 | |
*** toscalix has joined #baserock | 15:11 | |
*** toscalix_ has joined #baserock | 15:15 | |
*** toscalix has quit IRC | 15:15 | |
*** jonathanmaw has quit IRC | 16:31 | |
*** toscalix_ is now known as toscalix | 16:32 | |
*** rdale has quit IRC | 16:59 | |
*** edcragg has quit IRC | 17:10 | |
*** edcragg has joined #baserock | 17:37 | |
*** toscalix has quit IRC | 17:42 | |
*** edcragg has quit IRC | 17:56 | |
*** locallycompact has quit IRC | 18:01 | |
* leeming has been out of the office for a while on an errand | 18:02 | |
leeming | confused me for a sec there. git-review is not vanilla git ;) | 18:03 |
leeming | ERROR: missing Change-Id in commit message footer | 18:07 |
leeming | should i blindly follow the example given? i.e. gitdir=$(git rev-parse --git-dir); scp -p -P 29418 leeming@gerrit.baserock.org:hooks/commit-msg ${gitdir}/hooks/ | 18:07 |
*** jjardon has quit IRC | 18:12 | |
*** jjardon has joined #baserock | 18:17 | |
*** jjardon has quit IRC | 18:22 | |
*** jjardon has joined #baserock | 18:23 | |
persia | leeming: not blindly, but basically, yes. | 18:27 |
leeming | im just reading right now what this all is | 18:28 |
leeming | review process is different to what im using on my main project :S | 18:28 |
leeming | "There's a git add-on called git-review that adds a Change-ID line to your commits and manages other aspects of using Gerrit." | 18:37 |
leeming | from https://www.mediawiki.org/wiki/Gerrit/Tutorial | 18:37 |
leeming | ok well patch submitted now. jobs a good'un, hopefully i didn't screw up any more than I already have today. | 19:33 |
leeming | home time | 19:33 |
*** cosm has joined #baserock | 23:24 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!