[00:31] <infinity> cjwatson: Oh, hrm.  I suppose I could fix this in base-files-udeb instead.
[00:31] <cjwatson> Please tell me there isn't a base-files-udeb.
[00:31] <cjwatson> Do you mean rootskel?
[00:31] <infinity> Oh, or, whatever has the base filesystem. :P
[00:32] <cjwatson> Doesn't seem like the ideal place to work around PI things, though.
[00:32] <infinity> I hadn't looked.
[00:32] <infinity> Well, that's how amd64 works around it.
[00:32] <infinity> By shipping the lib64 -> lib symlink.
[00:32] <infinity> If I fix this in mklibs (which doesn't look too painful), that could go away.
[00:32] <cjwatson> True.
[00:33] <cjwatson> So you mean a /lib/armhfouyqwourtuwtriqur -> /lib symlink?
[00:33] <infinity> But it would be just as easy to ship.. .Yeah.
[00:33] <infinity> It's one or the other.  Symlink the directory, or have mklibs install ldlib to its full path.
[00:33] <cjwatson> I guess that wouldn't be totally awful, although a proper fix would be better
[00:33] <infinity> The latter feels more correct, but the other hack already exists for amd64.
[00:33] <cjwatson> No upgrade problems, at least.
[00:34] <cjwatson> So we can switch later.
[00:34] <infinity> What, you mean you don't regularly install apt in your d-i initrds and upgrade them?
[00:34] <infinity> :P
[00:35] <infinity> So, yeah, what's responsible for that lib64 symlink?  You reckon rootskel?
[00:35] <infinity> Sadly, the d-i build log was unhelpful.
[00:35] <cjwatson> rootskel, yes.
[00:35] <cjwatson> ./debian/rootskel.links.amd64:1:lib lib64
[00:36] <cjwatson> lp:~ubuntu-core-dev/rootskel/ubuntu
[00:36] <cjwatson> Yeah, let's go with that
[00:37] <infinity> Yeah.  It feels more correct to fix it in mklibs, but I'm also not sure what fallout that might cause when it tries to install amd64's PI to /lib64
[00:37] <infinity> (which is correct, but I have no idea what order these things happen in)
[00:38] <cjwatson> We'd have to fix mklibs then upload eglibc and rootskel at around the same time, yes.
[00:38] <infinity> eglibc wouldn't need an upload.
[00:39] <infinity> It gets ldlib path from readelf.
[00:39] <cjwatson> Oh, yeah, duh
[00:39] <infinity> Where it lives in the udeb is irrelevant.
[00:39] <infinity> As I discoverde. :P
[00:39] <infinity> discovered, too.
[00:39] <cjwatson> The d-i build system unpacks all the base udebs (probably in roughly alpha order) and then runs mklibs.
[00:39] <cjwatson> So if it has a symlink there it might even work OK.
[00:40] <infinity> But yeah, I could remove the link from rootskel and fix mklibs.  It's tempting.
[00:40] <infinity> Or, true, if the link's already in place, it would probably DTRT, since it's not absolute.
[00:40] <cjwatson> right
[00:40] <infinity> Yeah, maybe I'll fix this the way that seems more elegant, even if it's more work.
[00:41] <infinity> Cause adding a new symlink for any new arch with a m-a PI seems broken.
[00:41] <cjwatson> At run-time, udpkg basically just extracts stuff by calling tar
[00:41] <cjwatson> It wants libc6-udeb when it gets to the point of retrieving further installer components beyond its base system, since only the base system gets reduced so it needs a full libc at that point
[00:42] <cjwatson> Still a bit odd that it worked before that point for Tobin.
[00:43] <infinity> I'm moderately unsure as to what Tobin's breakage is right now.  I'll need to play.
[00:43] <cjwatson> I can't quite think why specifically unpacking a new libc6-udeb would have hosed things if the problem was that the PI was in the wrong place.
[00:43] <infinity> Well, he moved his PI to the right place manually and repacked the initrd.
[00:44] <infinity> Otherwise, he would have never gotten that far.
[00:44] <infinity> Does udpkg freak out about overwriting unowned files?
[00:45] <infinity> I suppose it couldn't possibly, or this reduction business would fail horribly.
[00:46]  * infinity blinks and wonders where qemu-system-arm went.
[00:48] <infinity> Oh, in universe, in qemu-system.  I must have napped through that package split.
[00:52] <infinity> Err, wait.
[00:52] <infinity> I can't test this with qemu.
[00:52] <infinity> No vexpress images.
[00:55] <cjwatson> udpkg doesn't give a shit about file ownership.
[00:55] <cjwatson> In fact it doesn't track it.
[00:55] <cjwatson> qemu doesn't have other arm targets yet?  Boo.
[00:57] <infinity> S'ok.  I can test the mklibs stuff locally.  I just wanted to see if I could reproduce Tobin's thing.  Which will have to wait for my Panda or QuickStart to be idle.
[00:57] <infinity> Silly bootstrapping.
[00:57] <infinity> Err, just my Panda.
[00:57] <infinity> No QS images either. :P
[00:57] <cjwatson> Fair enough.  I'll leave you to reproduce with Tobin. :-P
[00:57] <cjwatson> (I'm sure you needed that image)
[00:58] <infinity> Dot dot dot.
[00:58] <infinity> I hate you SO MUCH right now.
[00:58] <cjwatson> You know, I don't think I know anyone else who spells out ellipses.
[00:58] <infinity> Sometimes, you need to.
[00:58] <infinity> For maximum effect.
[04:38] <infinity> cjwatson: Would appreciate comments and/or laughter on http://lucifer.0c3.net/~adconrad/mklibs.patch
[04:38] <infinity> cjwatson: (Presented as an upload to sid rather than precise, as Debian/armhf needs the fix just as badly)
[04:41] <infinity> cjwatson: As called by d-i, both mklibs and mklibs-copy appear to DTRT with my patchs for armhf, amd64, and i386.
[04:41] <infinity> cjwatson: Can't think of any corner cases that might blow up, but I also didn't feel the overwhelming desire to actually read all of mklibs.
[07:31] <cjwatson> infinity: ld_path_name == "/lib/" will never be true, as dirname doesn't return something with a trailing slash
[07:33] <cjwatson> (not foo == bar  =>  foo != bar)
[07:36] <cjwatson> infinity: I know it was partly pre-existing, but testing os.access(dest_path + "/" + ld_file_name, os.F_OK) seems bizarre - why would the PI *basename* exist in dest_path?  Should that be s/ld_file_name/ld_full_path/?
[07:36] <cjwatson> (OTOH maybe I'm missing something odd that mklibs does)
[07:37] <cjwatson> infinity: seems basically plausible though
[10:56] <infinity> cjwatson: No, dest_path is lib/  Which seemed effin' wrong to me too, but that's how the code it written.
[10:57] <infinity> s/it/is/
[10:58] <infinity> cjwatson: And point taken on ld_path_name not containing a trailing slash.  Oops.
[11:00] <infinity> cjwatson: (dest_path being lib instead of root is why I then install to ../ld_full_path)
[11:00] <infinity> cjwatson: The whole this is just plain weird.
[11:01] <infinity> cjwatson: patch updated.
[11:24] <CIA-16> ubiquity: adconrad * r5108 trunk/ (3 files in 2 dirs): Fix the armhf symlinks to point to actual files
[12:38] <ogra_> hmpf, seems my cia setup is broken, i just released ubiquity 2.9.7
[12:42] <ogra_> sigh and i'm missing 100MB of build deps ...
[12:42] <ogra_> fun
[12:43]  * ogra_ twiddles thumbs waiting for them to install
[13:13] <infinity> ogra_: Are you testbuilding before you upload, after chastising me for wanting to do the same? :P
[13:14] <ogra_> infinity, nope ...
[13:14] <infinity> So... You uploaded?
[13:14] <ogra_> but i would appreciate if someone else could upload i dont get my chroot right here and dont want to waste another hour
[13:14] <infinity> Oh.  I was just going to do an -nc upload.  No refresh.
[13:14] <infinity> Cause I'm a filthy cheater.
[13:15] <ogra_> it needs bout 100MB build deps to even roll a source package :/
[13:15] <cjwatson> how about I just upload it, guys :)
[13:15] <ogra_> and somehow thats still not working ... its so long ago that i built ubiquity that i have to check the docs ... grmbl
[13:15] <ogra_> cjwatson, please do
[13:16] <cjwatson> also just changing the name in the changelog and not adding [ Colin Watson ] (e.g. as dch -r does) is a bit rude :)
[13:16] <ogra_> ah, i was missing a debian/rules update
[13:16] <cjwatson> not that I vastly care
[13:16] <ogra_> oops, sorry ... i didnt see a reference to infinity either (though he explained that above)
[13:17] <cjwatson> up to people to put themselves in the changelog if they want
[13:17] <ogra_> right, it was just confusing
[13:19] <cjwatson> uploading now
[13:20] <ogra_> bah, and now my chroot works :P
[13:20] <ogra_> well, at least i have it ready for next time
[13:20] <ogra_> and i know that armhf chroots work for building source packages :)
[13:20] <cjwatson> you don't need most of the build-deps to build the source package anyway
[13:21] <ogra_> well, it complains and stops if i dont have some of the python bits
[13:21] <cjwatson> -d
[13:21] <ogra_> (pyflakes etc)
[13:21] <cjwatson> oh, yeah, sure, but that's small
[13:21] <cjwatson> point is you don't need everything
[13:21] <ogra_> i didnt feel brave enough to -d ... (i noticed the note indeed)
[13:21] <ogra_> well, i have a proper chroot for next time ... so thats already good :)
[13:22] <cjwatson> you don't have to be brave; you can try it and then check that the debdiff looks right.
[13:22] <infinity> ^
[13:23] <cjwatson> I think you should just need debhelper, dh-di, and pyflakes, maybe one or two other bits.  certainly not most of the libraries.
[13:23] <infinity> Like I said, I was just going to do an -nc upload.  But not if everyone else was falling over themselves to upload. :P
[13:24] <cjwatson> -nc is fine if you've done 'debian/rules update' and there were no Python changes, yes.
[13:24] <cjwatson> It's worth running 'make -C d-i check' though.
[13:28] <ogra_> hmm, but xz is really bad on arm
[13:29] <ogra_> even ctrl-c'in the xz creation took 5 mins until it got through ...
[13:30] <ogra_> depressing
[13:33] <infinity> On which machine?
[13:33] <ogra_> ac100 indeed
[13:33] <infinity> The ac100's 512M of RAM doesn't really make it shine.
[13:33] <ogra_> in an armhf chroot
[13:34] <infinity> My phone has more. :/
[13:34] <ogra_> intrestingly compressing inside the hf chroot seems to be lots and lots heavier than unpacking under armel in the host rootfs
[13:35] <cjwatson> xz compression is a lot slower than decompression anyway
[13:35] <ogra_> apparently
[13:36] <cjwatson> Fairly well-known.
[13:36] <cjwatson> (But, for a source package, I'd still rather take a couple of minutes longer and save the space.)
[13:36] <ogra_> but i was hoping that hf improves it a bit
[13:36] <ogra_> vs el
[13:36] <cjwatson> I would be surprised if it did any significant floating-point work.
[13:36] <ogra_> yes, apparently it doesnt
[13:36] <cjwatson> Compression algorithms rarely do, although there's the odd exception.
[15:51] <bdmurray> In bug 901502 I see the following in syslog:
[15:51] <ubot2> Launchpad bug 901502 in ubiquity "I booted into Lubuntu Installation rather than running installation from the live desktop. After inputting my user info and proceeding, the installer encountered an error." [Undecided,New] https://launchpad.net/bugs/901502
[15:51] <bdmurray> Dec  7 20:19:58 ubuntu kernel: [   28.072013] loop1: rw=0, want=13608534816, limit=1048576
[15:52] <bdmurray> Dec  7 20:19:58 ubuntu kernel: [   28.072021] EXT2-fs (loop1): error: ext2_free_branches: Read failure, inode=98360, block=1701066851
[15:52] <bdmurray> Dec  7 20:19:58 ubuntu kernel: [   28.072023] attempt to access beyond end of device
[15:52] <bdmurray> Is that indicative of media or memory issues?
[18:44] <infinity> cjwatson: I'm uploading my mangled mklibs as an ubuntu1 revision for now, so we can test it.  Feel free to give it an eyeball or two and upload to Debian and sync over my changes.
[21:41] <infinity> Damn.  I guess I should have tested my new mklibs with a full d-i build.
[22:42] <infinity> Oh, FFS.
[22:42] <infinity> *headdesk*
[22:42] <infinity> lrwxrwxrwx  1 adconrad adconrad    4 Oct 17 15:01 lib64 -> /lib
[22:42] <infinity> Thanks, whatever udeb unpacked that symlink.
[22:46] <stgraber> :)
[22:46] <infinity> Apparently the concept of relative symlinks is a lost art.
[22:46]  * infinity fixes.
[22:47] <infinity> And, it's debhelper's fault?
[22:47] <infinity> debian/rootskel.links.amd64:lib lib64
[22:47] <infinity> ^-- That's creating absolute links?  Ick.
[22:51] <infinity> You know, I'm tempted to just take the links out of rootskel.  I don't really need them anymore.
[22:57]  * infinity does so, and feels pretty good about the whole affair.