crassanyone noticed a change in debhelper starting in quantal, where the build target seems not to be called, but build-arch target is called directly?10:08
wgrantcrass: dpkg-buildpackage will nowdays call build-arch and build-indep directly if they exist.10:09
crasswgrant: why?10:09
wgrant(as well as binary-arch/binary-indep)10:09
wgrantcrass: So that only the relevant bits of the package are built.10:10
crassthat makes sense, but then you can't rely on the build target to do stuff of define dependencies common to both of them10:11
wgrantThat's correct, you cannot rely on that.10:11
wgrantIf build-arch or build-indep exist, they need to operate without build10:13
crasswhat's interesting is that for amd64 builds build-arch is called directly, but for x86 build is called10:14
wgrantcrass: That's because i386 builds build both the i386 arch-dep and the arch-indep packages.10:15
crassthere is no defined build-arch or build-indep in the rules10:15
crasswhy is there that difference?10:15
wgrantBecause the architecture-independent packages need only be built on a single architecture10:15
crassahh, of course10:16
wgrantHowever, dpkg-buildpackage is meant to detect whether build-arch and build-indep exist10:16
wgrantAre you sure they don't?10:16
crasswell, they aren't in the rules file, perhaps debhelper does something?10:17
crassbuild does exist10:18
wgrantIf you're using the modern debhelper style then it will define them for you.10:18
wgrantBut if you're using modern debhelper you wouldn't usually override the build target directly...10:18
crassmodern is %:\n\tdh $@ ?10:18
crasswell, I copied a rules from a package in the ubuntu repo (universe) and it needs to patch the source with quilt10:19
wgrantYou'd normally override something like override_dh_auto_build10:20
wgrantAh, if you want quilt then just call 'dh --with quilt $@' instead of 'dh $@'10:20
crasshmm, let me try that, this package was probably created before that existed10:21
wgrantWhich package?10:22
wgrantWhich version?10:22
wgrantIn saucy it's using the 3.0 (quilt) format, which does quilt patches itself.10:23
crassahh, I copied from the precise repo, which is what I'm still using10:23
crassversion 3.110:23
wgrantHm, so you're trying to build the precise package in quantal?10:23
crasswell no, I just copied the debian dir10:24
crassshould work across all distros (ideally)10:24
crassI'm also building for raring, and saucy10:24
crassits a recipe build of trunk10:24
wgrantYou'd probably want to grab the latest packaging and tweak it until it also works on older series, rather than vice-versa.10:25
crassyeah, good point10:25
crassI don't normally do that just because it more of a PITA to get that than apt-get source <pkg>10:26
cjwatsonIf you need a common target, you should have both build-arch and build-indep depend on a build-common target or similar, not rely on build to be that common target.10:28
cjwatsonBut usually with modern dh this sort of thing isn't necessary, as wgrant says.10:28
crassyeah, and I wouldn't think it would be necessary.  I just didn't know how it was supposed to be done10:29
cjwatsonpull-lp-source can fetch from any series without apt configuration, and is no more of a PITA than apt-get source.  Very handy.10:29
crassthanks for the tip cjwatson!10:31
=== Mkaysi_ is now known as Mkaysi
=== jam1 is now known as jam
=== jam1 is now known as jam
crasswhy is the automated svn import for wireshark failing? http://launchpadlibrarian.net/133073002/vcs-imports-wireshark-trunk.log12:28
=== wedgwood_away is now known as wedgwood
=== cp16net is now known as cp16net|away
=== cp16net|away is now known as cp16net
=== rcleere_ is now known as rcleere
=== dpm_ is now known as dpm
=== matsubara is now known as matsubara-lunch
=== matsubara-lunch is now known as matsubara
qenghoHi hi. There's a private PPA in a team that I'm a member of. I want to use the PPA. Should I be able to?20:34
qenghoOn the PPA page, there are APT lines that do not have credentials attached.20:34
qenghoWhen I try to use them, I get HTTP 401.20:35
cjwatsonI believe you need a subscription20:36
cjwatsonThat requires archive owner access20:37
cjwatsonSo if the PPA is owned by the team and you're a member, you should be able to use that20:38
qenghocjwatson: you lost me at "Archive:+subscription" .20:39
cjwatsonLP people tend to talk about ObjectName:+page as a generalised encoding of https://launchpad.net/path/to/object/+page20:40
qenghocjwatson: Right.  I'm already authorized there.  (ObjectName didn't end in a slash, either.)(20:41
qenghoAnyway, so, I should be able to access it, which I think means the PPA description page should have a custom apt source line for me.  It doesn't.20:42
cjwatsonAuthorised personally or by team?  Just so I can set up something equivalent on dogfood ...20:42
qenghocjwatson: personally.20:43
cjwatsonIt looks like you should get the token by mail rather than on the web page20:43
qenghocjwatson: I don't remember one, and can't find it in mail archive. I don't see a way to ask for a reminder.20:46
cjwatsonqengho: https://launchpad.net/~/+archivesubscriptions20:50
cjwatsonThe "View" links there give you apt lines with tokens20:50
cjwatsonThat's linked from "View your private PPA subscriptions" on https://launchpad.net/~20:51
qenghocjwatson: ah hah!20:52
qenghocjwatson: thank you.20:52
cjwatsonI knew it was around somewhere but had to grep the source to find it :)20:52
qenghocjwatson: that used to be on the PPA page, a year ago.20:53
cjwatsonI'll take your word for it20:53
cjwatsonIt does seem a bit unhelpful the way it is20:54
=== ajmitch_ is now known as ajmitch
dobeyqengho: i don't recall it ever being on the archive page instead of the general apt source lines. i do know it's been complained about/requested before though, and there is probably an open bug for it :)21:03
qenghodobey: It was for a project you and I worked on, I'm pretty sure.  It's been a while since I needed it, though.21:05
dobeyqengho: don't think so. i've always had to tell people to not use those lines, and we have a wiki page for setting up dev environments that points to the /~/+archivesubscriptions page21:06
dobeyqengho: it's probably just been long enough that you've misremembered it :)21:07
qenghodobey: my memory is terrible. I believe you.21:08
cjwatsonqengho,dobey: https://bugs.launchpad.net/launchpad/+bug/37660821:09
ubot5Launchpad bug 376608 in Launchpad itself "After accepting a private PPA subscription Launchpad provided deb lines that don't work" [Low,Triaged]21:09
cjwatsonHm, actually no21:10
cjwatsonThat's about the series21:10
cjwatsonPerhaps https://bugs.launchpad.net/launchpad/+bug/458360 ?21:11
ubot5Launchpad bug 458360 in Launchpad itself "Show source entries with tokens in private PPAs instead of ppa:team/ppa-name" [Low,Triaged]21:11
dobeythose sound like the same issue21:12
cjwatsonNot quite, if you read the former bug in detail21:12
cjwatson458360 sounds plausible-ish though21:13
dobeyah, so not exactly the same but related. the former is probably best fixed by fixing the latter, and then just changing the code to redirect to the archive page, where it defaults to "RELEASE" in the deb lines, and you can select a series to copie, and it has a bit more textual info about how "RELEASE" won't work, when accepting a private ppa subscription21:15
=== wedgwood is now known as wedgwood_away

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