/srv/irclogs.ubuntu.com/2012/08/09/#launchpad.txt

NCommanderwgrant: ping?05:40
wgrantNCommander: Hi05:42
NCommanderwgrant: so I was trying to use the raw-installer custom upload to publish squashfs into installer-arch into the dist folder05:42
NCommanderObviously it didn't work, and since you've noticed it, I suspect I broke something else in LP05:42
wgrantYaeh05:43
wgrantIf you're going to commit such evil, perhaps give us a headsup first :)05:43
wgrantraw-installer is barely tested to work in PPAs at all, let alone at that scale.05:43
* NCommander gulps05:44
NCommanderWhat did I hose >.>;05:44
NCommander(raw-installer generally works with d-i, guess I broke the world somewhat more)05:45
wgrantNCommander: https://oops.canonical.com/oops.py/?oopsid=OOPS-8a6501691b7c6ada250ac4ab32b1ee6905:47
ubot5`https://lp-oops.canonical.com/oops.py/?oopsid=8a6501691b7c6ada250ac4ab32b1ee6905:47
wgrantNCommander: I'm not quite sure why it's crashing like that, but it's probably something evil in your tarball05:48
NCommanderwgrant: oh, that was the first one05:48
NCommanderThe code is hardcoded to attempt to try and extract installer-$ARCH05:49
NCommanderFIrst attempt had livecd-$ARCH, and I thought it merely published nothing05:49
NCommanderTHe second attempt had the folder right, and then nothing showed up so I ran away quickly :-)05:49
* NCommander decides it *might* be easier to setup a local LP instance to test and abuse this less I bring the wrath of the Soyuz devs upon me05:51
StevenKNCommander: All three Soyuz devs share a timezone now, too ....05:51
NCommanderbut fortunately, there an ocean away from me; gives me plenty of time to hide :-)05:51
bigjools =:o05:51
NCommander*their05:51
NCommanderMight be easier to simply implement a new custom upload type but I think it might cause someone to maul me05:53
StevenKNCommander: Still in AKL?05:58
NCommanderMigrated back to OR after a check engine light and other concerns forced me to call it quits05:58
* NCommander did accomplish everything on the TODO list except the Dempster Highway05:58
NCommandermore annoyingly, the error codes cleared themselves once I was about halfway back to Oregon, but I have that nasty feeling I'm looking at transmission failure sooner rather than later05:59
* StevenK rejects NCommander's uploads with prejudice.06:01
StevenKNCommander: What do you drive?06:02
* NCommander hasn't uploaded anything to the archive in awhile06:02
NCommanderStevenK: 2007 Hyundai Tucson06:02
NCommander2WD, but it gets excellent mileage and is decent on washboard roads (and arctic tundra)06:02
StevenKNCommander: http://en.wikipedia.org/wiki/Subaru_Legacy_%28fifth_generation%29 is what Sarah and I drive.06:03
NCommanderhttp://en.wikipedia.org/wiki/Hyundai_Tucson - me06:03
StevenKYeah, I found that already06:03
NCommanderHilariously, in NYC, when I park the damn thing, I get the compact discount, and the SUV surcharge06:03
StevenKNCommander: Your PPA uploads are what I rejected.06:03
NCommanderWait, what?06:04
NCommanderWhat queue did they end up in?06:04
StevenKACCEPTED06:04
NCommander...06:04
NCommanderI *really* broke LP06:04
StevenKPPA uploads are automatically accepted06:04
wgrantAnd crashing doesn't autoreject06:04
wgrantSince it usually indicates an LP bug.06:05
StevenKRight06:05
NCommanderSo LP got stuck in an infinite loop?06:05
StevenKIt will try and process the queue, hit your upload, crash and die.06:05
wgrantIt tried to reprocess them a couple of hundred times yesterday06:05
wgrantJust makes things a bit slower.06:05
StevenKOh, that's right, it will just skip your PPA06:06
StevenKNCommander: Auto or manual?06:06
NCommanderauto unfortunately06:06
StevenKHah06:06
NCommanderParents wouldn't co-sign the loan unless it was something they could drive06:06
StevenKNCommander: Said Legacy (which is sold in .au as 'Liberty') is 6 speed manual 4WD06:06
NCommanderBah06:07
NCommanderDamn you and your stickshift06:07
ScottKWait.06:07
StevenKNCommander: If you tried to drive it, you'd end up banging your hand into the door handle from muscle memory06:07
ScottKYou took and automatic to Alaska?06:07
NCommanderScottK: semi-automatic06:08
StevenKScottK: He's brave and/or stupid.06:08
NCommanderP-R-N-D-1-2-3-406:08
NCommander(with 1-4 being sequential)06:08
NCommanderso I can gear down/up like a stick but no clutch :-/06:08
ScottKThat's an automatic.06:08
NCommanderhttp://goo.gl/maps/m2YDl - (route I drove going up)06:09
StevenK"This route crosses through Canada."06:10
StevenKHahaa06:10
StevenKYou pretty much have no choice, though?06:10
ScottKIt's that or a boat.06:10
StevenKRight06:10
StevenKNo so much fun driving on a boat06:11
bigjoolsthat's a long way06:11
ScottKDepends on how big it is and how many people are walking around on the vehicle deck.06:11
NCommanderTHere is the Alaska Martime System from Bellingham, WA to southern Alaska06:12
NCommanderBut the prices make an international business class fair look cheap06:12
NCommanderwgrant: honest opinion, if I wanted to build livefs's on the buildds would you say the 'raw-installer' custom upload is approiate, or I should create a new one (or some pre-existing one somewhere)? (I think raw-installer does some managing of the "current" directory in installer-*)06:17
wgrantNCommander: I'd create a new one. Do they even need to be published to the archive?06:18
NCommanderwgrant: I was thinking a PPA would do the trick06:18
wgrantNCommander: I'd go with something like translations-static, where you pull the files down through the API06:19
NCommanderwgrant: infinity was working on modifying LP that buildd-* could accept a job from ubuntu-cdimage, but my mental thought was it isn't hard to generate it via PPA. I did need a little bit of voodoo though to get livecd.sh to run in a PPA06:20
* NCommander was trying to figure out a proof of concept before I broke the world06:20
ScottKInteresting concept of time you have.06:21
ScottK"Before"06:21
NCommanderthen when we need to respin a squashfs, nusaken can generate the stub source package, fire it into a PPA, and poke liblaunchpad to see "has it built yet?" then download06:21
StevenKScottK: NCommander saying he broke the world was a common occurance on the Ubuntu Mobile weekly calls.06:21
ScottKYou'd think he'd have learned by now.06:22
* NCommander upgraded from breaking the world to merely breaking davidm06:22
StevenKNCommander: ITYM nusakan06:22
NCommanderbut, just for the record, you guys suck :-P06:22
ScottKNCommander: We aren't the one that drove to Alaska with an automatic transmission.06:23
NCommandereh, that's not the crazist thing I ever did06:24
ScottKColor me not surprised.06:24
* NCommander only notes now that he's digging himself deeper06:24
StevenKNCommander: Dig up, stupid.06:24
ScottKOr at the very least stop.06:24
NCommanderWIth friends like you, who the heck needs enemies :-P06:27
* ScottK misread that last word at first and thougth things had taken a seriously weird turn.06:28
* NCommander doesn't want to know what ScottK read06:30
ScottKFor once, you're right.06:30
bigjoolshaha06:31
StevenKI can guess, and I don't like it.06:31
bigjoolsok, how do I get vi in busybox06:33
NCommanderbigjools: its a compile time option06:33
bigjoolsarse06:33
NCommanderbigjools: its possible its there but no symlink06:33
bigjoolsdoesn't help with my current busybox shell then!06:33
NCommandertry busybox vi06:34
bigjoolsapplet not found06:34
NCommanderI believe ed is standard in busybox though06:34
bigjoolsnot in this one!06:34
NCommanderbigjools: what are you trying to fix?06:34
* NCommander *might* have a statically linked busybox handy06:34
bigjoolsI am booting off a usb stick so I can edit the password file a box06:35
bigjoolson a*06:35
NCommanderOh06:35
NCommanderThat's easier06:35
NCommanderchroot *mnt directory* /bin/bash06:35
NCommanderexport TERM=vt10006:35
NCommandernano /etc/passwd06:35
bigjoolsI wonder if in-target will work06:35
wgrantbigjools: Why not just use GRUB to do that?06:35
wgrantThis isn't Windows :)06:36
* NCommander rather do it from an EFI shell :-P06:36
bigjoolsthat assumes that I can get into grub06:36
bigjoolsgot away with no editor06:36
NCommanderis the file malformed or just forgotten password?06:37
bigjoolschroot did it, why did I not do that earlier when I thought of it ...06:37
bigjoolsit's a maas-installed juju node where something went wrong in cloud-init06:37
bigjoolsthx for tip NCommander06:38
* NCommander would hope that a juju wouldn't bring pain and destruction to innocent installation06:39
NCommander^s06:39
ScottKInteresting theory.06:39
bigjoolswell it's supposed to add an ssh key... but failed06:39
NCommander.... How do you go from add an ssh key to OMG BROKEN /etc/passwd O_O;06:40
bigjoolsit's not broken06:40
cody-somervilleWhy do you want to upload the squashfs to an archive instead of to the librarian?06:40
bigjoolsI am addingt a password06:40
bigjoolsso I can ssh in06:40
* cody-somerville is still baffled that you guys want to use launchpad buildds instead of using openstack cloud + juju or whatever.06:40
NCommandercody-somerville: mostly because I didn't consider uploading to librarian.06:41
NCommandercody-somerville: generally speaking, I rather used tried and tested tools for critical infrastructure until they've had some time to bake :-)06:41
NCommanderAlso, openstack is very x86 only ATM06:42
cody-somervilleI'm not sure how the new code you're writing to add support for this in Launchpad is tried and tested vs. OpenStack06:43
cody-somervilleand IIUC, Linaro 'cross-builds' their ARM images on x86 (but I might be mistaken on that)06:44
cody-somervillePlus, there is also MAAS.06:44
NCommandercody-somerville: only new code I'm writing is a publishing method into Launchpad. In addition, I don't want to spawn multiple sets of infrastructure we have to maintain06:44
cody-somervillelol. Tell me about it. If you guys do implement this, I'm going to have to add support to Offspring to be able to use the launchpad buildd farm06:45
cody-somervillenot looking forward to that06:45
NCommanderAs it stands we have to maintain a seperate set of buildds for live images, and another (much larger) set for package builds. OpenStack doesn't really solve the problem I want to solve06:45
cody-somervilleThat's a fair point.06:47
NCommanderIn addition, then the machiens used for liveFS builds can migrate into the builder pool, and add more ARM and PowerPC hardware06:47
bigjoolsof course it helps if I didn't try and ssh into the BMC06:49
NCommandercody-somerville: actually, I don't want to publish to librarian. Being able to simply wget squashfs's makes life easier when I'm tinkering with a local CD image build vs. having to deal with launchpadlib06:54
cody-somervilleFiles in the librarian are wgetable06:55
* NCommander has found that while its generally trivial to put something in librarian, it was my experience that getting things out are more difficult06:55
NCommandercody-somerville: yes, on some impossible-to-remember URL which changes each time a new file is uploaded06:55
cody-somervilleyou don't want a unique filename for each squashfs build you do?06:56
NCommanderWe don't currently do it. SUppose if I'm already burning the existing livecd code to the ground, might as well implement it in a slightly smarter manner06:56
NCommanderother thing I need to figure out if is there is a saner way to actually get the correct privelleges to call livecd.sh (it doesn't like fakeroot :-))06:57
StevenKNCommander: If you have the LFA, it's pretty easy. :-)06:59
NCommanderLFA?07:01
StevenKLibraryFileAlias07:01
NCommanderer07:01
NCommanderI meant on the buildds themselves07:02
* NCommander was not happy with his workaround to make livecd.sh go07:02
NCommanders/was/is/g07:02
dholbachhiya09:19
dholbachI was wondering if anyone was looking into https://bugs.launchpad.net/launchpad/+bug/1031764 right now09:19
ubot5`Ubuntu bug 1031764 in Launchpad itself "timeout on code.launchpad.net/~ubuntu-branches" [Critical,Triaged]09:19
wgrantdholbach: Bug #1029642 is probably the one you actually care about09:25
ubot5`Launchpad bug 1029642 in Launchpad itself "ScopedCollection:CollectionResource:#branch_merge_proposal-page-resource (landing candidates) dying from late evaluation of security rules" [Critical,Triaged] https://launchpad.net/bugs/102964209:25
dholbachaha!09:25
dholbachwgrant, so is this a problem somewhere else as well? or just in the ~ubuntu-branches MP list?09:26
wgrantdholbach: It's slow globally, but has only significant affected ~ubuntu-branches and a U1 thing, from what I've seen.09:26
dholbachok, that's good to know - thanks a bunch09:27
wgrantIt will hopefully be fixed soon.09:27
dholbachawesome09:29
dholbachthanks wgrant09:29
=== Quintasan_ is now known as Quintasan
vilaweird issue with packages copied from one ppa to another: the target ppa was empty to start with and after the copy there is no Release.gpg in the target ppa12:49
vilaknown issue ? Should I file a bug ?12:49
=== zyga is now known as zya-afk
=== deryck is now known as deryck[lunch]
jonrafkindI am trying to add a .desktop file to an existing package (that I didn't originally make). It uses cdbs in the rules file. I tried just putting blah.desktop in the debian/ directory but that wasn't enough. How can I make sure the .desktop file gets installed with the package?16:45
george_eI know this is an odd question but... when creating a recipe, can I omit the base branch and _just_ have two nested branches?17:52
george_eIs that even possible?17:52
dobeygeorge_e: you can't nest a branch if you don't have something to nest it into17:52
dobeywhy would you want to do that anyway?17:53
george_eWell... I have one nested branch for the Debian packaging.17:54
george_e...and I was wondering if the code could be nested in a directory as well.17:54
george_eSo the uploaded .tar.gz would look something like this: ./debian ./the_code17:55
george_eThe Debian packaging would be aware that the code is in a separate directory.17:55
george_eI guess it does sound a little strange. I'll explain a little further:17:56
george_eSo I've got some Debian packaging that generates two binary packages - and each needs a separate source tree.17:56
dobeyno, that's really not how you should handle the packaging. the debian/ dir should be nested under the top level dir of the source tree18:03
dobeywhy are you building two different sources in the same packaging?18:03
haseebhi i am getting the following http://pastebin.com/p9AXugEq18:27
haseebconfig file http://pastebin.com/rrsEEmMC18:28
dobeyhaseeb: has nothing to do with launchpad or bzr really, but it is a general ssh issue. you need to fix the file permissions on ~/.ssh and ~/.ssh/config18:48
dobeyand your config is wrong; you'd need "Host bazaar.launchpad.net" and you can omit the "HostName" under that. also you don't need configure ssh to configure your lp hostname for bzr; you should do "bzr lp-login" instead18:50
haseebok18:51
haseebdobey,  same error18:55
dobeyyou still need to fix the file permissions on them then18:57
dobeyor just delete it if that's the only thing in the .ssh/config file18:58
george_edobey: Sorry, I was away for a few minutes there. I'm not really building two source packages - since the source tree is identical in both cases (I'm nesting the same branch in two places). The reason I'm doing this is because I'm building the library for two architectures.19:03
george_eNote that this is NOT the same as specifying Architecture: Any in the debian/control file.19:04
george_e...because I am not building Linux / Unix binaries.19:04
dobeywhat are you trying to do exactly?19:04
george_eI am using Mingw-w64 to build Windows binaries.19:04
george_e(Sorry if this really is confusing.)19:05
dobeyyou probably don't want to use launchpad recipes to do that19:05
george_eSo my plan was to have the Debian directory and two identical source trees.19:05
dobeyor debian packaging19:05
george_eOne for 32-bit Windows and one for 64-bit.19:05
george_edobey: I do - because the files are used for cross-compiling.19:05
george_eI'm not building _executables_.19:06
george_eI'm building the .lib / .a files that the executables use.19:06
dobeylaunchpad recipes are for building debian packages for use on Ubuntu via a PPA19:06
george_eExactly.19:06
george_eThat's what I'm doing.19:06
dobeyWindows is not Ubuntu and doesn't use PPAs19:06
george_eThe packages contain files that go in /usr/i686... and /usr/x86_64.19:07
george_edobey: Other distros do this. Example: http://rpm.pbone.net/index.php3?stat=26&dist=84&size=46569&name=mingw64-zlib-static-1.2.5-10.fc17.noarch.rpm19:07
george_eThose packages just contain the files that Mingw-w64 produces.19:07
george_eI'm not trying to stuff Windows applications into a Debian package.19:08
george_eThese packages are just the development files that are used to produce them.19:08
dobeyand mingw-w64 builds win64 binaries on i386 ubuntu?19:09
george_eYes.19:09
george_eThat's why the packages produced are architecture-independent.19:09
george_eThe Mingw-w64 compiler can produce 32 and 64-bit Windows executables from both a 32 and 64-bit Ubuntu installation.19:10
dobeywell, you don't need multiple source trees and everything nested separately19:10
dobeyyou need a more complex deiban/rules file19:11
george_eWhat else can I do?19:11
george_edobey: Ah, okay.19:11
george_eHow would that work?19:11
dobeyin much the same way that some C extensions to Python are built for multiple python versions, for example19:11
george_eWould you like to see what I have so far?19:11
george_eI have a branch on LP.19:11
dobeyor make your packaging branch the main tree, and nest everything else19:12
dobeydepending on how the thing you're building actually configures/builds itself19:12
george_eCurrently, the debian/rules here only builds for 32-bit Windows - http://bazaar.launchpad.net/~george-edison55/win-cross/zlib-debian/files19:12
george_edobey: That was something I had considered (making the Debian branch the main one).19:13
dobeyi'm not sure exactly how to do what you want, but something like http://bazaar.launchpad.net/~ubuntuone-control-tower/dirspec/packaging-dailies/view/head:/rules (how python3 and python2.7 packages are built from same source), might work for you19:17
george_edobey: Okay, thanks. I have done some packaging before for Python modules that generate both Py2k and Py3k packages.19:18
george_e...so hopefully something like that will work.19:18
george_eMaybe the Makefile will let me specify a directory for object / binary files.19:19
dobeygeorge_e: it doesn't matter really, since install for one should get called before building the other anyway19:24
dobeygeorge_e: unless you want to fix it to allow building both at the same time19:24
george_eAh, so then I just need to run 'make clean' between the two then?19:24
george_eI guess I need to read up more on how dh_build works.19:25
dobeywell, dh_auto_clean should be getting run between each build, yes19:25
dobeyso you can use override_dh_auto_clean to remove any extra files you need to remove, as is done in that py3k example i showed19:25
george_eRight.19:26
george_eOne last question... I assume override_dh_auto_build will be called once for each package.19:26
george_eHow do I know which one is getting built?19:26
dobeyi'm not sure. i don't think dh provides any magic for it automatically, so you'll probably have to do some extra stuff to tell it which one to build19:27
george_eThanks for helping me out.19:27
=== Guest78961 is now known as dpb__
=== dpb__ is now known as dpb___
svuorelaso. I can't create a account (I don't receive any emails, my mailserver isn't contacted), when using the 'forgot password' functionality I end up with a OOPS ID and something wrong. When trying to use the SSO support they are amazingly unhelpful. What does one do?20:59
lifelesssvuorela: SSO support is where you need to go; have you used their email support system or web form or IRC ?21:17
svuorelalifeless: the web form21:21
lifelesssvuorela: I suggest you try #canonical-isd on this IRC server21:23
lifelesssvuorela: but first21:23
lifelesswhat URL are you using that has the 'forgot password' functionality on it.21:23
svuorelahttps://login.launchpad.net/+login21:24
svuorelalifeless: when is a appropriate timezone for heading into #canonical-isd ?21:27
lifelessnow21:27
lifelesssvuorela: thats definitely an ISD managed url, sorry!21:27
=== heroux_ is now known as heroux

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!