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

=== medberry is now known as med_out
dholbachgood morning07:01
iulianMorning dholbach.08:16
dholbachhi iulian08:16
dupondjeCould somebody try to create a chroot with pbuilder-dist? It fails here all the time :(08:29
jtaylorcan someone set 791318 to triaged please08:37
iulianDone.08:40
jtaylorthx08:44
nigelbHow do I do a += for Cmake's configuration file?08:55
jtaylorlist(APPEND VAR VALUE)08:58
nigelbI did the CFLAGS change, but I just made it a LIB enry instad of adding it to an existing lib entry09:00
nigelbbah, doing an append didn't fix it :/09:15
nigelbThis is the CmakeList.txt file http://dpaste.com/563212 and http://dpaste.com/563213 is my patch09:17
nigelbwhat am I doing wrong?09:17
jtaylorshouldn't it go in target_link_libraries?09:25
nigelboh.09:25
nigelbthat I didn't know09:25
dupondjeW: Failure trying to run: chroot /var/cache/pbuilder/build/22485/. dpkg --force-depends --install /var/cache/apt/archives/libc6_2.13-0ubuntu13_amd64.deb09:27
dupondjeE: debootstrap failed09:27
dupondjecan't even seem to create a natty pbuilder-dist env :(09:28
nigelb(maybe a dumb question), is your OS is i386 or amd6409:28
nigelb-is09:28
jtaylor<amd6409:29
=== freeflyi1g is now known as freeflying
nigelbThis build failure has other problems.09:54
nigelbI fixed one library call.09:54
nigelbSeems like more needs fixing09:54
tumbleweeddupondje: I can create a oneiric pbuilder just fine (on oneiric). What are you running?10:01
nigelbtumbleweed: heya, you work on ubuntu-dev-tools right?10:08
tumbleweednigelb: yip10:09
nigelbtumbleweed: want to quickly talk about it (5 minutes) during Ubuntu Developer Week lighting talks?10:10
nigelb(Its mostly project lightning talks, so any interesting package/project gets good visibility)10:10
tumbleweednigelb: sure, can do10:12
sagacipackaging-dev sounds good too10:13
nigelbtumbleweed: awesome, its at friday 15th at 2000 UTC10:13
nigelbwell, some time between 2000 and 2100 UTC :D10:14
tumbleweedwe are trying to get the interesting bits *out* of ubuntu-dev-tools where possible, but that's no reason not to talk about it :)10:14
nigelbtumbleweed: heh, was it you that told at the session about someone filing a bug against ubuntu dev tools for a tool that was already in it?10:14
nigelb*UDs session10:14
nigelbargh! *UDS10:14
tumbleweedyeah, this happens :)10:15
nigelbheh10:15
tumbleweed(don't know if that was me, though)10:15
nigelbIt was either you or benjamin10:15
nigelbThis is my CMakeList.txt file http://dpaste.com/563236/ (patched), some libs are still not linked, most notably dbus. How do I go about doing that?10:16
nigelbDo I add openssl and dbus-1 after the ldap entry in TARGET_LINK_LIBRARIES?10:18
tumbleweednigelb: don't know what package you rae working on (and I haven't messed with this stuff in cmake), but libldap isn't linked to openssl or dbus10:22
nigelbtumbleweed: its pathfinder, and I should have been more clearer.10:23
nigelbOne of the .o files depend on libldap, openssl and dbus10:23
nigelbI got the ldap bit works now after I added it in line 107, but I 'm trying to figure out how to add openssl and dbus10:23
tumbleweedI don't think order will matter here10:24
nigelbnot order, just what to put there10:24
nigelbI tried openssl, it failed just now10:24
nigelbI tried putting ${OPENSSL_LIBDIR} which failed too10:25
tumbleweedtry libcrypto rather than openssl. it's a separate .pc file10:25
nigelbah10:26
dupondjetumbleweed: pbuilder-dist and pbuilder, both are broken here :s10:27
dupondjedebootstrap is mounting /proc in the chroot, but doesn't seem to umount it.10:27
tumbleweedyeah, I saw you saying that. What Ubuntu release areyou on?10:28
dupondjeOneiric10:28
* tumbleweed is wondering why I'm not seeing this10:28
dupondjetried making a oneiric chroot on natty, and that works fine also (other computer)10:29
dupondjesee http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631087 btw10:29
ubottuDebian bug 631087 in debootstrap "pbuilder failed to create base.tgz (mount: /proc already mounted or /var/cache/pbuilder/build//24199/proc busy)" [Important,Open]10:29
dupondjesome people in debian have same issue10:29
dupondjewonder why10:29
tumbleweedah well, at least you have a workaround, and we can wait for someone else to get to the bottom of it :)10:30
tumbleweednigelb: hrm, the libcrypto.pc is just a subset of openssl. Dunno if that'll help then10:31
nigelbtumbleweed: I think I'm doing something wrong with linking. I'm just not sure enough10:32
dupondjewell yea :) but can't access the other pc all the time :)10:32
tumbleweeddupondje: you can copy the base.tgz across, you only need to build it once10:33
dupondjeah true10:34
dupondjecould do that indeed10:35
=== dholbach_ is now known as dholbach
dupondjebest thing would be getting it fixed ofc :D10:35
dupondjebut debootstrap got like no debug option :(10:35
jtaylorplease set 803204  to triaged10:37
tumbleweedthanks10:38
nigelbtumbleweed: nope, didn't work :)10:39
nigelbI'm trying some stuff with INCLUDE_DIR10:39
nigelbIt said it can't find that lib the last time10:39
nigelbthe openssl and dbus ones10:40
nigelbaha10:42
nigelbHow do I fix "/usr/bin/ld: cannot find -lopenssl"?10:42
tumbleweedthat's wrong. It's not called libopenssl10:43
nigelbso, when I link from the commandline, I do -llibopenssl?10:44
jtaylorno  -lssl10:44
nigelbah10:44
tumbleweedthanks jtaylor, *not* called libopenssl :)10:44
nigelbIts probably called libopenssl but not linked that way10:44
nigelbwhat's the easiest way to figure that out without installing and doing a dpkg -S?10:45
jtaylorapt-file10:45
nigelbthanks jtaylor!10:46
Laneyyou have to install it to test build anyway?10:46
nigelbthat's inside the pbuilder10:46
nigelbI should install the pbuilder hhoks10:46
dupondjeah well10:47
dupondjehttps://bugs.launchpad.net/debian/+source/debootstrap/+bug/80588610:47
ubottuUbuntu bug 805886 in debootstrap (Ubuntu) "/proc does not get umounted after debootstrap" [Undecided,New]10:47
dupondje:)10:47
LaneyI usually log in for non-final builds10:47
Laneyto the chroot10:47
tumbleweedpbuilder + the C10shell hook is nice for debugging failures10:48
tumbleweednigelb: no, it's called libssl (and there's also libcrypto, which is what this build failed on, on the buildd) If a package has a .pc file, you can find out a lot of useful information in it, look at /usr/lib/pkgconfig/openssl.pc10:50
nigelbtumbleweed: I should have known that. This CMake fle is usint the .pc files10:50
tumbleweedyou sure? I swear I sawe some PKGCONFIG things in the file you pasted10:51
nigelbtumbleweed: erm *is* using10:51
nigelbok, I give up. I thought I fixed this by adding ssl, but that didn't fix it either :/11:09
jtaylorplease set to triaged: 80319111:16
tumbleweedjtaylor: done. (you can assume I'll notice bugs I filed)11:17
nigelbAh, I got confused because this failure is not just an --as-needed failure because of library ordering11:34
nigelbthere is some problem with indiin11:35
nigelber, indirect linking11:35
nigelboh, well, its the same11:36
nigelbAh, quilt. is there a way to un-"add" a file?11:43
tumbleweednigelb: that's not something you should need to do. adding a file just means quilt will notice changes when you quilt refresh11:45
tumbleweedif you haven't made any changes, there's nothing for it to notice11:45
nigelbtumbleweed: I made a mess, but now undone :P11:46
=== ximion2 is now known as ximion
tumbleweedwell, that's easy, refresh and pop the patch, then edit the patch to remove the changes you don't want and push it again11:48
Laneythere's quilt revert11:48
nigelbAfter one scary day playing with the patches themselves, I tend to not edit it directly11:48
nigelbI forced a push11:48
nigelbs/push/pop11:49
nigelbthen undid my change11:49
tumbleweedLaney: ah, even easier11:49
nigelbforced a push, forced a pop and refreshed11:49
nigelbLaney: I er accidentally made a change, then added, undid my change and refreshed11:49
nigelbcausing a change opposite of what I wanted to happen11:50
tumbleweedrecountdiff is handy if one does invasive patch etids11:50
nigelbbah, this still doesn't work :/11:51
Laneyipatch too for patch editing11:51
nigelbI did a include <ssl.h> and did -lss11:51
nigelb*-lssl11:51
nigelbit is indeed failing at ssl related functions11:51
tumbleweedLaney: err never heard of that. googling it turns up some OSX thing11:52
tumbleweednigelb: if I'm reading it correctly, the failure in the build log from the test rebuild is a missing libcrypto not libssl11:53
tumbleweedah, but the cmake file was linking to ssl too. nm11:54
nigelbisn't crypto provided by ssl?11:54
tumbleweedyes, but they are separate libraries, dpkg -L libssl1.0.011:54
Laneyhttp://www.joachim-breitner.de/blog/archives/425-ipatch,-the-interactive-patch-editor.html11:55
nigelbwhat does Libs.private mean in the .pc file?11:55
jtaylorlibraries only needed for static builds11:56
jtaylorno symbols of these libraries are exported11:56
tumbleweedLaney: oh right, I remember seeing that11:56
nigelbNow, I'm confused whether to swap -ssl with -crypto because its listed as Libs.private11:56
Laneyuseful to have around11:56
tumbleweednigelb: Libs.private is not relevant to this problem11:57
nigelbtumbleweed: oh. swapping.11:57
nigelbtumbleweed: exact same failure :(12:04
tumbleweednigelb: you probably want to turn up the verbosity so you can see what the gcc arguments are12:04
nigelbIs that a CMake setting?12:05
nigelbah, yes12:06
nigelbMy linking is working apparently http://dpaste.com/563276/12:11
nigelbwait a minute, there are some libs there, where did they come from :|12:12
tumbleweednigelb: wrong order, -ssl should be before -crypto12:13
nigelbtumbleweed: ah12:13
nigelbtumbleweed: aaaaah, bit by the bug I'm trying to fix. The irony12:13
nigelbtumbleweed: similar failure again12:19
nigelb(On another note, I've jut built this package 15 times today now :D)12:19
nigelb*tried to build12:19
jtaylortumbleweed: delay merging gps, I made a typo12:21
jtaylorstupit bzr ._.12:25
jtaylorso now its ready12:36
tumbleweedjtaylor: thanks12:44
nigelbtumbleweed: I figured out what the problem is and I haev a hacky fix.12:54
nigelbThe CFLAGS are loading a few -l calls.12:54
nigelbMy hacky fix would be to just copy paste them over12:54
nigelbI don't see an easier solution12:54
tumbleweednigelb: can you not fix it to not use CFLAGS for libraries?13:05
nigelbtumbleweed: I'm not sure how.13:06
tumbleweednigelb: debdiff so far?13:08
nigelbtumbleweed: sec13:08
=== hrww is now known as hrw
nigelbtumbleweed: http://dpaste.com/563289/13:10
jtaylorgna another libtool package making problems -.-13:30
jtaylorhow I hate that thing13:30
jtayloris this wrong? libc_urg_la_LDADD = -lm13:34
debfxScottK: could you please ack bug #80596214:00
ubottuLaunchpad bug 805962 in natty-backports "Backport teeworlds 0.6.0-2 and bam 0.4.0-2" [Undecided,New] https://launchpad.net/bugs/80596214:00
ScottKdebfx: Done.14:01
debfxthanks!14:01
jtaylorwhile your at it, how about bug 798191?14:06
ubottuLaunchpad bug 798191 in natty-backports "please backport matplotlib 1.0.1-2ubuntu1" [Undecided,New] https://launchpad.net/bugs/79819114:06
micahgjtaylor: that has a lot of rdepends14:06
micahgjtaylor: http://paste.ubuntu.com/638440/14:08
jtaylorto my knowledge no package needed changing when it transitioned in debian14:10
micahgjtaylor: yes, but a requirements for backports is that all rdepends get tested14:10
jtaylorhm, ok then its hopeless14:11
micahgjtaylor: why?  there aren't that many on the list...14:11
jtaylor~140 rdeps not many?14:12
micahgjtaylor: there are a lot of dupes in that list :)14:12
jtaylorI don't care so much for that package that I will test them all ..14:12
micahgmaybe the other person who commented in the request would be willing to14:12
LaneyI do wonder if that requirement is too stringent14:13
Laneythat's no way what happens when updating to a new revision in a developent release, for eample14:14
Laney(testing all rdeps)14:14
=== ximion1 is now known as ximion
micahgLaney: yes, but with the dev release, there's an assumption that bugs will be caught, in stable the rules are more stringent, we don't want to break systems14:16
LaneyI know why it's there14:17
* micahg will update the matplotlib backport request14:34
=== ximion is now known as ximion1
=== ximion1 is now known as ximion
tumbleweednigelb: http://code.google.com/p/pathfinder-pki/issues/detail?id=2814:58
jtaylorthat patch will probably not work due to as-needed15:07
tumbleweedah, that's true, I only looked on sid15:07
tumbleweedI gave up trying to understand the right way to solve the problem, their cmake use seems rather icky15:08
jtaylorhm I'll have a look15:08
tumbleweedI think I taught myself how to drive cmake, but I started getting semi-colons between gcc parameters (when pkg-config returned two include paths, due to multiarch)15:10
jtaylorstrange it does not want to register the ssl DT_NEEDED entry15:15
nigelbI just grepped, I rebuild it 40 times today15:16
jtaylorah no it needs nss :/15:16
nigelbbut not everywhere15:16
nigelbI think moving LINK_FLAGS into TARGET_LINK_LIBRARIES might fix --as-needed-linking15:17
nigelbor something of that effect15:18
jtaylorso got it to compile15:18
jtaylorwithout cmake ^^15:18
nigelbjtaylor: are you picking this up?15:18
jtaylorI'll have a look at it if you like15:20
nigelbjtaylor: I'm trying to figure out how to get things out correctly.15:21
jtaylorI just quickly compiled it on the command line you need to explicitly link libpathfinder with nss and link nsstest with -lssl315:21
hrwwhy pbuilder needs to be so awkard...15:28
nigelbpbuilder-dist is slightly more friendlier15:29
Laneysbuild is love15:29
Laney(with an apt cacher)15:29
tumbleweed(or even better, a mirror)15:29
tumbleweedsbuild doesn't make it quite as easy to dive in and fix problems, though15:30
hrwLaney: I cant work without apt-cacher-ng ;D15:30
tumbleweedand doesn't use distcc by default, which can be rather handy when debugging15:30
hrw--login --save-after-login != --save-after-login --login != --login --save-after-login true15:30
hrwargh15:30
nigelbheh15:31
Laneyi just log in, get-build-deps and win15:32
Laneyno need for this fancy hook stuff :P15:32
* tumbleweed tends to fire up a build, then resume the failed session, but that requires copying and pasting, and then working without my preferences (sbuild user doesn't have my rc files)15:33
Laneyah, that stuff happens in a separate terminal15:34
Laneythe schroot session is just for looping dpkg-buildpackage really15:34
hrwschroot... I always forget to learn how to use it from other develoeprs at sprints/udses15:36
hrw~curse bug 802985 and broken chroots due to this15:39
ubottuLaunchpad bug 802985 in eglibc (Ubuntu Hardy) "[lucid] /var/lib/dpkg/tmp.ci/preinst: 399: arithmetic expression: expecting EOF: "3.0-0-generic"" [High,Triaged] https://launchpad.net/bugs/80298515:39
Laneyheh15:42
Laneydebootsrap should have learned to use multiple suites long ago15:42
hrwI looked at code of it today - many changes would it take15:43
jtaylornigelb: need more help with pathfinder?15:44
nigelbjtaylor: If you have time, yes!15:45
dupondjeCould somebody take a look at https://bugs.launchpad.net/debian/+source/debootstrap/+bug/805886 ?15:45
ubottuUbuntu bug 805886 in debootstrap (Ubuntu) "/proc does not get umounted after debootstrap" [Undecided,New]15:45
nigelbjtaylor: I think my headache has something to do with cmake's formatting of TARGET_LINK_LIBRARIES15:46
jtaylornigelb: this patch builds, but its ugly and it uses ssl and ssl3 which may give conflicts http://paste.ubuntu.com/638463/15:46
nigelbjtaylor: that's the path I was going through, but it didn't build15:47
jtaylordid you patch libpathfinder/CMakeLists.txt?15:47
nigelbjtaylor: yeah, but when I took a similar step, it didn't work for me15:48
nigelbthe $ variables didn't expand for me15:48
jtaylorstrange15:48
nigelbyup15:49
hrwI have a package which builds in lucid pbuilder (amd64), lucid chroot but fails on launchpad16:04
tumbleweedthe most common reason for that is internet access16:05
tumbleweedthat and differinc build-dependancy resolution algorithms16:06
Laneyoccasionally pkgbinarymangler/pkgstriptranslations too if you don't run those16:07
hrwanyway time to compile fake-uname.so and get lucid to think that 2.6.32 is kernel16:12
dilrukAnybody know how i can configure ALPS touchpad correctly?16:18
hrwdilruk: you run maverick at least?16:21
hrwah. no.. it was eten with problem16:21
dilrukhrw: im on natty...I can get the edge scrolling to work16:21
dilrukI cant i mean16:22
Picidilruk: This isn't a support channel. Please use #ubuntu16:22
dilrukI tried....but no one seem to care :(16:23
Picidilruk: You asked once. Be patient, and repeat your question if no one responds after a few minutes.16:23
dilrukok will do that. thank you16:24
hrwdilruk: it worked in past? is it old laptop or new? tried two-fingers-scrolling?16:25
dilrukhrw: it never worked...its a VAIO VPCEB intel i3. No special options are working16:26
hrwdilruk: ouch...16:30
hrwhow to recreate EXACT rootfs used by launchpad while building ppa packages?16:33
Ampelbeinhrw: what for?16:39
tsimpsonjust use pbuilder, it's not _exactly_ what LP uses, but it's basically the same16:40
dupondjebleh, cdebootstrap doesn't even know Oneiric :(16:42
* dupondje sad16:42
hrwbut package builds in pbuilder but not on launchpad16:42
geserhrw: where does it fail?16:43
hrwhttps://launchpadlibrarian.net/74590308/buildlog_ubuntu-lucid-i386.gcc-4.4_4.4.6-3ubuntu1~ppa2_FAILEDTOBUILD.txt.gz16:43
geserhrw: LP uses a hacked version of sbuild, and you can download the chroot LP uses for building16:43
hrwgeser: url?16:43
geserhrw: let me search it16:44
hrwthanks16:45
dupondjesbuild is better then pbuilder ?16:45
Ampelbeindupondje: it's different16:46
dupondjecause pbuilder broke here :(16:47
geserhrw: you might need to ask wgrant for the magic url which shows you the librarian url for the build chroot16:50
hrwok16:51
hrw+6h - will catch him tomorrow if will not solve16:52
hrwand time to end work now16:52
hrwhave a nice rest of day16:52
=== med_out is now known as medberry
dupondjehttps://bugs.launchpad.net/ubuntu/+source/courier/+bug/803176 => I attached a fix17:35
ubottuUbuntu bug 803176 in courier (Ubuntu) "courier version 0.65.0-3ubuntu4 failed to build on i386" [Medium,New]17:35
tumbleweedhrw: I know I've found them before by googling18:32
tumbleweedright: https://launchpad.net/api/devel/ubuntu/lucid/i386/chroot_url18:35
dupondjeifneq ($(wildcard /usr/lib/`dpkg-architecture -qDEB_HOST_MULTIARCH`/libcrypt.*),)19:10
dupondjethis should work right ?19:10
tumbleweeddupondje: I think you'd need to use $(shell ) rather than ``19:18
* micahg is curious as to the use case for the above statement19:18
tumbleweedyeah, that too :)19:18
dupondjeifneq ($(wildcard /usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)/libcrypt.*),)19:19
dupondjethat should do ?19:19
jtaylorwhats the point of that?19:20
jtaylorits always false19:20
jtayloror true19:20
dupondjehttps://bugs.launchpad.net/ubuntu/+source/dnprogs/+bug/74917619:21
ubottuUbuntu bug 749176 in dnprogs (Ubuntu Oneiric) "dnprogs version 2.55 failed to build on i386" [Undecided,New]19:21
jtaylorthat bug is pending in debian19:22
jtaylormaybe ask the maintainer for a patch19:22
dupondjeIt just has the following now:19:23
dupondjeifneq ($(wildcard /usr/lib/libcrypt.*),)19:23
dupondjeLIBCRYPT=-lcrypt19:23
dupondjeendif19:23
dupondjeSo by adding the one above, it fixes the ftbfs19:23
dupondjeand uses the same way it was done already in the code19:23
dupondje:)19:23
* micahg wonders why the ifneg is necessary in the first place19:23
jtaylorjust drop the if end endif19:23
dupondjeyea would be the good way indeed ...19:24
dupondjebut just wanted to do it the same way it was done already in the Makefile ...19:25
* micahg would think upstream should switch to a configure flag based detection instead of that19:27
dupondjewell its not a clean way19:27
dupondjebut that shouldnt be changed in a FTBFS patch I think19:27
micahgwell, either way, it's not suitable for upstream, so IMHO I think removing the check is cleaner in this case19:29
micahgas long as the library in question is in the build-deps19:30
dupondjelibc6-dev is build-dep19:30
dupondjeso yea :)19:30
dupondjeboth work.19:30
dupondjeso go for the check removal ? :)19:32
jtayloryes19:32
dupondjehttps://bugs.launchpad.net/ubuntu/+source/dnprogs/+bug/74917619:35
ubottuUbuntu bug 749176 in dnprogs (Ubuntu Oneiric) "dnprogs version 2.55 failed to build on i386" [Undecided,New]19:35
dupondjefix uploaded19:35
=== Quintasan_ is now known as Quintasan
=== ximion2 is now known as ximion
=== ximion is now known as ximion2
=== ximion2 is now known as ximion
=== yofel_ is now known as yofel
=== medberry is now known as med_out

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