| *** edcragg has quit IRC | 00:45 | |
| *** gtristan has quit IRC | 05:08 | |
| *** gtristan has joined #baserock | 05:44 | |
| *** CTtpollard has joined #baserock | 08:20 | |
| *** franred has joined #baserock | 08:24 | |
| *** bruce_ has joined #baserock | 08:26 | |
| *** toscalix has joined #baserock | 09:21 | |
| *** jonathanmaw has joined #baserock | 09:28 | |
| *** edcragg has joined #baserock | 10:05 | |
| *** ratmice______ has quit IRC | 10:44 | |
| *** ratmice______ has joined #baserock | 10:47 | |
| radiofree | qtwebengine failing because it needs /dev/urandom :\ | 12:40 |
|---|---|---|
| pedroalvarez | at build time... | 12:42 |
| radiofree | yes | 12:42 |
| radiofree | mount-bind /dev ? | 12:44 |
| pedroalvarez | does it really need it at build time? or it only wants to check that it's there for runtime? | 12:45 |
| gtristan | semi-related note... I think sandboxlib could do with a real /dev/null | 12:47 |
| radiofree | it's failing at build-time with http://fpaste.org/311188/52862026/ | 12:47 |
| radiofree | also was some kind of "petrify" script reintroduced somewhere? | 12:49 |
| * radiofree doesn't fancy changing the sha's for a dozen "v5.5.1" refs | 12:49 | |
| pedroalvarez | radiofree: http://git.baserock.org/cgi-bin/cgit.cgi/baserock/baserock/morph.git/log/?h=sam/petrify-hack | 12:50 |
| *** Guoww has joined #baserock | 12:51 | |
| *** Guoww has left #baserock | 12:51 | |
| pedroalvarez | radiofree: there is a /dev/urandom created by fhs-dirs chunk | 12:53 |
| *** Guoww has joined #baserock | 12:53 | |
| pedroalvarez | btw... what is "devices" in a chunk definition? | 12:54 |
| radiofree | i was about to ask the same thing :D | 12:54 |
| * radiofree tries adding that | 12:54 | |
| pedroalvarez | radiofree: but.. it should be there, in your build I mean.. It depends in fhs dirs | 12:54 |
| pedroalvarez | s/in/on | 12:54 |
| radiofree | oh | 12:55 |
| radiofree | it's not | 12:55 |
| radiofree | i'm using ybd if that makes a different (probably does?) | 12:55 |
| pedroalvarez | ahh | 12:55 |
| pedroalvarez | maybe | 12:55 |
| pedroalvarez | maybe ybd doesn't know about this "devices" thingy | 12:55 |
| radiofree | i manually ran the linux-user-chroot command (which was a bit of a bugger to extract....) to gain a shell and it wasn't in /dev | 12:55 |
| radiofree | in fact nothing was in /dev (apart from /dev/shm) | 12:55 |
| *** Guoww has quit IRC | 12:56 | |
| *** gww has joined #baserock | 12:56 | |
| radiofree | paulsherwood: ? | 12:56 |
| pedroalvarez | http://git.baserock.org/cgi-bin/cgit.cgi/baserock/baserock/fhs-dirs.git/commit/fhs-dirs.morph?id=268b374f02d93a5df6f8f21e62a46c82e700cd92 | 12:57 |
| radiofree | so that's devices for the chunk right? | 12:57 |
| radiofree | for build time | 12:57 |
| *** Guoww has joined #baserock | 12:58 | |
| radiofree | or maybe not... it was previously an install-command script | 12:58 |
| *** Guoww has left #baserock | 12:58 | |
| *** gww has left #baserock | 12:59 | |
| *** Guoww has joined #baserock | 12:59 | |
| *** gww has joined #baserock | 13:01 | |
| *** Guoww has quit IRC | 13:01 | |
| *** gww has quit IRC | 13:01 | |
| *** gww has joined #baserock | 13:02 | |
| *** gww has left #baserock | 13:02 | |
| *** gww has joined #baserock | 13:02 | |
| *** gww has quit IRC | 13:04 | |
| radiofree | adding it certainly doesn't fix things | 13:04 |
| radiofree | i'll try with morph | 13:11 |
| *** gtristan has quit IRC | 13:22 | |
| radiofree | pedroalvarez: is there arm cache for morph? | 13:23 |
| radiofree | ERROR: Conflicting fields "morph, and build-system" for qtwebengine in stratum strata/qt5-tools-qtwebengine.morph. ._O | 13:26 |
| radiofree | i'm not even building a system that goes anywhere near qt5-tools-qtwebengine? | 13:26 |
| radiofree | no cache by the looks of it | 13:28 |
| paulsherwood | radiofree: sorry, i've been out of the loop... what's the issue? | 13:29 |
| radiofree | qtwebengine fails because there's no /dev/urandom, which may or may not be provided by fhs-dirs | 13:30 |
| radiofree | or by "devices:" | 13:30 |
| radiofree | (in the chunk) | 13:30 |
| radiofree | i'm trying to create a simple test | 13:30 |
| paulsherwood | sounds like a definitions issue, not ybd? :) | 13:30 |
| radiofree | well if it works under morph (using devices:) then it's a ybd issue? | 13:30 |
| radiofree | pedroalvarez: is there any arm cache anywhere? | 13:31 |
| radiofree | i need to add the cache server to conf i think | 13:31 |
| paulsherwood | ybd handles devices same as morph, i though | 13:31 |
| paulsherwood | t | 13:31 |
| *** paulw has joined #baserock | 13:32 | |
| paulsherwood | https://github.com/devcurmudgeon/ybd/blob/master/ybd/sandbox.py#L307 | 13:32 |
| radiofree | hmm.. i didn't see "Creating device node" in the log | 13:33 |
| SotK | Is it running the build commands before creating the devices here? (https://github.com/devcurmudgeon/ybd/blob/master/ybd/assembly.py#L160) | 13:36 |
| radiofree | oooh... looks like it? | 13:38 |
| * radiofree rejigs and tries again | 13:38 | |
| paulsherwood | ah... would that logic be better reversed? | 13:39 |
| radiofree | devices are for install time i guess? | 13:40 |
| radiofree | 16-01-15 00:01:46 [1/17/308] [qtwebkit] Creating device node /src/ybd/tmp/tmpyUJvwD/qtwebkit.inst/.//dev/urandom | 13:40 |
| paulsherwood | w00t :) | 13:40 |
| radiofree | no it didn't work | 13:40 |
| radiofree | http://fpaste.org/311200/65244145/ | 13:41 |
| paulsherwood | :( | 13:41 |
| *** gtristan has joined #baserock | 13:45 | |
| radiofree | so "devices" are supposed to be installed with the chunk? in which case i should have a /dev/urandom right? since it's created by fhs-dirs | 13:48 |
| radiofree | so if i enter the shell with the same chroot command (http://fpaste.org/311207/52866267/ - it might be nice to dump this when it fails) i have /dev/null | 13:58 |
| radiofree | but nothing else | 13:58 |
| radiofree | cat /baserock/fhs-dirs.meta suggests /dev/urandom is installed via that | 13:59 |
| paulsherwood | radiofree: sorry, this is too deep for me, i'm afraid | 14:01 |
| paulsherwood | needs a real linux person :/ | 14:01 |
| pedroalvarez | radiofree: does the fhs-dirs artifact really have it? | 14:09 |
| radiofree | pedroalvarez: the artifact does | 14:09 |
| radiofree | i think the mkdnod is failing when you extract it | 14:10 |
| pedroalvarez | morph's artifact has: | 14:10 |
| pedroalvarez | crw-r--r-- root/root 1,9 1991-08-24 23:00 dev/urandom | 14:10 |
| radiofree | yes | 14:10 |
| radiofree | if i mknod dev/urandom in the build folder, *then* chroot into it, it works | 14:10 |
| rjek | You shouldn't use random data that old. | 14:10 |
| radiofree | well.. works... onto another new error now | 14:10 |
| radiofree | ok, well it's certainly buildable | 14:12 |
| radiofree | however i can't see how to fix this in ybd | 14:12 |
| radiofree | i did cd /src/ybd/tmp/myfailedfolder && mknod .... dev/urandom && enter-chroot /src/ybd/tmp/myfailedfolder | 14:13 |
| pedroalvarez | would be good to know if that builds in morph | 14:13 |
| radiofree | i can "make" now, and it 'works' (now missing some dependencies, but it is at least past that error) | 14:13 |
| radiofree | so there's something wrong with the extraction of fhs-dirs by the looks ofr it | 14:14 |
| radiofree | hmm.. tar xvf "fhs-dirs.key" works | 14:15 |
| paulsherwood | radiofree: pls could you raise an issue on ybd with as much info as you have? | 14:19 |
| *** bruce_ has quit IRC | 14:29 | |
| * radiofree does a quick morph v ybd test | 14:30 | |
| radiofree | yep | 14:31 |
| radiofree | there's something about how ybd is extracting the fhs dirs artifact | 14:31 |
| radiofree | http://fpaste.org/311221/45286837/ | 14:32 |
| * radiofree will try using the artifact from morph in ybd | 14:33 | |
| *** bruce_ has joined #baserock | 14:38 | |
| radiofree | ... | 14:42 |
| radiofree | ok... | 14:44 |
| radiofree | so i scp'ed my artifact cache over from a mustang to a jetson... which included the "fhs-dirs.CACHE.unpacked/" folder.... | 14:44 |
| radiofree | scp didn't scp the nodes... | 14:45 |
| radiofree | "Troubleshooting is not rocket science. For all issues you may blame yourself. You are most likely the reason of failure." | 14:45 |
| radiofree | ok now there's something wrong with how /dev/shm is mounted in the chroot | 14:49 |
| radiofree | --mount-bind /src/ybd/tmp/sandboxlib.1mZSpI.tmpfs/dev/shm /dev/shm doesn't work for me, but /dev/shm does | 14:49 |
| radiofree | not sure what sandboxlib is doing there | 14:50 |
| radiofree | the error in question http://fpaste.org/311227/86944514/ | 14:50 |
| *** Lachlan1975 has joined #baserock | 14:59 | |
| radiofree | how does morph handle mounting /dev/shm as tmpfs? | 15:16 |
| pedroalvarez | morph mount's it as a tmpfs for every staging area | 15:18 |
| radiofree | it'll work in morph then | 15:18 |
| radiofree | yeah | 15:18 |
| radiofree | none on /dev/shm type tmpfs (rw,relatime) | 15:19 |
| pedroalvarez | maybe not for every staging area, but for every command it runs in the staging area | 15:19 |
| radiofree | no mound-bind for /dev/shm used there | 15:19 |
| radiofree | ybd passes --mount-bind /src/ybd/tmp/sandboxlib.1mZSpI.tmpfs/dev/shm /dev/shm to linux-user-chroot | 15:19 |
| pedroalvarez | sandboxlib passes? or is it ybd? | 15:20 |
| radiofree | well there's "mounts.extend([(None, '/dev/shm', 'tmpfs'), (None, '/proc', 'proc'), ])" | 15:21 |
| radiofree | that's in ybd | 15:21 |
| radiofree | /dev/sda1 on /dev/shm type ext4 (rw,relatime,data=ordered) | 15:22 |
| radiofree | so it's absolutly not being mounted as tmpfs.... | 15:22 |
| radiofree | is this because i've changed the tmp directory in ybd.conf? | 15:23 |
| radiofree | if /src/ybd/tmp/sandboxlib.1mZSpI.tmpfs/dev/shm were created in /tmp/.... then it would actually work | 15:23 |
| radiofree | according to sandboxlib it's supposed to create these tmpfs folders within an existing tmpfs (which would work), but it's clearly not her | 15:26 |
| radiofree | s/her/here | 15:26 |
| rdale | i create a symlink from ~/ybd to /src/ybd | 15:26 |
| rdale | oh sorry, so do you | 15:26 |
| radiofree | that's not going to work /src is my ssd | 15:27 |
| * radiofree adds a load of "print" to sandboxlib | 15:27 | |
| radiofree | def tmpfs_for_user() looks like the badger | 15:27 |
| radiofree | ah.. set XDG_RUNTIME_DIR | 15:31 |
| *** rdale has quit IRC | 15:33 | |
| radiofree | this is hardly ever set in baserock systems though | 15:33 |
| radiofree | it it isn't set then it fallsback to just using tempfile without a directory | 15:34 |
| *** rdale has joined #baserock | 15:35 | |
| radiofree | which ends up being /src/ybd/tmp as per my ybd config | 15:35 |
| paulsherwood | radiofree: you can force base: to whatever, and same for other dirs | 15:37 |
| radiofree | paulsherwood: i know i can, but i think forcing the fallback to use /tmp would be better here http://git.baserock.org/cgi-bin/cgit.cgi/delta/sandboxlib.git/tree/sandboxlib/linux_user_chroot.py | 15:38 |
| radiofree | considering doing this mount-bind for /dev/shm when TMPDIR != a tmpfs fs is never going to work properly | 15:39 |
| * radiofree just does export XDG_RUNTIME_DIR=/tmp for now | 15:43 | |
| *** bruce_ has quit IRC | 16:04 | |
| radiofree | hmm looks like qtwebengine is one of those things that assumes you'll always cross compile it | 16:09 |
| pedroalvarez | because nobody is as crazy as we are... :) | 16:10 |
| *** toscalix has quit IRC | 16:41 | |
| *** CTtpollard has quit IRC | 16:54 | |
| *** jonathanmaw has quit IRC | 17:56 | |
| * richard_maw jut pushed https://gerrit.baserock.org/#/c/1744/ which is about adding shallow push support | 17:58 | |
| richard_maw | it's the lorry-controller part | 17:58 |
| richard_maw | the lorry part is demanding that I squash my commits | 17:58 |
| richard_maw | we didn't used to need to do that, at least for morph changes | 17:59 |
| richard_maw | pedroalvarez: any ideas? | 17:59 |
| richard_maw | oh, nevermind | 18:00 |
| richard_maw | first response for googling is a messed-up change-id | 18:00 |
| * richard_maw knows how that snuck in | 18:01 | |
| richard_maw | there we go | 18:03 |
| richard_maw | https://gerrit.baserock.org/#/q/status:open+project:baserock/baserock/lorry+branch:master+topic:shallow-support | 18:03 |
| *** edcragg has quit IRC | 18:30 | |
| *** Lachlan1975 has quit IRC | 19:33 | |
| *** toscalix has joined #baserock | 23:28 | |
| *** toscalix has quit IRC | 23:30 | |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!