*** gtristan has quit IRC | 01:27 | |
*** edcragg has quit IRC | 01:27 | |
*** gtristan has joined #baserock | 01:40 | |
*** gtristan has quit IRC | 02:19 | |
*** gtristan has joined #baserock | 02:35 | |
*** vgrade has quit IRC | 04:51 | |
*** vgrade has joined #baserock | 04:52 | |
*** gtristan has quit IRC | 07:16 | |
*** franred has joined #baserock | 08:09 | |
*** edcragg has joined #baserock | 08:17 | |
*** gtristan has joined #baserock | 08:36 | |
*** gtristan has quit IRC | 08:39 | |
*** gtristan has joined #baserock | 08:39 | |
*** ctbruce has joined #baserock | 08:45 | |
*** jonathanmaw has joined #baserock | 09:04 | |
*** bashrc has joined #baserock | 09:04 | |
*** wdutch has left #baserock | 09:05 | |
gtristan | What is the right way to clone a repo with it's submodules from g.b.o ? | 09:24 |
---|---|---|
gtristan | git clone <module> && cd <module> && git submodule <smth-I-dont-know-about> ? | 09:25 |
rjek | Isn't there a recursive flag? | 09:26 |
CTtpollard | gtristan: --recursive should checkout and each module | 09:26 |
CTtpollard | s/and/ | 09:26 |
rjek | --recurse-submodules or something? | 09:26 |
gtristan | mmmmyeah | 09:27 |
franred | or if you have already clone the repo you could do "git submodule update" | 09:27 |
gtristan | git clone --recursive works... for some definition of works... it clones the submodules from some arbitrary version of the .gitmodules file... possibly master | 09:28 |
franred | ummm although I think you need "git submodule init" beforehand | 09:28 |
gtristan | git submodule update didnt do anything | 09:28 |
* gtristan tries git submodule init... | 09:28 | |
franred | gtristan, what about git clone && cd && git submodule init && git submodule update | 09:28 |
gtristan | ok so is "upstream:<name>" a concept proper to baserock ? | 09:29 |
* gtristan was under the impression that was a git feature | 09:29 | |
franred | gtristan, yep, it is baserock related | 09:30 |
gtristan | I see | 09:31 |
gtristan | ok... modifying the .gitmodules, git submodule init && git submodule update... does it | 09:32 |
CTtpollard | init then update works, but --recursive clone is a cleaner method imo | 09:32 |
pedroalvarez | IME "it clones the submodules from some arbitrary version of the .gitmodules file" is not true | 09:33 |
franred | CTtpollard, the problem that gtristan is having is that git doesn't understand "upstream:" in .gitmodules so it won't clone recursively | 09:33 |
franred | I think^^ | 09:33 |
gtristan | nod | 09:33 |
gtristan | worked around | 09:34 |
gtristan | ok this is odd... | 10:05 |
gtristan | pedroalvarez, 2708be3df0ecafc70046212c627ede87bd3e6487 <-- fix migration for version 7 | 10:07 |
gtristan | that's been a while actually | 10:07 |
gtristan | now... I'm just raising this because... it's odd :-/ | 10:08 |
pedroalvarez | hey! :) | 10:08 |
pedroalvarez | what exactly is odd? | 10:08 |
gtristan | good morning :D | 10:08 |
gtristan | So what I am seeing... I am building libtool from core.morph... not libtool-tarball | 10:09 |
gtristan | and libtool does a pre-configure-commands ./bootstrap | 10:10 |
gtristan | then... ybd does ./bootstrap again | 10:10 |
gtristan | and it fails | 10:10 |
gtristan | but... if I do the whole thing in the checkout dir, with just ./bootstrap and then ./configure --prefix=/usr... it doesnt fail | 10:10 |
gtristan | something is fishy | 10:11 |
*** bashrc has quit IRC | 10:11 | |
*** edcragg has quit IRC | 10:11 | |
gtristan | let me try again after a git clean -xdf | 10:11 |
gtristan | pedroalvarez, possibly a ybd bug in it's interpretation of what is in DEFAULTS ? | 10:12 |
gtristan | like... the suspicious looking '>-' ? | 10:13 |
gtristan | under autotools: configure-commands: ? | 10:13 |
*** bashrc has joined #baserock | 10:13 | |
*** ssam2 has joined #baserock | 10:16 | |
*** ChanServ sets mode: +v ssam2 | 10:16 | |
gtristan | In DEFAULTS... what is the meaning of '>-' ? | 10:18 |
richard_maw | it's a yaml thing | 10:18 |
richard_maw | it changes how newlines are interpreted I think | 10:18 |
richard_maw | well, I know it does | 10:19 |
richard_maw | I just can't remember which particular mode >- means | 10:19 |
richard_maw | I think it's fold newlines and chomp off the trailing newline | 10:19 |
gtristan | hmmm | 10:21 |
*** ssam2 has quit IRC | 10:25 | |
pedroalvarez | sorry, distracted by other things | 10:26 |
*** ssam2 has joined #baserock | 10:27 | |
*** ChanServ sets mode: +v ssam2 | 10:27 | |
gtristan | pedroalvarez, yeah well... it looks like with that change we should at least be able to remove libtool.morph from core | 10:28 |
gtristan | that at least is a given, it otherwise runs bootstrap twice | 10:28 |
ssam2 | mmm, killing libtool | 10:28 |
gtristan | yeah, wouldnt that be nice | 10:28 |
gtristan | man | 10:28 |
gtristan | this is very strange | 10:28 |
gtristan | so if I run the build as ybd does it... running ./bootstrap first | 10:29 |
gtristan | and then running: | 10:29 |
gtristan | export NOCONFIGURE=1; if [ -e autogen ]; then ./autogen; elif [ -e autogen.sh ]; then ./autogen.sh; elif [ -e bootstrap ]; then ./bootstrap; elif [ -e bootstrap.sh ]; then ./bootstrap.sh; elif [ ! -e ./configure ]; then autoreconf -ivf; fi | 10:29 |
gtristan | the first time bootstrap gets it right | 10:29 |
gtristan | the second time is destructive | 10:29 |
gtristan | and errors with: | 10:29 |
*** edcragg has joined #baserock | 10:29 | |
gtristan | configure.ac:152: error: required file 'build-aux/ltmain.sh' not found | 10:29 |
gtristan | autoreconf: automake failed with exit status: 1 | 10:29 |
gtristan | But... seeing that pedroalvarez's commit is from december, I have to imagine that libtool was built with ybd dozens of times since then | 10:30 |
gtristan | so I have to wonder... why does it break ? | 10:30 |
ssam2 | it's not the tarball cache is it? | 10:31 |
ssam2 | chunk hardlink cache thingy? | 10:32 |
ssam2 | not sure why it would be, but that's something that can really cause confusing errors | 10:32 |
ssam2 | if the write-protection over the cache of unpacked chunk files isn't working for some reason, maybe the first build modifies the actual unpacked files, and then the second build goes haywire because of that | 10:32 |
gtristan | ssam2, it could be cached | 10:32 |
gtristan | ssam2, one way it could be cached, is iirc ybd used to sport it's own DEFAULTS file | 10:33 |
rdale | it still has its own defaults | 10:33 |
gtristan | so maybe... version 7 happened... and ybd happily built libtool and cached the artifact ignoring definitions DEFAULTS | 10:34 |
gtristan | until one day ybd was fixed | 10:34 |
gtristan | not effecting the cache key of the cached libtool artifact | 10:34 |
gtristan | rdale, you have a running ybd right ? | 10:36 |
gtristan | rdale, care to rebuild libtool with a recent version and see if it works there ? | 10:37 |
rdale | yes - i haven't looked at the defaults code for a few days - i don't know if it has changed | 10:37 |
gtristan | I have rebased ybd as of... last week anyway | 10:37 |
rdale | ok, i'll try building libtool - but that is part of build-essential i assume and i've never had problems with it before | 10:38 |
gtristan | it's part of core | 10:38 |
gtristan | not build-essential | 10:39 |
rdale | ah ok | 10:39 |
rdale | i think ybd first loads its defaults, and then it load DEFAULTS on top of that - i'm not sure what the end result actually is. it doesn't only load its own defaults if it can't find DEFAULT | 10:39 |
pedroalvarez | gtristan: morph build log for libtool: http://paste.baserock.org/rilabagafo | 10:41 |
gtristan | pedroalvarez, I see :-/ | 10:42 |
gtristan | mkay | 10:42 |
gtristan | so it succeeds where I fail | 10:42 |
pedroalvarez | and I agree, those preconfiure-commands are redundant | 10:42 |
gtristan | albeit, it does so at the cost of double bootstrap, but it does "GEN build-aux/ltmain.sh" both times around | 10:43 |
gtristan | mine does not | 10:43 |
*** bashrc has quit IRC | 10:48 | |
*** bashrc has joined #baserock | 10:53 | |
rdale | this is a libtool log from one i've just built with ybd: http://paste.baserock.org/ebafuwilez | 11:02 |
rdale | ref: 5e11a17c39a2a976a09c33a568431a9f7ad00d48 | 11:04 |
gtristan | rdale, thanks | 11:06 |
gtristan | so it would seem that doing the double ./bootstrap on the virtfs mount gets confused... possibly due to symlinks | 11:07 |
*** bashrc has quit IRC | 11:45 | |
*** gtristan has quit IRC | 11:45 | |
*** bashrc has joined #baserock | 11:49 | |
*** gtristan has joined #baserock | 12:03 | |
*** ssam2_ has joined #baserock | 12:26 | |
*** ssam2 has quit IRC | 12:27 | |
jjardon | Hi, Im getting this error in morph when adding a new command in DEFAULTS: "ERROR: Invalid DEFAULTS file: Additional properties are not allowed ('bootstrap-commands' was unexpected)" ybd works fine; should i report a bug? | 12:54 |
ssam2_ | when you say "ybd works fine", what do you mean? | 12:58 |
pedroalvarez | morph drops that error when validating with the schema | 13:03 |
*** ssam2_ has quit IRC | 13:06 | |
pedroalvarez | I kind of hope that a simple change in 'morphlib/schemas/defaults.json-schema' will fix that error | 13:08 |
pedroalvarez | although... | 13:08 |
*** ssam2 has joined #baserock | 13:08 | |
*** ChanServ sets mode: +v ssam2 | 13:08 | |
pedroalvarez | well yes, it will fix that error, but you need to do more changes in morph to support those new bootstrap-commands | 13:09 |
jjardon | ssam2: seems to start building the chunks with no problems | 13:09 |
ssam2 | have you given it any bootstrap-commands ? does it execute them at the time you expect them to? | 13:10 |
ssam2 | I think the bug is that YBD doesn't validate DEFAULTS according to the json-schema for it | 13:10 |
* pedroalvarez nods | 13:11 | |
jjardon | oh, seems so; ybd simply ignore the new commands | 13:13 |
jjardon | so, what would be the steps to add a new command step in DEFAULTS? | 13:13 |
ssam2 | propose it as a change to the spec | 13:14 |
ssam2 | I think we agreed 'bootstrap-commands' was a confusing name though because it has lots of different meanings | 13:14 |
ssam2 | call it prepare-commands or something, i forget | 13:14 |
pedroalvarez | yeah, I've been trying to find irc logs for of that discussion, but I couldn't find any | 13:15 |
ssam2 | might have taken place in Koffee Pot or something ;-) | 13:15 |
jjardon | haha | 13:15 |
ssam2 | I guess there should be a detailed guide on how to propose changes to the spec, but the idea is make a patch to spec.git, basically | 13:21 |
ssam2 | updating spec.md and any json-schemas in in schemas/ dir should be enough | 13:21 |
edcragg | looks like a useful document | 14:04 |
*** toscalix has joined #baserock | 14:35 | |
*** CTtpollard has quit IRC | 15:53 | |
*** jonathanmaw_ has joined #baserock | 15:54 | |
*** jonathanmaw_ has quit IRC | 15:54 | |
*** jonathanmaw_ has joined #baserock | 15:55 | |
*** CTtpollard has joined #baserock | 15:56 | |
*** jonathanmaw has quit IRC | 15:59 | |
*** CTtpollard has quit IRC | 17:02 | |
*** jonathanmaw_ has quit IRC | 17:02 | |
*** ctbruce has quit IRC | 17:19 | |
*** toscalix has quit IRC | 17:39 | |
*** ssam2 has quit IRC | 17:45 | |
*** bashrc has quit IRC | 18:00 | |
*** franred has quit IRC | 18:00 | |
*** edcragg has quit IRC | 18:28 | |
*** toscalix has joined #baserock | 18:49 | |
*** rdale_ct has joined #baserock | 19:18 | |
*** rdale has quit IRC | 19:21 | |
*** rdale has joined #baserock | 19:24 | |
*** rdale_ct has quit IRC | 19:27 | |
*** rdale_ct has joined #baserock | 19:36 | |
*** rdale_ct_ has joined #baserock | 19:37 | |
*** rdale has quit IRC | 19:38 | |
*** rdale_ct has quit IRC | 19:40 | |
*** rdale has joined #baserock | 19:46 | |
*** edcragg has joined #baserock | 19:46 | |
*** rdale_ct_ has quit IRC | 19:47 | |
*** rdale_ct has joined #baserock | 20:07 | |
*** rdale has quit IRC | 20:08 | |
*** rdale has joined #baserock | 20:08 | |
*** rdale_ct has quit IRC | 20:09 | |
*** rdale_ct has joined #baserock | 20:13 | |
*** rdale has quit IRC | 20:13 | |
*** rdale has joined #baserock | 20:21 | |
*** rdale_ct has quit IRC | 20:21 | |
*** rdale_ct has joined #baserock | 20:23 | |
*** rdale_ct_ has joined #baserock | 20:25 | |
*** rdale has quit IRC | 20:26 | |
*** rdale has joined #baserock | 20:28 | |
*** rdale_ct has quit IRC | 20:29 | |
*** rdale_ct has joined #baserock | 20:31 | |
*** rdale has quit IRC | 20:31 | |
*** rdale_ct_ has quit IRC | 20:31 | |
*** rdale has joined #baserock | 20:33 | |
*** rdale_ct has quit IRC | 20:35 | |
*** toscalix has quit IRC | 21:26 | |
paulsherwood | please could folks raise issues on ybd... otherwise i may miss them in discussions like those above | 21:31 |
*** cosm has quit IRC | 22:39 | |
*** cosm has joined #baserock | 22:56 | |
*** edcragg has quit IRC | 23:08 | |
*** edcragg has joined #baserock | 23:09 | |
*** edcragg has quit IRC | 23:16 | |
*** cosm has quit IRC | 23:16 | |
*** edcragg has joined #baserock | 23:17 | |
*** cosm has joined #baserock | 23:31 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!