[02:52] <c2tarun> can anyone help me with patch command, following is my difference file http://paste.ubuntu.com/533703/.
[02:52] <c2tarun> can anyone help me with patch command, following is my difference file http://paste.ubuntu.com/533703/
[02:55] <poolie> c2tarun: you want to know how to apply this diff?
[02:56] <c2tarun> ya
[02:58] <c2tarun> actually i tried to use 'patch -p0 < file.diff' but get this error: patch: **** Only garbage was found in the patch input.
[02:58] <c2tarun> poolie: actually i tried to use 'patch -p0 < file.diff' but get this error: patch: **** Only garbage was found in the patch input.
[03:00] <poolie> how about if you add the -e option?
[03:01] <c2tarun> sorry i tried patch -e, -e0
[03:01] <c2tarun> both not working
[03:01] <c2tarun> with -e i m getting the same error
[03:02] <poolie> do you know where this file came from?
[03:02] <c2tarun> i created this file using diff file.old file.new > file.diff
[03:02] <c2tarun> i also have both my files
[03:03] <poolie> is there any reason you don't want to use diff -u?
[03:05] <c2tarun> actually i knew that it only adds line numbers to the diff file and i read that patch should work with all the difference files created by diff
[03:05] <poolie> you should use -u
[03:07] <c2tarun> ok can u just wait for a moment, let me try
[03:09] <c2tarun> hey i worked, but still i m not able to understand the output ( i mean what patch did), can u please explain me the output. if u want i can send u both old and new file.
[03:52] <micahg> tumbleweed: are you taking care of SpamapS's mongodb SRU for lucid
[04:00] <abudawud> can anyone tell me if https://bugs.launchpad.net/ubuntu/+bug/597728 is already packaged... Please excuse the terrible new guy
[04:02] <ajmitch> abudawud: yes, it's in natty
[04:04] <abudawud> ajmitch, why is the bug still open if you don't mind? :)
[04:05] <ajmitch> because the uploader of the package didn't mention the ubuntu bug in the changelog when it was uploaded to debian.
[04:05]  * ajmitch has closed it now
[04:06] <abudawud> thanks, at least I got some easy experience messing with the packaging tools
[04:07] <ajmitch> as it was in progress, and the comments linked to a site with the package, you could assume that there was a package for it :)
[04:07] <abudawud> how can a fella like me easily find projects that need packaging?
[04:08] <ajmitch> you could search for open bugs with that tag
[04:08] <abudawud> well thats how I found where I am now, and it appears every one of these I have opened thusfar is not really in need of packaging
[04:09] <micahg> abudawud: http://www.debian.org/devel/wnpp/prospective
[04:10] <micahg> abudawud: https://bugs.launchpad.net/ubuntu/+bugs?field.tag=needs-packaging <-- in status new
[04:10] <micahg> or triaged
[04:10] <abudawud> micahg, awesome, thanks
[04:11] <ajmitch> also, check that it's not included already - it's quite likely that bugs won't get closed if it was synced from debian
[04:12] <abudawud> ajmitch, by 'included' you mean the .deb is already linked somewhere in the bug page correct?
[04:12] <abudawud> or attached
[04:12] <ajmitch> abudawud: I mean in ubuntu already, though checking comments of a bug is also important
[04:14] <abudawud> ajmitch, maybe I should just wait on a response to my mentor request before I go around tearing things up :)
[04:25] <abudawud> another stupid question, for a package that is new to Ubuntu, would the version always start at 0.0.1?
[04:28] <micahg> abudawud: there are no stupid questions, the version depends on the version of the software, not when it enters the distro
[04:29] <abudawud> well the dev just labeled it with the python revision it pertained to, so theres a '2.6' and a '3.0' version
[04:40] <micahg> abudawud: link to upstream?
[04:41] <abudawud> http://code.google.com/p/python-ntlm/
[04:43] <micahg> abudawud: I don't see any releases
[04:43] <abudawud> nor do I in retrospect. These bugs are confusing me. I think I'll move on to upgrading packages instead
[05:03] <abudawud> if a developer made changes to a revision of their software and their changelog, how do I merge their changelog into the debian/changelog with their signature?
[05:36] <micahg> abudawud: that's not what usually goes in a Debian changelog
[05:37] <abudawud> so the actual developers changes don't go in there?
[05:38] <micahg> abudawud: no, it's usually packaging changes or references to bug fixes
[05:39] <abudawud> micahg, the entire rest of the file is full of his bugfixes, I just was unsure if I should just do a New upstream version
[05:39] <micahg> abudawud: what package?
[05:39] <abudawud> hedgewars
[05:39] <abudawud> https://bugs.launchpad.net/ubuntu/+source/hedgewars/+bug/675035
[05:41] <micahg> abudawud: I think you should just let him update in Debian
[05:42] <micahg> which would happen after squeeze is releases
[05:44] <micahg> fabrice_sp: hi, what IRC client are you using?
[05:44] <fabrice_sp> Hi micahg : xchat
[05:44] <fabrice_sp> why? Something wierd happens each time I connect?
[05:45] <micahg> fabrice_sp: join then auth
[05:45] <fabrice_sp> let me check the configuration then
[05:45] <fabrice_sp> this channel is in auto-join, so not sure
[05:46] <micahg> abudawud: that bug is fixed in Natty BTW
[05:46] <micahg> fabrice_sp: I see it happen often, so I'll file a bug later :)
[05:47] <abudawud> abudawud, I don't get why I can't see when things are fixed. How are you finding this?
[05:47] <abudawud> micahg,
[05:48] <micahg> abudawud: rmadison?
[05:48] <micahg> abudawud: or you can click on the source package name and see what versions are in LP for it
[05:48] <micahg> in teh breadcrumb, not the bug task
[05:49] <abudawud> ah got it, over to code from bugs
[05:49] <abudawud> thanks micahg
[05:49] <micahg> nxvl: hi, can you hop in -mozillateam for a minute?
[05:50] <abudawud> is there a better way to start helping here? Apparently I'm a pretty huge derp
[05:50] <micahg> abudawud: no, just to the main section
[05:51] <fabrice_sp> micahg, I can't see any way of doing it differently at xchat options elvel, so a bug report is required :-)
[05:51] <fabrice_sp> s/elvel/level/
[06:14] <fabrice_sp> micahg, shouldn't we unsubscribe sponsors when working on a bug for sponsoring (like 676758)? IIRC, this is what ack-sync do, but I don't remember if it's by policy or not
[06:16] <fabrice_sp> found that wiki page that seems to say so: https://wiki.ubuntu.com/MOTU/Sponsorship/SponsorsQueue
[07:57] <Rhonda> http://www.freesoftwaremagazine.com/columns/bizarre_cathedral_87
[08:02] <dholbach> good morning!
[08:03] <ajmitch> morning dholbach
[08:03] <dholbach> hi ajmitch
[08:38] <tumbleweed> micahg: will do, I commented on it last night, waiting for SpamapS to answer. I'm hoping it won't FTBFS on the buildds, can't see why it is in PPAs
[08:39] <c2tarun> hi friends, can anyone please tell me the difference between schroot and debootstrapchroot
[08:42] <c2tarun>  hi friends, can anyone please tell me the difference between schroot and debootstrapchroot
[12:14] <Rhonda> ouch, the german translation of the ubuntu single sign on is … looks like debian-l10n-german did it.  %-/
[12:20] <geser> that good?
[12:22] <Rhonda> geser: http://deb.at/~rhonda/sarcasm.png
[13:48] <c2tarun> can anyone explain me the difference between schroot and debootstrap??
[13:50] <c2tarun> can anyone please explain me the difference between schroot and debootstrap??
[13:50] <Rhonda> debootstrap creates what schroot can use.
[13:51] <Rhonda> debootstrap actually installs a base system for a given distribution into a specified path. With schroot you can use that to work in a different distribution than what your main system runs.
[13:53] <c2tarun> what i read is debootstrap is something that creates a chroot environment that acts as jail out of which an application cannoot go... am i wrong???
[13:53] <Rhonda> The "acts as" part is wrong. :)
[13:54] <Rhonda> What it creates can be seen as chroot environment indeed. But actually it just does install a base system into a directory. For whatever purpose that might be.
[13:55] <c2tarun> what do we mean by base system here??
[13:55] <Rhonda> Basic libraries and tools.
[13:56] <Rhonda> Including dpkg and apt.
[13:57] <c2tarun> can u please give me some examples, i m not still getting it. :(
[14:00] <c2tarun> u still there rhonda??
[14:09] <joaopinto> c2tarun, deboostrap is a base system installer
[14:09] <joaopinto> chroot is s jail like system
[14:10] <joaopinto> for testing/building purposes it is common to use both
[15:02] <c2tarun> hey i was in a discussion on debootstrap but got disconnected...  :(
[15:02] <c2tarun> can anyone guide me to some examples on debootstrap??
[15:06] <c2tarun> i read on the internet and found that debootstrap can be used to install GNU/Linux into a directory. can i do use debootstrap to install ubuntu lucid on my friends system which has winxp installed on it??
[15:10] <joaopinto> c2tarun, no, debootstrap is only available for linux
[15:21] <c2tarun> i was reading this page: http://www.debian-administration.org/articles/426  they used there chroot to lock into a directory, is schroot and chroot are same/?
[15:26] <c2tarun> joaopinto: i was reading this page: http://www.debian-administration.org/articles/426  they used there chroot to lock into a directory, is schroot and chroot are same/?
[15:29] <joaopinto> schroot is an utility which makes it easier to use chroot
[15:29] <joaopinto> schroot uses chroot
[15:31] <c2tarun> ok maybe after using chroot i may understand schroot in better way. according to you what should i use first for my learning ???
[15:37] <c2tarun> one more thing please, i just googled and found Sarge is one whole debian operating system, dont want to do that much of installation as i m just trying to learn, is it ok to install some application from the repositories??? how can i do that??
[16:10] <c2tarun> can anyone please reply to my last two posts plz :(
[16:18] <joaopinto> c2tarun, Sarge is not a whole OS, it's the codename for a Debian release, using deboostrap will just install you a base system, not the entire repository contents
[16:25] <c2tarun> one more thing please, can i use debootstrap to install some application from the repositories??? how can i do that??
[16:28] <c2tarun> http://paste.ubuntu.com/533909/
[16:28] <c2tarun> joaopinto: http://paste.ubuntu.com/533909/
[16:39] <joaopinto> c2tarun, you can schroot into your deboostrapped environment to install applications from the repositories, yes
[16:42] <c2tarun> joaopinto: so first i have to create a ubuntu environment by debootstrap and then install an application there and then i can perform my experiments??? one last thing... i m sorry to ask but please tell me how to create the debootstrap environment for ubuntu??
[16:42] <joaopinto> c2tarun, https://wiki.ubuntu.com/DebootstrapChroot
[17:30] <ari-tczew> achiang: could you look at gimp? it's ftbfs, maybe you can fix it :)
[17:59] <achiang> ari-tczew: i'll take a quick look, but i do have my day job to contend with. :)
[18:00] <ari-tczew> sure achiang
[18:00] <BlackZ> achiang: I have a proposed fix for it
[18:00] <ari-tczew> oh, nice
[18:01] <achiang> BlackZ: ok, good. looks like it should be pretty simple too
[18:01]  * achiang goes back to wrestling with pulseaudio
[18:56] <Joelito> good day all
[18:56] <Joelito> I have two questions
[18:56] <Joelito> 1.- When I made my own makefile to compile my program, how to use it to debuild?
[18:57] <Joelito> I don't want to use dh_make
[19:17] <c2tarun> i just set up a chroot environment of hardy into my lucid, is it possible to boot into that chroot environment??
[19:22] <persia> c2tarun, How did you set up the chroot?  (The answer is probably "No", but there is a chance)
[19:23] <c2tarun> persia: i set up by this command =>   sudo debootstrap --variant=buildd --arch i386 hardy /var/chroot/hardy http://archive.ubuntu.com/ubuntu/
[19:23] <persia> What is the backing store for /var/chroot/hardy?
[19:24] <c2tarun> sorry its my first time, i m not aware of this term
[19:24] <_ruben> is it on a seperate partition/logical volume?
[19:25] <persia> Joelito, http://ubuntulinuxtipstricks.blogspot.com/2010/08/is-packaging-new-software-hard.html is one of the simplest outlines of how to not use dh_make I've seen.
[19:25] <c2tarun> no its in the same partition, i thought of first setting it up in separate partition but then i thought that partitions are not mounted automatically so if i did so it'll be impossible to boot into it
[19:26] <Joelito> thanks persia, I'll look
[19:26] <persia> c2tarun, Actually, having it a separate partition would mean you could install a kernel on it, and then fiddle your bootloader.  With it in a regular directory you'd probably have to export it with NBD or NFS or something, and then boot *another* computer over the network (assuming the bootloader on the other computer supported whatever protocol you export)
[19:27] <_ruben> or just chroot into it, which obviously isn't The Real Thing (tm) ;)
[19:28] <persia> c2tarun, So, this brings a related question: why do you want to boot that?  What are you trying to accomplish?
[19:29] <c2tarun> actually i was trying to translate gnome menus into my native language as my college project. For that i needed another operating system on my laptop. i tried virtual machine but didn't like it. then while reading packaging i found debootstrap. i read about it and in ubuntuforum a guy told me that we can also boot into the environment
[19:30] <c2tarun> as it is my first time, i setup the chroot env not i can lock to it but its not something i wanted. i want to boot into the system. perform some experiments and then remove it.
[19:30] <persia> It's true that you can, but it's complicated.  For the purposes of translation, a chroot is likely sufficient.
[19:31] <c2tarun> persia: but how can i see the gnome menus without booting into it??
[19:33] <persia> _ruben, Do you have a good pointer to running X in a chroot?  I generally just use `schroot -p ...` which isn't sufficient for this.
[19:34] <c2tarun> wow... can we run X into chroot without booting into it??
[19:35] <persia> Absolutely.  Some stuff works a bit different (different kernel, etc.), but the menus and most translatable GUI applications work normally.
[19:36] <_ruben> never really tried actually .. it wouldn't surprise that with a properly setup /dev /proc etc, you could just start (an extra) X server from within the chroot
[19:36] <c2tarun> u talked about some pointer for X. i didnot get it. can u enlighten me a bit please...
[19:37] <_ruben> hm, now that i think of it some more, that'd probably not work due to kernel (abi/api) incompatibilities
[19:37] <_ruben> vritualization might not be ideal, but i do think it's most appropriate here
[19:38] <ebroder> persia, _ruben: You probably want to use Xnest or something, but I don't know how to make it work
[19:39] <persia> ebroder, Yeah, probably.  The tricky bit is getting all the bindings right, including the special DBUS magic, for which I'm not finding any comprehensive document just now.
[19:40] <c2tarun> persia, _ruben: check this out  https://help.ubuntu.com/community/BasicChroot
[19:41] <c2tarun> goto topic 5 in the index
[19:43] <persia> c2tarun, That doesn't bind-mount /sys/ or set up the DBUS channels, but it's 90% of what you need, and might be enough, depending.
[19:43] <c2tarun> ok, i m not getting few things... in setting up the chroot.. they mounted proc??? what does it mean..
[19:55] <persia> Does anyone have time to take a quick look at http://people.ubuntu.com/~persia/packages/devicetype-detect_0.01.dsc ?  I believe it's clean, but want a second pair of eyes before I upload.
[19:56] <persia> (well, it's potentially buggy, but I believe there only to be upstream bugs)
[19:59] <ebroder> persia: There's some weird spacing in the description
[20:00] <ebroder> persia: I generally consider having to use dh_dirs to be a deficiency in the upstream build system. Why not do a mkdir -p in the install target?
[20:01] <persia> ebroder, Because it's better to pass -d to install :)  Thanks for catching that.  The spaces are troff's fault, but definitely deserve to be fixed.
[20:02] <ebroder> persia: That's all I see in the packaging. The VERSION handling makes me twitch a little, but it's not like I haven't done worse things before
[20:03] <ebroder> (And I can appreciate the desire to only have a one canonical location for the version number)
[20:04] <persia> ebroder, That's pulled direct from laptop-detect.  I don't know another way to do it unless I don't do a native package (and yes, I know non-native is better, etc.)