/srv/irclogs.ubuntu.com/2010/12/12/#ubuntu-motu.txt

ari-tczewScottK: could you send MemoMsg to him?00:00
udienzScottK: thanks for responding my email at ubuntu-motu-mentors00:03
=== yofel_ is now known as yofel
=== freeflyi1g is now known as freeflying
=== test__ is now known as anoteng
hakermaniaHello everybody.08:25
hakermaniaudienz: Hello, can you send me again the link talking about the patches, please? Thank you.08:27
hakermaniaDos anybody knows what are "*.in" files?10:11
gesersort of templates10:12
micahcowanThey can be anything, but the most frequent situation are files that are processed by the "configure" script to produce the final file.10:12
micahcowanconfigure looks for variables like @VAR@ and replaces them according to whatever settings it has. Makefile.in and config.h.in are typical.10:13
hakermaniaThank you, tomboy's source has a lot of them and I wondered....10:14
micahcowanOften times, a Makefile.in is itself a generated file (from Makefile.am).10:14
micahcowanautomake turns Makefile.am into Makefile.in (unlike configure, it doesn't just substitute, it adds a lot of material, and processes the user-provided values); then configure turns the Makefile.in into a Makefile, based on the users parameters to the configure script.10:15
tumbleweedgeser: thanks :)10:50
gesertumbleweed: re CamelCase: I tried to mimic the LP API which also uses CamelCase when I wrote it to not be much more different than using the LP API directly10:52
geserbut as there are not many users of lpapicache (requestsync and ubuntu-build if I didn't miss one) it can be changed10:52
geserand any ideas how to make it easier usable?10:53
tumbleweedgeser: yeah. requestsync also needs the compatible mail and lp interfaces, which is one reason for some of the oddities10:53
tumbleweedthere's nothing intrinsically wrong with the way it does anything, it's just different, so I looked at it and thought do I want to use this or just do things the normal way?10:54
geserif you only need to access an object once then there is no big benefit in it10:55
tumbleweedno, but it has handy functions like canUploadPackage etc for things that are tricky to do in pure launchpadlib10:55
geserbut the old requestsync code fetched e.g. an series or archive object in each function which needed it which made requestsync slow10:55
tumbleweedI couldn't use things like that, because thye talk lpapicache wrapper clases as arguments, so you need to use lpapicache everywhere10:56
geserand you already have LP objects or only strings?10:57
tumbleweedlp objects, probably10:57
geserthis function could be extended to also use lp objects instead of the lpapicache classes if it would help you10:59
geseror the logic could be moved to an own function and lpapicache uses it11:01
tumbleweedyeah, I'm sure both would work, but libsupport might be a better home for things like that. Although no point moving them until necessary11:02
geserI planned to use lpapicache also in other scripts but was hesitant to make them "depend" on u-d-t python modules for no benefit (many scripts can be used stand-alone)11:04
tumbleweedaah, I hadn't really considered that one11:05
=== yofel_ is now known as yofel
hakermaniaOk, I have a question about patching a system. I followed these rules: https://wiki.ubuntu.com/PackagingGuide/PatchSystems (where it says 'The easiest way'). After I make the patch (I simply edited the README file), the patch went to debian/patches. How to I apply the patch now so as the README file to change as I want to? I tried path -p0 < debian/patches/mypatch.patch but there are a lot of error messages! Or the package is ready fo12:23
ari-tczewhakermania: which patch system does your package use?12:25
hakermaniawhat-patch outputs quilt.12:26
ari-tczewhakermania: did you use command path -p0? patch is correct btw12:26
ari-tczewbut you shouldn't do this12:26
ari-tczewjust add filename to debian/patches/series12:26
cdbsScottK: I am sorry for that, if you read the previous upload of mine for the same package, you will understand12:26
cdbsThe same fix worked in the previous upload12:27
cdbsand here it worked on my (slightly old) natty pbuilder12:27
ari-tczewcdbs: it's not explanation12:27
cdbsit appears a recent gcc change caused that FTBFS12:27
ari-tczewcdbs: how often do you update pbuilder?12:27
cdbsari-tczew: around once a week or twice12:28
ari-tczewcdbs: lol. do it everyday12:28
cdbsif I had the proper connection :(12:28
ari-tczewadd to cron, maybe will helpful12:28
cdbsthis one frops very frequently, it takes me hours to upload small changes12:28
cdbs*drops12:28
hakermaniaari-tczew: Ok, the patchs' name was automatically placed into the series file. My question is how do I apply the patch now ? Is the package ready for 'debuild -S' and if somebody try to install it, the patch will automatically take place or what?12:29
hakermaniaI mean, how do i test if the patch really works?12:29
cdbsI will need to consult someone on how to fix it, since a fix which worked a month ago isn't working now, wierd12:29
micahgcdbs: right, there was a gcc update, doko posted to ubuntu-devel about it12:30
ari-tczewhakermania: create a second directory, unpack source there and try to patch it. however, I prefer to just build package (binary) from *.dsc.12:30
cdbsmicahg: yes, and it appears I uploaded the same day :(12:31
cdbsand I didn't get the FTBFS mail, oh its lying in spam12:31
hakermaniaari-tczew: I don't get you :/12:32
cdbsScottK: fixing right now, for sure I will do it12:32
ari-tczewhakermania: you don't need to use 'patch'. builder will apply patches12:33
hakermaniaari-tczew: So I can now for example use 'debuild -b' and test if the DEB package works with the changes of my patch?12:34
tumbleweedhakermania: if your package uses quilt, quilt push -a will apply all patches, and quilt pop -a will unapply them all12:36
hakermaniatumbleweed: Cool, give me a sec to test these 2.12:36
tumbleweedhakermania: I recommend spending some time getting familiar with quilt12:37
* ari-tczew is guessing that someone else will be better teacher.12:37
hakermaniaari-tczew: :P12:38
hakermaniatumbleweed: Thx, I'll have an extended seach on the inet for quilt and its uses.12:38
ari-tczewsiretart: ping12:39
cdbshakermania: http://wiki.debian.org/UsingQuilt12:44
hakermaniacdbs: Your name has to do with patching, I've heard about it somewhere. Btw thanks for the link :)12:45
cdbsIts much more than patching :)12:45
cdbscdbs is a full build system for packages12:45
tumbleweedsome of us don't like cdbs very much, but this cdbs is ok :P12:46
cdbs:D12:46
cdbsdh7 and debhelper were registered, so I had to settle for this12:46
gesercdbs: passing -l libs with LDFLAGS doesn't work anymore since the ld --no-as-needed change. You have to put them after the object files. In many cases you can use either ..._LDADD or LIBS for it (look into the Makefile which variable could be used for it)12:50
cdbsgeser: I already uploaded that change to my PPA for a test build, will see what happens12:50
cdbsI have to rely on my PPA for test builds nowadays, until the situation improves, and the weather becomes better12:51
cdbsMy connection is being disrupted by poor weather12:51
hakermaniacdbs: Patches should have extension .patc or .diff?12:52
hakermania.patch*12:53
cdbshakermania: both are okay12:53
cdbssome have no extensions at all :)12:53
cdbs.patch is what I prefer personally for a new package12:53
gesercdbs: I also see in debian/rules for courier on codehosting that it uses LDFLAGS=-lcrypt when calling configure. Please check the build log if configure finds everything it needs.12:53
cdbsgeser: that change applies when it builds the webadmin part, here I am making the change in courier/module.esmtp/Makefile12:54
ari-tczewhakermania: I suggest to use the same extension as rest of patches in package (in debian/patches/)12:54
hakermaniaari-tczew: Only for typical reasons?12:54
kklimondageser: wouldn't it make more sense to prepare an actualy patch for packages that fail due to linking issues and then submit it to debian and upstream? tweaking debian/rules seems really hacky12:55
cdbsgeser: it appears the PPA rejected because I did debuild -sd :( will have to upload a whole 9 MB now12:55
ari-tczewhakermania: for clear case12:55
hakermaniaOk12:56
gesercdbs: so you didn't change debian/rules like the changelog entry says?12:56
cdbsgeser: no, I am now modifying upstream makefile in the pending upload, that's a better approach12:58
gesercdbs: even if the LDFLAGS in debian/rules is not your change, it would be good to check if it's needed (or some feature missing) as using LDFLAGS that way doesn't work anymore12:59
cdbshmm, yes, will check that12:59
ari-tczewgeser: how often toolchain will be changing?12:59
cdbsbut that's a debian-specific change, so will have to file a bug there about it first12:59
ari-tczewwe don't have a time for 10x updating patches to fix FTBFS with binutils-gold. it's being annoying13:00
geserari-tczew: I hope not anymore for natty, the next change if any I'd expect for natty+1, but better ask doko if you want to know if any other changes are planned for natty13:00
ari-tczewgeser: what's the point to changing toolchain?13:01
geseras far as I understand the reason for the recent changes is to lessen the needed dependencies as many program (and therefore packages) link to many unneeded libraries making library transitions harder than needed13:02
cdbsyes, the toolchain changes have benefited a lot in that sense13:03
cdbshakermania: (just an FYI in case you don't know) All packages in Debian are synced very frequently to Ubuntu13:04
ari-tczewcdbs: till DIF13:05
cdbsari-tczew: it can be done even after DIF, just that a sync must be requested13:05
ari-tczewgeser: does debian planning to approve similiar toolchain to ours?13:05
cdbsari-tczew: yes13:05
cdbsari-tczew: after squeeze release13:05
cdbsits planned for wheezy13:05
ari-tczewI'm asking due to curiosity about forwarding patches to fix building with binutils-gol13:05
ari-tczewd13:06
geserari-tczew: the ld --no-add-needed (aka no DSO indirect linking) is planned for Wheezy, don't know about the ld --no-as-needed change13:06
geserdoko asked me forward my ld --no-as-needed changes to Debian and user-tag them accordingly13:07
ari-tczewgeser: what does it mean?13:10
geseruser-tagging? it's similar to the tags in LP and allows to search for bugs with a specific tag in the Debian BTS13:11
cdbsHoly, my package upload to the PPA is failing as it did earlier13:17
cdbsand I don't have any other way to test-build!13:18
cdbsbug #687622 is responsible13:18
ubottuLaunchpad bug 687622 in update-manager (Ubuntu) "Unable to upgrade with update-manager" [Undecided,New] https://launchpad.net/bugs/68762213:18
cdbsI guess13:18
cdbserr, bug #68766213:18
ubottuLaunchpad bug 687662 in Soyuz "Upload processor attempts to verify hashes against expired files" [High,Fix committed] https://launchpad.net/bugs/68766213:18
hakermaniaWhat's the difference of launchpad bugs and bugzilla ?13:51
kklimondahakermania: ugh.. both let you report and triage bugs.. everything else is different13:54
geserdifferent software for managing bugs13:54
kklimondageser: what about my questions wrt patches for link failures? :)13:54
hakermaniaBut, bugzilla bugs rhen referred by users in lp, are called "upstream"13:54
hakermaniawhen*13:55
kklimondahakermania: different projects use different places for bug reporting. What we call upstream is (among other things) the bug tracking system that the project uses13:56
hakermaniakklimonda: Thx13:56
mr_pouitkklimonda: (wrt patches for link failures) I agree with that. I find these kind of changes useless (and I had to redo all the work of the previous uploader when I wanted to forward upstream…)13:57
geserkklimonda: missed it. yes, fixing the build system and forwaring the patch to Debian and upstream is better.13:57
=== emma is now known as em
SpamapSDaviey: meh... 15 month old disagrees with you that I should be in bed. ;)14:40
=== IVBela1 is now known as IVBela
hakermaniaHow can i turn off the messages which tell who enters and quits the room?16:00
evaluatehakermania, depends on your client16:00
hakermaniaevaluate: pidgin :/16:00
boulabiarhakermania, on xchat, settings> hide join/Part messages16:01
evaluatehakermania, hmm, not sure, I don't use pidgin for IRC. Try #pidgin ?16:01
hakermaniathx16:01
=== bilalakhtar_ is now known as cdbs
=== paul__ is now known as Elbrus
=== test__ is now known as anoteng
DavieySpamapS: That was my guess :)21:15
OwaisLHi everyone. How much time does it usually take for REVU to reflect uploads?21:22
OwaisLI just uploaded a couple of packges in last 30 mins but revu.ubuntuwire.com is not showing them.21:23
OwaisLHey, would anyone like to have a look at a package I just uploaded to Motu for inclusion in Natty?21:41
OwaisLhttp://revu.ubuntuwire.com/p/gmailwatcher21:41
anotenganybody know what this error message from launchpad means (rejected PPA upload): Unhandled exception processing upload: 'NoneType' object has no attribute 'md5'22:29
Bachstelzeanoteng: looks like a bug in LP22:33
=== Daviey_ is now known as Daviey
=== FlannelKing is now known as Flannel
=== udienz1 is now known as udienz

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