/srv/irclogs.ubuntu.com/2008/06/20/#ubuntu-motu.txt

blueyedUploading to upload.ubuntu.com fails: "Connection failed, aborting. Check your network (111, 'Connection refused')" - temp. problems?00:12
wgrantblueyed: Scheduled Hardy upgrades.00:13
wgrantFor another 4 hours.00:13
blueyedwgrant: ah.. forgot about that one. Thanks.00:14
vadi2How can I make my installed program via a .deb I made appear in Add/Remove, not only in synaptic?00:48
persiavadi2: Create a desktop file for your application.  If it is a GUI application, this ought be a regular .desktop file.  If it is not a GUI application, you will want to have a special .desktop file.  You may want to look at the app-install-data package for information about the required construction.00:50
vadi2persia: I did make a .desktop file, yes. It appears in applications menu properly00:51
directhexlook at the app-install-data package00:51
vadi2I see. So I should stuff the .desktop into '/usr/share/app-install/desktop/' too?00:52
vadi2(that's what that package does with a bunch of .desktops)00:52
persiavadi2: You already have a .desktop, and it doesn't show?  You may need some extra keys then, but /usr/share/applications/ is the right place for it.00:54
vadi2I think I got it, it needs a 'X-AppInstall-Package00:55
vadi2' key. I'll test in a sec.00:55
wgrantpersia, vadi2: /usr/share/applications is for installed applications, I don't believe that gnome-app-install looks there.00:57
wgrantOh, you mean for picking up by mvo later? Right.00:58
persiawgrant: Right.  Pushing things directly into app-install-data is not ideal, with the exception of server packages with insufficient internationalisation to support multilinugal installation through the .desktop files (where putting it in app-install-data helps get that right).01:01
persia(and these exceptions are only really meaningful for main)01:01
persiavadi2: wgrant does raise a good point: once your ,desktop file has all the right keys, you'll have to wait for an update to app-install-data before it appears, although the change oughtn't be made in the app-install-data source directly.01:02
vadi2persia: so what is the proper way to have it appear right away in there?01:03
persiavadi2: There isn't one.01:04
vadi2hrm. but then the user can't uninstall a .deb I made without using the synaptic or terminal, which is bad.01:05
persiaI suppose, long term, someone might write a script that regenerated app-install-data daily (or more often), but in practice such freqency is rarely relevant.  Usually it gets prepared prior to each milestone release (Alpha, Beta, RC, Final)01:06
persiavadi2: How are they installing it?01:06
vadi2via a .deb I made01:06
persiaWith gdebi or some such?01:06
vadi2yeah.01:07
vadi2I think it would make sense to be able to trigger app-install-data to regenerate it's index via a package01:07
persiaAh.  That's not really supported, and users who choose to do that are expected to be able to deal with the consequences.01:07
vadi2Why? my program is a commercial one, and I can't afford to use canonical's partner repository.01:07
persiaReview the source, create a patch.  For that package, branches from trunk on LP are the preferred mechanism to present code changes.01:08
vadi2eh?01:08
wgrantvadi2: How were you planning on getting the .desktop into the user's system in the first place?01:09
vadi2wgrant: I made a .deb which installs it01:09
wgrantBut you can't get a file installed by a .deb to give instructions to the user on how to install said .deb.01:10
vadi2?01:10
vadi2Not sure what do you mean. The .deb installs the program, the .desktop, and the icon.01:11
vadi2The program appears in the Applications category properly.01:11
wgrantThere's no point adding it to gnome-app-install if it's only going to appear there when it's already installed...01:11
vadi2The lil problem is that the user has no way of removing it unless they're comfortable with the terminal/synaptic. I'd like to appear it in add/remove.01:11
wgrantAh.01:12
wgrantWell, that's not going to be supported here, I don't think.01:12
persiaIt's an interesting use case, but it really needs someone to drive the code, as mvo is unlikely to write such functionality.01:12
wgrantRather unlikely indeed.01:13
vadi2I think it's a pretty important one, not everyone would like to use the partner repository and still be able to make ubuntu installation of the program easy.01:13
persiaIf the work was done well, and in a style matching that of the application, it may be merged though, as support for easy uninstallation of third-party packages may be interesting to many.01:14
wgrantBut I cannot imagine a Canonical employee would be paid to do that - that would be very silly on their part.01:14
persiaTo write the code?  Unlikely.  To merge the code, maybe.01:15
vadi2Okay, I guess I'll hold off on that and just use an archive for distribution. Thanks for the explanation.01:16
wgrant /win 5401:16
wgrantGah.01:16
persiakirkland: Just saw your wiki question.  Is there an example pacakge that illustrates the issue?03:34
kirklandpersia: i'm working on pam at the moment03:35
kirklandpersia: http://merges.ubuntu.com/p/pam/REPORT03:35
kirklandpersia: i think i'm doing the right thing... i just thought the algorithm in the wiki document might be updated for such cases03:35
persiakirkland: Right, I'm just trying to understand the situation, so as to document it.03:36
persiaThere are a number of different things that could happen to cause a "no conflict" merge report.03:36
kirklandpersia: ah, gotcha03:37
emgentheya kirkland persia03:37
persiakirkland: Just for verification, by "no conflicts" do you mean the report says "No problems were encountered during the merge, so a source package has been produced along with a patch containing the differences from the Debian version to the new version."?03:37
kirklandpersia: see: http://merges.ubuntu.com/p/pam/REPORT03:38
kirklandpersia: yes, to your question03:38
kirklandemgent: hiya sir03:38
persiakirkland: That's exactly the source from which I copied the phrase :)03:38
kirklandpersia: right, this is the first merge i've ever worked on where there *are no conflicts* :-)03:39
kirklandpersia: so I think the appropriate thing to do is just skip the conflict resolution step03:39
kirklandpersia: and proceed on with the documentation of dropped/remaining changes03:39
persiakirkland: Well, I think it's worth reviewing all the changes anyway.  Imagine the case where Ubuntu adds 54_remove_wonkiness.patch and Debian adds 67_dewonkify.patch, and they patch the same file differently.  This will show as no conflict in MoM, but will cause a FTBFS.  In a more subtle case, it might just break something at runtime.03:41
persiakirkland: In this specific case, I think I'd recommend chatting with the person who uploaded the updated Debian version, as the same person later added patches to the Ubuntu version without including the Debian bugfix patch.03:44
kirklandpersia: yessir, i'm hanging around here looking for slangasek, in case he comes back online later03:45
persiakirkland: More generally, it looks like all the things I would recommend doing in this case also apply in the general case, and aren't documented in this guide.  I'll likely not update it today, but I would be adding these checks to the general process, rather than adding separate workflow for the no-conflict case.03:46
kirklandpersia: awesome, thanks for the advice03:47
persiakirkland: Getting back to specifics, these patches don't clash: it's probably worth reviewing Debian bug #446327 to understand it, and maybe speaking with the uploader as to why we didn7t want it before.03:51
ubottuDebian bug 446327 in libpam-modules "pam_tally audit option locks out root" [Important,Closed] http://bugs.debian.org/44632703:51
=== LucidFox is now known as LucidFox_KOTOR30
persiaActually, reading that, it makes sense.  Root is locked out anyway, so we don't care.03:52
kirklandslangasek: hey, thought i'd get some late-evening packaging practice in.  i merged pam from 0.99.7.1-5ubuntu7 to 0.99.7.1-6 for intrepid.  no conflicts, so it was mainly constructing the changelog of dropped/remaining differences.  i also threw in the fix for 64064.  uploaded to chinstrap:~kirkland/pam.intrepid.04:02
=== LucidFox_KOTOR30 is now known as LucidFox
DBOhas anyone heard from RAOF lately, hes here but MIA lately...04:05
DBO(sorry to just barge in and ask, i figure if hes been active anywhere, here would be the place)04:05
persiakirkland: As much as specific people are helpful to contact, I'd also encourage you to attach the debdiff to a bug, and subscribe ubuntu-main-sponsors.  This both raises visibility to the sponsoring developers and serves as a public indicator that the merge has been done, so nobody else is tempted to attempt it.04:05
persiaDBO: He's been active most days this week.04:06
DBOpersia, thank you, do you remember what times?  I have been trying to catch him04:06
persiaDBO: I'm not that good with time.04:06
DBOokay04:07
DBOthank you04:07
=== freeflyi1g is now known as freeflying
persiafreeflying: Did you get anywhere with the fbreader merge?  I've been passed some additional patches, so wanted to either share, or take back the merge.04:12
freeflyingpersia: I've noticed the maintainer will have new upload in sid, so waiting for his upload04:18
persiafreeflying: OK.  Maybe I'll push the extra patches into Ubuntu, and the merge can happen when the maintainer uploads?  Would that work for you?04:21
freeflyingpersia: maybe you can mail the maintainer your patch, he has filed RFS recently04:22
freeflyingpersia: its up to you :)04:22
persiafreeflying: OK.  Last I looked the patch was lpia-specific, so I'm not sure it's Debian-interesting :)04:22
freeflyingpersia: hehe :)04:23
freeflyingpersia: then it should be ok for me04:24
persiafreeflying: Just checked.  Other than the lpia stuff, there's a 'r' -> 'R' in a .desktop file (which is being patched anyway).  I'll just get it up today then.04:25
freeflyingpersia: thats great!04:25
dholbachgood morning06:14
IulianMorning dholbach06:15
dholbachhi Iulian06:16
=== dholbach_ is now known as dholbach
gesergood morning06:46
dholbachhi geser06:47
geserHi dholbach06:50
TheMusoc07:13
* ScottK waits for the ugh.07:14
* StevenK chuckles07:17
TheMusoThats long gone. :)07:23
geserHi TheMuso07:25
TheMusoHey geser.07:25
elmargolDoes debian use tmpfs vor /var/run aswell?07:39
geserafaik no07:42
ScottKNot by default, but any Debian user is free to configure their system that way.07:45
mouzAnyone: is there a written policy that executables must be lower case? I searched for it but did not find it.07:51
slangasekno, there are executables who have uppercase letters in their names because that's the upstream convention07:52
\shmoins07:52
mouzslangasek: the fast majority has lower case in /usr/bin. So I'd like to rename CamelCase to lower case. Can I do that?07:53
slangasekuh - you mean you have a program whose name is CamelCase?07:54
slangasekbecause that would be an incredibly ironic renaming :)07:54
mouz:)07:54
mouzTouchFreeze07:54
slangasekthere's no policy against renaming it, either07:55
slangasekthere are times when upstream executable names can't be used due to namespace conflicts, so07:55
mouzi think i just rename it, mention that in changelog without reason07:57
ScottKWhy do you want to rename it?07:58
wgrantScottK: To break compatibility with anybody who wants to use it, of course.08:17
ScottKThat was my guess.08:17
wgrantUh.08:18
wgrantAre incomplete bugs now meant to be assigned to the person who is meant to give the information, or is somebody breaking the rules?08:19
ScottKI08:21
ScottKI'll go with breaking the rules.08:21
james_wwgrant: that was old procedure before you could search for bugs you were subscribed to apparently.08:32
wgrantjames_w: You have been able to search for bugs to which you are subscribed since before 2006.08:36
wgrantjames_w: And that doesn't explain this situation - a triager assigned it to the person who needed to provide the information (ie. the reporter), not themselves.08:37
james_woh, sorry, I misunderstood, that's just odd then.08:37
=== freeflying is now known as GNU
=== GNU is now known as Guest71839
=== Guest71839 is now known as freeflying
directhextseliot, lucky you, nvidia 177.13 is now officially out. and i hear work of ati's new cards shipping with a new driver which i can only assume is 8.709:21
wgrantdirecthex: Catalyst 8.6, I believe.09:27
directhexwgrant, 8.6 claims no 4000-series support09:27
directhexnot to say it's not there, but going by the readme, i assume it ain't09:27
tseliotdirecthex: I have packaged the 4 flavours of the NVIDIA driver for Intrepid, however Intrepid's kernel is Xen-enabled and doesn't work with the patches for Xen for the NVIDIA driver. BenC will work on a new patch.09:31
wgrant4 flavours!?09:31
directhexwgrant, fun, isn't it09:32
tseliotdirecthex: as regards ATI, I will package 8.6 for EnvyNG while Mario will package it for Intrepid09:32
tseliotwgrant: yes, and I'm the new maintainer09:32
tseliotwgrant: I'm having a lot of fun...09:33
wgranttseliot: So I heard.09:33
huatsdoes anyone can give me some details on the role of the lintian directory in debian/ in a package ?09:46
=== asac_ is now known as asac
james_whuats: I think that usually stores lintian overrides10:01
james_wthey tell lintian to not complain about a specific problem.10:02
james_wthey should be reviewed to ensure they are not masking a real issue.10:02
huatsok10:03
huatsjames_w: thanks10:03
james_wno problem10:03
huatsjames_w: in fact I am facing that in a merge (it is present in the debian package)10:03
huatsso I will have a closer look at it10:04
huats:)10:04
huatsjames_w: the lintian warning that it is handling is binary-or-shlib-defines-rpath10:08
colinlhi \sh and everyone!10:46
colinl\sh: this should please you: https://bugs.launchpad.net/ubuntu/+source/claws-mail/+bug/241587 :)10:46
ubottuLaunchpad bug 241587 in claws-mail "bugfix batch for Hardy's Claws Mail" [Undecided,New]10:46
\shcolinl: ah sru :)10:49
\shcolinl: thx :)10:50
\shcolinl: would you like to update your debdiff and follow https://wiki.ubuntu.com/StableReleaseUpdates?highlight=(StableReleaseUpdates) ? :)10:51
=== devfil_ is now known as devfil
=== pgquiles__ is now known as pgquiles
=== elkbuntu is now known as elky
YokoZarIs the backports team really busy with 8.04.1 stuff?  I'd like to poke them about Wine 1.0 :)11:28
colinl\sh: sure11:28
colinl\sh: I mainly have to document how to reproduce the differents bugs the patches fix?11:33
\shcolinl: that would be a plus, yes :)11:41
colinlok11:41
colinlhow can I subscribe to motu-sru? I can't find an "Apply" link11:41
wgrantcolinl: Why would you want to do that?11:43
colinlwgrant: to propose an SRU11:44
wgrantcolinl: motu-sru reviews SRUs - you don't join the team.11:44
colinlok11:44
wgrantYou subscribe it to the bug.11:44
colinl\sh: I don't really have to update the debdiff itself, in fact, do I?11:53
\shcolinl: the version string is not correct according to SRU policies11:56
colinlah sorry12:10
colinl\sh: claws-mail (3.3.1-1ubuntu3build1) hardy-proposed; urgency=low ?12:12
wgrant!info claws-mail hardy12:13
ubottuclaws-mail (source: claws-mail): Fast, lightweight and user-friendly GTK2 based email client. In component universe, is optional. Version 3.3.1-1ubuntu3 (hardy), package size 1231 kB, installed size 2976 kB12:13
wgrant3.3.1-1ubuntu3.112:13
colinlthanks wgrant12:13
\sh3.3.1-1ubuntu312:14
norsettogood your-time-of-the-day12:14
colinlupdated :)12:15
wgrant\sh: That's the version in hardy-release..12:16
norsettoemgent: any news on eggdrop?12:28
Rudd-Ohello there, need help with packaging12:28
Rudd-Owhen I do apt-get source dbus, this happens: unlink("dbus-1.1.20/debian/patches/03_fix_inotify.patch.dpkg-orig") = -1 ENOENT (No such file or directory) <- this is the second-last line before the write+exit(1)12:29
Rudd-Omy goal is to compile an ubuntu package of the SVN version of dbus12:29
Rudd-Oany quick tutorial that gets me there?12:29
polohello everybody712:29
norsettoRudd-O: do you have intrepid enabled as a src repository?12:32
Rudd-Ono12:32
Rudd-Owhy?12:32
Rudd-OI have hardy12:32
Rudd-OI need a fix that went a few days ago into dbus svn12:32
Rudd-Obecause otherwise it fails with ZFS12:32
Rudd-OI am running ZFS in /var and /usr and /home12:32
Rudd-Othis fix also benefits ntfs3g users12:32
Rudd-Oand I need it like now12:32
Rudd-Ono dbus, no modern desktop environment12:33
norsettoRudd-O: You better use the latest src package12:33
Rudd-OI doubt that the latest intrepid package has the fix12:33
Rudd-Oso I want to build the latest package but using the dpkg data12:33
Rudd-Oanyway12:34
Rudd-Owhy is apt-get source failing on me, with the official hardy package?12:34
Rudd-Oi know it's the dpkg-source routine that is failing12:35
Rudd-Obut WHY?12:35
norsettoRudd-O: no idea. I tried the intrepid one and there is no problem12:35
norsettoRudd-O: you can also use -t intrepid if you don't want to change your sources.list12:36
Rudd-Oook12:36
Rudd-Olet's try that12:36
Rudd-Oapt-get -t intrepid source dbus?12:36
norsettoRudd-O: yes12:37
Rudd-ODes:2 http://mirrors.kernel.org hardy-updates/main dbus 1.1.20-1ubuntu2 (tar) [1402kB]12:37
Rudd-Othat didn't work12:37
Rudd-Ostill gets from hardy12:37
Rudd-Oidea?12:37
Rudd-Osame problem12:37
wgrantDo other sources work?12:38
Rudd-Ono12:38
Rudd-Osame problem with fuse source12:38
* wgrant would blame your strange FS setup.12:38
Rudd-Ohardly12:39
norsettoRudd-O: than you just miss some build-essential12:39
james_wRudd-O: is it just complaining about signatures?12:39
Rudd-Othere is a complaint about signatures, publc key not found12:39
Rudd-Obut that has nothing to do with dpkg-source's attempt to delete a nonexistent file!12:39
Rudd-Odpkg-source: fallo: eliminar copia de seguridad de parche dbus-1.1.20/debian/patches/03_fix_inotify.patch.dpkg-orig: No existe el fichero ó directorio12:40
Rudd-Oagain, the filesystem is orthogonal to the issue12:40
norsettoRudd-O: it might be perpendicular too but the problem is in your machine12:41
Rudd-Oso?  any ideas on how to track this issue down?12:41
Rudd-Olet me strace it all12:42
persiaRudd-O: run dpkg-source under the perl debugger12:42
\shwgrant: grmpf...3.3.1-1ubuntu3.1 is the new one for SRU12:43
* \sh was in between four tasks12:43
Rudd-Ohere was it sais12:45
Rudd-Oapt-get source downloads the stuff and places it into the directory12:45
Rudd-Othen apt-source successfully untars the file and runs patch12:45
Rudd-Oand the patch *succeeds*12:45
Rudd-Othen dpkg-source attempts to delete a file ending in .dpkg-orig which doesn't exist there12:46
Rudd-O*boom* goes the terrorist12:46
Rudd-OI don't need the perl debugger to figure that out12:46
Rudd-Olet's read the source, see what the hell it's trying to do12:47
Rudd-Othere is someting else I would like to know12:47
Rudd-Ohow come there is a debian/patches in the source dir, and there is ALSO a .diff.gz in the pwd?12:47
persiaRudd-O: lsdiff -z foo.diff.gz to answer the last question12:49
Rudd-Olemme install that tool12:49
Rudd-Ono such package lsdiff12:49
Rudd-O> aptitude search lsdiff12:49
Rudd-O0 bytes reply12:50
persiaRudd-O: patchutils12:50
Rudd-Ook12:50
Rudd-Oinstalling...12:50
Rudd-Ohey, anyone here work at google?12:50
Rudd-Ook so the .diff.gz gets uncompressed in the source tree?  neato.12:51
persiaRudd-O: Right.  That's how Debian-format packaging works.  The orig.tar.gz matches upstream, the diff.gz is all the patches and packaging, and the .dsc contains some meta information and checksum hashes for the two content files.12:54
Rudd-Ookay12:55
Rudd-Ointeresting,v ery interesting, I'm learning a lot now12:55
Rudd-Owell, I have surpassed the dpkg-source problem by manually untarring and patching12:55
Rudd-Owhat's next?12:55
Rudd-OI assume plugging in the original source?12:56
Rudd-Ohow do I get from the original source plus debian-specific patches to a deb?12:56
Rudd-Odebian/patches/* I assume are applied when the package is actually built, right?12:56
persiaThe common method is to construct a new orig.tar.gz from the new source.  Adjust the variance in diff.gz to be compatible with the new source, update debian/copyright, and build a new source package.12:57
Rudd-OAdjust the variance in diff.gz <- what does this mean?12:57
persiaIf you just want to apply a patch (which is also good), you probably want to try the which-patch program from the ubuntu-dev-tools package to determine how to apply the patch in a compatible manner.12:57
directhexpersia, uupdate!12:58
Rudd-Ook12:58
persiaRudd-O: Let's say that we have a patch that fixes a bug, and it's been sent upstream and accepted.  That patch then needs to be removed from the package.  Simiarly, if a patch applies against code that changed, the patch may need to change.12:58
Rudd-OI want ot just apply the patch12:58
Rudd-Ook, this is a patch that has NOT made it into upstream12:58
persiadirecthex: In those cases where it works, maybe, but it's very rare that uupdate lets one construct a new SVN snapshot.12:59
Rudd-Ohttps://bugs.freedesktop.org/attachment.cgi?id=1674612:59
Rudd-OI just plop it into debian/patches?12:59
persiaRudd-O: What did which-patch tell you?12:59
persiaSorry.  "what-patch"13:00
Rudd-Owhat?  what do you mean?  is there a what-patch command?13:01
Rudd-OI just plopped the patch and adjusted for build system into debian/patches13:01
Rudd-Owhat next?13:01
Rudd-Othe patch was applied correctly, when I do it manually13:03
Rudd-Owhat's next after plopping the patch in there?13:03
Rudd-OI mean, changelog and how do I build it?13:03
persiaUsually dropping the patch in debian/patches isn't sufficient, which is why I recommended the what-patch program from the ubuntu-dev-tools package.13:05
directhex00list!13:05
Rudd-OI have updated the changelog13:05
persiaTo alter the changelog, use `dch -i` from the package top-level directory.  Add in a note about what you fixed, and make sure your name is correct.13:05
Rudd-Ooh okay thanks for the 00list headsup13:05
Rudd-Othe changelog I altered manually following earlier changelog entry conventions13:06
persiaAt this point, you can build an updated source package with `debuild -S -us -uc`13:06
Rudd-Ook so what does what-patch do?13:06
persiadirecthex: Again, 00list only works for a subset of packages :)13:06
persiaRudd-O: what-patch tries to determine which patch system is being used, to give you guidance on the best means by which to apply a patch.13:06
directhexpersia, the right-minded ones!13:06
Rudd-Owait, where is the 00list file?13:06
Rudd-Oi find no 00 file anywhere13:07
Rudd-Ojust the patches numbered from 00 to above13:07
Rudd-Oand I can confirm no file lists the patches anywhere13:07
Rudd-Oapparently it is using simple-patchsys13:08
directhexwhich has no 00list13:08
persiadirecthex: Err.  I disagree with that, but don't want to argue dpatch vs. quilt vs. simple-patchsys vs. Format: 3.0 (foo) right now.13:08
Rudd-Ookay, I'm not sure about these different patch system technologies you seem to be discussiong, but the sensible thing from what I've learnt from debian structure is: plop the patch there, see if it applies, revert it (obviously!) and add to changelog.13:09
Rudd-Oin an ideal world for me, everything would be distributed as git clones13:09
persiaRudd-O: If it is using simple-patchsys, you want to use the following procedure to apply the patch:13:09
persia1) determine a name for the patch13:09
Rudd-O1) done: 90_dbus_zfs_fix.patch13:09
persia2) From the package top-level directory, call `cdbs-edit-patch name-of-patch`13:09
persia3) In the temporary build tree, apply the patch13:10
Rudd-Osimple-patchsis is remarcably similar to RPM patches13:10
persia4) exit the shell (Ctrl-D or `exit 0` is good).13:10
Rudd-Ocdbs for the changelog?13:10
persiaThat constructs a simple-patchsys compatible patch in debian/patches.13:10
Rudd-Owait a second13:10
Rudd-Othe patch applies just fine just like the rest of the patches there, why do I need to use cdbs?13:11
Rudd-Othis simple-patchsys seems to me like it complicates stuff13:11
persiaRudd-O: cdbs-edit-patch ensures that all the patches are applied in the sequence used at build time, which reduces the chances of conflict from layered patches.13:11
persiaYou may well get lucky, and have a patch just work.13:12
Rudd-Othen I guess I'm feeling lucky13:12
Rudd-Ohey, any of you work at google?13:12
Rudd-Ook13:12
Rudd-Onow let's try debuilt13:12
Rudd-OI mean debuild13:12
Rudd-Ocross fingers here!13:12
persiadebuild :)13:12
Rudd-Ojust before debuild13:13
Rudd-Oonemorequestion13:13
Rudd-Odpkg-source doesn't apply the patches, right?13:13
persiaIt depends on the package construction, but generally not.13:13
Rudd-Oawesome13:13
Rudd-Orunning debuild13:13
Rudd-OWAIT13:13
persiaNote that some sources have the patches pre-applied from diff.gz, and also in debian/patches, in which case the above would not be correct.  (simple-patchsys packages are not of this type)13:14
Rudd-Ooh shit, how do I bump the ver numbe rin the package?13:14
persiaYou edit the version number when you update the changelog.13:14
persiaDid you not use dch -i?13:14
persiaIf you haven't, you wish to.  If you have, you can continue work on your last change with just dch13:15
persia(including changing the version string)13:15
Rudd-Oso the version number is taken from the first line of the changelog?  that's ingenious!13:15
persiaIt tends to reduce mistakes :)13:15
Rudd-Ook, no files were created by debuild13:15
Rudd-Odebuild -S -us -uc13:15
Rudd-Ofailed I guess?13:15
persiaMaybe in the parent directory?  You ought have at least a .changes file.13:15
persiaErr.  Rather at least a .build file, and likely a .changes file.13:16
Rudd-Ooh, it worked in the parent directory!13:16
Rudd-Oyes, a .source and .build13:16
Rudd-Owhat now?13:16
persiaNow you have a new candidate source package.  You want to make a binary package.  We usually recommend sbuild or pbuilder for that.13:17
Rudd-Oawesome the .changes contains the changes from the last .diff.gz13:17
persiaThere are convenience scripts in ubuntu-dev-tools to simplify setting these up.13:17
Rudd-O.build is just a log right?13:17
persia!sbuild13:17
ubottusbuild is a system to easily build packages in a clean schroot environment.  To get started with SBuild, see https://help.ubuntu.com/community/SbuildLVMHowto13:17
persia!pbuilder13:17
ubottupbuilder is a system to easily build packages in a clean chroot environment. To get started with PBuilder, see http://wiki.ubuntu.com/PbuilderHowto13:17
Rudd-Oinstalling that package now13:17
Rudd-Owhat is the difference among those two?13:18
persiaYes.  .build is a log of the source package build, to help debug any issues that may have occurred.13:18
Rudd-Oit's installing bzrrrrrrrr and a bunch of other stuff13:18
persiasbuild and pbuilder are different implementations of an automated build process.  The main difference is that pbuilder stores the template build chroots in tarballs, and sbuild expects you to have them available for use by schroot.13:18
Rudd-Owhat are the main differences between sbuild and pbuilder13:18
Rudd-Oso I would need pbuilder, right?13:19
Rudd-Owhy can't it be as easy as rpm -ba ?13:19
directhexit can, if you want it to be13:19
persiaDepends on how often you build packages.  sbuild is slightly faster for most hardware, although a little more annoying to get set up.13:19
directhexdpkg-buildpackage -rfakeroot, in the package root directory, is the VERY hairy way to build packages13:20
persiadirecthex: That's also bad because it can damage your precious source package.13:20
persiaIf you want to go the messy way, debuild -b -us -uc is preferred.13:20
Rudd-Omy prEcious!!!13:20
directhexone reason it's ill-advised because it compiles "in situ", so if you have something installed but not declared in the build dependencies (say, gcc) then it'll WORK for you, but fail to compile on a 'pristine' system13:20
Rudd-Ookay, what's the quick and dirty way?  It's just a patch13:21
highvoltagewhat is ddebs.ubuntu.com?13:21
persiaRudd-O: Quick and dirty is debuild -b -us -uc, but a package so constructed is often unsuitable for sharing with others, so doing it that way may be considered antisocial.13:21
Rudd-Obut why?13:21
Rudd-Owhat do the built packages have of antisocial in them?13:21
persiahighvoltage: It contains dbgsym packages for everything in the repositoes, for apport retracing and debugging.13:22
directhexRudd-O, as stated, they can be wrong, but you won't notice the wrongness due to local environment peculiarities13:22
persiaRudd-O: One issue is that directhex mentioned, that the source package may be missing build-dependencies.  Another is that some programs will autoconfigure to use libraries locally installed, which may not match the intended build, and create subtle unexpected dependencies.13:22
Rudd-Obut those wrongnesses stem from dependencies and other crap that has already been declared to be good in the original package, right?13:23
Rudd-Ook13:23
Rudd-OI will use pbuilder then13:23
persiadirecthex: They may be wrong, if you have lots of -dev packages installed :)13:23
Rudd-Odamn I love RPM.  the autodep stuff just doesn't let you get deps wrong!13:23
persiaRudd-O: Well, not quite, as building in a different environment may cause the declared dependencies to no longer be correct.13:23
Rudd-Ook in which directory do I run pbuilder?13:24
Rudd-Opersia: the deps for the binary packages are always correct with RPM13:24
* persia looks for someone who uses pbuilder to answer that13:24
Rudd-Ojust read the manpage13:24
Rudd-Odon't worry13:24
Rudd-Owhat? do I have to run that as ROOT?13:24
persiaRudd-O: True, but they are also dependent on the packages installed on the local system, which may not match.  RPM has different issues with local compiles, but also shares benefit from being built in a clean chroot.13:25
* persia likes sbuild more: no sudo involved :)13:25
Rudd-Opersia: if the binary packages are dependent on the packages installed in the local system, then they are declared as well in the build products.13:25
Rudd-Ook doing sudo pbuilder now13:25
persiaRudd-O: Right, but those local binary packages may not be available to others, depending on the local system construction, hence possibly being antisocial.13:25
Rudd-Owait13:26
Rudd-Opbuilder downloads an ENTIRE DISTRO in the dir?13:26
persiaRudd-O: Only the subset required to build the package.13:26
Rudd-Opersia: you got that right, that is true13:26
Rudd-Opersia: but that is HALF A GIGABYTE!!!!!!!!13:26
persiaI suppose.  I don't really count bits much.13:26
Rudd-OI guess you don't have an 800 kbps connection at home... but much more!13:27
Rudd-Oand wait for it... /var/cache is in ZFS, so the slowdown WILL BE unbearable13:27
Rudd-Ookay13:27
Rudd-Olet's leave it churning for a couple of HOURS and focus on the next step in the agenda13:27
persiaSome people who do this often have local mirrors.  Others may bind-mount apt-sources, like the alternate install CD.13:27
Rudd-Othis is a package that I want to share as a fix for ubuntu hardy13:28
Rudd-Owhat should I do?13:28
persiaIs there a bug open about the issue?13:28
Rudd-Onot sure13:28
Rudd-Othe bug is in freedesktop bts13:28
persiaThat's your first step then: you'll want to have a bug in launchpad to track the task of applying the fix in hardy and getting it tested widely, etc.13:28
Rudd-Ook13:29
Rudd-OI will open the bug NOW13:29
persiaReview the existing bugs, as the testing process goes faster if you can find a bug others are already experiencing.13:29
persia(assuming it is truly the same bug)13:29
Rudd-Olemme add a cookie exception for launchpad13:29
Rudd-Ologgedon13:30
highvoltagepersia: ah, thanks, I think I may need to do some more reading there :)13:30
persiahighvoltage: Are you just seeking to understand, or were you pursuing a particular goal?13:31
persiaIf the former, looking at the apport and pkg-create-dbgsym packages may be more informative than arbitrary Google queries.13:31
Rudd-Oalright13:32
Rudd-OI have reported the bug13:32
Rudd-Owhat files do I need to uplaod to have them incorporated and looked at by the hardy-proposed repo managers?13:33
persia!sru13:33
ubottuStable Release Update information is at http://wiki.ubuntu.com/StableReleaseUpdates13:33
Rudd-Oguys?13:33
persiaThe next step is to review the Stable Release Updates policy that ubottu just referenced, and proceed with that to get the update into the repositories.13:33
Rudd-Ook13:33
persiaPart of that will involve testing your package, and attaching a debdiff with the fix to the bug.13:34
persiaYou can generate the debdiff by running debdiff old-version.dsc new-version.dsc.  You may want to do this while you are waiting for pbuilder to examine your changes, and ensure nothing unexpected occured.13:35
Rudd-Ook13:35
Rudd-Odebdiff?13:35
Rudd-Oawesome13:35
Rudd-Othat was my question13:35
directhexand diffstat is nice for seeing which files have changed. IMHO anyway13:38
persiadirecthex: Really?  I always use lsdiff and view to inspect patches, and find diffstat of limited value.13:38
persiaWhat about diffstat do you like?13:39
directhexpersia, i just like the simple representation13:39
directhexpersia, it's visual enough for my feeble mind13:39
persiadirecthex: Ah.  That makes sense.  I don't find a close correlation between number of lines changed and possible impact of change, but that might just be me.13:40
Rudd-Ooh, I need to talk to scott13:40
Rudd-Odiffstat is info-dense13:41
directhexpersia, it helps me quickly see which files have changed, and by how much. anything beyond that is pretty much a leap of faith anyway, unless i'm doing a full patch audit. and honestly, reading enormous autoreconf patch updates is dull.13:41
Rudd-Ook apparently pbuilder is pdownloading a pseries of packages that will be pfinished in a couple of pminutes13:41
persiadirecthex: Makes sense.  I tend to find that patches that change lots are often of the autoreconf variety, but that a one-liner that changes something (e.g. "#DEFINE FOO 100" -> "#DEFINE FOO 0100") can have enourmous impact.13:48
directhexwell, yes13:48
highvoltagepersia: no particular goal, just wanting to understand13:50
persiahighvoltage: OK.  I hope those two packages explain it sufficiently.  Feel free to ask if you have specific questions.13:51
embernixternal thanks! and congrats.14:05
highvoltagepersia: thanks :)14:06
Rudd-Ohey there nixternal14:07
Rudd-Othis sucks sticky balls14:13
Rudd-Othis sucks sticky balls14:13
Rudd-Opbuilder gave me the exact same frigging error14:14
Rudd-Odpkg-source: failure: remove patch backup file dbus-1.1.20/debian/patches/03_fix_inotify.patch.dpkg-orig: No such file or directory14:14
Rudd-OWHY DOES IT WANT TO DELETE AN ORIG FILE THAT DOES NOT EXIST??????14:14
Rudd-Ogoddamnit14:15
Rudd-Omonkeypatched that shit, to see how it goes14:17
lagaRudd-O: language please14:20
Rudd-Oa-ok, laga14:25
Rudd-Ookay I officially GIVE UP14:31
Rudd-Opbuilder insists on removing nonexistent files even after the monkey patch14:31
Rudd-Owhich is probably because it's using its own chroot14:32
Rudd-Osee you guys, thanks for the brave help14:33
persiaRudd-O: You might want to try with a different package, as you may have exposed an issue with the package with which you are working.14:33
persiaBah.14:33
huatswhat is the benefit of adding dpkg-dev in the build-depends of a package (it is the case in the debian package that I am merging)15:12
huats?15:12
james_wit might be doing something like using dpkg-parsechangelog to get the current version number of the package.15:16
james_wI'd ./debian/rules to see what they may be up to.15:16
persiahuats: Is it a versioned dependency on dpkg-dev?  dpkg-dev is already build-essential, so if it doesn't need a newer version, it's a fairly useless dependency.15:19
huatspersia: dpkg-dev (>= 1.14.16)15:20
persiahuats: Ah, that might be important: you could check the dpkg-dev changelog to get an understanding why.15:21
huatsI am having a look right now15:21
persiaOnce build-essential has a versioned depends on a sufficient version of dpkg-dev, and all supported releases also have a sufficiently new dpkg-dev, it may be dropped.15:21
cody-somervillejames_w, https://bugzilla.novell.com/show_bug.cgi?id=36118015:21
ubottubugzilla.novell.com bug 361180 in X.Org "xcb apps hang if started via dbus-launch" [Major,Resolved: fixed]15:22
james_wcody-somerville: yeah, I saw.15:22
huatspersia: currently build-essential depends on dpkg-dev >= 1.13.515:28
huatsso it might be the reason15:28
huatsthus I might need to let the dependency15:29
huatsI have found the reason in the package that I am merging15:30
huatsthanks persia15:30
persiahuats: No, thank you for tracking it down.  What was the cause for the newer dpkg-dev requirement?15:31
huatsyep15:31
huatsUpdate DM-Upload-Allowed according to change in dpkg 1.14.1615:32
huats(from the debian changelog)15:32
huatsso there has been a change in dpkg in 1.14.16 and since they use that syntax they need to explicit the version number15:33
huatspersia: what is exactly DM-Upload-Allowed ?15:35
persiaAha!  That would do it.  Not very meaningful for Ubuntu, but won't cause any harm.15:35
huatsI am looking what it is and I don't find15:36
persiaDM-Upload-Allowed means that those in the Uploaders field can upload if they are in the Debian-Maintainers keyring, even if they are not Debian Developers.15:36
persiaIt is a means by which non-DD maintainers of packages can reduce sponsoring delays for updates.15:36
huatsok15:36
huatsthanks15:36
huatssince I am heading for a sync15:37
huatsit is harmless right ?15:37
huatsI don't need to ask a merge because of that right ?15:37
james_whuats: there will be no problem in using making it a sync if the only difference is the addition of dpkg-dev.15:39
james_ws/using //15:39
persiahuats: It's harmless: makes no difference in Ubuntu, and oughtn't cause FTBFS.15:39
persiaIf the Debian change was the removal of this, I'd not advocate keeping it as Ubuntu variation, as there's no Ubuntu benefit.15:40
huatsjames_w thanks15:40
huatspersia: there has been a few other addition15:41
huatssome needed ones...15:41
huatsand that  one which is useless for Ubuntu.15:41
huatsso I am finishing15:41
huatsit15:41
huats:)15:41
huatsbut I think I will ask a sync15:41
huatsthanks15:42
norsettohuats: how is your calf?15:52
dholbachyour what? :)15:56
=== thekorn_ is now known as thekorn
norsettodholbach: not the animal :-)16:02
Lutinjames_w: why did you list the CVE fix as ubuntu change in the cecilia debdiff ?16:31
james_wLutin: to make sure it was picked up in the CVE tracking.16:31
Lutinjames_w: ah, ok16:33
james_wIt's maybe not necessary, but I took the belt and braces approach16:34
Lutinjames_w: btw, how does the CVE tracking picks up such things ? regexp matching on the changelog ?16:36
james_wLutin: I don't think it is automatic.16:36
james_wI can always remove the entry, I'm going to spend some more time on it tonight.16:36
Lutinok16:37
LaneyLutin: Can you ack the clearsilver sync request? Sorry for confusion.16:41
Laneyor dholbach: ^16:45
=== rzr is now known as RzR
=== Zic_ is now known as Zic
persiajames_w: As long as the merge upload is done with the correct -v call so that the .changes includes the Debian variation, you don't need to repeat yourself.  Note that if you aren't making the final .changes, it doesn't hurt to be careful.17:04
LutinTheMuso: if csound builds correctly, can the copyright change be dropped ?17:06
Traktor1pls come in new IRC server balkanchat.no-ip.org just type /s -m balkanchat.no-ip.org .We will give you IRC OP18:11
Traktor1pls come in new IRC server balkanchat.no-ip.org just type /s -m balkanchat.no-ip.org .We will give you IRC OP18:11
Traktor1pls come in new IRC server balkanchat.no-ip.org just type /s -m balkanchat.no-ip.org .We will give you IRC OP18:11
Traktor1pls come in new IRC server balkanchat.no-ip.org just type /s -m balkanchat.no-ip.org .We will give you IRC OP18:11
Traktor1pls come in new IRC server balkanchat.no-ip.org just type /s -m balkanchat.no-ip.org .We will give you IRC OP18:11
calci got an email that my motu membership is about to expire, should i let it expire and have it moved over to ubuntu-dev instead?18:24
calcor is "motu" still considered a live group?18:25
jpdscalc: you can renew on Launchpad.18:25
calcjpds: yea i see that, but should it get renewed under the new(?) ubuntu-dev group instead of motu?18:26
calcor is motu the new group, i am a bit confused on which is the new group18:27
jpdscalc: all MOTU memberships should be done via the ~motu group.18:27
calcah ok18:27
TomJaegerhow do I tell pbuilder to give me a shell when there's an error?18:33
lagathere's a hook for that18:34
james_wTomJaeger: http://blog.madism.org/index.php/2006/06/27/93-pbuilder-custom-configurations18:36
james_whttp://madism.org/~madcoder/pbuilder/C10_launch_shell18:36
james_wit needs to be executable in --hookdir18:37
TomJaegerthanks18:37
=== Toadstoo1 is now known as Toadstool
TomJaegergrrr, gtk-builder-convert produces garbage in a pbuilder environment and i have no clue why.  But after installing ubuntu-desktop, everything works fine.20:21
TomJaegerIs there a way to get a list of all the files a program reads during execution?20:25
lagastrace?20:25
TomJaegerthanks, that looks like it might work20:27
TomJaegersweet, that actually worked, the culprit is one of these packages: libc6-i686 libgtk2.0-dev libxml2-utils locales python2.5 python2.5-minimal python-apport python-gst0.10 python-imaging python-minimal python-numeric python-support time util-linux20:45
TomJaegerokay, it's libxml2-utils, filing a bug report21:03
* sebner is taking a break from learning for giving ScottK a bear hug =)21:04
ScottKsebner: I did a bit of editing on your debian/changelog entry.  Since it's been so long, I just edited and uploaded, but please have a look at what I changed.21:05
ScottKsebner: Thanks for taking that one on.  Courier is a pretty 'fun' experience.21:06
sebnerScottK: Yeah I already discovered that you edited the changelog. will look at it later :) So, the fun is over. what's now you impression ^^21:06
ScottKPretty good.21:07
sebnerha! With this comment of ScottK no one can stop me to conquer the world ... or become MOTU, hmm or something like that .. xD21:09
sebnerScottK: but also thanks to you for reviewing it. I know I was a bit annoying and reviewing courier is also not that fun. so thanks =)21:14
* sebner hugs ScottK 21:14
ScottKNo problem.21:15
ScottKmok0 is the one that should be happy.  He'd touched it last before.  Now courier is YOURs.21:15
ScottK;-)21:15
sebnerScottK: Well, if I become MOTU in the next few months I can delegate it for intrepid +1 ;) Or you are looking for a new victim aka potential motu :P21:17
=== Ekushey is now known as llessur
sebnerScottK: whitespaces?21:40
ScottKNo21:40
sebnerScottK: kompare shows me that you added 2 bug numers and changed a "+" to a "-"21:41
ScottKRight.21:42
ScottKSo what does that tell you?21:43
sebnerScottK: I should look if I can close other bugs too. the other is a minor cosmetic change21:44
ScottKYes.  Also look and see if there are also bugs you can fix when you are merging.21:44
ScottKAlso, don't forget that debian/changelog is designed to be machine parsable, so keep to standard formatting as much as you can.21:45
sebnerScottK: Will try, thanks for the hints21:45
sebnerScottK: about merging. I followed the mail discussion. What sense does it make to request a Exeption for a merge? We now that since import freeze we want "important" merges but exeptions ...21:47
sebner*know21:47
ScottKsebner: I think the entire concept is silly.  If a developer thinks a merge is worth doing, they should do it/sponsor it.21:48
sebnerScottK: right but we does this came up?21:48
sebner*did come21:48
ScottKIt was a reaction to the ubuntu-devel-announce message about upcomig DIF that referred to getting exceptions.21:49
cody-somervillewait...21:50
cody-somervillewho approves that?21:50
sebnercody-somerville: for ...21:50
norsettosebner: we better get flightgear ready21:51
sebnernorsetto: no reaction by debian yet ... I'll be off until tuesday, wednesday but will look at it if you want21:51
ScottKcody-somerville: There was a long IRC thread on this yesterday in ubuntu-devel.  grep the logs for persia and I talking for the highlights.21:52
norsettosebner: yes, we have to get rid of it, there is an NBS that I would like to clear that depends on it21:52
norsettosebner: also, you may want to coordinate with emgent about eggdrop?21:53
cody-somervilleScottK, Maybe the people involved that discussion and yourself could write something to the ML to help keep everyone on the same page?21:53
sebnernorsetto: Yes but not today. will  be off soon. I offered him that he can do it but I'm  not sure if he is working on it or not21:54
norsettosebner: well, the deadline is the 26th, so we can wait until tuesday/wednesday, but not later21:54
sebnernorsetto: deadline?21:55
norsettosebner: dif21:55
sebnernorsetto: I know that every package should be merged one but why? what's so bad doing it later?21:55
norsettosebner: lots of discussions going on at the moment, but if there is a rule, lets try to stick to it21:56
sebnernorsetto: bad rule21:56
norsettosebner: whats the problem? We have plenty of time21:57
sebnernorsetto: 6 days ^^ and I'm off for 4-5 days xD21:57
norsettosebner: it takes half an hour max to fixe those two, these leave us 1 day to enjoy our well-deserved rest21:58
=== marnold is now known as marnold|nothere
sebnernorsetto: will see, maybe I do flightgear and he eggdrop?21:58
norsettosebner: as you wish, I don't mind either way21:59
sebnernorsetto: kk, may you want to tell him then21:59
norsettosebner: sure21:59
norsettosebner: enjoy your mini-holiday21:59
sebnernorsetto: well, my mini-holiday starts on tuesday ;) montag is the big day22:00
sebnerlol22:00
sebnermonday22:00
sebnersry. german word ^^22:00
norsettosebner: good luck with your exams, you will pass with full marks ;-)22:01
sebnernorsetto: ^^, thanks22:01
sebnernorsetto: btw, but I love the idea. merge as many as you can =)22:01
sebner\sh: though you can get troubles because you don't file bugs :P22:04
\shsebner: ?22:05
sebner\sh: everybody can do any merge without asking the previous uploader. And you are normally your work without filing bugs you said. so a lot of double work =)22:06
sebnerember: hey, you are doing a lot of gnome stuff. *cool* :)22:13
=== DRebellion_ is now known as DRebellion
RoAkSoAxhey guys, have a question... how to apply a patch using cdbs (i downloaded the patch from a website and i want to apply it to the package)22:21
ScottKRoAkSoAx: Add simple patchsys to your debian/rules and then use cdbs-edit-patch22:26
RoAkSoAxScottK, by just doing cdbs-edit-patch patch-name.patch  (where patch-name.patch is the name of the patch i downloaded?)22:27
ScottKNo.  If you know the patch applies to your source without adujstment, you can just copy it into debian/patchs.22:27
=== dpm_ is now known as dpm
=== solarion is now known as Solarion
ScottKOr cdbs-edit-patch patch-name.patch where patch-name.patch is what you want the final patch name to be.22:28
ScottKThen apply the patch manually using patch in the tmp dir22:29
ScottKThe latter approach you can be sure that the patch will apply during build.22:29
RoAkSoAxScottK, ok so for example: cbds-edit-patch name.patch , then patch -p1 < downloaded-patch.patch, and finally ctrl+d, right?22:31
sebnergn8 folks, see you next week.22:31
ScottKRight except exit at the end instead of ctrl d.22:31
RoAkSoAxScottK, ok thanks :D22:32
=== RzR is now known as rZr
\shsebner: if I have a merge finished, I'm uploading directly...if I don't upload, there is no merge from me22:47
\shs/from/by/22:47
\shanyways..22:48

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