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

broderRcart: hmm, i think i actually disagree with that bug report. if i was maintaining that package, i would tell the user to configure the package to not start automatically (using policy-rc.d - see http://manpages.ubuntu.com/manpages/precise/en/man8/invoke-rc.d.8.html#contenttoc6), which would keep the postinst from trying to start the daemon00:04
broderbut i can't actually find anything in the debian policy manual to back me up on that00:04
broderRcart: ok, just uploaded mpd00:11
Rcartbroder: I think that the second comment is right, it would be easier for the user to just receive a warning and not a critical error that stops the update/install procedure00:15
broderRcart: that would be different behavior than almost every other postinst script i've seen00:16
broderthe standard postinst snippet for starting an initscript exits with an error if the start fails00:16
RcartI see. He said that will fix it (on 5 Jul 2008) and seems like he didn't X:00:18
Rcartshould I add a bug watcher linking that (debian) bug report?00:18
broderto what?00:19
Rcartthe LP bug report00:19
broderwhich bug report?00:19
Rcart(that you mentioned)00:19
Rcart#778571}00:20
broderah. no - the one i mentioned is a different bug from the one described00:20
RcartAh, ok00:20
RcartI'll add a bug watcher to the bug you reviewed00:21
broderhuh?00:21
RcartxD00:22
broderno, i don't think there's any bug in lp right now that matches the debian bug you linked to00:22
broderyou should only link bugs if it's the same bug being reported in two places00:22
Rcartthe bug I was working on you uploaded it, I'll report it to debian and link it to LP00:23
broderah, yes. that would be excellent :)00:23
brodersorry for the confusion00:23
Rcart:D00:23
RcartThink I need to read carefully the scripts post-pre-etc and try to work on bugs like that00:24
RcartThanks for your help broder, I'm leaving. o/00:34
broderRcart: no problem! thanks for stopping by and contributing!00:35
Rcart(:00:36
akrogamesThanks jtaylor for your help01:45
akrogameshi broder01:46
broderakrogames: hey, what's up?01:46
akrogamesI live in France and I'm tired and you ?01:47
akrogamesI learned to fix bugs01:47
akrogamesgood night, so later01:57
mfischjtaylor: I found out the fix for live-manual, it's not pulling a new version.  I'm still trying to figure out the right way to actually make the change.  Ping me when you're around and I'll explain04:23
mfischjtaylor: strike that, I have the debdiff ready to go, just need to know where to put it so that a MOTU can take it from there04:42
tumbleweed!sponsorship| mfisch05:26
ubottumfisch: You can find out about the package sponsorship process here http://wiki.ubuntu.com/SponsorshipProcess - For !UDS sponsorship see http://uds.ubuntu.com/participate/sponsorship/05:26
mfischtumbleweed: thanks, I'll take a look in the morning05:45
tumbleweedChanged-By: Ubuntu Merge-o-Matic <mom@ubuntu.com>08:12
tumbleweed^ we should have a noisy lintian check for that08:12
micahgheh08:13
vibhavIt is possible to sync a Ubuntu package to Debian?08:33
tumbleweedvibhav: there's no automated proces for it08:34
tumbleweedit generally works better to maintain the packgae in Debian and sync to Ubuntu08:34
vibhavI prefer to upload it to Ubuntu first, since I am not experienced in the Debian process08:35
tumbleweedall the tools (and people) assume that Debian is the upstream08:36
tumbleweedand I think Debian is a better place to maintain packages (the stronger maintainership makes sense for packages you care about)08:36
vibhavI still can upload it to Ubuntu first?08:38
tumbleweednothing stops you from doing that08:38
bkerensatumbleweed: Assuming he has upload privileges or gets a package sponsored08:40
tumbleweeddid something change in apport? There's hardly any information in bug 94080008:40
ubottuLaunchpad bug 940800 in python-wadllib (Ubuntu) "pyclean crashed with Exception in from_package(): cannot get content of python-wadllib" [Undecided,New] https://launchpad.net/bugs/94080008:40
Ampelbeintumbleweed: bug 94407808:45
ubottuLaunchpad bug 944078 in apport (Ubuntu) "bugs reported by apport missing essential information" [Undecided,Incomplete] https://launchpad.net/bugs/94407808:46
tumbleweedhrm, probably it08:47
pktwhat is the process of fixing these http://qa.ubuntuwire.com/bugs/rcbugs/10:00
pktIs there a document about this?10:00
pktI mean I can download the debian source, get the relevant patch etc, then where and how do I submit the result?10:02
micahgpkt: either request a sync if appropriate or submit a patch for sponsorship either through a bug or bzr branch10:03
pkthow do I request a sync?10:04
pktok I found, sorry for that question10:04
micahgpkt: use requestsync from ubuntu-dev-tools (use the -e flag if the new version has new features since we're past feature freeze)10:04
pkthttp://qa.ubuntuwire.com/bugs/rcbugs/10:04
pktok, thanks :)10:05
pktI tried requestsync -e radare but it doesn't work since it says the versions are the same (in reality they aren't)11:31
micahgpkt: if it's only in unstable you'll need -d unstable11:33
tumbleweedpkt: -d unstable11:33
pktthanks :)11:34
pkt(and sorry for the newbie questions)11:34
tumbleweednp, that's an issue that only comes up with LTS releases where we sync from testing by default11:34
Pikkachuthis is confusing http://developer.ubuntu.com/packaging/html/packaging-new-software.html11:38
tumbleweedPikkachu: what are you finding confusing? let's fix it11:39
Pikkachuit's entirely confusing, but gtg now11:41
pktI think I succeeded (https://bugs.launchpad.net/ubuntu/+source/radare/+bug/946269)11:45
ubottuLaunchpad bug 946269 in radare (Ubuntu) "FFe: Sync radare 1:1.5.2-4.1 (universe) from Debian unstable (main)" [Undecided,New]11:45
pktIs this correct?11:46
tumbleweedpkt: that doesn't need an FFe, it's only a bug fix11:46
pktuff, I understood wrong then11:46
pktshould I close the bug?11:47
tumbleweedif the upstream part (before the dash) of the version hasn't changed, it is unlikely to need the FFe11:47
pktIt shouldn't need11:47
pktit is a trivial bug fix11:47
tumbleweedno, lets leave it as a sync request, it just doesn't need an FFe11:47
pktso, what did I do wrong?11:47
tumbleweedthere, done11:47
tumbleweedit didn't need -e11:48
pktah, ok :)11:48
pktThanks :)11:48
pktSo the correct command would have been requestsync -s radare -d unstable11:53
pktI will learn slowly slowly :)11:53
tumbleweedyes11:53
tumbleweedif you have a recent requestsync (using LP API) you don't need -s either, it'll wor that out itself11:54
pktI 'm using latest precise so I guess it is recent enough11:54
tumbleweedyes11:54
pktgreat, continuing to the next package :)11:55
=== Quintasan_ is now known as Quintasan
PikkachuI have source code for which compilation is like $apt-get install build-dep other; $apt-get source other; cp here/patched other/foo/bar; cd other; ./configure; cd foo/bar; make patched.so16:43
Pikkachuhow would I make a bin deb and how to put this on a recipe?16:44
pktfirst of all instead of cp here/patched other/foo/bar you should have a proper patch16:45
pktin the form of a unified diff16:45
pktif the package you are patching has source format 3.0 (quilt) then it is very easy to add a patch16:46
pkthttps://wiki.ubuntu.com/PackagingGuide/Complete16:47
Pikkachu"first of all instead of... " -- you don't really understand what's that16:48
PikkachuI will explain what it is16:49
pktplease do :)16:49
Pikkachusorry for calling it patch, it's a new plugin for pidgin called ircaway16:49
pktFrom the process you described it looks as if you want to patch pidgin to include it16:50
Pikkachuit's a single ircaway.c for which I need to create the .so, instructions in pidgin website suggested me to put the source under pidgin-source/pidgin/plugins and run $make ircaway.so16:50
pktDoes pidgin provide a way to build plugins out of tree?16:51
pktIf it doesn't you need to convince them to add it, or add the source file as a patch16:52
Pikkachuso I use pidgin's build infrastructure which is able to build arbitrary plugins if they're under that folder, I did this because it just works and I don't want to waste time trying to figure out how to build it alone16:52
pktsure16:52
pktbut this can't work for packaging I think16:53
pkteither it needs a way to be built standalone16:53
Pikkachuplease this has nothing to do with patches unless they decided to add the plugin to upstream16:53
Pikkachufrom the pidgin docs, the plugin author would provide the way the plugin needs to be built16:53
pktfair enough16:54
Pikkachubut I'm reading the docs themselves for that16:54
pktbut pidgin should provide a way to build plugins against it16:54
Pikkachuwhich don't explain how to build them alone16:54
pkti.e., libraries etc16:54
pktare there any pidgin plugins distributed as standalone packages?16:55
PikkachuI suppose because it's a plugin it somehow would require most or much of the original infrastructure to build pidgin itself16:55
Pikkachu https://wiki.ubuntu.com/PackagingGuide/Complete -- is totally confusing16:55
Pikkachusorry I mean the new guide16:56
PikkachuI just know of purple plugin pack, a set of plugins, distributed as a separate package16:56
pktapt-cache search pidgin shows a few extra packages16:59
pktyou can check if any of them are small enough to be used as examples16:59
tumbleweedPikkachu: does libpurple-dev or pidgin17:00
tumbleweed-dev have wha tyou need?17:00
pktI would propose pidgin-extprefs17:01
pktit is also a single .c file from what it seems17:01
pktso maybe you can reuse its build infrastructure17:01
Pikkachutumbleweed: does what?17:01
pktHe asks if it provides the needed libraries etc17:02
pktbut I think the problem is to figure out the build system17:02
Pikkachupkt: sorry I'm not in Ubuntu right now, but does extprefs stand itself as a pidgin plugin?17:02
pktyes it seems so17:02
Pikkachupkt: yeah it's a problem -dev x build-dep17:03
Pikkachufirst of all I don't get why can't one put the build deps as deps of the -dev packages17:03
Pikkachuanyway, libpurple-dev and pidgin-dev contain just headers iirc17:04
Pikkachuand build-dep for pidgin is really big17:04
pktPikkachu: again, I think you can try extprefs plugin as a template to build from17:04
Pikkachupkt: ok will try to take a look at extprefs17:04
pktif you are not on ubuntu you can get the source package from the web17:05
pktIt has some extra stuff for installing on win32 and such, you can just ditch those17:05
pktand just copy the linux-related infrastructure17:06
Pikkachuok17:09
pktgreat :)17:10
tumbleweedPikkachu: if it's a single c file, it can't be that hard to build, right?17:10
pktnot true17:10
pkta kernel module is also a single file17:11
pkts/is/can be/17:11
tumbleweedand they are fairly straight forward to build17:11
pktnot without the kernel's build infrastructure17:11
Pikkachuyeah17:11
pktyou can't just call gcc on it by hand and expect a working module17:11
pktPikkachu's issue is that he is trying to figure out the corresponding build system for pidgin plugins17:12
PikkachuI just don't get why build-dep is not reversible like normal deps with autoremove17:12
tumbleweedI'm saying that that may be more effort than it's worth17:12
tumbleweedPikkachu: use mk-build-deps, then they are easy to remove17:13
PikkachuI think you don't really understand the problem, tumbleweed17:13
PikkachuI have no idea how would I "use mk-build-deps"17:13
tumbleweedPikkachu: of course I don't, I haven't seen the source[6~17:14
tumbleweedit has a manpage17:14
tumbleweedbut basically, mk-build-deps -ir inside an extracted source package17:14
Pikkachuare you trying to sound cool? it's not working17:14
tumbleweedPikkachu: I'm trying to be helpful17:15
pktPikkachu: yes17:15
tumbleweedand you don't appear to want help, so I'm not entirely sure why I'm bothering17:15
pktI think there is a misunderstanding17:15
pkttumbleweed's advice is useful17:15
Pikkachuof course, those standard responses, please I disregard your help, right now, ignore me PLEASE17:15
pktPikkachu: mk-build-deps solves the problem of being able to unistall the stuff apt-get build-dep brought in17:16
tumbleweedPikkachu: sorry, I tend to not give complete hand-holding instructions, but rather point you in useful directions, and expect you to do some research yourself17:16
Pikkachutumbleweed: sorry I stopped at 'sorry'. I'm not really interested in your help, sorry17:17
tumbleweednp17:17
Pikkachupkt: well but it will just output the package names, which is mostly the same as saving build-dep's output :(17:18
pktPikkachu: not just that17:18
pktit will also make a binary package that depends on them17:18
pktso you can install this package to install the build-deps17:19
pktand then remove it and they will become removable through autoremove17:19
pktof course I don't know how useful this is now (if you have already installed them by build-dep)17:19
pktbut for future reference17:20
PikkachuI'd have to do it for every package I want the build deps, I'm just saying there should be something like 'autoremove --build-deps'17:21
pktIt is the same number of commands17:21
pktI.e., instead of "apt-get build-dep <foo>" you do "mk-build-deps -ir"17:22
pktand this way the build deps are instantly autoremovable17:22
pktI didn't know about this script myself to be honest, I had hacked my own solution for this problem :P17:22
=== Pikkachu is now known as Pikkachu^Away
=== yofel_ is now known as yofel
akrogameshi all17:53
mfischI'm making a change on a package that has no branches in launchpad, can I just attach a debdiff to the bug and leave it at that?  Or, should I make an initial branch and then commit on top of that to show the diffs?17:56
tumbleweeddebdiffs are fine. Nobody requires you to use bzr17:57
tumbleweedhowever, why does i tnot have any branches in LP?17:57
mfischtumbleweed: because, I think, until now it was just, uh, pure debian, no ubuntu changes17:58
tumbleweedmfisch: no, it should still have branches17:58
tumbleweedwhat package is it?17:58
mfischlet me confirm that assumption17:58
mfischokay nevermind :(17:58
tumbleweed:)17:58
mfischI just wasn't looking in the right place17:58
pktstill the information that bazaar is not really needed is useful18:00
tumbleweedI still find it easier to not use bzr, but bzr is certainly becoming more appealing18:01
mfischI prefer bzr myself18:01
ralAs someone who has only done a small amount of packaging I found modifying a package with bzr very straightforward.18:02
mfischwhen I do the merge proposal don't i need to add ubuntu-sponsors as a reviewed?18:04
mfischreviewer i mean18:04
tumbleweedorrect18:04
tumbleweederr, you don't need to18:04
mfischmind if i add that to the wiki?18:04
mfischhmm ok18:04
mfischtumbleweed: how will it end up in sponsor queue?18:05
tumbleweedthe sponsorship queue includes all merge proposals against ubuntu pcakages18:06
mfischalright, I'll see if this shows in the queue in a bit18:06
ESphynxhey guys... Would anyone be able to assist me? I'm having really bad troubles with Precise. It fails to build our software in the most silly way...18:07
tumbleweedESphynx: this isn't really a support channel, but those kind of thinsg we can probably help with. Also, don't ask to ask, just ask :)18:08
mfischtumbleweed: thanks for the ifno, I attached a debdiff and did a merge-prop18:08
ESphynxIt builds fine on Oneiric, which is GCC 4.6.1 .  I was trying to install the 'standard' GCC 4.6.2 on Precise to see if it would build fine (Seeing that GCC/MinGW 4.6.2 on Windows works fine), but then my Precise VM died on me =(18:09
tumbleweedmfisch: so it'll show up twice :)18:09
ESphynxtumbleweed: you the man.18:09
tumbleweedESphynx: can you pastebin the error?18:10
ESphynxI don't know what happened to my VM.. last night I went to sleep after the GCC build was going on... this morning the Vbox interface is just jammed, even cloning the machine jams taking 0% CPU18:10
ESphynxtumbleweed: the errors won't really help you, it's my compiler doing really silly stuff that it normally doesn't18:10
pktESphynx: do you have a hardware problem or something?18:11
ESphynxThe only thing I can't think up is a messed up GCC18:11
tumbleweedESphynx: you sure your hard drive isn't going? check dmesg...18:11
pktor zero free disk space?18:11
mfischtumbleweed: eh, should I nuke my merge proposal then?18:11
ESphynxpkt: no hardware problem, this is on Launchpad PPA building machines as well18:11
mfischtumbleweed: not sure if I can remove the attachment from the bug18:11
ESphynxpkt: no, dynamic vdi drives with plenty of space18:11
tumbleweedmfisch: I can unsubscribe sponsors from the bug18:11
mfischtumbleweed: bug #83139218:11
ubottuLaunchpad bug 831392 in live-manual (Ubuntu Oneiric) "live-manual version 1:3.0~a6-1 failed to build in oneiric" [High,Confirmed] https://launchpad.net/bugs/83139218:11
ESphynxtumbleweed: https://launchpadlibrarian.net/95143170/buildlog_ubuntu-precise-i386.ecere_201203031148-0~446~precise1_FAILEDTOBUILD.txt.gz  -- the build log, but like I said it won't help much18:12
mfischmy bug-day contrib, 48 hours late ;)18:12
tumbleweedmfisch: thanks18:12
ESphynxtumbleweed: It is virtual machines, and PPA building machines! no HW issue.18:12
ESphynxI was suspecting a bug in the Ubuntu GCC 4.6.2 patches.18:12
pktmfisch: is it 48-hours late? hehe I thought the Jam was during the weekend as well18:12
mfischpkt: oh well I'm good then!18:13
pktI still haven't finished my contribution :S18:13
mfischpkt: you're running out of time there in Greece!18:13
tumbleweedESphynx: the ppa build failed for a very clear reason18:13
ESphynxtumbleweed: Which reason is that?18:14
pktmfisch: true, just a few hours more :P18:14
tumbleweederror: unresolved identifier publicAccess; expected ecere::com::Module18:14
pktbut can't I say that my personal clock is in pacific timezone :P18:14
ESphynxtumbleweed: that is not supposed to happen.18:14
ESphynxtumbleweed: also consider "warning: incompatible expression "ecere::sys::FileAttribs FileExists(char * fileName)" (byte *); expected pe"18:15
ESphynxthere's no such thing as "pe" anywhere in our software...18:15
ESphynxthe compiler (the bootstrap eC compiler) is all messed up18:15
ESphynxnone of this happen on any other Ubuntu versions...18:16
mfischtumbleweed: how often is the sponsor queue updated?  hourly or so?18:16
ESphynxMy Precise VM is dead :| will have to reinstall everything... So much for trying to build my own GCC 4.6.2 :|18:17
tumbleweedmfisch: I think every 10 mins or so. Maybe 30. depends how big it is (the script that produces it takes forever to run)18:17
tumbleweedESphynx: sorry, I thought you were saying tha tthe build had killed your VM18:17
ESphynxtumbleweed: building GCC killed my VM.18:17
pktESphynx: how much RAM did you give to your VM?18:18
ESphynxah the hw errors, is what you were talkign about :) hehe, on a Windows host though18:18
ESphynxpkt: 2gb18:18
ESphynxsorry I thought you guys were blaming the failed build on hw hehe18:18
pktAnd still it died18:18
pkthehe18:18
ESphynxyes :(18:18
pktInteresting18:18
ESphynxyou guys have other flavors of Gcc installed on Precise?18:19
ESphynxwe could give that a try?18:19
pktI have a VM here with precise (kvm)18:19
pktif you want I can install a version of gcc18:19
ESphynxpkt: I would greatly appreciate taht.18:19
pktBut know that I can't build gcc on this VM18:20
pktit has just 256MB ram18:20
ESphynxpkt: I gave up on building GCC :P18:20
ESphynxpkt: but I couldn't figure out out to try 4.6.1, for example, without building it18:20
ESphynxif you do know how ;)18:20
pktI can try to find out18:20
pktjust a sec18:20
tumbleweedESphynx: w still have a gcc-3.5 package in precise18:20
tumbleweederr 4.518:20
ESphynxi decided to try building 4.6.2 , since it built our software fine on Windows18:21
ESphynxtumbleweed: ah yes... I guess we could try that. but that's quite far from 4.6.2 :|18:21
ESphynxbut it would help narrow down the problem18:21
pktI see 4.6.3 as default here18:21
tumbleweedyeah18:21
ESphynxSee, our first open source release on Ecere was 0.44 draft 1, on Dec 25, 2008.... and this coming Wednesday is finally the official 0.44 ;)18:21
ESphynxAnd I would like to build on Precise, at least when it comes out :)18:22
pkt4.4, 4.5, 4.6 are all available18:22
ESphynxpkt: 4.6.3 now ? is it a newer VM?18:22
pktwhich one do you want?18:22
pktIt has latest precise on it18:22
ESphynxpkt: maybe i'm out of date hehe...18:22
ESphynxpkt: care to try 4.6.3 first ?18:22
pktsure why not18:22
ESphynxguess i'll link you to the source package?18:23
pktbut if lp failed probably it was with  4.6.318:23
pktsure18:23
pktdo you have it on a ppa?18:23
ESphynxyes18:23
ESphynxhttps://code.launchpad.net/~jerstlouis/+recipe/ecere-daily-multiarch18:23
ESphynxgcc-4.6 i386 4.6.3-1ubuntu2 [7576 kB]18:24
ESphynxright, lp failed on 4.6.3 as well :(18:24
ESphynxso the easy thing would be to try 4.4 ? to establish whether GCC is to blame or not?18:25
ESphynxsince 4.5 is dev right, so latest dev might have the bug as well?18:25
pktI think 4.5 should be release as well, not dev18:25
ESphynxah right osrry18:26
ESphynxit's the middle number18:26
ESphynxhmm.18:26
ESphynxmy only worry... when installing side by side... our build system just invokes 'gcc'18:26
pktI think gcc is selected using alternatives18:27
ESphynxso you can try 4.518:27
ESphynxplease =)18:27
pktsure but you will need to wait a few mins18:28
ESphynxnp18:28
ESphynxI gues another thing to try would be to disable -O2 ...18:30
pktthat you can also try yourself18:30
ESphynxguess I could try that on a new Precise machine18:30
ESphynxyes. i'll brb, logging out to kill stalled VBox18:30
=== Pikkachu^Away is now known as Pikkachu
Pikkachuhi pkt, not much help http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/oneiric/pidgin-extprefs/oneiric/view/head:/debian/control18:33
* Pikkachu rebooting to ubuntu18:34
pktPikkachu: fwiw I didn't understand what you meant18:40
AmpelbeinPikkachu: There are lots of pidgin plugins in ubuntu, have you had a look at how they accomplish the build?18:40
pktwhat was the problem with pidgin-extprefs?18:40
PikkachuAmpelbein: and this is what you call "a lot"? http://i.imgur.com/Q5hAT.png18:46
PaoloRotoloHi all!18:46
pktPikkachu: try from the command-line18:46
pktthere are several18:46
pktapt-cache search pidgin18:46
ESphynxThat .vdi was so locked down, even "Restart" wouldn't work... i had to press the Reset button :|18:46
pktPikkachu: but still what was the problem with extprefs, I chose it for you because it is also a single .c file18:47
Pikkachupkt: I have no idea whether its Build-Depepndencies field matches?18:48
Pikkachupkt: can we start from the beginning?18:48
pktsure18:48
pktfor starters, where is ircaway.c ?18:49
AmpelbeinPikkachu: I count 24 plugins, that is a lot.18:49
ESphynxwell the good news is I miraculously kept that .vdi (because it was locked! i had done "delete all files"), and it works18:49
pktnice :)18:50
ESphynxso now I can try taking out -O2 :P18:50
PikkachuAmpelbein: ignore me from now on, and I'm serious18:50
Pikkachuhi ESphynx, how's eC going :)18:50
Pikkachupkt: well, I will stand it in a simple way then18:50
pktsure, simple always helps18:51
PikkachuI have a Bazaar branch for a new plugin for pidgin, I want Launchpad building the deb and putting it available, that simple. I tried and read docs about recipes, ppa, packaging, and they're just confusing, so I wanted to start from this simple point with human help18:52
pktcan you give the link to that branch?18:53
Pikkachufwiw I can generate the .so by ./configuring the pidgin host and $making plugin.so from within pidgin-source/pidgin/plugins (that is, this build thing I used is from pidgin)18:54
pktPikkachu: sure, but this won't help you produce a package18:54
Pikkachupkt: https://code.launchpad.net/~renatosilva/pidgin/ircaway18:55
pktPikkachu: great18:55
Pikkachupkt: yeah I just mentioned that because I'm not sure how to build the plugin at all except by reusing pidgin infrastructure, which is sort of overkill for a small plugin I think18:56
pktit is not just overkill18:56
pktit is also not going to be accepted18:56
pktso, you need to figure out how to build it standalone18:57
pktthis doesn't just mean the debian/ part18:57
pktit also means the makefile etc18:57
pktIn fact, the first thing you need to figure out is what to put to the makefile18:58
pktyou can start simple, assuming that you don't ever want to build for other platforms, so you don't need the autoconf stuff18:58
Pikkachudo I really need a makefile? because I think that even that is overkill, no?18:59
pktno18:59
Pikkachuwhy not, just to understand18:59
pktBecause you need to ensure you are building against the proper headers / libraries18:59
pktyou could also write a bash script but a Makefile is the standard way to do it (TM)19:00
pktso at the very minimum you need the .c file and a Makefile19:00
pktand most likely a README19:01
pktonce you have those, you can also make the debian/ folder with the right contents19:01
tumbleweed+1 to Ampelbein's suggestino of looking at other plugins, and yes, writing a simple Makefile is probably the easiest way to get a working package19:03
Pikkachupkt: ok so let's leave the deb thing for a separate stage. I'm new to make, I've just used it, how would I figure out the dependency tree for the source file compiling?19:09
Pikkachutumbleweed: I'm looking right now, will take a look at their makefile19:09
pktPikkachu: typically you use pkg-config19:11
pktPikkachu: here is my suggestion19:11
pktgo to the extprefs plugin19:11
pktdo the mk-build-deps -ir thing19:11
pktand now do a debuild -uc -us 2>&1 | tee -a ../build.log19:12
pktthis will show you which commands the makefile of this plugin called19:12
pktit is much easier than trying to analyse its source19:12
pktbecause the source is obfuscated a lot by the automake infrastructure that you don't need19:12
PikkachuI'm trying to process what you said19:13
pktbtw, I hope this advice is ok and not considered as spamming the channel19:13
tumbleweedsure, nothing else going on right now. (weekends are quiet)19:14
tumbleweedPikkachu: no tee reqd, debuild writes a log to ../$pkg.build19:14
pkteven better19:14
tumbleweederr pkt19:15
PikkachuI'm really annoyed by all this word salad I've been through in the docs, I'm really lost19:15
jtaylor:O why have I been using tee all the time?!19:16
PikkachuI'm looking in pidgin-facebookchat now19:16
pktThis is why trying to help on IRC is helpful19:16
pktmost time you learn new stuff yourself19:16
pktPikkachu: sure, pick the simplest you can find19:17
tumbleweedPikkachu: the solution to that is to improve the docs, so it helps if you can tell us where you are getting stuck / confused19:18
pktfacebookchat looks much more complicated19:19
Pikkachupkt: I'm having to install devscripts for mk-build-deps, I hope I don't need any more word-salad packages since it has already a salad of dependencies itself :(19:19
tumbleweeddevscripts is certainly something you want. Any sane packaging documentation should have told you that pretty early on19:19
tumbleweedI'd also recommend ubuntu-dev-tools19:19
Pikkachutumbleweed: the docs are confusing to the point you don't know where it's confusing, but I'd say write something to someone like "I have source code to give people, I want Launchpad to build and publish the .debs for me". Something straighforward to follow for that kind of developer like me19:22
pktPikkachu: the thing is that you need to know the basics of open source development before you start caring about packaging19:23
tumbleweedPikkachu: I'm afraid there's a bit of stuff you need to learn along the way, debian packaging has quite a lot going on in it19:23
Pikkachupkt: I don't like these standard unclear responses, please19:23
Pikkachupkt: any sane developer would hate the whole toolset, to begin with19:24
pktI 'm trying to make it specific (searching for a link to a howto)19:24
tumbleweedPikkachu: please don't insult our build systems, that doesn't motivate people to help you19:25
PikkachuI've read the docs pkt, they're confusing19:25
Pikkachutumbleweed: please ignore me, right now, and I'm serious19:25
Pikkachupkt: I think the core problem is19:26
tumbleweedPikkachu: if you can't have a civil conversation in this channel, could you please move it elsewhere19:26
Pikkachupkt: how to know what packages are needed to build the source code19:26
pktPikkachu: what tumbleweed says is true (it is not nice to insult people that try to help you)19:27
pktabout the build dependencies19:27
pktjust pick a random plugin (facebookchat)19:27
pktand do mk-build-deps -ir in its directory19:27
Pikkachutumbleweed: I said kindly to ignore me, and I was serious, I'm not offending you so if you're willing to do something without any reason, I don't really care at all except you're in my way to publish software to people19:27
Pikkachupkt: yeah I will concentrate in that point now19:28
pktor apt-get build-dep pidgin-facebookchat19:28
* tumbleweed wanders off19:28
Pikkachupkt: if I get anything relevant and I'm still here I'll let you know19:28
pktok19:28
Pikkachupkt: oh that's even better I can see the packages before confirming, a second...19:29
ESphynxsorry guys, I was cooking my breakfast ;)19:29
ESphynxPikkachu: quite good! if we can only get it working on Precise :) we're releasing the official 0.44 this wednesday19:29
pktHehe, you are lucky it is already night here ...19:29
Pikkachupkt: debhelper gir1.2-json-1.0 html2text libdbus-1-dev libdbus-glib-1-dev libglib2.0-dev libjson-glib-dev libpurple-dev po-debconf zlib1g-dev19:30
Pikkachupkt: so your idea is eliminating from above what seems unnecessary?19:30
pktI would also install pidgin-dev just to be on the safe side19:30
pktmy idea is to manage to build your plugin out of tree first19:31
pktthen you can care about removing stuff19:31
pktyour first objective should be to build the .so successfully from outside pidgin's directory19:31
pktby installing the build-deps from another plugin at least you know that the headers/libs you need are available to begin with19:32
pktnow you need to write your Makefile correctly19:32
=== JackyAlcine_ is now known as jalcine
PikkachuESphynx: glad to know you got your way on PPas19:35
ESphynxPikkachu: almost there, hehehe19:36
ESphynxPikkachu: just Precise failing to build :(19:36
=== jalcine is now known as JackyAlcine_
=== JackyAlcine_ is now known as jalcine
ESphynxpkt: well, taking out -O2 doesn't seem to help!!19:39
=== jalcine is now known as JackyAlcine_
=== JackyAlcine_ is now known as jalcine
Pikkachupkt: the makefile from that plugin is 137 lines long, should I read it and amke mine based on that?19:42
ESphynxWould anyone know how different the Ubuntu patches for GCC are, and how likely they are to cause memory corruption issues? :|19:43
pktThe short answer is that nothing is impossible with gcc ...19:44
ESphynxhehehe19:44
jtaylorwhat is the problem?19:45
ESphynxnow that i've ruled out the -O2... i'm pretty sure it's a bug in either 4.6.2 on linux, or the ubuntu patches...19:45
ESphynxjtaylor: My compiled bootstrap eC compiler is going nuts.19:46
ESphynxjtaylor: it works fine on oneiric and all previous Ubuntus.19:46
pktESphynx: https://code.launchpad.net/~ecere-team/+archive/ppa/+files/ecere_201203031148-0~446~precise1.dsc19:47
pktshould I try this with gcc-4.5?19:47
jtaylordoes valgrind help?19:47
ESphynxpkt: yes, please :)19:47
pktAh, btw, I just remembered one of the nuances of gcc 4.619:48
ESphynxjtaylor: it could. I usually use my own memory protection tool called 'memoryguard', but since the thing doesn't build yet :P19:48
pkt(the ubuntu version)19:48
ESphynxpkt: Ah? (Note it works fine in Oneiric, 4.6.1 ...)19:48
pktthe $CFLAGS should be in the end of gcc command19:49
pkte.g., gcc $FLAGS -c foo.c -o bar.o won't link19:49
pktgcc -c foo.c -o bar.o $CFLAGS will work19:49
ESphynxit won't ? :S19:49
pktthe reason is a bit esoteric19:50
pktand it will work in previous versions AFAIK19:50
ESphynxlove how this word keeps popping up lately.19:50
Ampelbeinpkt: Nothing to do with CFLAGS.19:50
jtaylor-c does not linking19:50
pktyes sorry19:50
pktit is actually the linker flags19:50
ESphynxok, i'm all confused here... but here it's not something that won't link19:50
ESphynxevery gcc command compiles and links19:51
ESphynxit just produes horrible results.19:51
AmpelbeinThe problem in many packages was that libraries were added in LDFLAGS, which is the wrong place to put them. They belong in either LDADD or LIBADD.19:51
pktexactly19:51
pktand because ubuntu has a patch to make the linker stricter19:51
Ampelbeinpkt: Ubuntu uses --as-needed by default.19:52
pktyep19:52
pktgcc-as-needed.diff19:52
ESphynxI put them in $(LIBS): $(TARGET): $(SOURCES) $(RESOURCES) $(SYMBOLS) $(OBJECTS) | objdir19:52
ESphynx$(CC) $(OFLAGS) $(OBJECTS) $(LIBS) -o $(TARGET) $(INSTALLNAME)19:52
pktA friend of mine got burned by this but his source was technically broken anyway19:52
pkthttp://lists.debian.org/debian-devel-announce/2011/02/msg00011.html19:53
ESphynxAmpelbein: Could this particular difference have any impact on memory corruption?19:53
AmpelbeinESphynx: Unlikely.19:54
ESphynxdownloading Valgrind.19:54
ESphynxit's just a matter of linking with -lvalgrind , is it?19:54
jtaylorno19:54
jtaylorrunning your application under valgrind19:55
ESphynxNo linking necessary?19:55
jtaylorno19:55
ESphynxGuess I can try that.19:55
ESphynxit used to be just linking with it right? :)19:55
pktno19:56
ESphynxIn the early days?19:56
pktit was always running it under valgrind19:56
pktthere were other projects that required linking19:56
pkte.g. electricfence etc19:56
ESphynxah. electric fence is the one I was thinking of.19:56
pktvalgrind works in a different way19:56
ESphynxk.19:57
jalcineviva la valgrind.19:57
pktyour program sees valgrind "as the cpu" sort of19:57
ESphynxeC's memoryguard works by using another version of libecere.so :)19:57
ESphynxk19:57
ESphynxit's surely nowhere as good as valgrind, but usually works great :P Can you run Valgrind on MinGW/Windows?19:57
ESphynxok guys. What is wrong with bash's tab completion???19:58
pktworks here19:58
ESphynxIt's trying to be too intelligent, and won't let me complete files!19:59
ESphynxe.g. doing make obj/ doesn't autocompelte... it will only give me 'rules', but what if I want to specify an object target?19:59
pktyou can use shopt -u progcomp I think20:04
pktthis will disable programmable completion20:04
ESphynxprog-and-args -- how does that work? I did  'valgrind obj/ecc myargs here' but my app doesn't seem to be getting any args?20:04
pktthen you can enable it again20:04
ESphynxhehe k, thanks!20:05
ESphynxsorry, I had a space where I shouldn't have. works now20:06
ESphynxok, under Valgrind, it seems to compile fine!20:07
ESphynxI get a bunch of 'Source and destination overlap in strcpy(0xbea45aeb, 0xbea45aeb)'20:07
pktHehe great, how I always manage to get more than I sign up for :P20:09
pktI started with the simplest RC bug, it seemed to be "just a resync request"20:09
pktnow it seems that the package actually needs surgery20:09
ESphynxpkt: Which package is that? :P20:10
pktradare20:10
pktI picked it from the list of rc bugs20:10
ESphynxhehe20:10
pktsince it was among the few that I knew about :P20:10
ESphynxSo these strcpy things... I'm not really worried about :|20:11
pktESphynx: the friend that had the problem with linking because of as-needed20:11
pkthe also had a memory corruption20:12
pktbecause he had a double free bug in his code20:12
pkti.e., he free'd a var without making it NULL and then he free'd again20:12
ESphynxbut his double free bug was unrelated to the as-needed, right?20:12
pktyes20:12
ESphynxyeah, no such thing as double free in my code ;P20:12
=== jalcine is now known as JackyAlcine_
ESphynxand it works fine in Valgrind!20:12
pktI only mention because this problem also only showed in gcc 4.620:12
ESphynxmaybe I should replace calls to ecc in the package by 'valgrind ecc' for Precise :P20:13
pkt*with20:13
pktIt seems you are dealing with a "heisenbug"20:13
ESphynxhehhe20:13
ESphynxis than an uncertainty principle?20:13
pktIt is a term used for a bug that doesn't want to reproduce under debugging infrastructure20:14
pktlike gdb or valgrind20:14
ESphynxhehe. let me try simple gdb.20:14
pktSo, about radare. I got the package from debian, but it wouldn't build20:15
pktthen I discovered that the version in precise shouldn't build either20:15
pkt(it has the same bug)20:15
ESphynxgreat, under gdb, it goes nuts.20:15
pktand now that this is fixed as well, lintian decides to reject it20:16
pktbecause of the decision in debian to reject waf binaries :P20:16
tumbleweedwell, at least yo uare half way there20:17
pktI hope more than half hehe20:18
pktBut this could probably be characterised a "hydra bug"20:18
pktevery subbug I fix 2 others are revealed :P20:19
ScottKThe new minc in Unstable looks like we might want it, if someone has time to investigate...20:19
ESphynxjtaylor: Any idea why something would work on Valgrind (without seeing any error), but behaves nuts on GDB?20:20
jtaylorvalgrind runs under a very different environment20:20
jtaylorwhich is often more resistant to issues20:20
jtaylordid it output any errors?20:20
ESphynxjtaylor: only those strcpy overlap errors (strcpy(string, string))20:20
jtaylorthats your issue20:21
jtaylorlibc has changed20:21
jtaylorthis will now crash20:21
ESphynxjtaylor: you sure?20:21
jtayloryes20:21
jtaylormemcpy's are now done backwards20:21
jtaylorthat breaks overlaps20:21
ESphynxi.e. you're positive something changed between oneiric and precise ?20:21
jtaylorbut is faster20:21
ESphynxugg. on x86?20:21
jtaylorits something that changed recently20:21
ESphynxI can understand on some exotic platform20:22
ESphynxbut on x86?20:22
jtayloruse memmove for overlaps20:22
jtayloron x8620:22
ESphynxit's not even 'overlap' is the same string :|20:22
akrogameshi jtaylor20:22
ESphynxwell. if you say so!! I'll go and hunt those down.20:22
ESphynxthanks for clarifying this20:22
jtaylornot sure how that will work20:22
jtaylorbut its 100% an issue that must be fixed20:22
ESphynxjtaylor: you mean the same string?20:22
jtaylorthere should be a flag for libc hhat disables the feature20:23
jtaylorread the README20:23
ESphynxjtaylor: i'd love to try out that flag...20:23
ESphynxto be sure before I invest the time to fix this20:23
jtaylorlet me check20:23
ESphynxthanks20:23
ESphynx(So it would be libc rather than gcc?)20:23
jtayloryes20:24
jtaylorLD_PRELOAD=/usr/lib/x86_64-linux-gnu/libc/memcpy-preload.so /path/to/binary20:25
jtaylorthough that change should already be in oneiric20:26
broderESphynx: regardless of whether it fixes *the* problem you're trying to track down, strcpy(string, string) is definitely *a* problem and you should not be doing it20:26
ESphynxI understand and respected that for memcpy...20:27
ESphynxBut to me strcpy(string, string) should just work :P20:27
jtaylorno it should not20:27
jtaylorand never should have20:27
ESphynxWhy not :)20:27
jtaylorthe manpage clearly says the memory regions *must* not overlap20:27
jtaylorok it only says may not :O20:28
ESphynxtoo bad Dennis isn't among us anymore to discuss it :P20:28
jtaylorthat should be fixed20:28
jtaylorwhy do you do that copy in the first place?20:33
ESphynxjtaylor: i use it e.g. for left trimming purposes20:34
ESphynxstrcpy(string, string + x) , where x sometimes is 020:34
ESphynxFrom Valgrind's output, it seems to happen in 3 spots: LoadTranslatedStrings, ChangeExtension, and TrimLSpaces20:35
broderESphynx: it would be better to strcpy(string + x) and then free(string)20:35
broderassuming you're using a heap buffer20:35
brodererr, sorry, strdup20:36
ESphynxright.20:36
ESphynxI have my own memory manager though... so I have CopyString()20:36
ESphynxbut I generally try to avoid heap allocs...20:36
ESphynxthanks guys. since I only have 3 spots should be easy to try it out20:38
jtaylordid the wrapper work?20:38
ESphynxjtaylor:  LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libc/memcpy-preload.so /path/to/binary  --> this is to revert to the previous way?20:39
jtayloryes20:39
ESphynxlet me try that20:39
jtaylorthere is also a version that dumps to syslog20:39
jtaylorLD_PRELOAD=/usr/lib/x86_64-linux-gnu/libc/memcpy-syslog-preload.so /path/to/binary20:39
ESphynxhmm x86 here, not 64 bit20:40
jtaylorhm the change is only in amd6420:40
ESphynxyeah I don't seem to have this memcpy-preload.so20:41
ESphynxnor a /i386-linux-gnu/libc directory :|20:43
=== almaisan-away is now known as al-maisan
=== JackyAlcine is now known as jalcine
=== al-maisan is now known as almaisan-away
pktHmm, ok now the package builds, so the problem becomes how to push the fixes21:18
pktIt isn't just a sync request anymore since there is an extra patch21:19
pktAnd I think maybe it would be good to push to debian as well21:20
micahgpkt: is this for radare?21:24
pktyes micahg21:24
jtaylorcan I see the diff?21:24
jtaylorthe package looks in bad shape21:25
jtaylorlots of uncaught errors in the logs21:25
jtayloras needed issues21:25
jtaylorrequires py2.521:25
micahgand we have radare2 already21:25
jtaylorcan we just remove radare then?21:26
micahgno reverse dependencies, we could remove it21:26
pktI 'm fine with removing it as well21:26
pktmy fix is just for the FTBFS21:26
jtaylorI looked at it too, fixing one issue just uncvered another issue later ...21:27
jtayloretc etc21:27
pkthehe exactly21:27
jtaylorI'm for nuking it21:27
micahgwell, the explicit python2.5 dep isn't expressed in the packaging21:27
pktthis is what I fixed21:27
pktand for lua as well21:28
pktthe build deps are implicit in the Makefile21:28
jtaylorruby is needed too21:28
pktit seems to build without it here21:28
jtaylorcan you pastebin your diff21:29
pktsure21:29
ESphynxjtaylor: I'll be damned.21:29
ESphynxjtaylor: The build is working now. Thank you!!!21:29
pkthttp://pastebin.ubuntu.com/868973/21:30
jtayloryou didn't fix the as needed issue?21:30
pktno21:30
pktI didn't see that one21:31
jtaylormy not working "fix": http://paste.ubuntu.com/868975/21:31
jtaylorsrc/rsc/gtk/Makefile needs fixing21:31
jtaylorthat worked pre oneiric21:31
pktwhen you say not working what do you mean?21:32
pktFTBFS?21:32
pktor not working result?21:32
ESphynxNow I have a question guys regarding the multiarch stuff... Adding ia32-libs-multiarch fixed the build on oneiric, but on Precise it doesn't.21:32
ESphynxI realize that people can just install the i386 build on their Precise amd64 install... But what about people wanting to build from source on amd64?21:32
jtaylorit does not link, but the error is noon fatal21:32
jtaylorbut its an regression21:32
pktI see21:33
pktI can look at it21:33
pktunless the package is to be dropped of course21:33
jtaylorI don't really now the difference between the two21:34
ESphynxAlt-F "Search" shortcut ? how can I disable that? :|21:36
ESphynxah no, it's just 'alt / released' :| how annoying!!21:38
ESphynxthe hud :| disabled that...21:51
ESphynxE: Package 'ia32-libs-multiarch' has no installation candidate --> where should I ask about this?21:51
* Pikkachu tired21:52
ESphynxwhen tired, sleep :)21:52
ESphynx"This may mean that the package is missing, has been obsoleted, or is only available from another source"21:53
pktmicahg fwiw I think I fixed the as-needed issue as well21:56
pktSorry for taking so long but compiles take long time here21:56
ESphynxtumbleweed: you remember this amd64 issue I had? =)21:58
pkthttp://pastebin.ubuntu.com/869020/22:08
pktthese are my changes22:08
ESphynxpkt: Any idea about multiarch? :| where should I ask about this? :\22:08
pktsorry, not much experience with this22:09
ESphynxI basically want to know how one is meant to build a 32 bit app on a 64 bit machine :|22:09
pktah ia32-libs-multiarch22:09
pktit reminds me of something22:09
JanCmultiarch allows you to install i386 packages on an amd64 system22:09
pktwine was broken a little time ago because of this I think22:10
ESphynxadding this fixed the build on Oneiric (i.e. just ia32-libs, which works on Natty, wasn't enough)22:10
pktthere was a change for precise IIRC22:10
JanCso no more need for ia32-lib*22:10
ESphynxJanC: I understand that. but what about 'building' on a 64 bit machine22:10
JanC(in theory)22:10
ESphynxa 32 bit app?22:10
JanCwell, I guess you would need the right 32-bit compiler & -dev packages22:11
ESphynxJanC: which are all specified in my package dependencies... So I would wish my package builds on a 64 bit machine as well22:11
ESphynxBut I get this error: Package ia32-libs-multiarch is not available, but is referred to by another package.  This may mean that the package is missing, has been obsoleted, or is only available from another source. E: Package 'ia32-libs-multiarch' has no installation candidate22:12
JanCESphynx: one option is to use a chroot or similar22:12
JanCpbuilder can do that...22:12
ESphynxJanC: On Oneiric, which also uses multiarch, it 'just works'22:12
ESphynx(My makefiles all have -m32 to build in 32 bit)22:13
JanCBTW: you probablmy don't need/want any ia32-lib* packages anymore22:13
JanCas a dependency22:14
ESphynxJanC: but I do need the 32 bit dev packages to be installed! how can I let the package manager know about that?22:14
ESphynxfor the build to work...22:14
pktbtw I think the package is now ia32-libs-multiarch:38622:14
ESphynxpkt: that might work :)22:15
JanCmaybe specify dependencies as libfoo-dev:i386 ?22:15
ESphynxJanC: I got all those coverd (well not with :i386... I just learned about that :P)22:15
ESphynxi'm downloading Precise 64 so I will give that a try22:15
JanCwhat I mean is: don't use the ia32-* stuff anymore  ;)22:16
ESphynxJanC: right. use :i386 instead ?22:17
JanCI think so22:17
ESphynxthat's basically my question :P hehe, what should I do :P22:17
JanCI think you should build them on a 32-bit system/chroot and then install using :i386 on the amd64 system  ;)22:18
ESphynxJanC: that's not easy for people downloading my software as source :P22:18
JanCat least, I think that's how it's done officially22:18
ESphynxI want them to just do 'make' and it works22:18
JanCPPA?22:18
pktJanC's way seems the right way to go22:18
ESphynxESphynx: i mean, right from a git clone... I want them to just do 'make' even if they are on amd6422:19
ESphynxpkt: :i386 ?22:19
pktI mean to build in 386 chroot22:19
ESphynxpkt: that's a pain for users.22:19
JanCESphynx: why would you need to build 32-bit only anyway?22:19
pkt:i386 seems to be for depending on i386 libraries22:19
ESphynxJanC: 'cuz my software doesn't support 64 bit yet :P (i hope it will later this year...)22:20
pktnot for dev tools, at least if I understand correctly22:20
ESphynxpkt: those ia32-libs / ia32-libs-multiarch did get things building on oneiric though :P22:21
JanCESphynx: make a daily build PPA on Launchpad for those who want the latest version, but really, you should fix your software first instead of trying to set up weird build systems  :P22:21
Pikkachuamazing, I installed libglib2.0 and it succeeded to install, but now thinks removing it is too dangerous???22:22
ESphynxJanC: yes, but I still think it should be possible to build in 32 bit on a 64 bit system.22:22
pktUnfortunately I have to leave now22:22
ESphynxI mean, it was easy before22:22
ESphynxthanks for all your help pkt. good night and take care :)22:22
pktI will put radare in my ppa and look into how to merge it tomorrow22:23
RAOFIt *is* possible to build 32bit binaries on a 64bit system, but it's non-trivial.22:23
pktthanks ESphynx: I hope you will solve the build problems22:23
ESphynxJanC: and it's not weird :P22:23
JanCESphynx: it is possible, but the recommended way is to use a chroot or a VM  ;)22:23
ESphynxRAOF: Any advice?22:23
ESphynxpkt: I solved the i386 one!22:23
pktcheers, goodnight everyone :)22:23
ESphynxpkt: it was the stricter libc regarding strcpy overlap...22:23
pktah, that makes sense yes :)22:23
RAOFESphynx: Multiarch gets you *most* of the way there, but -dev packages aren't multiarched yet.22:24
ESphynxas jtaylor pointed out ;P22:24
JanCbuilding binaries is one thing, building packages complicates it somewhat more22:24
Pikkachuif I didn't recover the additional files the system would be compromised: libglib2.0-0-dbg libglib2.0-0-refdbg libglib2.0-cil-dev libglib2.0-doc22:24
ESphynxRAOF: it was working on oneiric ... with ia32-libs and ia32-libs-multiarch22:24
ESphynxRAOF: but on precise now I get this weird E: Package 'ia32-libs-multiarch' has no installation candidate22:24
ESphynxRAOF: https://launchpadlibrarian.net/95113396/buildlog_ubuntu-precise-amd64.ecere_201203031148-0~446~precise1_MANUALDEPWAIT.txt.gz22:24
Pikkachuanyone using pidgin help me testing a thing?22:24
ESphynxPikkachu: What's your pidgin plugin do?22:25
RAOFESphynx: Oh!  That's very simple - don't build an amd64 package :)22:25
RAOFESphynx: Your i386 package will show up on amd64 packages, and the multiarch support will pull in the relevant dependencies.22:26
ESphynxRAOF: I understand that. but I'm worrying about people ON a 64 bit machine, wanting to build my source.22:26
ESphynxI want 'make' to work for them.22:27
PikkachuESphynx: changes nick when you are away (can't be tested within this channel :(, but you could use some other network )22:27
ESphynxPikkachu: hehe sorry I don't use pidgin, I use Ecere Communicator and mIRC :P was just curious22:28
RAOFESphynx: Ah.  That's no longer possible without some manual work on their side (creating dev symlinks).  It only accidentally worked with ia32-libs, too :)22:28
* Pikkachu brb22:31
ESphynxRAOF: I wish it would accidentally work again.22:32
EvilResistanceis CDBS still supported/used?22:32
EvilResistancefor packaging22:32
EvilResistanceoh nevermind22:32
ESphynxRAOF: it worked till Oneiric ...22:32
EvilResistancebut perhaps a MOTU could discuss with me how this could be improved: https://wiki.ubuntu.com/PackagingGuide/Basic#rules22:32
EvilResistanceerm22:32
RAOFESphynx: Well, it can *kinda* work now; you'd need to instruct the user to install libfoo-dev:i386.  That'll work, as long as they don't have libfoo-dev:amd64 installed.22:33
EvilResistanceermhttps://wiki.ubuntu.com/PackagingGuide/Basic22:33
EvilResistanceBLEH22:33
EvilResistancehttps://wiki.ubuntu.com/PackagingGuide/Basic <-- this even22:33
ESphynxRAOF: ugg!!!22:33
jtaylorRAOF: aren't many -dev packages coinstallable?22:33
ESphynxRAOF: but it does 'skipping incompatible' , doesn't it?22:33
ESphynxRAOF: the linker ignores wrong architecture...22:33
EvilResistanceMOTUs: https://wiki.ubuntu.com/PackagingGuide/Basic <-- doesnt this ignore the 'install' file, which defines "Where to put built files"?22:33
ESphynxRAOF: really it's only an apt-get being stubborn here that's the problem22:34
jtaylorESphynx: you have to pass -m32 of course22:34
RAOFESphynx: Right.  But the *correct* architecture is available.  As long as you pass -m32.22:34
ESphynxi.e. it works in oneiric, with both pacakges installed22:34
ESphynxjtaylor: I do (always)22:34
ESphynxRAOF, jtaylor: So should I just try chanigng the ia32-libs dependencies for libbla-dev:i386 ? might that work ?22:35
jtaylorI don't think that works yet22:35
RAOFESphynx: Yes, that will probably work.22:35
micahgno, that won't work on the buildds22:35
RAOFOh, that's right.22:35
jtayloror it will ^^22:35
ESphynxlove it ;)22:35
RAOFYou can't have a package dependency on :i386.22:35
RAOFYou can *tell* people to install :i386, but there's no syntax for doing that in debian/control.22:36
ESphynxBut will it work for the user22:36
ESphynxto do apt-get install with :i386 ?22:36
ESphynxand I'll just disable the PPA build for amd64 on Precise.22:37
EvilResistancemicahg:  jtaylor:  can i get your input on the packaging guide?22:37
EvilResistanceit appears to be missing things22:37
EvilResistance(the basic guide)22:37
RAOFYes.  It should work for the user (assuming they don't have :amd64 installed)22:37
ESphynxRAOF: Even if they do, I think? (hope)22:37
Pikkachuhi, I'm willing to have launchpad compiling and building a plugin I wrote to pidgin onto a PPA, I have created the Makefile based on another plugin, does it look good? http://pastie.org/3521901. I wanted to remove the unnecessary flags tough.22:37
jtaylorRAOF: most -dev packages should be coinstallable?22:37
jtaylorI tried it once with one of mine22:38
jtaylorworked flawlessly22:38
ESphynxjtaylor yes I would think so.22:38
RAOFjtaylor: I'm pretty sure it's a policy violation to have -dev coinstallable.22:38
micahgEvilResistance: install file not needed for basic packaging (i.e. one binary)22:38
jtaylorreally?22:38
jtaylorI have seen a couple of -dev pacakge declaring MA: same22:38
* ESphynx beats the policy22:38
jtaylorwhy would it violate policy?22:38
micahgwell, coinstallable dev packages isn't required by multiarch policy yet22:39
ESphynxyes, why? :O22:39
ESphynxI vote it should be _o/22:39
jtaylorwhen the checksums match it works fine22:39
ESphynxthanks for all the help guys. appreciate it.22:39
jtaylorbut I recall the huge discussion on that on d-d22:39
ESphynxgot to run for now ;) cheers.22:40
jtayloris there a result of that yet? I haven'T read everything22:40
RAOFjtaylor: http://wiki.debian.org/Multiarch/Implementation#What_does_the_end_result_look_like.3F22:40
RAOFHm, actually, on closer inspection... no.22:40
jtaylorRAOF: multich same -dev package conform to that22:40
RAOFThat doesn't prohibit multiarch -dev packages.22:41
ESphynxsuccessful i386 PPA build on Precise =) https://code.launchpad.net/~jerstlouis/+recipe/ecere-daily-multiarch22:41
* Pikkachu brb22:50
tumbleweedESphynx: my recommendation was to not bother building on amd64, in the multi-arch world23:05
ESphynxtumbleweed: right, I think i'll go that way, I was just worried about people 'building' on an amd64 system...23:18
ESphynxbut as RAOF and jtaylor pointed out, they can probably install the :i386 packages23:18
ESphynx(which unfortunately we cannot do from the package system)23:18

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