/srv/irclogs.ubuntu.com/2017/08/22/#ubuntu-motu.txt

willdeberrywhat tool would yall recommend for pulling down latest ubuntu sources, to merge say, into a version of the deb package I am maintaining locally?02:10
tsimonq2willdeberry: pull-lp-source PACKAGENAME RELEASE02:36
tsimonq2willdeberry: Example: pull-lp-source vc zesty02:36
tsimonq2willdeberry: It just has to be the source package, not the binary package from what I remember02:37
willdeberryok kewl02:37
willdeberryand that pulls just raw source, no applied patches or anything?02:37
tsimonq2Nope, applies the quilt patches02:39
willdeberrydoesn't applying the quilt patches like that break the build process if I were to build the deb from those sources?02:40
tsimonq2Nope.02:42
willdeberryso if i am storing in source control, would you recommend keeping the patches applied or undo first? I would assume without the quilt patches applied makes for easier merging02:43
tsimonq2Unapplied.02:48
willdeberrytsimonq2: question about https://merges.ubuntu.com/p/procinfo/REPORT02:56
tsimonq2willdeberry: yeah02:57
willdeberryi am trying to resolve that issue and am finding that the changes to Makefile.in are still required to resolve build issues. but what i am being stumped on is, shouln't those changes be in a patch file and not to the Makefile.in directly?02:57
willdeberrywas originally addressed: https://bugs.launchpad.net/ubuntu/+source/procinfo/+bug/77110602:57
ubottuLaunchpad bug 771106 in procinfo (Ubuntu Oneiric) "procinfo version 1:2.0.304-1 failed to build on amd64 with GCC-4.6/oneiric" [High,Fix released]02:57
tsimonq2What's the output of debian/source/format?02:57
tsimonq2If it's anything but "3.0 (quilt)" then no02:57
willdeberry3.0 quilt02:57
tsimonq2But if it's that, then yeah...02:58
tsimonq2hmmm02:58
willdeberryreason i bring this up is that when i run merge-buildpackage, it complains about local changes02:58
tsimonq2Yeah, that's interesting...02:58
willdeberryand i've always been under the impression that you don't touch anything outside the debian directory for quilt packages02:58
tsimonq2huh02:58
* tsimonq2 gets the package locally instead of speculating :P02:58
willdeberrylol02:58
Unit193dpkg-source: info: upstream files that have been modified:  procinfo-2.0.304/Makefile.in02:59
willdeberryi cam migrate the change to upstream to be a proper quily patch, just wanting to make sure i am not missing somethign02:59
Unit193No source/format, so yeah.02:59
tsimonq2Ahhhhhh ok ic03:00
Unit193(Implied 1.0)03:00
tsimonq2We followed Debian by having a non-quilt source03:00
tsimonq2Debian didn't have changes but we did03:00
tsimonq2So when we apply Debian's change to quilt, we need to put our changes in a patch03:00
tsimonq2willdeberry: If that makes sense?03:01
willdeberryso basically move the changes to a patch file and add the new patch to the series file right?03:01
tsimonq2Yep.03:02
willdeberrykewl, easy enough03:02
=== _ruben_ is now known as _ruben
willdeberryok, so i am stumped at fixing the merge for procinfo. no matter if i just adjust debian's previous patch file or add a new one and add to series file, i get errors about local changes: https://pastebin.com/spFyzpZf22:09
willdeberryi can fix the MoM conflict and just use the debian side and everything works fine with i run merge-buildpackage22:10
tewardwilldeberry: which package/patch/bug?22:59
teward*grabs MoM*23:01
Unit193willdeberry: Does the patch match that of the tmpfile?  It could also be that the patch is applied, it doesn't think so, thus changes.23:03
tewardUnit193: what's the default package type, native or quilt?23:06
tewardbecause I didn't see a quilt format directive in the package23:06
Unit193teward: 1.023:06
tewardmmm23:10
Unit193Ubuntu's 1.0 is slightly different than Debian's, though both should actually be fine with local changes..23:11
tewardUnit193: i have a quilt patch that 'works' - there's no quilt patches in this package by default, so that's my guess as why it's exploding23:11
tewardUnit193: i've always been told to use quilt :P23:11
Unit193teward: Well yes, of course.  3.0 (quilt) is what you *should* be using.23:11
tewardhow hard is it to convert, just create a quilt patch, and go?23:16
tewardi don't see a format file so hence my asking23:16
willdeberryteward: sry, was grabbing dinner. this is for procinfo23:20
willdeberryand after i run grab-merge, i do see a debian/source/format with 3.0 (quilt)23:21
willdeberryi assume that is Ubuntu delta since it doesn't seem to be in the debian source23:21
willdeberryUnit193: the tmpfile is actually the opposite of the quilt patch23:23
Unit193willdeberry: Right, so patch -p1 -R -i /tmp/proc*  and try to build, you'll see the patch you have in the output as 'applying foo.patch'.23:24
Unit193The paste you gave doesn't contain applying the patch, as you see.23:25
Unit193So, 1. The state is wrong and it thinks the patch is applied when it isn't.  2. d/p/series doesn't contain the patch.23:26
willdeberryyea i don't see anything about patches in the working merge-buildpackage too23:41
willdeberryeven though it says it is using quilt format23:42
willdeberryworking: https://pastebin.com/XxZGQzh823:53
willdeberryi don't get it :/23:53
Unit193`sudo`?23:54
willdeberryblame Windows bash23:54
willdeberrythere is no fakeroot23:54
willdeberrytoo lazy to spin up VM xD23:55
Unit193Nice.23:55

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