/srv/irclogs.ubuntu.com/2013/08/22/#launchpad.txt

=== kb3gtn|away is now known as kb3gtn
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== stub` is now known as stub
=== wallyworld__ is now known as wallyworld
ehoovercould someone help me with a launchpad recipe problem? ( https://code.launchpad.net/~ehoover/+recipe/wine-compholio ).  i was able to build successfully locally, but the build farm doesn't like it.06:20
StevenK"File wine-compholio_1.7.0.orig.tar.gz already exists in compholio, but uploaded version has different contents."06:21
ehooverStevenK: that's autogenerated, i didn't make that06:21
StevenKehoover: None of the recipe builds uploaded correctly since the file already existed so you uploaded it automatically?06:23
ehooverStevenK: the recipe created  wine-compholio_1.7.0.orig.tar.gz - i don't know how i have any control over it.06:24
StevenKehoover: You have 4 packages of wine-compholio already in your PPA06:25
ehooverStevenK: i'm trying to update to using a recipe instead of manually uploading the packages, it seems to generate the correct version info for everything except the upstream tarball06:26
ehooverso since it made "wine-compholio - 1.7.0-2~quantal1" it doesn't appear to want to build the others06:27
wgrantehoover: Recipes generate the orig.tar.gz from pristine-tar information stored in the branches.06:27
ehoovereven though the upstream tarball is identical06:27
wgrantIt sounds like the orig.tar.gz in the branch is different from the one you uploaded to your PPA separately.06:27
wgrantAnd a PPA can't have two files with the same name and version but different contents.06:28
wgrantYou'll need to change the version number of the orig tarball.06:28
ehooverwgrant: but i didn't name the orig tarball, it did that automatically06:28
StevenKehoover: An orig will be named with the upstream version, which strips off the dash and everything past that06:29
StevenKSo 1.7.0-2 is still 1.7.006:29
ehooverStevenK: so, since i uploaded a 1.7.0<ish> previously - even though i didn't upload an orig tarball with that code - it won't let me upload a new one?06:30
wgrantYour recipe's version template is '{debversion}', which means it will just use the latest version from the changelog.06:30
StevenKehoover: An orig tarball had to come from somewhere originally :-)06:31
wgranthttps://launchpadlibrarian.net/148135917/wine-compholio_1.7.0-2~quantal1_source.changes06:31
ehooverStevenK: before i used to unpack the tarball on my end06:31
wgrantThere was an orig.tar.gz on that upload.06:31
wgrantOh, that was from a recipe.06:31
ehooverwgrant: yes, that was from this same upload06:32
ehooverso quantal worked, but none of the other ones did06:32
wgrantehoover: What's the SHA-1 hash of the orig.tar.gz generated when you build the recipe locally?06:32
ehooveri tried a second time (for everyone except quantal) since DarkPlayer suggested that the first upload might break06:33
ehoover19e4c888d9d95cacb275b326d3dc3dd59ecaf509  wine-compholio_1.7.0.orig.tar.gz06:33
wgrant f115f7da1ab5098ef6804fbc0afaf83d8e6d5485 21165497 wine-compholio_1.7.0.orig.tar.gz06:34
wgrantHuh06:36
wgrantWhy does one of those branches just have a wine tarball in it?06:36
ehooverwgrant: just tried twice, if i rebuild it locally (same recipe) it generates the same sha1sum06:37
ehooverwgrant: because i couldn't get it to include the upstream tarball any other way06:37
ehooverwgrant: note that the filesize is apparently different (?), locally i get 21165464 instead of 2116549706:38
ehooverwgrant: even if i put it in a separate folder and tagged only that folder with the upstream revision it would include that entire revision in the ".orig" tarball06:39
wgrantWell, pristine-tar is designed to construct a tarball from a branch whose tree roughly matches the tarball contents.06:40
wgrantThis should still work, and it's quite possibly a bug in the old pristine-tar that's on the buildds, but it's also a really weird way of getting an orig tarball.06:40
ehooverwgrant: well, if i could tell it "download the wine tarball from ibiblio" i would06:40
ehooverthere didn't seem to be a way to do that :/06:41
* ehoover was highly disappointed06:41
=== jam1 is now known as jam
wgrantRecipes are specifically designed to work from branches.06:43
wgrantIf you wanted to work from an upstream tarball you'd normally use 'bzr import-upstream' or 'bzr merge-upstream' to import the tarball's contents into a branch.06:44
ehooverwgrant: that seems rather restrictive, especially since it wasn't clear that i'd break an entire version number by using a tarball instead of the unpacked data06:45
wgrantBecause now you have a tarball in your PPA that looks like a wine 1.7.0 upstream tarball, except that it is a tarball containing the wine 1.7.0 upstream tarball.06:45
wgrantehoover: The breakage is not directly related, I don't think.06:45
wgrantBut it's not exactly restrictive; recipes are what you use when you want to turn a set of branches into a package.06:46
wgrantThey're not what you use when you don't have branches.06:46
wgrantThey were designed just for the use case of having branches and wanting a package.06:46
ehooverwgrant: well, i want a package of my changes to a non-branched package ;)06:47
ehooverwgrant: i mean, i could go back to uploading all the packages separately - but this recipe system seems really slick06:48
ehooverwgrant: is there a way for me to see the contents of wine-compholio_1.7.0.orig.tar.gz on the build farm? maybe it's putting different stuff in there from when i execute the recipe locally06:50
wgrantehoover: You can find the one that quantal used by expanding the package on https://code.launchpad.net/~ehoover/+archive/compholio/+packages06:51
wgrantIt has the same file inside it.06:51
wgrantI'd expect pristine-tar to check the hash of the reconstructed tarball, but I don't know for sure that it does.06:52
=== tasdomas_afk is now known as tasdomas
ehooverwgrant: weird, the _contents_ of the tarball have the same sum - but the tarball itself has a different sum06:54
ehooverand since there's only one file it's not like the files are in a different order O.o06:55
wgrantSure, but they can compress differently.06:55
wgrantOr have a different timestamp.06:55
wgrantBut pristine-tar would usually fail in that situation.06:55
ehooverwgrant: but why do they compress the same even if i re-run it on my end (even choosing a new working directory)?06:56
ehoover(and have the same timestamp)06:56
wgrantpristine-tar stores enough information to reconstruct an identical tarball.06:56
ehooverwgrant: hmm, well - clearly i don't understand enough about how this system works to make it do what i want.  could you please provide me with a suggestion?06:57
wgrantehoover: Um, let's see.07:09
ehooverwgrant: note: currently seeing if i can manually upload using the original .orig07:09
wgrantYou should be able to.07:10
wgrantehoover: So, the way you'd normally do this is to create an upstream branch, the contents of which is just the extracted upstream tarball. 'bzr import-upstream' imports it the right way.07:13
wgrantThen you'd create a branch of the upstream branch, and add the packaging in that one.07:13
wgrantbzr builddeb will then reconstruct the real upstream tarball.07:14
ehooverwgrant: well, i've probably broken that now07:14
ehooversince it will generate the same 1.7.0 tarball07:14
ehooverbut with a different hash07:14
wgrantNow, in this case you've cursed the 1.7.0 version forever with an incorrect tarball, yes.07:14
wgrantSo you'd need to use something like 1.7.0+really07:14
wgrantbzr builddeb generates the orig.tar.gz from the 'upstream-VERSION' tag.07:16
wgrantSo in this case it looks for upstream-1.7.007:16
wgrantBut you need to use a different version, so either give the tarball a different version when you import it, or alias it afterwards with "bzr tag upstream-1.7.0+really -rtag:upstream-1.7.0"07:17
ehooverwgrant: thanks for the help, i'm giving up for now07:33
ehooveri'll make sure not to use tarballs inside the branch in the future07:34
=== mpt_ is now known as mpt
dowson_Hi, I'm trying to setup launchpad locally on my machine using the steps outlined in https://dev.launchpad.net/Running on a Ubuntu 12.04 virtual machine, but I'm running in trouble with the requests getting redirected. Is there anyway to disable re-direction?11:11
dowson_Making local branch of Launchpad trunk, this may take a while...11:11
dowson_You have not informed bzr of your Launchpad ID, and you must do this to11:11
dowson_write to Launchpad or access private data.  See "bzr help launchpad-login".11:11
dowson_bzr: ERROR: http://bazaar.launchpad.net/~launchpad-pqm/launchpad/devel/.bzr/repository/packs/676c7a2c6bf9b928a6d4a14d1fd37084.pack is redirected to http://91.74.184.65:80/videoplayer/676c7a2c6bf9b928a6d4a14d1fd37084.pack?ich_u_r_i=5ba889d5a1871a26dbdcc286688a8d24&ich_s_t_a_r_t=0&ich_e_n_d=0&ich_k_e_y=1345088922751163062440&ich_t_y_p_e=1&ich_d_i_s_k_i_d=4&ich_u_n_i_t=111:11
dowson_ERROR: Unable to create local copy of Rocketfuel trunk11:11
StevenKdowson_: That's very very strange. I don't think we'd redirect pack files to an Emirates IP address ...11:51
dowson_I'm located in Dubai, UAE, so for some reason the files are being redirected to some server in the UAE.12:04
StevenKdowson_: I might suggest using bzr+ssh then12:04
dowson_I started off with a clean install of Ubuntu-12.04 on a VMware image.12:04
dowson_I had installed ssh, but how do I get bzr to use ssh?12:05
StevenKdowson_: You need to generate a key using ssh-keygen, then you need to tell Launchpad about the public key -- bzr should then use it when you branch12:07
dowson_is the ssh key to be stored on the bazaar server, i.e. I have to create an account on the public bazaar server?12:11
StevenKdowson_: It's a Launchpad account12:13
dowson_StevenK: I configured SSH and uploaded my public keys to the launchpad server. It still attempts to re-direct it to that same server!!13:11
dowson_The authenticity of host 'bazaar.launchpad.net (91.189.95.84)' can't be established.13:11
dowson_RSA key fingerprint is 9d:38:3a:63:b1:d5:6f:c4:44:67:53:49:2e:ee:fc:89.13:11
dobeydowson_: that's a different IP. that is the correct IP for bazaar.launchpad.net13:19
dobeyif you want bazaar.launchpad.net to point at your local instance, you need to configure your /etc/hosts or something to point it at the local server13:20
=== Guest76202 is now known as nesthib
=== Ursinha is now known as Ursinha-afk
dowson_I'm just in the process of setting up launchpad, so it hasn't copied the sources yet. So, I should complete the install first, locally, correct? and then later on, point it to my local server.13:27
dobeywhich server are you expecting bzr to connect to exactly?13:28
dobeyalso i think you should probably ask in #launchpad-dev, as this channel is more for general help with the launchpad.net instance of launchpad. -dev is more for development stuff (which setting up a local dev instance falls under)13:29
dowson_ok13:29
=== Ursinha-afk is now known as Ursinha
dowson_Just to let you know, after I configured for SSH, registered my public SSH keys with the launchpad.net server, and accepted the server RSA finger print, it's fetching the sources correctly.13:47
dowson_The notice that the IP address of the server without SSH is different from the one with SSH access.13:48
=== tasdomas is now known as tasdomas_afk
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== tasdomas_afk is now known as tasdomas
=== tasdomas is now known as tasdomas_afk
XandriXanyone had this issue on windows where the msp debug interface shows up as a usb input device instead of loading its proper driver ?18:27
dobeywhat does that have to do with launchpad.net?18:27
XandriXomfg18:28
XandriXwrong channel join haha18:28
XandriXsorry guys18:29
XandriXhave a good one18:29
DarkPlayerhi, is it possible to split up a bug in launchpad? i have some users who simply start posting new problems in old bug reports , so it is possible to create a new bug report from the new posts?21:10
Logan_DarkPlayer: I don't believe that's currently possible, but you can definitely request it: https://bugs.launchpad.net/launchpad/+filebug21:12
dobeyDarkPlayer: no, it's not possible21:15
DarkPlayerk21:16
dobeyi don't think it's possible on any bug tracker to do that21:16
dobeyat least, not dierctly. you can of course always copy/paste stuff into a new bug21:16
dobeyit's better to just try and inform/train your users to always file new bugs21:17
broderhmm. i just had a private i386 ppa build run (and fail) on chindi03, which is identified as an arm ppa builder21:23
broderthat...seems wrong21:23
broderin a couple ways21:23
dobeybroder: why? qemu builds arm stuff on i386 hosts, iirc21:23
brodererr, but this wasn't an arm build21:24
broderand (unless something changed) i thought i wasn't allowed to do arm builds in ppas at all21:24
dobeyi didn't say it was an arm build21:25
broderi see21:25
broderit also exploded in ways i'm not used to21:25
broderparsing the sbuildrc21:25
dobeyanyway "identifies as" and "labelled as" aren't necessarily the same thing. it does say "(arm ppa builder)" for that host, but it's certainly building for i38621:26
dobeyso it's labelled as arm, but identified as i386, i would say21:26
dobeybut irrelevant to your issue, which is a host config issue21:27
dobeyjust resubmit your build and hopefully it'll land on another builder that isn't broken21:27
dobeyunless someone is around that can take that builder off the loop for now21:27
dobey(i can't)21:27
dobeyanyway, i'm leaving now. so later :)21:28
wgrantbroder: All the PPA ARM builders are actually using qemu-user-static on amd64 hosts21:57
wgrantThe arm bit in the description just means they're configured as qemu-capable.21:57
broderha. cute21:57
broderok, so sounds like the builder was just generically unhappy then21:57
wgrantYeah, that one is.21:57
wgrantAm fixing.21:57
broderawesome, thanks21:57
wgrantThanks for letting us know.21:57
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha

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