/srv/irclogs.ubuntu.com/2012/03/07/#ubuntu-motu.txt

=== jalcine is now known as JackyAlcine_
=== JackyAlcine_ is now known as jalcine
=== jalcine is now known as JackyAlcine_
=== emma is now known as em
=== webjadmin is now known as JackyAlcine_
=== JackyAlcine_ is now known as webjadmin
=== webjadmin is now known as jalcine
=== jalcine is now known as JackyAlcine_
=== JackyAlcine_ is now known as jalcine
Rcartbroder: o/02:43
Rcartwhen do we get this kind of failures? bug 77857102:46
ubottuLaunchpad bug 778571 in mpd (Ubuntu) "package mpd 0.16.1-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/77857102:46
ScottKRcart: Given that "daemon: could not create pid file "/var/run/mpd/pid": Permission denied" is in the terminal log on the bug, I'd guess permissions (or existence) issue with the pid file.02:54
lfaraoneScottK: how familiar are you with duplicity? ISTR seeing you talk about using it.02:57
ScottKNo.  Not me.02:57
lfaraoneScottK: ah, okay. what do you use for backups, then?02:57
ScottKrsync and shell.02:58
ScottKsometimes kbackup.02:58
RcartScottK: So, that bug is due a configuration problem, right? (maybe user field in /etc/mpd.conf)02:59
ScottKRcart: No.  Probably not.02:59
RcartScottK: how can I track those bugs when trying to fix them? I've fixed typos and I'd like to change the topic03:04
ScottKSince /var/run is on a tempfs in Ubuntu (but not Debian) one common source of bugs like this is that the init doesn't ensure /var/run/mpd exists.  It needs to check and create it if it's misisng.03:05
ScottKI'd check that first.03:05
Rcartgreat, that's a good starting point03:09
RcartScottK: I'll take a look. Thanks03:09
ScottKYou're welcome.03:10
vibhavIs any mentor available here?06:19
vibhavCan anybody help in finding dependencies of http://git.xfce.org/bindings/xfce4-vala/ ?06:26
=== lucas__ is now known as lucas
vibhavIs any MOTU available?07:35
dholbachgood morning08:06
valdur55Morning :)08:07
vibhavdholbach: Hi08:10
vibhavdholbach: Could you review my upload at http://revu.ubuntuwire.com/p/indicator-sensors08:10
dholbachhi vibhav08:10
vibhavAlso, I fixed the errors mentioned in those comments08:13
=== jbicha is now known as Guest38686
=== almaisan-away is now known as al-maisan
vibhavCan anybody help me in packaging a promgram?08:35
tumbleweedvibhav: there are lots of people here who can help, but you haven't asked a qustion we can answer yet08:36
vibhavOk, here it goes08:38
vibhavI am packaging shc (http://www.datsi.fi.upm.es/~frosal/sources/shc-3.8.7.tgz)08:38
vibhavAnd the program doesnt have a 'configure' script08:38
vibhavAnd dh_make returns : You should also08:39
vibhavcheck that the shc Makefiles install into $DESTDIR and not in /08:39
vibhavhow do I do this?08:39
tumbleweedyou read the Makefile08:39
tumbleweedthis is quite a simple makefile, so it's fairly easy to follow08:40
vibhavThe Makefile INSTALL_PATH = /usr/local08:40
vibhavIt seems then its correct08:41
vibhavAlrighty!08:41
vibhavthanks tumbleweed08:41
tumbleweedright, but the GNU coding standards expect that to be called DESTDIR not INSTALL_PATH08:41
vibhavshould I changei it to DESTDIR?08:41
vibhavchange*08:41
tumbleweedyou could, or you could just pass INSTALL_PATH=debian/shc when you call make install08:42
vibhavI changed it to DESTDIR08:42
vibhavWill it do any harm then?08:42
tumbleweedno08:42
vibhavthanks then08:43
tumbleweedthere's another issue I see in the Makefile08:43
tumbleweed    @echo -n '***   ¿Do you want to continue? '; read ANS; case "$$ANS" in y|Y|yes|Yes|YES) ;; *) exit 1;; esac;08:43
tumbleweedyou'll probably want to remove that :)08:43
vibhavwhy?08:44
vibhavoh08:45
vibhavI see08:45
* ajmitch should really remember to dist-upgrade more often, 1.5GB to download & install08:45
* tumbleweed is in a new flat, on 3G while I wait for a phone line. No dist-upgrades for me for a couple of weeks08:48
ajmitchthat's a bit painful, i suppose you've got a tiny data cap as well?09:02
tumbleweedyup (well, pay-per-MB. Paid R350 - ~35 EUR for 2GB. I'll see how long it lasts...)09:07
micahgtumbleweed: I just uploaded a 280MB chromium tarball :)09:08
ajmitchmicahg: am I allowed to hate you now?09:09
ajmitchI've got a 20GB monthly cap :)09:09
tumbleweedmicahg: I miss ia32-libs09:09
micahgtumbleweed: not sure why it's still broke09:09
micahgajmitch: I think I have a mandatory minimum 20GB usage :)09:09
ajmitchmicahg: yeah, I've found that not all data is tracked, so my average monthly usage is possibly several times that amount :)09:10
* micahg switch Cable providers when his last one instituted BW caps09:10
* ajmitch doesn't have that option in NZ09:10
micahgtumbleweed: I'm happy to sponsor stuff for you while you're in slow mode09:11
tumbleweed"uncapped" is a fairly new feature around here, but the quality tends to be far worse09:11
tumbleweedmicahg: I'm mostly alright, I have a colo box I can build on and upload from09:12
ajmitchFTTH plans are coming out in NZ, one of the larger ISPs just released pricing today09:13
* ajmitch wouldn't mind a 100/50 Mbps connection09:13
* micahg has 25/2 ATM09:14
* ajmitch is on approx 20/1 ADSL2+, generally fast enough09:14
ajmitchit's just downloading from archive.ubuntu.com on the other side of the world is a bit slow09:15
tumbleweedno local mirrors?09:15
ajmitchapart from the mirror on my desktop machine? :)09:15
tumbleweed:P09:15
ajmitchNZ mirrors have a habit of getting badly out of date09:15
micahgajmitch: university of canterbury shows as up to date09:16
* tumbleweed is in almost continual e-mail conversation with my upstream mirror. They are getting better, but I think I'm the closest they have to automated monitoring09:16
ajmitchmicahg: the mirrors seem to take turns in having update failures09:16
* ajmitch isn't too worried09:17
dholbachhuats, warp10, broder: Bhavani also wants to join the team - I didn't think this would get that much interest :)09:28
warp10dholbach: it's the coolest team ever!09:29
* micahg is curious which team this is09:29
dholbachthe Developer Advisory Team09:29
* micahg wonders if he should get in on this09:29
dholbachwarp10, now I need to generate similar interest in the Dev News team :)09:30
dholbachwarp10, and a Developer Initiatives/Events (Fix-It Friday, UDW, etc.) team09:30
dholbachhttps://wiki.ubuntu.com/DeveloperAdvisoryTeam has a very brief explanation of what the d-a-t does09:31
warp10dholbach: uh, Events Team, nice one. You need creative minds there09:31
dholbachfor events like UDW and Fix-It Friday we already have patterns of how we normally do them, but it still involves a bit of work getting everything in place, announcing it and so on09:32
dholbachfor example for next Friday, I'd like a few of us to get together on Thursday to put together a list of bugs which might be good targets for new contributors09:33
dholbachso that they don't have to go fishing around and not finding anything09:33
dholbachand it's also nice to be able to say "Friday morning we had 50 bugs, Saturday morning we had 0 of them left" :)09:33
dholbachwe'll get there :)09:33
warp10dholbach: good idea. Finding easy bugs is probably the hardest and most boring part for new contributors. And the bitesize tag on LP is not that helpful, unfortunately09:34
dholbachno it isn't09:34
dholbachbut on the rcbugs list or the resolved-upstream list we should be able to find 50 bugs easily if 4-5 of us spend a couple of minutes on it09:35
dholbachlet's do that tomorrow09:35
warp10dholbach: Yeah09:35
dholbachalso I want to do a public G+ Hangout tomorrow to invite newcomers to ask all their questions09:35
dholbachmaybe that's less daunting than hopping on a "developer irc channel"09:35
ajmitchrcbugs list is always just possible bugs, half the fun there is seeing which ones don't apply to ubuntu09:36
warp10dholbach: oh, nice idea. I heard that public hangouts from android developers gathered tens of people and lot of excitement09:36
ajmitchdholbach: how many people can you have in one of those hangouts anyway?09:36
dholbachajmitch, sure - and if they go through the process just to find out we got packages in sync again, then that was a good learning experience already ;-)09:37
* ajmitch would join in but it'll be at some crazy time :)09:37
dholbachajmitch, no idea09:37
dholbachajmitch, but I could try to do a few of them on Thursday to cater to different timezones09:37
warp10ajmitch: I joined a ~20 person hangout (but just a couple with video too) without any glitch a few weeks ago.09:38
ajmitchwarp10: ok, I thought it was limited to 1009:38
ajmitchthough you'd often have fewer active people than that at irc sessions09:38
warp10ajmitch: oh, really? Don't know, it was hosted by Google itself (gmail guys, IIRC), maybe they tweaked the limit :)09:39
vibhavIs there any GUI program to write man pages?10:40
valdur55vibhav, use usual text editors, man pages are normal text files10:40
vibhavvaldur55: They have a specific syntax which I find hard to follow10:42
valdur55vibhav, yes, but you can use other programs man pages ;)10:42
valdur55and then make notes... and use your notes10:43
vibhavvaldur55: Thanks10:43
valdur55vibhav, no problem, you need find out how can you help yourshelf. Use free software power!10:44
vibhavWhere is the man page located in the debian folder?10:48
tumbleweedwherever you want to10:52
vibhavI mean what do these .ex files do?10:53
vibhavI usually delete them10:53
=== al-maisan is now known as almaisan-away
tumbleweedthey are examples10:55
vibhavso what will be the file name of the man page then?10:59
vibhavmanpage.110:59
vibhavor manpage.1.ex ?10:59
valdur55vibhav, simply look on some package source code.10:59
vibhavvaldur55: My internet connection is really slow right now11:00
vibhav1 kbps :(11:00
geservibhav: manpage.1 (as you probably intend to write a real manpage and not an example)11:07
vibhavgeser: thanks11:07
hrwdholbach: fix it fridays are nice initiative but for next cycle can we move them to other day?11:10
dholbachlet's discuss it on the mailing list after this cycle :)11:10
hrwdholbach: sure11:10
dholbachI'm not bound to any day11:10
dholbachit came just up as an idea11:11
vibhavfix it Sundays might be better11:11
vibhavSince people have more free time on sundays11:11
hrwdholbach: the reason is that you hack/fix, provide debdiffs and then next day sponsors have suggestions for you.11:11
hrwvibhav: I do not work during weekend11:11
dholbachvibhav, some do, some don't :)11:12
hrwdholbach: when next day == monday it is harder to remind which machine this was done on etc11:12
hrwdholbach: last friday I used 3 computers at same time for fixes11:12
Adri2000friday vs. sunday is about whether people contribute as part of their job or on their free time :)11:27
gesersimple solution: Fix-It-Week11:33
vibhav^11:33
vibhavThere is no upstream URL for shc. What do I put in control?11:33
vibhavand copyright?11:34
geserin copyright: the location where you downloaded the upstream tarball11:34
geserin control: if the software has no homepage than you can leave out the Homepage: field11:35
vibhavWhat does the rules file do?11:57
jalcineIt's like a Makefile for Debian packages.11:58
jalcineafaik.11:58
jalcineIf you used debuilder and don't have any special needs, you could leave it as is.11:58
vibhavAlrighty!12:17
* vibhav debuild's12:17
vibhavWhich is the best way to ask for reviewers on this channel?12:27
nigelb5/ws 3412:34
nigelbugh12:34
vibhav?12:35
arandvibhav: Is it a new package? Shouldn't it go into Debian? Particular since Ubuntu is in FF..?12:49
ScottKarand: It's a Unity specific package he's after, so via Debian is a little harder than normal.13:05
=== almaisan-away is now known as al-maisan
arandScottK: vibhav: Oh, I must've misread, I though you were packaging shc.13:07
ScottKIt might be me too.13:07
=== jalcine_ is now known as jalcine
=== bulldog98_ is now known as bulldog98
=== jalcine is now known as JackyAlcine_
=== JackyAlcine_ is now known as jalcine
=== nixmaniack is now known as n1x
=== jalcine_ is now known as JackyAlcine_
=== JackyAlcine_ is now known as webjadmin
=== webjadmin is now known as JackyAlcine
=== JackyAlcine is now known as jalcine_
=== jalcine_ is now known as jalcine
=== jalcine is now known as JackyAlcine_
=== JackyAlcine_ is now known as jalcine
=== al-maisan is now known as almaisan-away
PaoloRotoloHi all!17:35
=== chrisccoulson_ is now known as chrisccoulson
jalcineHey PaoloRotolo17:42
PaoloRotolojalcine, hi!17:42
pabelangerIs ubuntu-motu the best place to talk about openstack (nova) packaging issue or should I be in another channel?18:29
ScottKpabelanger: I suspect #ubuntu-server would be better.18:31
pabelangerack'd18:31
=== tubadaz__ is now known as tubadaz
thibaud-ecarothi all19:04
=== yofel_ is now known as yofel
goddardwhen i have finished making my changes to a project on launchpad and i have made my last commits do I click the propose for mergeing button?20:55
sladengoddard: yes20:57
goddardok thanks20:58
sladengoddard: what's the project, is it something that needs sponsoring?20:59
goddardumm just the ubuntu packaging guide.. I'm new to ubuntu development and i was trying to learn how to package and in the process I found out the packaging guide was broken haha21:02
ScottKThat puts you in a perfect position to fix it.21:02
goddardhttps://code.launchpad.net/~kinggoddard/ubuntu-packaging-guide/913934-fix21:02
goddardexactly21:02
ScottKThose of us who know what we're doing can't appreciate what's wrong with it.21:02
goddardit was kqrcode so i changed it to gnu hello21:02
goddarddo you use virtual box to build stuff and test?21:05
jtaylorpbuilder or something equivalent is often more convinient21:12
Rcartgoddard: take a look at: http://developer.ubuntu.com/packaging/html/getting-set-up.html#set-up-pbuilder21:14
goddardi click propose merge and it just shows the little loading gif .... how long does it usually take?21:14
jtaylornot long, but launchpad often lags21:15
goddardahh21:16
goddardRcart: thanks21:16
=== jalcine is now known as JackyAlcine
=== JackyAlcine is now known as jalcine
jalcineOkay, so there's this library from a package (libxdo from xdotool) that causes a build issue when I use C++.21:52
jalcineI've apt-get source'd it, but what would I do from there to consider getting it patched?21:52
broderjalcine: you mean the library works if you build c code using it, but not if you use c++?21:53
jalcineprecisely.21:54
broderthat usually means you need to change the headers so that the declarations in the headers are wrapped in extern "C" { /* prototypes go here */ }21:58
broderhttp://www.parashift.com/c++-faq-lite/mixing-c-and-cpp.html#faq-32.4 shows how you can do it21:58
broder(you need an #ifdef so those only get included when you're building on C++)21:58
broderunlike what that FAQ says, i think you usually just put the extern "C" around the prototypes (not, e.g., #includes of other headers)21:59
broderbut i'm not positive21:59
jalcinebroder: the situation I have is a bit different than that.22:49
jalcineThe C header has a function whose parameter's name is 'class'22:49
jalcineand that causes a compile-time error with C++ code.22:49
broderhmm, i don't know what the best practice is there22:50
jalcineThe only real way to get around that would be to edit the header, but that'd need a patching of the code. And it's just for one line (it's the only function in the whole library that has that).22:51
jtayloryou can declare that functions needed yourself22:52
jtaylornot nice but would work22:52
jtayloryou should report that to upstream22:52
jtaylorparameter names are not needed in headers22:52
ajmitchhttp://code.google.com/p/semicomplete/issues/detail?id=60 has it already22:53
jalcine>_< should have google'd it first.22:54
* ajmitch just went to the home page from the debian PTS22:54
ajmitchlooks like a useful tool, I wonder what the unity developers are using for similar automated testing22:55
jtaylorits quite nice22:55
jtaylorbut very unreliable for non us keyboard layouts22:56
jtayloror even configured with more than one layout22:56
ajmitchwhich is quite a lot of the world22:56
jalcineNo dice, it keeps expecting a class declaration.22:58
jtayloryes you have to skip that header and forward declare the functions you need22:58
jalcineThanks, I'll try it.22:59
jtaylormight be an easy fix to do in the package22:59
jtaylorunless upstream intentionally does not want c++ to link with it :)23:00
jalcineThat's what I was thinking, lol.23:03
jtaylorcan you define a macro named class in C++?23:04
jtaylorthat might work to if allowed23:04
jalcineDon't think so, but I'm using C++0x23:06
jtaylorits c++11 now23:08
jtayloroh 4.6 does not accept that yet :(23:08
jalcinenope :/23:11
jalcineI'm going to patch it, this is ridiculous..23:11
jalcineThanks for the help guys.23:11
Rcartbroder: I've add a apport hook for mpd, and you merged a branch that fixed a typo a few days ago23:25
Rcartan*23:25
RcartI think that it would be better to include this hook and the same revision as the typo, and merge it23:26
jtaylorjalcine: ftw I have reported the bug to the debian package23:29
broderRcart: i've already uploaded the typo fix, so any other changes would be a new revision. i don't think i'll have time to review the change in the next few days, so the best thing to do would be just open a merge proposal against lp:ubuntu/mpd and that will put it in the sponsorship queue23:31
jalcineThanks jtaylor! I'm kind of behind a SSL block (tethering), I was going to wait until tomorrow to report such a bug.23:31
broderRcart: but i do have one thing that you should think about23:31
Rcartbroder: tell me23:32
broderwhich is this: ubuntu has patched debian's package fora while, but we are getting the package from debian, so ideally at some point in the future we could revert to just using their package without any modifications23:32
broderdoes the apport hook deliver valuable enough information that it's worth maintaining that diff indefinitely?23:32
broder(the answer may be yes)23:32
RcartYes, I guess23:33
broderok23:33
broderthat's a fine answer23:33
Rcartthe hook includes the user configuration file, so when reporting bugs against mpd we'll get that file (without passwords), but not the system configuration (/etc/mpd.conf)23:34
Rcartbug 94755123:35
ubottuLaunchpad bug 947551 in mpd (Ubuntu) "Missing apport hook" [Undecided,New] https://launchpad.net/bugs/94755123:35
broderdoes anybody else know if we take apport hooks in universe packages in general?23:36
Rcartbdmurray: should the script be included? I mean, is ready to be included?23:36
micahgbroder: sure, why not?23:37
* broder shrugs23:37
micahgideally, we wouldn't want to keep it as the only diff with Debian, but many Debian maintainers will include hooks23:38
ajmitchthe problems come when you need to build-depend on dh-apport23:40
brodersure. in practice, dh_apport and dh_apparmor do little enough that you might as well just do it by hand in many cases23:42
micahgwell, at least apparmor is in Debian, apport isnt' yet23:43
* ajmitch knows there was an RFP for it at least, didn't take it much further than that23:44
ajmitchsince for debian it'd ideally submit to the BTS23:44
micahgthe thing is Debian already has the equivalent of apport for non crash stuff in reportbug23:45
broderthat doesn't seem too hard - the bugtracker stuff in apport is pluggable23:45
ajmitchbroder: right, someone just has to do it :)23:45
ajmitchit didn't quite bug me enough for me to jump into it & maintain apport in debian23:46
micahghehe23:46
broderit's not clear how much utility there is in practice without ddebs23:46
ajmitchbroder: I'm biased, I mostly want it with python packages that can just get a traceback23:47
broderajmitch: heh, fair enough23:47
* ajmitch wonders how ddebs are coming along in debian23:48
* broder was just looking into that23:48
broderthe proposal involves modifying dak, though, so i'm guessing "poorly"23:48
ajmitch'here be dragons'23:48
brodermaking changes to dak seems to be where every interesting debian workflow change gets stuck23:48
brodersee also the binaryful-uploads-but-ignore-the-binary-and-rebuild-it proposal23:49
ajmitchyeah, something that sounds simple23:49
ajmitchit's not like ubuntu never blocks on LP changes though23:49
brodertrue. /me grumbles about backports and build-deps23:50
ajmitchlike backports build-depending on each other23:50
broderoh, eww. the proposal uses build-ids and requires their solution to a hash collision is "switch hashes"23:51
ajmitchnot pretty23:52

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