/srv/irclogs.ubuntu.com/2011/05/24/#ubuntu-motu.txt

highvoltagegood evening!00:04
JackyAlcineSo I have a package I'm trying to build; and it's on a Bazaar branch.03:29
paultagJackyAlcine: so build it :)03:29
JackyAlcineMy partner told me to use bzr-builddeb to build the package, but it keeps failing at dh_builddeb03:30
paultagJackyAlcine: pristine-tar to recover the orig tarball, and it should be happy03:30
paultagJackyAlcine: what's the error03:30
JackyAlcinesomething about signing.03:30
paultagJackyAlcine: pastebin, plox :)03:30
paultagJackyAlcine: you might have to use -k03:31
JackyAlcinehttp://pastebin.com/THzmhF6G03:31
paultagif the name on your key is not byte-for-byte identical with the changelog name03:31
paultagJackyAlcine: yeah, use that -k flag, or dch touch the changelog03:31
paultagJackyAlcine: dch touching would be much cleaner. downgrade it if you have to :)03:32
paultag(0.01-1~bzr1~jacky1) or something03:32
paultagif it actually matters, which I doubt :)03:32
paultagnot saying your package does not matter, just saying it's not going to fail out people's boxes without them knowing03:33
JackyAlcineAlrighty.03:34
paultagJackyAlcine: hope you're well :)03:34
JackyAlcineI've been pulling my short hairs on my head trying to avoid BNF-style NLP for weeks now. lol03:35
paultagJackyAlcine: I told you, just use something written already03:36
paultag:)03:36
JackyAlcineI kinda am, I'm using LinkGrammar from the OpenCog proect/Abiword; but I'm trying to build my own just for experience purposes.03:36
JackyAlcineI figured that it'd save me time when I'd go for a PhD in Linguistics, if I ever plan on it. lol03:38
paultagJackyAlcine: you're still in high school, aye?03:39
JackyAlcineYup, leaving in June (finally) lol03:39
paultagJackyAlcine: talk to me when you graduate college, then tell me it's a good idea :)03:39
JackyAlcineLol alrighty then03:39
JackyAlcineYeah, this is getting silly; I really can't build this package.04:24
JackyAlcineEven if I've 'dch --team' .04:24
JackyAlcinehttp://pastebin.com/VDBpCMrr if anyone's interested.04:27
ajmitchso it built, but wasn't signed04:28
JackyAlcineO.o04:29
ajmitchdo you have a gpg key with that name & email address?04:29
JackyAlcineI do, but I changed my name to include the acute mark over the e, that'd mess things up wouldn't it?04:30
ajmitchit would04:30
ajmitchyou could use the suggestion from earlier - using the -k option to pass in the key id, rather than matching on name04:30
ajmitchsomething like 'bzr-buildpackage -- -kKEYID'04:31
* JackyAlcine shoots hands to the sky!04:35
JackyAlcineThere is a God (and he's not Stallman!)04:36
ajmitchit's working then?04:36
JackyAlcineyup :D04:39
JackyAlcineFreaking love you guys, lol :D04:40
ajmitchgreat04:40
JackyAlcineGoing to start from scratch to test it out and write this down so I'd remember.04:41
JackyAlcineIt's that "-- -kKEYID" thing I need; how come that worked, but a typical "-" didnt?04:41
ajmitchbecause it's being passed as an option through to debuild rather than being an option to bzr-buildpackage itself04:42
* JackyAlcine makes a note. 04:42
JackyAlcineOh, I think I can see that in the output as well.04:42
micahgJackyAlcine: the stuff after -- is passed to debuild04:42
JackyAlcineThanks again ajmitch and paultag04:42
ajmitchno problem04:43
ScottKdebuild or dpkg-buildpackage?04:53
* ScottK would have guessed the latter.04:53
ajmitchdebuild, I think04:53
ajmitchfrom what I recall, it's what calls debsign04:54
ScottKdpkg-buildpackage does that as well.04:54
ScottKWhat dpkg-buildpackage doesn't do is call lintian if installed.04:54
JackyAlcineScottK, it does in my instance.04:56
ajmitchright, it looks like the 'Now signing changes and any dsc files" is from debuild, before it calls debsign. it doesn't really matter in the end which one is getting called04:56
ScottK No.  It doesn't matter.04:58
ScottKJust a point of curiosity.04:58
ajmitchjust another bit of duplication04:58
dholbachgood morning08:00
nigelbtumbleweed: Ahoy!08:06
nigelbtumbleweed: want to start setting up challenges and appropriate classroom sessions? :)08:12
nigelbtumbleweed: Better than we start early in the cycle than later08:12
=== yofel_ is now known as yofel
RhondaHmm, I think I should get an approval for a SRU for the tworld 64 bit arch patch …10:53
=== akher0n is now known as akheron
=== Quintasan_ is now known as Quintasan
=== jtechidna is now known as JontheEchidna
=== moonflux_ is now known as moonflux
=== mdomsch__ is now known as mdomsch
nigelbOk, I'm looking for suggestions to set up a classroom session and an associated challenges, maybe have a buglist of things that need fixing.  Does anyone have a suggestion or want to join me in setting it up?16:27
gesernigelb: what's the target group? and how many experience do they have?16:56
nigelbgeser: The target group is attracting new developers. So the experience would be low to none.16:56
geserhmm16:57
gesertry looking at some FTBFS16:57
geserthat early in the development cycle, there are still several easy ones16:57
nigelbThe plan is to have a classroom session and list a few bugs so that people can tackle of that type and offer a few folks to ask for help16:58
Laneythis challenge thing has very much changed from what I thought the original idea was16:59
gesernigelb: of course someone would have to look at the FTBFS and list the easy one suitable for your class17:01
nigelbLaney: wait, what was the original idea? I might have misunderstood.17:01
nigelbgeser: Yeah, and I'll need to find a few people readily available to help in the channel.17:02
geserwhen is that session?17:02
Laneymy idea was that developers post up lists of 'challenges' or tasks that they have going on (e.g. a haskell transition) and then people can come along and work with that person to get it done17:02
nigelbLaney: That's there too :)17:03
Laneyone of the main points was the individual connection that develops17:03
nigelbgeser: Its open, there are no dates committed.  I can't do this alone.  I'm just helping do the logistics bit of it.  I'm trying to find folks to help with the packaging bit.17:03
nigelbLaney: What I'm trying to do was to get the classroom session to promote specific tasks.  Like, I'd really like you to talk about the Haskell transition and if you have the time help people through fixing the packages17:04
LaneyI think it might be too transient17:05
nigelbLaney: transient?17:19
Laneyyou have to be at the session otherwise you miss the boat17:19
Laneyand symetrically the teacher has to figure out how to format their challenge as a lesson17:19
LaneyI don't know if it meshes17:20
nigelbLaney: I understand, I'm trying to figure out how to reformat so we can have a better experience for a new contributor.17:20
nigelbI'm open to doing something else.17:20
LaneyIf you want to do 'bitesize' 'ftbfs' 'rcbugs' -style ones then it might be best to write a short introduction on some website (what you'd do in the classroom session) and then have this channel as a place to come for help17:22
Laney'for the next two weeks we will try to get this list of 50 bugs down to 0'17:22
Technovikingany idea why my debuild -S -sa is faling http://paste.ubuntu.com/612344/17:22
nigelbLaney: okay, I'm game for that. So now, I just need to find folks to help write that initial article and post it on the planet17:23
Laney:-)17:23
LaneyTechnoviking: you need to run update-maintainer17:23
Laneybut... what are you changing in smuxi?17:24
Technovikingupdated a file to fix a problem using twitter17:24
Technovikinghttps://bugs.launchpad.net/ubuntu/+source/smuxi/+bug/78764517:25
ubottuUbuntu bug 787645 in smuxi (Ubuntu) "Error connecting to Twitter in smuxi" [Undecided,New]17:25
Technovikingfound a fix upstream17:25
LaneyI happen to be part of the maintainer team for that package in Debian (and so is the upstream maintainer), so if you plan on asking for this fix to be included then it's best to talk to us first :-)17:28
TechnovikingLaney: what should I do?17:29
Laneyspeak to meebey in #smuxi17:30
nigelbLaney: Clearly, its been a while since I worked on packaging.  I can't even find the docs for FTBFS17:37
nigelb:(17:37
LaneyI don't know if there is a single reference for that17:37
LaneyFTBFS is so incredibly broad17:38
cjwatsonI don't see how you could possibly write a single reference for it17:39
cjwatsonFTBFS is to build systems as bugs are to programs17:39
cjwatsonadmittedly, there are patterns, but they vary over time17:40
nigelbOh, right. I generally pop in on IRC and ask for help. Now I remember.17:43
Laneycjwatson: I think the idea was to pre-select bugs that should be relatively easy to fix17:43
Laneyso you could write some documentation to target those17:43
nigelbLaney: What are the difficulty levels for the haskell transition for a newcomer?17:45
Laneythe one that's on now is probably not suitable17:46
Laneyin general though they are pretty easy17:46
Laneyno-change rebuilds17:46
cjwatsonI'd be concerned that you don't learn anything much from no-change rebuilds17:46
Laneythat is true17:47
Laneywell, beyond the first few I suppose17:47
Laneyget dev environment set up, figure out which ones do do, build, check deps are correct, upload17:47
Laneyit's admittely not very difficult or engaging17:48
cjwatsonyeah, but you'd learn all of that and more from something that's actually a challenge17:48
* cjwatson <- not a big fan of giving people purely mechanical tasks - better if they're interesting17:49
nigelbI'm just going to plunge in and pick a failure and see if I can fix it.17:49
nigelbs/it/something.17:50
nigelbok, so I picked https://launchpadlibrarian.net/71420729/buildlog_ubuntu-oneiric-i386.telepathy-python_0.15.19-2.1_FAILEDTOBUILD.txt.gz because I'm fairly familiar with python.17:57
gesernigelb: you might want to look at https://launchpadlibrarian.net/70903387/buildlog_ubuntu-oneiric-i386.redis_2%3A2.2.5-1_FAILEDTOBUILD.txt.gz17:57
gesernigelb: that one should be fixed, it was a bug in cdbs17:57
nigelbgeser: The one I pasted earlier?17:58
gesernigelb: the telepathy-python one17:58
nigelbah :)17:58
nigelbok, looking at redis17:58
gesernigelb: if you want you can ask for a give-back of telepathy-python in #ubuntu-devel (it builds in my oneiric pbuilder)18:00
nigelbgeser: yeah, I was about to ask if  can do that :)18:00
cjwatson can do it18:00
cjwatson*I can18:00
nigelb:)18:00
nigelbgeser: Is what I'm meant to fix the 'undefined reference to log' ?18:06
Technovikingwhere is a good howto for quilt?18:06
gesernigelb: that's the error (I can also give you a hint: the change to "ld --as-needed" caused it; if you need more help let me know)18:08
nigelbgeser: okay :)18:08
cjwatsonalso 'man log'18:08
cjwatsonand I think it's only fair to point to http://wiki.debian.org/ToolChain/DSOLinking, since that went out in a -devel-announce mail IIRC18:09
micahgthere was also https://wiki.ubuntu.com/NattyNarwhal/ToolchainTransition18:10
nigelbah, the linking isn't right.18:10
cjwatsonurgh, one of the examples in https://wiki.ubuntu.com/NattyNarwhal/ToolchainTransition is explicitly backwards18:11
nigelbok, I believe I need to look into the make file18:11
iulianTechnoviking: http://pkg-perl.alioth.debian.org/howto/quilt.html18:11
Technovikingiulian: thanks18:12
micahgcjwatson: sorry, I won't recommend it anymore18:12
cjwatsonno, it's fine to recommend it, I'll fix it18:12
* micahg has been meaning to review that page for a while18:13
cjwatsonhttps://wiki.ubuntu.com/NattyNarwhal/ToolchainTransition?action=diff&rev2=17&rev1=1618:14
cjwatsonshould be better now18:15
micahgcjwatson: I thought that you have to specify a library before you use it18:16
gesercjwatson: should your 2nd change in that diff really be a question? (ending in '?')18:18
micahgah, I see, the first example shows adding the missing library, the second the proper ordering18:19
gesermicahg: there were two ld changes during natty development: one was "ld --add-needed" (missing libraries) and the second one was "ld --as-needed" (proper ordering)18:21
micahggeser: right, I thought the example was for the second when it was for the first18:22
cjwatsongeser: it was a mistake, the next diff fixes it18:26
cjwatsonmicahg: precisely the opposite.  You *must* specify a library *after* any other objects/libraries that use it.18:26
cjwatsonThe examples are confusingly ordered; I didn't have time to fix that18:27
micahgcjwatson: so library resolution is right to left?18:27
cjwatsonI think of it differently such that it is left to right18:28
cjwatsonimagine the linker walking from left to right along the link lilne18:28
cjwatson*line18:28
cjwatsonat each step, it uses the object/library to resolve any previously unresolved symbols, and gathers a list of symbols that are still unresolved18:28
cjwatsonif a library doesn't resolve any symbols, it discards it18:29
cjwatson(this is option-dependent, but I'm describing behaviour in the strictest case)18:29
cjwatsonELF linking is more complicated than that, but I find that model sufficient to work with when fixing this kind of bug18:29
micahgoh, that makes sense if it discards when it doesn't do anything, I didn't know that18:30
cjwatsonthat's what --as-needed changes18:30
cjwatson"--as-needed causes a DT_NEEDED tag to only be emitted for a library that satisfies an undefined symbol reference from a regular object file or, if the library is not found in the DT_NEEDED lists of other libraries linked up to that point, an undefined symbol reference from another dynamic library."18:30
micahgI thought --as-needed meant you have to specify a library before it's used (I guess I didn't read that description well enough)18:31
micahgcjwatson: thanks for clarifying that for me18:31
cjwatsonthe previous version of the wiki page did rather reinforce that idea ...18:31
cjwatsonnp18:31
cjwatsonthis is actually traditional Unix linking - I remember dealing with this when writing cross-Unix-platform build systems ten years ago18:32
cjwatson(aside from AIX, which is basically entirely backwards)18:32
cjwatsonso anything that's been cross-platform for ages will get it right, but stuff that's got used to the GNU linker's historical permissiveness often gets it wrong18:33
cjwatsonmuch like bashisms, really18:33
nigelbgeser: I got the hint that I need to fix the make file ordering, but I can't figure out where to start looking in the make file.19:15
nigelbI *think* I need to pass -lm for building vm.c, I'19:18
nigelbIs that the right direction?19:18
cjwatsonnigelb: if you look closely, -lm is already there19:22
cjwatsonnigelb: (-lm is only needed on the "link line", i.e. the one that combines a bunch of .o files into an executable; it's not needed when compiling vm.c into vm.o)19:22
nigelbcjwatson: oh.19:23
cjwatsonnigelb: the discussion above in this channel should help explain, though19:23
* nigelb looks19:23
broderbdrung, tumbleweed: it looks like you guys should do a devscripts backport in the u-d-t daily ppa19:25
brodera bunch of tools broke on natty, at least, when you switched to the devscripts.logger module19:25
nigelbcjwatson: heh, the discussion above just horribly confused me on right to left and left to right :19:30
nigelb:)19:30
nigelbcjwatson: I'm guessing the linking of -lm and the other libraries should move further to the right and the .o files should go before them?19:37
jbernardjkjkjkjkjk~.19:41
gesernigelb: yes19:47
nigelbDoes this look right? http://pastebin.ca/206859619:47
nigelbI couldn't figure out a more easier way to get the libraries to move right.19:47
gesernigelb: you got the right idea, you might need to move $(CCLINK) to the end of the call in line 23 and 30 (after those .o and .a files in that command as they might need symbols from the linked libs too)19:51
geserbut you will notice it when you try to build the package19:51
nigelbokay :)19:51
bdrung_broder: yes. i will do that once we devscripts is uploaded20:08
bdrung_broder: as you probably see, we are moving a bunch of scripts from u-d-t to devscripts20:09
bdrung_broder: you can build devscripts from git head for testing20:10
nigelbI'm using pbuilder-dist on lucid to build for oneiric, how do I fix that?20:11
geserfix what?20:12
nigelboh, it doesn't recognize oneiric.20:12
nigelbWarning: Unknown distribution «oneiric». Do you want to continue [y/N]? n20:12
* nigelb checks spelling20:12
geserlrwxrwxrwx 1 root root 5 2011-05-24 19:32 /usr/share/debootstrap/scripts/oneiric -> gutsy20:13
bdrung_nigelb: dch?20:13
macoi think its the same as this bug but s/natty/oneiric/ https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/67303820:14
ubottuUbuntu bug 673038 in debootstrap (Ubuntu Lucid) "SRU: Add (Ubuntu) natty as a symlink to gutsy." [Undecided,Fix released]20:14
nigelbmaco: so just do a symblink or get the latest debootstrap?20:16
maconigelb: symlink is a fine workaround20:16
macothats all we'd do to it for the SRU anyway20:16
=== yofel_ is now known as yofel
=== stalcup is now known as vorian
nigelbgeser: That package built successfully :)21:23
nigelbMP if you would be interested in sponsoring it - https://code.launchpad.net/~nigelbabu/ubuntu/oneiric/redis/fix-ftbfs/+merge/6220421:23
* nigelb heads to bed21:25
=== ximion1 is now known as ximion
=== ximion is now known as ximion1
=== ximion1 is now known as ximion
bdrung_tumbleweed: poke for "[stefanor] Ask derivatives front desk for distro-info naming help" - this blocks the python-distro-info package creation22:57

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