/srv/irclogs.ubuntu.com/2008/12/28/#ubuntu-motu.txt

AdamDHvery close to a working package - dpkg-buildpackage: warning: Failed to sign .dsc and .changes file what does this mean?00:23
AdamDHdo i need to have a gpg key?00:24
james_wyou don't have to00:24
LaneyAdamDH: You really should when you actually publish it, but for now you can pass -us -uc to not sign them00:25
james_whey Laney00:25
Laneyhi james_w00:25
Laneygood holidays?00:25
Laney(lenny GR results out for the interested)00:25
AdamDHwell for the time I just want to test my rules etc I will sign them when I put them up00:25
james_wooh00:25
james_wLaney: it was ok thanks, yours?00:25
Laneyyeah quite good00:26
Laneywatching my new Spooks DVD atm00:26
james_wcool00:27
AdamDHwell it finished dpkg-genchanges: including full source code in upload00:27
AdamDHdpkg-buildpackage: source only upload (original source is included), where did it put the .deb?00:27
james_wLaney: when's the global bug jam again?00:27
AdamDHor did I miss something00:28
Laneyjames_w: February I think00:28
james_wan 20-2200:29
LaneyAdamDH: What command did you run00:29
Laney?00:29
james_wLaney: I'd be well up for getting something going in the uk for that.00:30
AdamDHdpkg-buildpackage -S -rfakeroot00:30
Laneyjames_w: Definitely. Location is always the problem though00:31
james_walways00:31
LaneyDo you think popey's house would work?00:31
james_wwhat area are you based?00:31
LaneyI'm in Nottingham00:31
=== `Chris_ is now known as `Chris
LaneyI could maybe get a room at the uni, but would people come?00:32
james_woh cool, I'm in Nottingham currently00:32
Laneyoh!00:32
LaneyI'll be back there on Monday00:32
james_wthe centre of mass does seem to be in the South though00:33
Laneyquite00:33
james_wah, damn, just going to ask if you were around tomorrow :-)00:33
Laneygone back to cambs for christmas :(00:33
james_wwe could always have a couple of locations and an online presence for those that can't make one of the venues00:34
LaneyI think nailing one down in London would be the best way to go00:36
Laneyu-uk hasn't really run anything like this before afaik00:37
james_wyeah00:37
james_wI think a few people met in a pub last time00:37
james_wI was away I believe00:37
james_wI think picking a venue and then looking at alternative arrangements for those that can't make it is the best thing to do, as we will never find a location to suit everyone00:38
james_wI'll post to the list about it.00:38
AdamDHseem to have some issues about: make: *** No rule to make target `dh_testdir', needed by `configure-time-stamp'.  Stop.00:39
AdamDHdpkg-buildpackage: failure: debian/rules build gave error exit status 2 dh_testdir? why that's an inbuilt function?00:39
james_wAdamDH: do you have a tab character before "dh_testdir" under "configure-time-stamp:"?00:41
james_wit needs to be a real tab character, and not some spaces00:41
AdamDHconfigure-time-stamp:dh_testdir00:43
AdamDHits a tab00:43
AdamDHbut not on a new line00:43
james_wit needs to be a new line00:44
AdamDHthanks00:44
james_wif it's on the same line then it is not a command to run but a "target" that must be built before the current one00:44
AdamDHi am getting a feel for how this all works now00:44
AdamDHtook so reading and playing about00:45
AdamDH*some00:45
james_wcool :-)00:46
AdamDHreally should be doing uni work instead of packaging a cross compiler!00:47
AdamDHlooks like I got most of it working just getting compile errors now on the source01:08
=== vorian is now known as awesome
=== awesome is now known as vorian
AdamDHwhat does it mean when make: build: Command not found?01:24
AdamDHafter running sudo pbuilder build ../*.dsc01:24
james_wAdamDH: I suspect another syntax error in your debian/rules01:25
james_wAdamDH: could you pastebin it and I will have a look?01:25
AdamDHyer sure give me a mo01:27
AdamDHjames_w: http://www.pastebin.ca/129475301:35
james_wok01:36
james_wyou have an "install" target, where you want to build the stuff before-hand01:36
james_wso you have "build" afterwards01:36
james_was you have put it on the next line, starting with a tab make will interpret it as a command01:37
james_wto make it a dependency as you require then put it on the same line01:37
james_w"install: build"01:37
james_wsame with "binary-arch: install"01:38
james_wand "configure: configure-time-stamp"01:38
james_walso, at the end of "build-time-stamp:" you do "touch configure-time-stamp" instead of "touch build-time-stamp", which would cause a problem in some cases01:39
AdamDHcheers I will add those changes01:40
AdamDHthanks for the help01:41
james_wno problem01:42
bobbodoes DIF mean that sync requests require a freeze exception before they are sponsored?01:46
vorianthey arent automagic anymore bobbo, you can still do sync requests01:47
bobbovorian: ah ok, the Wiki page jsut semed like a lot of words, not making much sense :P01:49
vorianhaha01:49
voriani like that01:49
vorian"a lot of words" :)01:50
AdamDHwow even on my macbook pro compiling still takes some time, cant want till I get my dual quad core amd box01:56
AdamDH*wait01:56
raHi02:07
AdamDHhey02:15
=== Jazzva_ is now known as Jazzva
AdamDHi am running sudo pbuilder build ../*.dsc  and I get ~/msp430/msp430-binutils-ubuntu-package03:58
AdamDHany ideas?03:58
tmmoyerIf I am building a custom kernel, and building the debs for it, is there anyway to add extra version information such that I can install the same version of the kernel without my custom modifications?  For example, I have linux-image-2.6.24-22-server installed and I would like to patch it and rebuild it.  When I install the custom version, how can I make is so that I can have both the Ubuntu package installed and my custom package04:19
tmmoyermaybe how I can create a custom flavour maybe?04:25
tmmoyersomething like server-custom ?04:25
=== bluesmoke is now known as Amaranth
nelleryany revu admins around?06:47
AdamDHit says: dpkg-deb: building package `msp430-binutils' in `../msp430-binutils_2.18.msp430.cvs.0.0.20081228-1_amd64.deb'.11:03
AdamDH dpkg-genchanges  >../msp430-binutils_2.18.msp430.cvs.0.0.20081228-1_amd64.changes11:03
AdamDHbut i cant find msp430-binutils_2.18.msp430.cvs.0.0.20081228-1_amd64.changes11:03
AdamDHi mean .deb11:04
Hobbseecheck /var/cache/pbuilder/result11:06
Hobbseeor wherever else you've set it11:06
AdamDHthankyou Hobbse! I just made my first debian package11:08
AdamDHit was in there11:09
Hobbsee:)11:10
AdamDHsomething went slightly wrong as when I check with the gui package installer there is no included files11:11
=== asac_ is now known as asac
=== DrKranz is now known as DktrKranz
=== LucidFox is now known as LucidFox_away
BrucevdkQuestion, I've created a Python distutils setup script which in combination with pysupport, debhelper.mk, python-distutils.mk is used to build our package. Lintian still throws a few warnings I need to fix, but I'm currently wondering how I should properly go about adding a postinst to do a notification (update-notifier). See package apt-file for an example.12:20
BrucevdkYou can find the control files here btw: http://code.google.com/p/nautilussvn/source/browse/#svn/branches/v0.12/packages/ubuntu/debian12:20
BrucevdkI'm assuming there might be some debhelper available to do just this (I could obviously manually created a postinst file, but I'm looking for "The One True Way" (TM)12:22
directhexyou could look at the apt-file source package...?12:22
Brucevdkdirecthex: I did12:23
BrucevdkSee my reference to "The One True Way" (TM), also somebody else build a Debian package for us before and he was told "Please remove postinst and postrm.". http://revu.ubuntuwire.com/details.py?package=nautilussvn12:24
Brucevdkdirecthex: oh wait, you might mean.... look closer12:26
* Brucevdk looks closer12:26
Brucevdkno luck, but I'll just manually created the postinst file for the time being. Somebody will just have to look at it whenever I might submit it for inclusion.12:30
Brucevdkcreate*12:30
maxbWhy do you think following the way apt-file's postinst does it is not right?12:31
Brucevdkmaxb: I don't think anything. But it's a package, it's not documentation (guideline, packaging guide, tutorial). I'm not familiar with all the intricacies of Debian packages, and obviously the source package doesn't explain "why" things are done the way they are12:33
Brucevdkmaxb: also it's not using the same methods to build the package (we use pycentral)12:33
Brucevdkmaxb: combined with the fact that some reviewer said to remove the postinst file, well that makes me wonder what "The Right Way" (TM) is12:33
BrucevdkFor example, what does the #DEBHELPER# in the postinst file mean/do?12:36
maxbThe reviewer was objecting to the inappropriate content of the file, not its existence12:36
maxb#DEBHELPER# identifieds the point in the file at which debhelper will insert automatically addend snippets12:37
maxb*added12:37
Brucevdkmaxb: now we're talking, this is all I was asking for (a little help/pointers) ;-) Thanks.12:38
Brucevdkmaxb: can you point me in the right direction where I should look what arguments are passed to postinst? apt-file also does a check for [ "$1" != configure ]; then12:39
maxbThe reviewer was calling attention to two specific problems - (1) It's unequivocally wrong to be including debhelper snippets in the source package's postinst, since debhelper is going to add them during the package build, and (2) There's no obvious reason why that symlink wasn't simply shipped in the package12:40
maxbThe authoratative manual for core packaging details is the Debian Policy Manual - including a (rather complex) description of the arguments a maintainer script can expect to be passed12:41
maxband yes, the many ways maintainer scripts can be invoked *is* hideously complex12:43
lagathere is a nice graph in the debian women wiki12:43
Brucevdkmaxb: just browsing the manual is complex ;-P12:45
Brucevdkmaxb: thanks for the help though, everything is just a little clearer than it was before12:46
maxbMost of the complexity comes from the fact that an installation process can fail, and be rolled back12:49
maxbe.g. if a prerm was run, but something went wrong and the package then isn't going to be removed after all, postinst gets used to roll back the result of running prerm12:50
Brucevdkmaxb: are you allowed to include comments in postinst etc. to explain this to readers?12:52
maxbOf course. It's just a shell script like any other12:55
maxbWell, actually, it's possible to write the maintainer scripts in other languages too, but it's seldom done12:57
BrucevdkOh, from now on I will write all maintainer scripts in LOLCODE12:59
lagakthx12:59
Brucevdk:-)13:00
* StevenK kills Brucevdk 13:00
StevenKDO NOT WANT13:00
Hobbseesure?13:01
=== LucidFox_away is now known as LucidFox
=== _JKHKBeJ is now known as LjL
=== LjL-Temp is now known as LjL
* hyperair grumbles at how long revu is taking to publish an uploaded package14:49
hyperairhttp://revu.ubuntuwire.com/details.py?package=codelite <-- revu, anyone?14:51
* nhandler is having a fun morning re-reviewing packages on REVU15:55
* RainCT hugs nhandler :)15:57
nhandlerRainCT: If I don't, vorian will pass me up on the Hall of Fame. We can't have that, can we? ;)15:58
RainCTof course not!15:59
* RainCT whispers to vorian: go, go, go! :P15:59
nhandlerlol16:00
=== fta_ is now known as fta
RainCTjpds: in case that you can manage to come, we'll meet at 20:30 in Plaça Catalunya (BCN)16:25
marnoldcould anyone tell me how long sync requests usually take to get done, after they've been approved17:12
iulianmarnold: It depends on how busy the archive admins are.17:26
marnoldthought so just wanted to ask17:27
hyperairhow do i set files to be excluded from a package.install file?17:34
hyperair..is there nobody in this room?17:39
lagaeveryone is probably busy17:39
maxbhyperair: man dh_install suggests that this is only possible from the dh_install invocation command line, not in the controlling file17:40
hyperairmaxb: yeah, i've read the man page over and over. i'm quite sure i've seen a package that uses a reverse of dh_install though17:41
hyperairsomewhere17:41
jpdsRainCT: Unmöglich.17:46
RainCTBtw, are two acks for new packages required or not? https://wiki.ubuntu.com/UbuntuDevelopment/NewPackages says no ("but greatly encouraged"), but I think I saw some other wiki page which said it's mandatory18:00
LaneyRainCT: I don't think the REVU process is actually required by policy18:05
RainCTLaney: I'm not talking about REVU (which isn't policy, but non-MOTUs getting acks from 2 MOTUs is), but about MOTUs requiring an ack from someone else18:06
Laneymm18:06
RainCTlike one year ago it wasn't, but I don't know if this has changed or not18:06
=== geser_ is now known as geser
sebnerRainCT: it isn't a must have but a good advice18:14
RainCTsebner: alright, so it hasn't changed18:15
terliwhen an update is requested by apt/aptitude/synaptic/whatever, does ubuntu/debian have any kind of a mechanism to only download changed files or does it automatically download a complete package?19:55
crimsunterli: in Ubuntu, currently the latter20:00
terlicrimsun : get me a cattle prod.20:02
terliI'm going into shuttleworth's house.20:02
lagais there a sane implementation of that other behaviour available somewhere?20:02
terliI don't think so.20:03
lagawhat?20:03
crimsunit's a nontrivial thing, really20:03
CarlFKdf -m shows 1181 free.  aptitude install python-gtk2 ... "Need to get 3281kB of archives. After unpacking 12.0MB will be used."  after that, df -m shows 1199.  difference of 18.  I can understand the 3.281 got saved somewhere, but that only accounts for 15.2.20:15
CarlFKwhere did the other 3mb go?20:15
CarlFKlaga: I read a description of 'that' - it would require the server extract the diffs real time.  which would load the cpu/ram and max out the server faster than the current way maxes out bandwidth.20:17
CarlFKat least thats what I got from it20:18
CarlFKif that's true or not is someone elses problem :)20:18
=== jokaro is now known as jokaro_
=== jokaro_ is now known as jokaro
marnoldwould someone look over my merge please https://bugs.edge.launchpad.net/ubuntu/+source/azureus/+bug/31185822:58
ubottuUbuntu bug 311858 in azureus "New Debian version needs merge" [Undecided,Confirmed]22:58
LaneyCan I suppress the update-maintainer warning when building a source package?22:59
Laneymarnold: I've only looked quickly, but I see some strange changes in your debdiff from Debian, such as dropping azureus-gcj. Wasn't that done in the Debian upload?23:04
marnoldhmm maybe i did the debdiff wrong23:05
marnoldwhich diff23:05
Laneydebdiff debian.dsc your_merge_candidate.dsc23:05
Laneythe second one23:06
marnoldok23:06
LaneyIt's a good idea to run lsdiff on your debdiffs just before uploading to see if they look right23:06
marnoldi'll do it again and reupload23:06
marnoldi did but i was working to try to combat sleep problems so  i might not have done my best23:07
marnoldLaney, corrected diff attached23:18
Laneymarnold: Does azureus not use a patch system?23:20
Laneymarnold: The changes to debian/rules aren't in the changelog23:21
marnoldno23:21
Laneymarnold: And the %f in the desktop file isn't explained afaics23:22
marnoldthats because i took debian/rules from Debian23:22
Laneymarnold: But the changes are showing up in your diff23:22
marnoldprevious uploader did the changes directly to the source directly without dpatch23:24
marnoldso that is why the diff with debian looks the way it does23:25
marnolddebian/rules was intended as a copy of Debian's as ours is cluttered with gcj changes23:27
marnoldhang on23:27
marnoldLaney, while I'm doing these corrections should i convert the multiuser patch to dpatch23:31
marnoldor leave alone for now23:32
marnoldimo we should get the thing building before we worry about that23:33
marnoldi can always do a cleanup upload later23:35
Laneymarnold: Right, it seems to have other changes directly on the source, so leave that there for now23:41
Laneymarnold: But you need to explain the other things (rules, desktop) in the changelog or get them out of the diff23:41
LaneyNote that these are just general comments - I know nothing about azureus specifically. ubuntu-java (I think) deals with java stuffs23:42
marnoldrules adds a gconf scheme that we want to keep23:42
marnoldalmost forgot about that23:42
Laneymarnold: There's the ant heap space change, and dh_gconf/link that were added23:43
Laneyand %f in the desktop23:43
Laneyazureus.template changes - are these covered by something you already mentioned?23:44
marnold* azureus.desktup: %U -> %f (otherwise file associations don't work)23:46
marnold    Thanks to Francisco Reverbel for pointing this out23:46
Laneymarnold: You need to mention all the changes you keep in your new changelog entry23:47
marnoldUser interface auto selection patch23:47
Adri2000Laney: what update-maintainer warning were you talking about? did you mean the dpkg-source error rather?23:47
LaneyAdri2000: Yes, but I bodged around it23:48
LaneyI coudn't see anything in the manpage of dpkg-source23:48
LaneyIt'd be nice if submittodebian would filter that change out23:48
marnoldare you using debuild or raw dpkg-buildpackage23:49
Laneydebuild23:49
Laney-S23:49
marnoldas i recall dpkg-bp only warns23:49
Laneyhm, interesting23:49
marnolddebuilld actually enforces it23:50
Adri2000dpkg-source errors if $DEBEMAIL contains @ubuntu.com, otherwise it just warns23:51
Adri2000so a workaround is to use DEBEMAIL='' debuild/whatever23:51
Adri2000UTSL http://patches.ubuntu.com/d/dpkg/dpkg_1.14.23ubuntu1.patch :)23:52
Laney\o/23:52
Laneythanks23:53
HobbseeAdri2000: works fine for me?23:56
Hobbseeoh, never mind23:56
Adri2000Hobbsee: ?23:56
Adri2000:)23:56
Hobbseei thought you were meaning in general23:57

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