/srv/irclogs.ubuntu.com/2009/11/28/#ubuntu-devel.txt

CytotoxicUbuntu sucks00:04
pace_t_zuluhey guys... i'm looking for a developer with apple hardware :)00:04
Cytotoxicops00:05
Cytotoxic!ops00:05
ubottuHelp! Channel emergency! mneptok, Hobbsee, cjwatson, mdz, lamont, Keybuk, or thom!00:05
=== lamont` is now known as lamont
=== asac_ is now known as asac
Cytotoxic!ops00:37
ubottuHelp! Channel emergency! mneptok, Hobbsee, cjwatson, mdz, lamont, Keybuk, or thom!00:37
=== nxvl_ is now known as foobar23
dnivra_i'm trying to compile the source code of sudo package to get the debug symbols so that i can analyse how the sudo command works when executed using gdb06:25
dnivra_so i downloaded the source code of sudo using apt-get source sudo06:25
dnivra_and ran the following command06:25
dnivra_DEB_BUILD_OPTIONS="noopt nostrip debug" debuild -b -us -uc06:25
dnivra_i got 2 deb files sudo and sudo-ldap06:25
dnivra_i extract these files using dpkg -x06:26
dnivra_and got the binary of sudo06:26
dnivra_but when i load the file into gdb it says no debugging symbols found06:26
dnivra_is something wrong with the build command; i typed it as i pasted it here in the terminal06:26
hyperairdnivra_: you'd be better off getting the ddebs from ddebs.ubuntu.com06:28
dnivra_tormod asked me to compile the using the DEB_BUILD_OPTIONS rather than ddebs because the ddebs won't work with gdb06:28
hyperairthey don't?06:28
hyperairsince when do they not work with gdb06:28
dnivra_what i want to do is that as each step is executed, i want to see the source in gdb06:29
hyperairthe whole point of creating ddebs was so that you could work with gdb06:29
dnivra_that's what i inferred from what tormod said; i could be wrong06:29
dnivra_he asked me to stick with the DEB_BUILD_OPTIONS06:29
hyperairhmm weird06:29
hyperairwell it's probably because it can't find the source code or something..06:29
hyperairgdb needs the source code in order to show you the line of code that's currently running06:30
dnivra_tormod said that stepping through the source code is not possible using the ddebs06:30
dnivra_that is what i understood06:30
hyperairit's not impossible. i've done it before06:30
hyperairyou just need to extract your sources in the right place06:30
hyperairi.e. the same place it was extracted while building06:30
hyperairusually gdb should complain about some path06:30
hyperair/build/somethingorother06:30
hyperairthen just dump the sources there and gdb will be happy06:31
dnivra_well actually gdb loads everything properly but it says no debug symbols found06:31
dnivra_which means it's not possible to learn how sudo works06:31
hyperairi'm talking about ddebs.06:31
dnivra_because there are no debug symbols right?06:31
hyperairand it's not impossible to learn how sudo works06:31
dnivra_oh ok sorry06:31
hyperairif you know how to read code, then you can do that06:31
dnivra_hyperair: so you think i should try the ddebs out?06:32
hyperairdnivra_: tell you what06:32
hyperairdnivra_: since you're already building sudo...06:32
hyperairgo into debian/rule06:32
hyperairdebian/rules06:32
hyperairand delete the line that says dh_strip06:32
hyperairthen build it06:32
hyperairand use it06:32
dnivra_ok06:33
hyperairat least, i think that should work06:33
dnivra_i'll try it out06:33
dnivra_build command is this correct "DEB_BUILD_OPTIONS="noopt nostrip debug" debuild -b -us -uc"?06:34
dnivra_in order to get the debug symbols?06:34
hyperairyes06:34
hyperairi don't think noopt does anything, but nostrip and debug should do..06:35
dnivra_ok06:35
dnivra_question: what is the change that's brought about by deleting the line dh_strip?06:35
hyperairdh_strip strips debug symbols06:36
hyperairit's supposed to do nothing if nostrip's in DEB_BUILD_OPTIONS06:36
hyperairbut it's not working, or so it seems06:36
dnivra_are these warnings safe to ignore?06:37
dnivra_dpkg-deb: warning: 'debian/sudo/DEBIAN/control' contains user-defined field 'Original-Maintainer' dpkg-deb: warning: ignoring 1 warnings about the control file(s)06:37
hyperairyes06:37
dnivra_build done; now to check if the debug symbols've been included06:38
dnivra_"no debug symbols found"06:39
dnivra_"file ~/Documents/sources/sudo/test/usr/bin/sudo" is the command to load the file right?06:39
dnivra_"~/Documents/sources/sudo/test/usr/bin/sudo" is the path06:40
dnivra_in gdb that's the command isn't it?06:40
dnivra_no issues if i use ~ right?06:40
hyperairshouldn't have an issue..06:44
dnivra_hyperair: gdb says no debug symbols found; any idea why?06:51
dnivra_this is what i did: in the directory of the source i executed "DEB_BUILD_OPTIONS="noopt nostrip debug" debuild -b -us -uc" after removing line "dh_strip" from debian/rules06:53
dnivra_and then extracted the binary using dpkg -x <package_name>06:53
dnivra_and after that tried to load the sudo binary in the usr/bin extracted from the archive into gdb06:54
dnivra_when gdb said "no debug symbols" found06:54
hyperairdnivra_: er looks like the ddebs aren't helping much either ._.06:54
* hyperair has no idea06:54
dnivra_ok06:54
dnivra_also one thing i cannot extract the sudo-ldap package06:55
hyperair?06:55
dnivra_"breaks existing package 'sudo' conflict: sudo-ldap()06:56
dnivra_this is what it says when i open the package in gui06:56
hyperairdnivra_: sudo aptitude install sudo-ldap06:56
hyperairsudo-ldap are mutually exclusive06:56
dnivra_oh ok06:57
hyperairer i mean sudo and sudo-ldap06:58
dnivra_got it06:58
dnivra_neither is tormod around nor is cjwatson: they were helping me out earlier06:59
dnivra_ebroder: any suggestions?06:59
dnivra_hyperair: you've seen this right https://bugs.edge.launchpad.net/ubuntu/+source/sudo/+bug/194472?07:01
ubottuLaunchpad bug 194472 in sudo "Entering password in cmd line gives no visual feedback" [Unknown,Fix released]07:01
dnivra_fix released?07:02
dnivra_oh great i finally find something interesting to fix and it's fix released?07:03
ebroderdnivra_: It was fixed in upstream, not Ubuntu07:05
ebroderdnivra_: There was an option added in sudo 1.7.1, so you'll need to get that version into Ubuntu first07:06
dnivra_oh!07:06
ebroderSince Debian testing has 1.7.2p1-1, you want https://wiki.ubuntu.com/UbuntuDevelopment/Merging07:07
dnivra_ebroder: i know this question is dumb but what exactly does "upstream" refer to?07:09
ebroderdnivra_: The people who actually write sudo07:09
dnivra_i understood that they are the people who write most of the code but who are they07:10
dnivra_are they ubuntu or debian?07:10
ebroderNeither. sudo isn't written by Ubuntu or Debian. It's written by these guys: http://www.gratisoft.us/sudo/index.html07:10
dnivra_ok07:12
dnivra_so if the bug was fixed in upstream it should just be a matter of using the upstream package right?07:12
dnivra_which means the bug is fixed isn't it; there's nothing i need to do about it?07:13
ebroderdnivra_: I'm afraid I don't actually have the time to talk you through a merge tonight, but someone else or somebody in #ubuntu-motu might be willing to help07:13
dnivra_ebroder: alright thanks07:13
dnivra_just answer one question: is there any more fixing needed to be done about the bug or is it fixed?07:14
ebroderdnivra_: There's still lots of work to do. The version 1.7.2p1 isn't available in Ubuntu, just Debian, so you need to get it into Ubuntu. Then you need to change the configuration so that the '*'s get shown by default07:14
dnivra_ok07:15
hyperairdnivra_: no i haven't seen that bug07:21
dnivra_hyperair: ok07:22
hyperairhmmm visual feedback?07:22
hyperairi thought it was a security feature to not have visual feedback07:22
dnivra_well i agree; but you know when new users come to use ubuntu, they keep saying "my keyboard stopped working"07:23
hyperairlol07:23
dnivra_and world over most guides/blogs always use sudo over gksudo07:23
hyperairthat's because it's so much easier to give copy-pastable instructions =p07:23
hyperairthat said i'm not sure i like the idea of visual feedback in sudo by default07:25
ebroderhyperair: Really? ~everything else ever gives visual feedback. Not giving feedback is no longer normal07:26
hyperairbut sudo's in a terminal07:26
hyperairyou don't see cryptsetup giving visual feedback in a terminal either07:26
ebroderI don't think users have that mental distinction07:26
dnivra_when most problems come layman users end up in these guides that use sudo07:26
hyperairwell, in the first place, normal users shouldn't really be diving into the terminal until they know better than to assume that the keyboard's fallen dead07:27
dnivra_because the best part of linux is that support for most problems is available online 24x7 in some blog or something07:27
dnivra_but well everything can be done in the terminal07:27
dnivra_like with me: DSL doesn't work with networkmanager. i use pppoeconf to connect to terminal07:28
dnivra_sorry yconnect to internet07:28
hyperairthat's networkmanager's problem..07:28
dnivra_solved by a simple command in the terminal :)07:28
hyperairi think visual feedback in UI is fine, it's meant to be user friendly and all anyway but userfriendliness in a terminal takes a lower priority imo07:29
hyperairfunctionality and practicality blah blah first07:29
hyperaircome to think of it, have you seen any terminal application at all that provides visual feedback for passwords?07:30
hyperairno, right?07:30
hyperairso why should sudo be any different?07:30
dnivra_well perhaps a feature could be implemented such that the '*' are displayed only for those who want?07:30
hyperairperhaps07:30
hyperairbut not by default please07:30
dnivra_because sudo is most used among all such password askers07:30
hyperairso is login(1)07:31
hyperairand ssh07:31
hyperairand everything else that uses a password07:31
hyperairi suppose sudo would take the #1 rank, yes07:31
hyperairthen what about su?07:31
dnivra_exactly sudo is #107:32
dnivra_who uses su?07:32
dnivra_i don't i use sudo su :)07:32
hyperairi use sudo -s07:32
ebroderhyperair: I'm pretty sure I think /all/ of those apps should give visual feedback, but I really need to finish this homework assignment that was due Wednesday, so I can't really spend time arguing the point07:32
hyperairebroder: i'm pretty sure i think otherwise, but i've got an exam on monday and tuesday and can't really spend time arguing the point beyond what i've already spent07:33
hyperairwell then, see you07:33
dnivra_are you guys in college?07:33
ebroderWell I'm glad we're in agreement on that much, at least :)07:33
hyperair;-)07:33
hyperairdnivra_: i'm a second year computer engineering student.07:33
hyperairdnivra_: and i'm about to go mad drawing circuits.07:33
dnivra_cool. so am i07:33
dnivra_electronics?07:34
ebroderdnivra_: I'm a fourth year comp sci major07:34
hyperairaye, that's my last core paper for this semester.07:34
dnivra_lucky you: i still have electronics for 2 more semesters07:34
hyperairye gods, drawing circuits with bare hand is blasphemy.07:34
dnivra_ha ha ha; i totally agree07:34
hyperairdnivra_: i said last core paper for this semester. i didn't say i don't have electronics next semester.07:34
dnivra_ok sorry misread that07:35
* hyperair mumbles something about taking 8 hours to finish a paper that needs to be finished in 2.07:35
dnivra_hyperair: same here07:35
hyperairo yay i'm not alone07:35
dnivra_i sleep off sometimes :)07:36
hyperairi don't >_>07:36
hyperairi just have great issues drawing07:36
hyperairwhen i was in secondary school my art teacher chased me around the classroom with a roll of paper raised07:36
dnivra_i don't do drawings someone else does it sometimes07:36
dnivra_i had art only till 5th grade: mom did all the drawings for me :)07:36
hyperairfun07:37
hyperairi had art exams07:37
dnivra_:o07:37
dnivra_:-O07:37
hyperairi can sketch to a certain extent07:37
macooi dont remind me about school!07:37
dnivra_exams in art?07:37
hyperaironce the paint appears, good god07:37
hyperairit was unrecognizable07:37
hyperairart teacher: WHAT iS THIS?!07:37
hyperairme: abstract art07:37
dnivra_ha ha ha!07:37
* hyperair runs like hell07:37
dnivra_ha ha ha!07:37
dnivra_abstract art(rolling down in laughter!!)07:38
hyperairmaco: why not? school's fun isn't it07:38
hyperairmaco: i wouldn't mind going back to school if it meant i didn't have to draw more schematics bare handed07:38
ebroderhyperair: Ugh. Ask me again when I'm not buried chest-deep in homework. Oh wait...that never happens07:38
hyperairxD07:39
dnivra_geometry was the worst: i used to know the answer but lost marks because i couldn't draw a neat diagram!07:39
hyperairheheheh i avoided anything that required drawing like plague07:39
dnivra_:)07:39
dnivra_bio was the worst; specially the practicals in botany07:41
hyperairheh i don't like plants.07:57
hyperairedible ones are fine though07:57
dnivra_:)07:58
dnivra_i'm just glad i didn't have zoology07:58
* dnivra_ hate drawing and zoology is all that07:59
dnivra_i still rememeber 11th and 12th grades: all that drawing the physical apparatus in physics and chemistry. used to hate it08:00
* dnivra_ often wondered isn't it enough if we know how to do the experiment08:00
* hyperair lols08:02
dnivra_i still remember nearly flunking the final practicals in 12th grade for not answering some question about some prism's ratio or something08:05
dnivra_well gotta run hyperair lunch time; so should you.08:07
hyperairmy lunch time was 4 hours ago >_>08:09
scramjetwho made the choice of pulseaudio10:08
Arcwe should string them up and hang 'em10:10
LucidFoxNot this again...10:10
* LucidFox sighs.10:10
Arc:-)10:10
Tm_Tscramjet: why asking?10:10
scramjetbecause it sucks10:10
LucidFoxIronically, I was just going to post a link to a Wine bug about PulseAudio support.10:10
Tm_Tscramjet: how so?10:10
LucidFoxTm_T> Looks like a troll to me.10:11
scramjetactually im being trolled by canonical10:11
scramjeti dont prefer pule10:11
scramjetpulse.10:11
Tm_Tscramjet: but unfortunately defaults are not about your prefer10:11
Tm_Tor mine10:12
scramjetpulse drains my cpu10:12
Tm_Tactually, that's not so unfortunate10:12
Tm_Tscramjet: then file a bug if there's no one already10:12
scramjettm_t, with the pulse devs10:13
hyperairwhat kind of cpu do you have that pulse can drain it?10:13
Tm_Tscramjet: if it doesn't work in your system doesn't mean it doesn't work everywhere10:13
Arcactually its not just canonical, ubuntu has a few pulseaudio devs as well10:14
scramjetwhat are we going to call the next ubuntu10:14
Arccan anyone advise re: software channels and karmic-backports10:14
Arcscramjet: lucid lynx10:14
scramjetand after that arc+10:15
scramjet?10:15
Arcit hasnt been announced yet10:15
Tm_Tscramjet: may I also point you to read our topic?10:15
scramjeti been thinking10:15
scramjetwe can name it mighty mamba10:15
Arcnaming is something mark shuttleworth does himself, its not a community topic10:15
* hyperair coughs10:15
Tm_Tscramjet: https://wiki.ubuntu.com/DevelopmentCodeNames10:17
scramjethttp://www.ubuntugeek.com/how-to-remove-pulse-audio-ubuntu-810-intrepid-ibex.html10:17
scramjetgotta go10:17
scramjetbut enjoy that fine guide10:17
Tm_Tscramjet: I don't think we need it but thanks10:17
Archey guys?10:20
Arci'd like some feedback if i should file a bug against apturl or app data to add karmic-backports as a channel10:20
Arcit would seem logical to provide -proposed -backports etc as channels so apturl can enable them directly when needed10:23
Arcis this a developers channel?10:28
Arcis there a better place to ask this question?10:30
Tm_TArc: yes this is devel channel10:31
Tm_TArc: patience (:10:31
Arcits frustrating when i asked about this hours ago with no response, but someone asking about pulseaudio got a half dozen people jumping on it10:35
Tm_TArc: sorry but I cannot help with that10:35
tsimpson!weekend10:39
ubottuIt's a weekend.  Often on weekends, the paid developers, and a lot of the community, may not be around to answer your question.  Please be patient, wait longer than you normally would, or try again during the working week.10:39
tsimpson:)10:39
Arccan anyone at least tell me the who handles this sort of issue10:42
Arcthe problem is that at present, upstream projects cannot use apturl (apt:) to allow users to install a new version of their software, since feature freeze prevents new versions of packages which are not purely bugfix releases from being added to a distro10:43
Arcwe're releasing in a few weeks, and ive been told this will have to be for lucid and then backported to karmic-backports.  we would like to offer Ubuntu users a direct link to install the new version without having to write a long verbose page walking them through the process of opening software sources and enabling backports10:44
Arcit should not be more difficult to install on ubuntu than gentoo10:44
Laneyit's not designed like that10:46
Laneyjust tell your users how to use software sources to enable the backports10:47
Arcwe're not going to write a full page just for ubuntu users.  it would be easier to offer the .deb directly10:47
Arcif karmic-backports were added as a software channel, apturl would support enabling it for a package10:48
Laneyevidently I don't know what a software channel is then10:49
Arcie adding /usr/share/app-install/channels/karmic-backports.list as is currently done for partners10:49
Arctake a look at /usr/share/app-install/channels/karmic-partner.list10:49
Arcapturl supports (as you can see in the source code) enabling software channels, as defined by being listed in /usr/share/app-install/channels10:50
Arcapt:foo?channel=karmic-backports would work then10:51
ArcLaney: whats funny is that everyone ive talked to about this has not known about channels, is this a new system recently put in place?10:52
Laneyi suspect most developers don't use apturl too much10:52
Arcah10:52
joaopintoArc, afaik software "channells" are a partially implemented feature in general10:53
sebnerheya Laney :)10:54
joaopintoArc, you can offer a .deb which adds the .list file10:54
Laneyhi sebner10:54
Laneyjoaopinto: sounds like a bad idea10:55
joaopintoLaney, why is that ?10:55
Arcjoaopinto: in which case we'd just add a PPA to /etc/apt/sources.list directly so once they download the .deb they can continue to get updates10:55
Laneythat would affect the whole system10:55
Arci would like to do this cleanly, and in a way that could help others too10:55
joaopintoah, channels set pinning for specific packages ?10:55
joaopintois that working :) ?10:56
Laneydiscuss this with mvo10:56
Arcit would also seem like a good idea to offer karmic-proposed through a channel so bugs/etc can link to installing an updated package for testing10:56
Laneybut really if he doesn't want it then just link to a page that explains how to enable backports, it's not that hard10:56
Arci sent mvo an email, no response yet10:56
Laneyyou should report a bug10:57
Arcam i reporting a bug against apturl or appdata though?10:57
Arcthat's my question10:57
ArcLaney: we will package through the method which is easiest for our users, regardless to the recommended means by Ubuntu.  sending our users through an instruction page is not the easiest way.10:58
Arcif that's sending them a .py that bootstraps everything, so be it10:58
Laneypeople often try to force distro developers to do things by threatening them, and it rarely works11:00
Arcdo you consider that a threat?11:00
Laneysounds like it11:00
Tm_TLaney: when it works, let me know11:00
Arcwhy would you be threatened by that?11:01
Laneyyou are threatening to throw your toys out of the pram if you don't get your own way11:01
Arc?11:02
Arcwow defensive much?11:02
Arcapturl is Python based, Ubuntu offers a number of python packages as standard which interact with apt (unfortunetly Py2-based, but I'm sure they'll be upgraded), since we're a python-backed package it would seem completely logical for us to offer a python script to do the install; adding the PPA, key, and installing packages from it11:03
joaopintoArc, have you find any specification about "software channels" and how they are expected to work ?11:04
ArcI would rather use apturl, it's less work for us, but it would be easier for us to write a .py Ubuntu installer than write instructions for enabling backports and handling users who cant follow those directions11:04
Arcjoaopinto: no.  i only just learned about them reading the source to apturl, channels= isnt even documented on the apturl wiki11:05
joaopinto-proposed and  -backports are already available as repositories, that's the standard distribution source11:05
Arcjoaopinto: well then would it be more appropriate to file a bug against apturl to add repository= ?11:05
joaopintoArc, I don't see how software channels are expected to work, since there is no such entity at the APT level11:06
Laneythey are just deb lines that are specific to apturl11:06
joaopintosoftwar channels = apt repositories ?11:06
Arcit would seem so11:06
joaopintooh,  that's and old discussion, to support or not the ability to add repositories from apt url links11:07
Arcadding arbitrary repositories would seem to be a different topic than being able to add standard ubuntu repositories11:07
joaopintoArc, right11:08
Arcwhich is why i think calling it a channel is a good idea11:08
joaopintoArc, you should file a bug for apturl11:08
smwnI think if you put 1 negitive below morton xorg.. squared with the ex negitive from the orginal file that should fix it, any thoughts?11:11
joaopintoArc, on the wiki it's described as a "section", not as software channel11:12
joaopintoat least the wiki page I am reading :)11:12
Arcno section is as in main universe etc11:14
Arcif someone for whatever reason didnt have universe already enabled, this would do it11:14
Arcor multiverse11:14
joaopintoArc, https://wiki.ubuntu.com/AptUrl <- the only repository related operated I see there is the ability to add sections, you can consider -backports and -updates as a section11:16
joaopintoops, repository related operation11:17
Arcjoaopinto: if you do that, you end up with a line like:11:17
Arcdeb http://us.archive.ubuntu.com/ubuntu/ karmic universe karmic-backports11:18
Arcnot deb http://us.archive.ubuntu.com/ubuntu/ karmic-backports universe11:18
joaopintoArc, ok understood, backports and updates have their own release name11:18
Arcunless i'm not understanding something11:18
joaopintoArc, where are you reading about apturl and software channels ?11:19
Arcin the source code for apturl11:20
Arci was in the process of learning how apturl worked so we could write a .py installer for our next release when i noticed it11:20
joaopintothet is not a good source for an expected feature :)11:20
Arcwell it is a feature.11:21
joaopintoright, a new feature request :)11:21
Arcwait, if this is considered a new feature, then it's arbitrarily blocked from being added as to karmic11:22
Arcso this is only an option for lucid post-release, backported from lucid+111:23
joaopintoArc, I guess you will not get a simple answer, but the first step is always a bug report with the request and rational11:23
Arci did11:23
joaopintoit does not help the fact that it depends on a non standard definion, "software channel"11:24
Arcwell whatever, if it goes through it goes through, i've got too much to worry about to push on this11:24
Arcadding a small file or two would seem a better solution than the other possible solutions11:25
joaopintoArc, unless it get's implemented your best option is to provide a .deb which adds the .list, I am doing that for some projects with sucesfull results11:25
Arcno we would provide a .py which uses the apt packages for python to add a PPA to sources.list11:26
Arcand then does the package install11:26
joaopintoand be advised that there the aptrutl does not work out of the box on non Gnome Ubuntu install, eg firefox on Kubuntu11:27
joaopintoArc, and downloading a .py and executing it is user friendly :) ?11:27
Arcyes, because our users are python developers11:27
joaopintoah ok :)11:27
joaopintoArc, you could try add-apt-repository11:28
Arcit's unfortunate that the ubuntu python packages are not available for python3 or we'd be able to incorporate them into our pypi system directly when the install target is ubuntu11:28
Arcor we could try import apt, apt_pkg, aptsources.distro11:29
Arcit's really not an issue to do all this via .py, just more work for us to maintain in a version of python we dont normally work in11:33
Arcthat is likely the best for our users since it skips MOTU lag in our release cycle, though that's a lower concern since there's a MOTU packager 3 blocks from me who I can just grab a coffee with and get stuff done on time11:36
Arcthe day of our release it needs to work, or else users are going to try source installs which aren't in the ubuntu package system at all and will not be upgraded properly later11:37
=== tkamppeter_ is now known as tkamppeter
cjwatsonArc: I realise you've already sent mvo an e-mail, but he is the best person to help with this; try grabbing him on IRC during European working hours12:06
scramjetubuntu mighty mouse12:06
scramjetyeah12:06
=== thekorn_ is now known as thekorn
dnivra_i'm trying to compile the source code of sudo package to compile it and get the debug symbols so that i can analyse how the sudo command works when executed, using gdb12:11
dnivra_so i downloaded the source and built it using DEB_BUILD_OPTIONS="noopt nostrip debug" debuild -b -us -uc12:12
dnivra_i got 2 deb files sudo and sudo-ldap and extracted the contents12:12
dnivra_but when i loaded the binary file of sudo into gdb, gdb said no debugging symbols found12:12
dnivra_also i deleted the line dh_strip in debian/rules on the advice of hyperair but with no luck12:13
cjwatsonhyperair was mistaken12:13
* cjwatson tries12:13
dnivra_hyperair also tried to do the same using ddebs but with not much luck12:13
cjwatsonusing ddebs is a ridiculously long way around. don't bother.12:14
dnivra_ok12:14
hyperaircjwatson: why so?12:14
cjwatsonhyperair: DEB_BUILD_OPTIONS=nostrip already causes dh_strip to do nothing.12:14
hyperaircjwatson: but either way after using the ddebs gdb still says no debug symbols12:14
hyperaircjwatson: well, if nostrip's not working, that means something in sudo's build system itself strips it already12:15
dnivra_cjwatson: in fact hyperair told me this12:15
dnivra_that nostrip nullifies effect of dh_strip12:15
cjwatsonhyperair: indeed. so removing dh_strip is pointless either way.12:15
dnivra_so what is exactly wrong cjwatson?12:16
* hyperair mutters something about not knowing what else to do and clutching at random straws pointlessly12:16
cjwatsonso, I mean, using debuild is handy and all to wrap up all the build steps12:16
cjwatsonbut why are you bothering to extract the debs to get the binary?12:16
cjwatsonwhy not just use the binary in the build tree?12:16
cjwatson<cjwatson@sarantium ~/sudo-1.7.0>$ file build-simple/sudo12:16
cjwatsonbuild-simple/sudo: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped12:16
cjwatsonand 'gdb build-simple/sudo' works12:17
dnivra_is debuild the command that tormod said yesterday correct, that i just typed in here correct?12:17
cjwatsonyes12:17
cjwatsonyou just don't need to bother extracting the debs to get something to debug12:17
dnivra_then?12:17
cjwatsonyou can just use the binaries that are right there in your build tree12:17
cjwatsonwhat I said above12:17
dnivra_i have a question what exactly is "build tree"?12:18
hyperairthe extracted tarball contents12:18
cjwatsonthe directory you run debuild in12:18
dnivra_ok12:18
cjwatson'gdb build-simple/sudo', and if you need to edit the source and rebuild, you can use 'make -C build-simple' (that last bit is specific to how sudo is packaged)12:19
cjwatsonhyperair: sudo's install-binaries target uses install -s, FWIW12:20
cjwatsonI think this is a minor bug in sudo because it means that nostrip doesn't work right12:20
hyperaircjwatson: no wonder. fail >_>12:20
cjwatsonbut it's not a problem for simple debugging like that12:20
cjwatsons/that/this/12:20
hyperairit renders the ddebs useless at least12:21
cjwatsonprobably, yes12:21
cjwatsonor at least only useful for some bits of the package12:21
dnivra_what does the command "file build-simple/sudo" do?12:28
dnivra_is it just creating the binaries with the debug symbols?12:28
cjwatsonman file12:29
cjwatson(we normally expect people in this channel to read documentation, so please do :-) )12:30
dnivra_well i googled it unsure of the command and google just returned gibberish so thought it wasn't a command.12:30
cjwatsonfor command names, 'man' is likely to be more effective than google, especially when the command name is an English word.12:31
dnivra_:)12:31
cjwatsonanyway the only interesting bit was the "not stripped" at the end of the output, which I was using to demonstrate that that binary has not had its debugging symbols stripped.12:31
Arccjwatson: what is his irc nick?12:32
cjwatsonArc: mvo12:32
Archmm12:32
Archow about xmpp?12:32
Arcah i got him nm12:33
cjwatsonno idea, but courtesy would suggest waiting until he's at work before hassling him, I think12:33
Arcyea its just easier to see when someone's online via xmpp12:33
dnivra_in continuation, i tried to run the file using gdb build-simple/sudo13:32
dnivra_when i do i get "sudo: must be setuid root" and program exited with code 0113:32
dnivra_what is wrong?13:32
azeem_dnivra_: what are you trying to do?13:34
dnivra_well i compiled the source package of sudo using DEB_BUILD_OPTIONS="noopt nostrip debug" debuild -b -us -uc13:35
dnivra_and then i loaded the sudo binary in the build-simple folder into gdb13:35
azeem_that doesn't answer my question13:35
dnivra_it found debug symbols13:36
azeem_let's rephrase: Why do you want to debug sudo?13:36
dnivra_oh i want to learn how it works using gdb13:36
azeem_how is this related to ubuntu development?13:36
azeem_I suggest you just look at the code13:36
dnivra_gdb let's me step through each step of binary and also let me see the corresponding code13:36
azeem_as you noticed, sudo needs to be suid13:36
dnivra_well it's to fix a bug azeem_ https://bugs.edge.launchpad.net/ubuntu/+source/sudo/+bug/19447213:37
ubottuLaunchpad bug 194472 in sudo "Entering password in cmd line gives no visual feedback" [Unknown,Fix released]13:37
dnivra_i did not understand what that means13:37
dnivra_does it mean i need to run sudo as root?13:39
* dnivra_ is a bit confused13:39
=== mbiebl_ is now known as mbiebl
diwicdnivra_: hmm...if you do "ls /usr/bin/sudo -al" you'll notice that it is in a different color13:48
decoraE: Build-dependencies for gnome-utils could not be satisfied.  <---- any help?14:26
Laneyanyone know about LP debian imports? lp:debian/sid/gnome-chemistry-utils says 0.10.9-1 is "pending"... how can I get at it?14:52
geserLaney: they stay in pending as LP never publishes them15:00
Laneysure15:00
Laneywhy can't I branch from it then?15:00
geserah15:01
cjwatsonLaney: 'bzr get lp:debian/sid/gnome-chemistry-utils' seems to work15:22
cjwatsonLaney: see also https://code.launchpad.net/debian/+source/gnome-chemistry-utils15:22
Laneycjwatson: you get 0.10.9?15:24
ebroder...what is the objection to the v1.0.1 of the code of conduct? It's all typo fixes over 1.015:24
directhexebroder, does 1.0.1 still say sabdfl is perfect?15:26
Tm_Tdirecthex: read it15:27
ebroderdirecthex: Ah, yes. I thought the suggestion was that 1.0.1 introduced something more objectionable than 1.015:27
geserlool: are you around? I was looking at syncing/merging van.pydeb and have a question about the existing Ubuntu delta16:08
loolgeser: Hmm sure16:41
loolgeser: Lots of conflicts   :-/16:43
loolOdd merging lp:ubuntu/lucid/van.pydeb and lp:debian/squeeze/van.pydeb, bzr tells me they have no common ancestor, but merge-package is able to do some kind of merge16:44
loolAh better with sid16:44
geserlool: the current changes to van.pydeb seem to originate from your comment on bug 42574016:47
ubottuLaunchpad bug 425740 in zope.interface "[MIR] Main Inclusion for zope.interface" [Undecided,Fix released] https://launchpad.net/bugs/42574016:47
loolCorrect16:47
geserbut when I look at the build log off zope.interface (http://launchpadlibrarian.net/31777643/buildlog_ubuntu-karmic-i386.zope.interface_3.5.2-1_FULLYBUILT.txt.gz) I can only see "unknown substitution variable ${python:Versions}" which are caused by the building of the -dbgsym package16:49
loolgeser: Why would the -dbgsym have a ${python:Version}?16:50
geserlool: because debian/control has XB-Python-Versions and this line isn't filtered out when building the DEBIAN/control file for the -dbgsym package16:51
loolgeser: Makes sense; I guess this wasn't fixing the issue then16:53
geserNo. can van.pydeb be synced in that case?16:57
geserand what about pkg_create_dbgsym? ignore that warning? patch it to strip this line?16:58
loolDepends whether the fix was correct or not16:58
loolI have no strong feeling on pkg_create_dbgsym; on one side I think it'd be best to not throw warnings at developers, on the other side I prefer not special casing too much; I guess we could skip this particular field indeed16:59
loolIt probably skips a bunch of other fields already16:59
geserthe patch to van.pydeb didn't change anything as we don't have/build a substvars file for the -dbgsym package anyways17:00
loolI mean it seemed to me DH_OPTIONS wasn't being exported correctly17:01
lakchi17:01
loolgeser: I confirmed that DH_OPTIONS is properly exported, so the change can indeed be dropped; please request a sync17:02
loolgeser: Fixed in pkg-create-dbgsym/ubuntu r14817:07
geserlool: bug #489631 if you want to ack the sync17:09
ubottuLaunchpad bug 489631 in van.pydeb "Sync van.pydeb 1.3.0-2 (main) from Debian testing (main)" [Wishlist,New] https://launchpad.net/bugs/48963117:09
looldone17:10
geserthanks17:12
loolThanks for looking into this17:14
=== azeem_ is now known as azeem
=== mrec_ is now known as mrec

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