=== Ursinha-afk is now known as Ursula | ||
Luke-Jr | StevenK: dpkg-source and dpkg-genchanges | 00:56 |
---|---|---|
=== Guest59860 is now known as LoganCloud | ||
StevenK | Luke-Jr: With a specified tarball? | 00:57 |
wgrant | Luke-Jr: There's basically never a reason to use dpkg-source and dpkg-genchanges to build packages manually | 00:58 |
wgrant | You should be using dpkg-buildpackage, or a wrapper like debuild | 00:58 |
Luke-Jr | wgrant: well, I was unable to find basically any documentation besides debuild (which only works on Debian/Ubuntu), so I had to figure it out from scratch :/ | 01:06 |
wgrant | Luke-Jr: http://developer.ubuntu.com/packaging/html/ | 01:06 |
Luke-Jr | wgrant: this doesn't assume an Ubuntu environment? | 01:10 |
wgrant | Luke-Jr: You're not going to have a huge amount of fun or luck trying to build Debian packages in a non-Debian or derivative evnironment. | 01:11 |
wgrant | You'll need a Debian/Ubuntu/somethingelse chroot. | 01:11 |
Luke-Jr | wgrant: I'm not trying to build packages, just upload source to LP and let it build them | 01:11 |
wgrant | You're building soruce packages. | 01:12 |
Luke-Jr | sigh | 01:16 |
wgrant | It's possible, but you're making life very difficult for yourself (as evidenced by the failures) | 01:17 |
Luke-Jr | the entire point of this exercise is to NOT need a Debian-based system. <.< | 01:20 |
wgrant | How do you have dpkg-source but not dpkg-buildpackage? | 01:20 |
wgrant | And a chroot isn't that hard to set up... | 01:20 |
Luke-Jr | I do have the latter, but I didn't know it existed until you mentioned it | 01:22 |
Luke-Jr | trying to handle it now | 01:22 |
Luke-Jr | looks like it produced something that works.. now I just need to figure out how much I can tweak it without breaking it :x | 01:26 |
wgrant | Luke-Jr: You should not touch any of the output of dpkg-buildpackage | 01:27 |
wgrant | If you need to, it means your source files are wrong. | 01:27 |
Luke-Jr | wgrant: is there a way to get dpkg-buildpackage to use my own source tarball instead of making its own? | 01:28 |
wgrant | Luke-Jr: It needs to be named correctly | 01:29 |
wgrant | package_upstreamversion.orig.tar.gz | 01:29 |
wgrant | Or bz2 | 01:29 |
wgrant | If it's in the parent directory then dpkg-buildpackage will automatically use it | 01:29 |
Luke-Jr | hmm | 01:30 |
Luke-Jr | nope, turned the bz2 into a gz :/ | 01:32 |
wgrant | If it's a bz2 then you'll need to ensure you're using a format that supports bz2 | 01:32 |
wgrant | The 1.0 source format only supports gzip | 01:33 |
wgrant | 3.0 (quilt) supports bz2 as well | 01:33 |
Luke-Jr | dpkg-source: info: using source format `3.0 (native)' | 01:33 |
wgrant | Ah | 01:33 |
wgrant | You forced it to native? | 01:33 |
wgrant | Native, by definition, has no upstream source tarball | 01:33 |
wgrant | So it will always build its own | 01:33 |
wgrant | You want 3.0 (quilt), not 3.0 (native). Fix that in debian/source/format | 01:34 |
Luke-Jr | what does quilt do when there is nothing to patch? | 01:35 |
dobey | i think it's the debhelper version (debian/compat) which dictates source format handling, not debian/source/format, no? | 01:36 |
wgrant | Luke-Jr: If there are no patches then it'll do nothing | 01:36 |
wgrant | dobey: No, debian/source/format is a file that contains "1.0", "3.0 (native)" or "3.0 (quilt)" | 01:37 |
wgrant | Tools like debhelper respect debian/compat, but it doesn't define the source format | 01:37 |
dobey | wgrant: or just "3.0" | 01:37 |
wgrant | I don't think that's a thing. | 01:37 |
dobey | it is | 01:37 |
wgrant | What is it? | 01:38 |
wgrant | There's vanilla 2.0 which is completely deprecated | 01:38 |
wgrant | But AFAIK there's no vanilla 3.0 | 01:38 |
wgrant | And I know fairly well, because I implemented it in Launchpad :) | 01:38 |
dobey | oh, no i was confusing it with (native) sorry | 01:38 |
Luke-Jr | is there a way to override the signing key specified to GPG? | 01:39 |
wgrant | Luke-Jr: -kKEYID | 01:39 |
wgrant | Luke-Jr: (but usually you'll want to have your name, comment and email address in debian/changelog match your OpenPGP UID | 01:40 |
Luke-Jr | it's creating a bfgminer_2.10.5-0precise1.debian.tar.gz now | 01:40 |
wgrant | Right | 01:40 |
wgrant | That will contain the debian/ directory | 01:40 |
wgrant | And it'll overlay that on top of the tarball | 01:40 |
wgrant | The upstream tarball | 01:40 |
Luke-Jr | the upstream tarball intentionally contains debian/ | 01:41 |
wgrant | Then it'll be replaced by the debian.tar.gz | 01:41 |
Luke-Jr | I just want a .dsc and .changes file I can write a script to generate and uninstall dpkg :p | 01:41 |
Luke-Jr | what if I just pull the .debian.tar.gz out of the .dsc/.changes? | 01:42 |
wgrant | I'm not going to offer you advice on that. | 01:42 |
wgrant | Building a Debian source package without the Debian tools is not wise. | 01:42 |
=== Ursinha-afk is now known as Ursinha | ||
vibhav | uploaded packages via dput to my ppa dont show up, even if dput says the packages have been uploaded succesfully, any idea? | 02:50 |
TheLordOfTime | are you getting any REJECTED or ACCEPTED emails back? | 02:51 |
TheLordOfTime | at all? | 02:51 |
vibhav | TheLordOfTime: nope | 02:53 |
TheLordOfTime | vibhav, did you sign the package using a PGP key that is on the ubuntu keyservers AND linked to your Launchpad account? | 02:53 |
vibhav | TheLordOfTime: ah wait | 02:54 |
vibhav | mails are ending up in my spam | 02:54 |
vibhav | weird :\ | 02:54 |
TheLordOfTime | so put them on your allow list. | 02:54 |
TheLordOfTime | :P | 02:55 |
* vibhav marks lp not spam | 02:55 | |
vibhav | thanks | 02:55 |
TheLordOfTime | yep. so there's no problems? :) | 02:58 |
vibhav | done! | 03:01 |
vibhav | TheLordOfTime: thanks | 03:01 |
TheLordOfTime | yep. | 03:02 |
Luke-Jr | what? not only is deleting a PPA permanent, but I can't recreate it anew? -.- | 03:30 |
StevenK | Luke-Jr: Wait 30 minutes and then it should be fine | 03:34 |
StevenK | A background process needs to clean it up | 03:34 |
wgrant | It's not meant to be a common operation | 03:39 |
wgrant | Luke-Jr: Why did you delete it if you're just going to create it again immediately? | 03:39 |
Luke-Jr | wgrant: because it won't let me reupload a file even after the package build fails with it | 05:16 |
StevenK | Well, yes. You must increment the version. | 05:17 |
=== tsimpson_ is now known as tsimpson | ||
czajkowski | StevenK: wgrant what do we need to do to the two translation bugs | 10:01 |
=== cjohnston_ is now known as cjohnston | ||
=== dobey_ is now known as dobey | ||
=== kostja_o1ipov is now known as kostja_osipov | ||
=== Saviq_ is now known as Saviq | ||
=== wedgwood_away is now known as wedgwood | ||
=== wedgwood is now known as Guest28578 | ||
=== Ursinha_ is now known as Ursinha-afk | ||
=== salgado is now known as salgado-lunch | ||
=== salgado-lunch is now known as salgado | ||
=== JanC_ is now known as JanC | ||
=== OutOfControl is now known as benonsoftware | ||
=== wedgwood is now known as wedgwood_away |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!