/srv/irclogs.ubuntu.com/2011/09/23/#launchpad.txt

macer1Hello01:29
macer1I found annoying think on Launchpad01:29
macer1when apport is collecting bugs to bug that I am subscribed to, it spams me with 30 mails, it should all be send in one01:30
macer1*thing01:30
=== medberry is now known as med_out
=== Quintasan_ is now known as Quintasan
=== eyes_ is now known as EyesIsServer
micahgis there a reason why I can't sync wireshark from Debian unstable yet?  It was uploaded a day and a half ago07:53
micahgit's not showing up in LP under Debian07:53
mrevellHello.08:02
wgrantmicahg: Our debian imports are a little behind at the moment -- the migration to set things to superseded/deleted as appropriate is slowing things down.08:05
micahgwgrant: ah, ok, when do you estimate catching up?08:05
wgrantmicahg: That's difficult to say. sid might not happen for 24 to 36 hours. We'll hopefully have a proper fix early next week, which means it should happen just an hour or so after Debian publishes it.08:06
wgrantmicahg: If it's urgent, you can probably convince someone to use sync-source.py...08:06
micahgwgrant: right, ok, not so urgent I guess, will try again on Sunday, thanks08:07
ScottSanbarI have posted a forum post about what I belive are some non-ideal behaviours in launchpad.  If anyone has coments, I would like to here them:  https://answers.launchpad.net/launchpad/+question/17202808:15
wgrantScottSanbar: Launchpad can't really automatically do that. How do you normally generate those files?08:17
wgrantOften there's an autogen.sh in the branch that debian/rules can call to produce configure etc.08:17
ScottSanbarwgrant: autoconf, then debuild08:20
wgrantScottSanbar: You can't do that in debian/rules?08:21
ScottSanbarwgrant:  If I have an autogen.sh, could the recipe use that to build the autogenerated files?08:21
wgrantThis is completely autoconf/automake-specific, so LP can't exactly do it automatically.08:21
wgrantThose files shouldn't necessarily be in the source tarball. So you can just fix your debian/rules to generate them first.08:22
wgrantIt's not recipe-specific.08:22
ScottSanbarwgrant:  I am just learning, and have not gotten to the place in the tutorials that tells about writing stuff in the rules file.  I just do them manually at the moment.08:22
wgrantYou might want to look at dh-autoreconf08:24
ScottSanbarwgrant: so even if I include all the neccessary stuff in rules to "autogen" or whatever you want to call it the build environment from the .am and .ac files, etc. the recipe still needs some of the autogenerated files uploaded?08:25
wgrantScottSanbar: No. Launchpad will build the recipe into a source package that doesn't contain the autogenerated files. Then, when Launchpad builds that source package into binaries with dpkg-buildpackage, your debian/rules file will tell dpkg-buildpackage to generate those files.08:26
ScottSanbarwgrant:  OK, so then as long as my rules file contains the necessary steps to generate the build system from the .am and .ac, etc. files, it should all work - e.g., dh --with autoreconf $@ (in the rules file)08:28
wgrantScottSanbar: I think that will probably work, yes.08:29
wgrantLaunchpad is about to go down for a couple of minutes of database maintenance.08:29
ScottSanbarwgrant:  Thanks!  That is such a simple change to make, and then I can have a clean bazaar repo with only source files and no need for any auto-generated files.  What about install-sh, debcomp and missing?  Is there a command to tell it to do the autoreconf --install, like dh --with autoreconf --install $@ ?08:31
wgrantScottSanbar: --with autoreconf might do that itself. I'm not sure how it works these days.08:31
RAOFThey should be a part of the autoconfing08:31
ScottSanbarwgrant:  Ok, thanks - you have been most helpful, wgrant and RAOF.  I am very excited to give it a try!08:32
wgrantAnd Launchpad is back.08:32
ScottSanbarHere goes ... :)08:32
faganmrevell: hey, what time does flacoste get in at?09:13
mrevellHey fagan, 14.00 our time.09:14
faganmrevell: cool ill read the books I just got in the meantime. I just got the definitive guide to javascript and a nice one about developing websites with dynamic interfaces so both interesting :)09:16
mrevellCool :)09:17
ScottSanbarwgrant:  Ok, just tried it.  I deleted all my files except my source files for both the build system and c++ on my PC, and then all I had to do was run debuild and it did EVERYTHING!!! Cool.09:19
wgrantScottSanbar: That's excellent. Hopefully the recipe will work fine :)09:20
ScottSanbarwgrant:  However, I ran into a glitch and had to install the dh-autoreconf package, then everything worked hunky-dorey.09:22
wgrantScottSanbar: Make sure you add that to Build-Depends in your debian/control.09:22
wgrantOtherwise the Launchpad builders won't have it installed.09:22
ScottSanbarwgrant:  Yah, that is what I was going to say - launchpad failed on that not being installed.  Do you have the syntax handy, othewise I can look it up ...09:23
wgrantScottSanbar: You'll see a Build-Depends line in debian/control in your branch. Just add ", dh-autoreconf" to the end of it.09:24
sorenOn http://launchpad.net/nova, what is shows as the latest download is not actually the latest download. Is this a bug or a misconfiguration issue on our part?09:26
ScottSanbarThanks, I had already figured it out from the Debian control file policy document.  You are really being helpful!  Thanks!  Here I go again ...09:28
wgrantsoren: That's certainly a creative interpretation of "Latest version". Let me try to work out what's going on.09:40
sorenwgrant: Lovely, thank you!09:41
ScottSanbarwgrant:  Here is my depend line in control:  09:47
ScottSanbarDepends: ${shlibs:Depends}, ${misc:Depends}, dh-autoreconf09:47
ScottSanbarwgrant: However, it still fails to find dh-autoreconf in the recipe build.09:48
ScottSanbarh: unable to load addon autoreconf: Can't locate Debian/Debhelper/Sequence/autoreconf.pm ... etc, etc. etc.09:49
wgrantScottSanbar: Ah, it needs to go in Build-Depends.09:49
wgrantDepends is put into the built package.09:49
wgrantThe contents of Build-Depends is installed during building of the packaging.09:49
ScottSanbarwgrant:  I have no Build-Depends file, never have (used dh_make, etc - don't think I ever saw it)09:51
wgrantScottSanbar: It should be in the first stanza in debian/control.09:51
wgrantIt's there in the branch you linked to in the question.09:51
ScottSanbarwgrant:  Ok, now I feel totally stupid - however, I will note that I am eyesight challenged, so somethimes things like this get me ... :)09:52
wgrantHeh.09:53
wgrantHopefully this will fix it.09:53
wgrantsoren: Ah, our series sorting algorithm is somewhat odd.09:59
wgrantsoren: It doesn't handle alphabetical names properly.09:59
wgrantsoren: It will sort them in the opposite order.09:59
wgrantSo cactus sorts before diablo, so its release wins :/10:00
ScottSanbarwgrant: thanks, building now - I have high hopes ... :/10:00
ScottSanbarwgrant: I am still doing my make -distcheck manually to create the .orig.tar.gz file.  Can I put that in debian/rules as well?10:01
ScottSanbarwgrant:  then my world would be complete ... :D10:01
wgrantScottSanbar: I believe recipes still only build native packages right now, which means there's no orig.tar.gz.10:02
ScottSanbarwgrant:  This current build is quilt, but has no patches because I am upstream, I think I am saying that right ...10:02
ScottSanbarwgrant:  Does recipe change it to native?10:03
wgrantScottSanbar: I believe it will be automatically converted to 3.0 (native).10:03
wgrantdh-autoreconf is installed!10:03
wgrantLet's see if it builds.10:03
ScottSanbarwgrant:  I believe you are correct - very sure - it is in the log files of the builds as native10:03
sorenwgrant: So nothing we can do will solve this?10:04
sorenwgrant: Well, we could remove the old downloads, but that's not really an option IMO.10:04
ScottSanbar(waiting with bated breath ... )10:04
wgrantsoren: It excludes obsolete series, so you could lie and set cactus to obsolete, I guess :/10:05
sorenWorks for me.10:05
wgrantsoren: Filing a bug that the series sorting is insane would also be a good start.10:05
ScottSanbarwgrant:  SUCCESS!10:05
wgrantsoren: It basically expands all numeric components to four digits (padding with 0s), maps 0-9 backwards, the sorts.10:06
wgrantsoren: I've never seen anything quite like it.10:06
ScottSanbarwgrant:  You are wonderful, thanks so much - I really feel a lot better about my package now.  Now, I will change it to be a source package, not just binary - one step at a time (after I download the .deb and verify it all works)10:06
wgrants/the/then/10:06
wgrantScottSanbar: The recipe builds a source package.10:06
wgrantLet's see how the binary builds go...10:07
ScottSanbarwgrant:  Oh, OK - does that mean when I run debuild it build s a source package, or do I need to do something like debuild -S on my home PC?10:07
wgrantScottSanbar: If you want to upload to your PPA without going through a recipe, you need to build with debuild -S locally.10:07
wgrantScottSanbar: But recipes do that automatically.10:07
wgrantThey take the branches you specify in the recipe, add a new entry to debian/changelog, run debuild -S, and upload that to Launchpad.10:08
ScottSanbarwgrant: Cool, that is really helpful.  Do I need a ChangeLog in all the various directories like I have seen around in different packages, like hello-debhelper?  I took them out to clean up lintian output.10:09
wgrantScottSanbar: No, you don't.10:10
ScottSanbarwgrant:  From what I have seen, there are a lot of poorly done packages out there - even Gnu Hello and Gnu Hello debhelper are pretty unclean, and they are supposed to be what we learn from in the tutorials on Ubuntu  and Debian10:11
ScottSanbarwgrant:  I guess, from the standpoint of recipes and not having unnecessary files that will be auto-generated anyway.10:12
wgrantScottSanbar: autoconf/automake are a bit special.10:16
wgrantScottSanbar: Because release tarballs normally contain the pre-built configure etc.10:16
wgrantWhile branches don't.10:17
wgrantRelease tarballs probably shouldn't have all that prebuilt, but that's the way it's been for a while :/10:17
ScottSanbarwgrant:  Oh, I see.  So the norm is actually to have all that pre-built stuff in the release tarballs?10:17
wgrantScottSanbar: Yes, unfortunately.10:18
wgrantIt does mean that users don't need to have autoconf/automake installed, but it's pretty ugly to have generated files in your "source" tarball.10:18
ScottSanbarwgrant:  Wow, I would have never known all this either except for being told in the IRC channels by pabs in #debian-mentors and you and a few other people.  This stuff does not seem to be written down well, and when you do it right, it is clean and "beautiful".  Too bad.10:19
wgrantYeah, in this respect building from branches is substantially cleaner.10:20
ScottSanbarwgrant:  When done properly, it is an amazingly well done system.  I am glad I am taking the time to learn Autotools, dh_make/debuild, the recipes and associated stuff from the ground up - I think I will be better off in the long run knowing how to do all this from scratch whenever I want.10:21
wgrantScottSanbar: Have you looked at debian/rules from hello and hello-debhelper?10:21
wgrantScottSanbar: As you can see, the new version of debhelper that you're using is slightly cleaner :)10:22
wgrantAnd.. basically does everything for you.10:22
ScottSanbarwgrant:  Yes I have, and I am glad I do not have to mess with all that now.10:22
wgrantYep.10:22
ScottSanbarwgrant:  The more I get into Ubuntu/Debian/Gnu/Linux the more impressed I am with how it is all put together.  No wonder it is so successful.10:23
ScottSanbarwgrant: I hope others will learn in time to take advantage of the advances in debhelper, etc. so they do not have to work so hard.10:24
wgrantIt is all so much easier now.10:25
wgrantNot as easy as it could be, but there are people working on that :)10:25
ScottSanbarwgrant: The documentation needs to be updated and examples brought up to date for new people like me - I would have been doing it the old fashioned way if I had not asked so many questions and bugged people on irc10:26
ScottSanbarwgrant:  actually, that is not altogether true - they have the new way in there, but it did not result in a workable recipe the way they had it, and i did not know what files to include/exclude from my branch in launchpad.10:27
ScottSanbarwgrant: AAARGH - it did not install my man page.10:31
ScottSanbarwgrant: never mind - I typed in the wrong package name - AOK on testing, huzzah!10:32
wgrant/win 910:34
ScottSanbarwgrant:  I will now finish up debuild with debuild -S, then on to the next step - pbuilder and chroot, etc.10:34
wgrantAh good, you know to use pbuilder :)10:34
wgrantSounds like a good plan.10:35
ScottSanbarwgrant:  Yes, I figure I should learn the "underpinnings" before I go up the toolchain - I like to know a little about what is under the hood of stuff so I can better debug, understand, etc.10:35
ScottSanbarwgrant:  That is actually why I have a degree in Physics - not only was it fun, but I could understand "why" from basic principles.10:36
ScottSanbar(Until I learned enough to know we actually don't really know anything at all)10:37
wgrantAnd now CERN says we might know even less..10:37
bigjoolsah scientists who question their results and share the data, how novel10:38
ScottSanbarwgrant:  Funny you should mention CERN - I worked on that project doing programming for the ATLAS detector for the University of Oklahoma High Energy Physics group.10:38
ScottSanbarwgrant: It was a nightmare - you never saw so much horrible, crappy, ungodly code written by newbie Physics grad students and professors who hate to program but have to to get at the physics.  This project is a dream compared to that one, from a programming perspective.  The physics was ultra-cool, though.10:40
ScottSanbar(ATLAS being the main detector at CERN)10:40
wgrantPhysicists tend to write some... interesting code.10:41
ScottSanbarwgrant:  I am not a physicist - I just happen to have a bachelors in Physics.  I hope I have learned some positive coding skills in my career! :)10:42
ScottSanbarwgrant:  I cannot thank you enough, and pabs from #debian-mentors.  I really feel good about my ability to make packages (up to the point I have reached) now, with the proper guidance and corrections.10:43
wgrantScottSanbar: Ah, good excuse!10:45
wgrantYour packaging looks remarkably good for a first try. Well done!10:45
ScottSanbarwgrant:  One thing I realize, however, is that I do not have a computer science degree, and so have a lot of work ahead of me to read pedagogical texts to become a better computer scientist - looking back on my career, I really feel I could have benefited from getting an MS in CS10:45
wgrantScottSanbar: Mm, a lot of CS stuff is probably better self-taught anyway.10:46
ScottSanbarwgrant:  Thank you very much for the positive feedback.  It always helps to get some kudos to boost one's ego when in a steep learning curve.10:46
ScottSanbarwgrant:  Yes, mine is all self-taught - lots of exerience and some pretty good work with some classic texts, but I still have a lot more to go to become a kernel, driver, module and networking guy like I want to be.  I am currently in the middle fo "Modern Operating Systems" by Tannenbaum, which is the book that Linus Torvalds says inspired him to write Linux.10:48
ScottSanbar(so I read, anyway)10:49
wgrantIt's certainly an informative book. His "Operating Systems: Design and Implementation" isn't bad either.10:49
ScottSanbarwgrant:  Ok, I'll putit on the list.  Here is my book list, FYI: http://www.sanbarcomputing.com/books.shtml10:50
ScottSanbarwgrant:  I found a bug in one of his examples in "Modern Operating Systems" and he actually e-mailed me back with a terse "Thanks you" for letting him know and giving him a possible solution.10:52
ScottSanbarwgrant:  Needless to say, I was amazed when he wrote back and agreed with me - made my week!10:52
ScottSanbar(I kept expecting him to write back and basically say, "Not if you look at it the right way, stupid!")10:54
ScottSanbarwgrant: If you know, can you recommend a good Linux kernel book?11:04
ScottSanbarwgrant: from the prospective of programming it11:05
wgrantScottSanbar: Linux Kernel Development is not bad.11:06
ScottSanbarwgrant:  Oh, good - I researched pretty well and thought it was good, but I am glad to have some positive feedback on it.  I will read it next, then.11:16
=== menesis1 is now known as menesis
=== menesis1 is now known as menesis
=== matsubara-afk is now known as matsubara
=== jtv is now known as jtv-afk
=== med_out is now known as medberry
=== matsubara is now known as matsubara-lunch
=== beuno is now known as beuno-lunch
JonOomphHi!  I have a recipe on LaunchPad that just stopped working, after updating the changelog in my Debian packaging branch:  https://code.launchpad.net/~openshot.code/+recipe/openshot-daily.  The buildlog mentions: "debian/changelog didn't contain any parseable stanzas".  Any thoughts?16:07
=== matsubara-lunch is now known as matsubara
=== beuno-lunch is now known as beuno
JonOomphWhere is the best place / channel to discuss LaunchPad recipes... and recipe build errors?17:11
=== m4n1sh_ is now known as m4n1sh
glyphhello launchpaddders21:22
glyphHopefully it's acceptable to bump a project group request: https://answers.launchpad.net/launchpad/+question/172160 :)21:23
=== matsubara is now known as matsubara-afk
phillwHi, Lubuntu is having a problem with the mail archiving system. Is this a known issue affecting many, or just picking on Lubuntu?21:33
* phillw I love net splits! (22:33:27) phillw: Hi, Lubuntu is having a problem with the mail archiving system. Is this a known issue affecting many, or just picking on Lubuntu?21:43

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