/srv/irclogs.ubuntu.com/2011/12/29/#ubuntu-motu.txt

=== bkerensa is now known as hypodermic
=== hypodermic is now known as bkerensa
mlinscott•sanbar• heya!04:54
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
KNROHow do you make packages from outside universe available to packages being built by launchpad build system?13:20
geseryou mean for use in your PPA?14:00
KNROgeser: yes?14:10
KNROgeser: yes for PPA14:10
=== yofel_ is now known as yofel
geserKNRO: hmm, good question. You might need to ask that in #launchpad.14:24
geserwhich package do you need for building from multiverse?14:26
KNROgeser: my own packages in my ppa that I just built14:27
geserah, that should be automatically picked up14:28
KNROI have libqsi-6.0.3 that is already built, and I have indi-qsi which depends on libqsi-dev which is provided by the previous package14:28
geserhave you a link to the failed build at hand?14:28
KNROgeser: sure , hold on14:28
KNROhttps://launchpadlibrarian.net/88715108/buildlog.txt.gz14:29
KNRO pbuilder-satisfydepends-dummy: Depends: libqsi-dev which is a virtual package.14:31
geserKNRO: libqsi - 6.0.3-0~3~oneiric1 seems to be the first one which build successfully and got published 1 hour ago. So it might be bad timing that it wasn't published yet when the other build got tried (it was about something more than 1 hour ago)14:39
KNROso you think it's a timing issue?14:39
geseryes, retry it14:39
KNROhow about Depends: libcfitsio3-dev but it is not going to be installed. ?14:39
geserlet me check14:40
KNROthis is another package...14:40
KNROhowever, this is an official package in MAIN... so I'm not sure what the problem is there14:41
geserme currently neither14:43
gesergive it retry, perhaps a fallout from the previous error14:46
KNROhmmmmm ok14:52
jtayloranyone know how to get ports.ubuntu.com merged with the regular archive with apt-cacher-ng? just adding it to the mirror list does not work :(15:45
=== Guest76320 is now known as JackyAlcine
=== JackyAlcine is now known as Guest39737
micahgjtaylor: merged?  are you trying to get the arch all packages?17:16
jtayloryes17:17
micahgadd the same line as the regular archive, just put [arch=i386] after deb17:17
=== Guest39737 is now known as JackyAlcine
=== JackyAlcine is now known as Guest48809
=== Guest48809 is now known as JackyAlcine
jtayloryou mean in apt/sources.list?17:20
jtaylorI'm trying to get it done in the cacher itself17:22
micahgjtaylor: oh, no idea how to do that, but the regular archive is faster (mirrors and whatnot), so adding the second deb line should speed things up as well17:28
micahgit actually needs to be above the ports one though17:28
jtaylormy connection is so slow that the slowness of ports does not matter much, I'm trying to avoid downloading stuff multiple times17:29
=== JackyAlcine is now known as jalcine
psusiapport can be configured to collect .xsession-errors right?  how does one do that?  it would really make the apport reports for gparted much more usefull19:50
Ampelbeinpsusi: Yes, you need a package hook. See https://wiki.ubuntu.com/Apport/DeveloperHowTo20:03
psusidoes debian also use apport?20:08
psusii.e. would they care to include the hook, or will that need to be an ubuntu deviation?20:09
=== el2ro_ is now known as el2ro
psusiwhat's this do? report['SuspiciousXErrors'] = xsession_errors(re.compile('CRITICAL.*assertion.*failed'))20:14
psusidoes that pull lines from .xsession-errors that mention assertion failure?20:14
psusiif so, that's exactly what I'm looking for20:15
Alison_ChaikenI'm sorry to bother you folks again, but I've been wrestling with reprepro and dh_install and debian/rules for days now.20:46
Alison_ChaikenThe nub of the problem I'm having is "dh_install: <package>-dev missing files (usr/include/*), aborting"20:47
Alison_ChaikenI see that usr/include/* is called out in debian/<package>-dev,install.20:48
Alison_Chaikenoops, debian/<package>-dev.install20:48
Alison_ChaikenI'm not sure if dh_install can't find the source of the files or the destination.20:49
Alison_ChaikenI'm sure that I have to change the rules to tell dh_install where to look, and I'm sure it's under the binary-arch target, but I can't figure out how to get it to emit a more verbose error message so that I can figure out what it's missing.20:50
jtaylorwhich compat level?20:50
jtayloryou get more verbose output by exporting DH_VERBOSE=120:51
jtayloror running dh_install -v20:52
Alison_ChaikenI set DH_VERBOSE=1 in debian/control, but the "missing files" line above is all I get before dh_install dies.20:54
Alison_ChaikenI'm not sure what "compat level" is.20:54
jtaylorthe value in debian/compat20:54
Alison_ChaikenI was using debuild at the CLI.20:54
Alison_Chaikencompat level 820:54
jtayloris anything in debian/tmp/usr/include after the build?20:55
Alison_ChaikenI should try to figure out how to invoke dh_install from the CLI, I guess.    Maybe that would give more info.20:55
jtayloryes with -v20:55
Alison_ChaikenThere is no debian/tmp/usr20:55
jtaylorthats most likely your problem20:56
Alison_ChaikenThere's debian/<package> and debian/<package>-dev though.20:56
ajmitchwhat's DESTDIR set to?20:56
Alison_ChaikenSo the tmp directory is not getting created, or is in a weird place?20:56
Alison_ChaikenI didn't set DESTDIR by hand.20:57
Alison_ChaikenINSTALL_ROOT is set in the Makefile though.20:57
Alison_Chaikenand a manual "make; make install" does what I expect.20:57
jtaylorwhat buildsystem?20:57
Alison_Chaikencmake.20:57
jtaylorand debhelper tiny rules?20:58
Alison_Chaikenmaybe the problem is that cmake's files are in build.20:58
Alison_ChaikenI know not the debhelper tiny rules.20:58
jtaylorhow does your rules file look like?20:58
psusi#2  0x00007fcb279c1452 in ped_assert () from /tmp/tmp5MOi2b/lib/x86_64-linux-gnu/libparted.so.020:58
psusiNo symbol table info available.20:58
psusitaht means that the retracer couldn't find the dbg file right?20:58
jtaylorDESTDIR must be set, but usually that is done by the packaging helpers21:00
jtaylorif you aren't using them you have to set it yourself21:00
Alison_ChaikenMy rules file just has DH_VERBOSE=1 and "include blah/debhelper.mk"21:01
jtaylorno cmake.mk?21:02
Alison_ChaikenI'll try setting DESTDIR and see what happens.    What goes in DESTDIR?21:02
ajmitchAlison_Chaiken: you mean "include /usr/share/cdbs/1/rules/debhelper.mk"?21:03
Alison_ChaikenHuh, looks like it gets a lot further if I include the cmake.mk besides debhelper.mk!21:03
jtaylor$(CURDIR)/debian/tmp21:03
jtayloras expected when you use a cmake buidlsystem :)21:04
Alison_ChaikenDESTDIR=$(CURDIR)/debian/tmp then?21:04
jtayloryou don't need to set it yourself if you use cdbs cmake module21:04
Alison_ChaikenAdding cmake.mk means that I now have debian/tmp with files in it.21:05
ajmitchgreat21:05
jtayloryes cmake.mk sets up cmake correctly for you21:05
Alison_ChaikenStill stops eventually, but much further along.21:05
ajmitchwhere does it stop now?21:05
Alison_ChaikenJust to be clear, what was wrong before?   dh_install couldn't find the sourcedir or couldn't find the destdir?21:06
jtaylorDESTDIR was not set21:06
jtaylorprobably cmake was not executed either21:06
jtaylorand it just used a preshipped makefile21:06
Alison_ChaikenMy biggest problem with the packaging system is that it is too terse.   If I knew which files were missing, I'd figure it all out.21:06
ajmitchso it wasn't installing the built files into the right place for dh_install to pick up21:07
jtaylorwith export DH_VERBOSE=1 it prints every single command21:07
Alison_ChaikenThe commands are printed all right, but the error messages are canned and don't contain enough info about the failure.21:08
ajmitchcdbs does cover up a bit too much of the magic for some people21:08
jtaylorit should ahve contained something like this: cp -a debian/tmp/... file not found21:08
jtaylorwhat more info do you need?21:08
Alison_Chaikenajmitch, when you talk about dh_install picking up, I'm still not sure if it found the files and didn't know where to copy them, or if it didn't find them.21:09
Alison_Chaikenso the problem then jtaylor is that debian/tmp wasn't created (it was the missing DESTDIR I guess) and dh_install tried to look for files in debian/tmp/usr/include and there weren't any?21:10
ajmitchit didn't find them, there should have been other errors printer, like jtaylor said21:10
ajmitchright21:10
Alison_ChaikenSo debuild compiles the source files using the package's native build system, it copies the binaries and sources to debian/tmp, and then it tars and compresses them?21:11
jtaylorno21:12
jtaylorit uses the native build system to install to debian/tmp using DESTDIR=debian/tmp and PREFIX=/usr21:12
jtaylorthen it installs from there into debian/package-name and tars it21:12
jtaylorif you only have one package you can skip the redirection to debian/tmp21:12
EvilResistanceis there a guide to setting up debhelper to run a setup.py python script for a package i'm building for a project/team?21:13
Alison_ChaikenI want to build the source and binary packages, so that's already two, I guess.21:13
EvilResistancegeneral packaging, not necessarily PPA packaging ;P21:13
jtaylorno the source package is what you are building from, the binary packages are the result21:13
jtaylorbut a libsomething + libsomething-dev are two binary packages21:13
Alison_ChaikenAh, okay, package and package-dev are what I meant.21:14
Alison_ChaikenThanks so much you guys for your help.21:14
Alison_ChaikenI will thank you on our project wiki . . . once I have my archive there!   (RSN, we hope, before deadline.)21:15
ajmitchEvilResistance: it can be as simple as http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/precise/python-configglue/precise/view/head:/debian/rules21:17
EvilResistancewill it auto-detect the setup.py script?21:18
jtaylorif there is no makefile yes21:18
EvilResistanceor do i have to tell the thing to run it, say, post-install21:18
EvilResistanceah, very good, so its easier than I thought :P21:18
jtaylorthis one is a bit more complex: includes tests and python3 packaging http://anonscm.debian.org/viewvc/python-modules/packages/ipython/trunk/debian/rules?revision=19761&view=markup21:18
EvilResistancei think the initial one that ajmitch linked me will work, i'll test once i actually package the thing up :P21:26
* EvilResistance does numerous test builds with pbuilder before releasing a package publicly :P21:26
ScottKHere's another example that's not as complex as ipython: http://anonscm.debian.org/viewvc/python-modules/packages/python-ipaddr/trunk/debian/rules?revision=19761&view=markup21:32
ajmitchautomagic 2to3 at build time?21:33
jtaylorif upstream supports it yes21:33
jtaylorhm ipaddr does not use --force for install21:34
jtaylorthat can cause issues with timestamps21:34
jtaylorbut I forgot the situation where that bit me :/21:35
jtaylorbtw thx ScottK for the qt py3 packages21:39
ScottKHere's another on of the magic 2to3 packages: http://anonscm.debian.org/viewvc/python-modules/packages/pyspf/trunk/debian/rules?revision=19761&view=markup21:39
ScottKjtaylor: Thanks to your bug, they even work now.21:39
ScottKBTW, POX gets some credit/blame for them too (although he declined to say so in debian/changelog)21:40
=== EvilResistance is now known as Resistance

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