/srv/irclogs.ubuntu.com/2017/04/12/#ubuntu-devel.txt

tsimonq2cyphermox: Whoops, got carried away doing something else, running that now.00:06
tsimonq2THERE we go.00:07
* tsimonq2 digs00:07
tsimonq2cyphermox: Want to see this log?00:08
tsimonq2Because like I said, acting normally.00:08
cyphermoxtsimonq2: not especially00:08
cyphermoxtsimonq2: just kidding, yes please00:08
cyphermoxsend it via email or put it in a bug00:08
cyphermoxthere might be some gems there; probably something about DNSSEC not being happy00:09
tsimonq2cyphermox: lol ok00:09
tsimonq2cyphermox: You has mail.00:19
cyphermoxwhat did you dig for, just so I know where to look?00:27
tsimonq2cyphermox: www.google.com00:30
cyphermoxtsimonq2: I can't see it here; could you please start again but this time query for 'www.perdu.com' ?00:40
tsimonq2cyphermox: Ok.00:40
cyphermoxthat's a test page that is easily recognizable in text; google turns up way too often on its own in normal use in logs like this00:41
cyphermoxsorry for the trouble00:41
tsimonq2It's totally fine, I'm sorry that I'm putting you though log searching >__<00:41
tsimonq2cyphermox: You want the full log or just the excerpt from digging?00:43
cyphermoxas little as possible is best, but it's easy to miss some important bits, so if you sent the entire thing I'll manage00:43
cyphermoxthat's where knowing what to search for exactly helps a lot00:44
tsimonq2Ok.00:44
tsimonq2cyphermox: Get my email?00:45
cyphermoxyup00:46
tsimonq2Yay ok00:46
cyphermoxand it successfully returned 208.97.177.124 ?00:48
tsimonq2Yup00:48
cyphermoxso firefox should also be happy if resolv.conf was set to point to 127.0.0.5300:48
tsimonq2;; ANSWER SECTION:00:48
tsimonq2www.perdu.com.          13909   IN      A       208.97.177.12400:48
cyphermox(or libnss-resolved is installed and nsswitch points to the right place)00:49
cyphermoxtsimonq2: nothing looks out of place00:50
tsimonq2cyphermox: That's super weird. If you give me a sec, I can repeat with a fresh reboot when it's an issue.00:50
cyphermoxtsimonq2: when you get the issue again, try 'systemd-resolve $url' with the same thing you tried to open (the hostname, anyway)00:51
cyphermoxif that succeeds, then try again with something else like www.verisign.com (which I expect should be DNSSEC capable, but you don't go hit every day)00:51
cyphermoxand put all of this in a bug... I don't see what's up right now00:53
tsimonq2cyphermox: Ok.00:53
* tsimonq2 is on phone00:53
tsimonq2cyphermox: Alright, reproducable now. Can't systemd-resolve either vps.tsimonq2.net or www.verisign.com00:56
tsimonq2Wait, wrong wording there. It's a bug now...00:57
cyphermoxthe exact answer to systemd-resolve is important00:58
cyphermoxbut yeah, they should probably resolve, it's just that /how/ they don't tells us what's broken00:58
tsimonq2Got it.00:58
cyphermoxand I'm sure it's still DNSSEC, it's the only thing that is consistently horrible00:59
tsimonq2Going though the same steps to collect logs as you told me before.00:59
tsimonq2cyphermox: Sent you one last set of logs. It would be wonderful if you could tell me what would be relevant to put in the bug report, but I totally understand if you don't have the time tonight.01:18
cyphermoxtsimonq2: that is a representative sample01:28
cyphermoxthe key here is Timeout, and it's not something I've seen before01:29
tsimonq2cyphermox: Oooooh ok01:32
tsimonq2cyphermox: So what about my system could be Special?01:32
cyphermoxno idea01:53
cyphermoxtimeouts are most often an environment issue, but it could also not be.01:53
tsimonq2Ok.01:56
=== _salem is now known as salem_
Belldandu(Belldandu) So i would like to submit a dependency fix for postfixadmin but i'm not even able to branch of the code in order to propose a merge.  This problem hasn't been fixed for 3 years from trusty all the way to the latest ubuntu https://bugs.launchpad.net/ubuntu/+source/postfixadmin/+bug/132195502:47
ubottuLaunchpad bug 1321955 in postfixadmin (Ubuntu) "postfixadmin dependencies not well defined (requires mysql-server or postgresql, removes MariaDB)" [Undecided,In progress]02:47
BelldanduThe fix is so miniscule its depressing that it hasnt been fixed02:48
BelldanduChange debconf depency line mysql-client | pgsql-client to mysql-client | pgswl-client | mariadb-client02:50
Belldandupgsql-client*02:50
infinityBelldandu: Looks already fixed in zesty02:51
Belldanduin zesty and none of the other branches. Not everyone is going to use zesty02:52
BelldanduIm using xenial for instance02:52
infinityBelldandu: Sure.  So just attach the debian/control diff and subscribe ubuntu-sponsors.02:52
infinityBelldandu: For xenial and yakkety.   And maybe backport the fix to trusty too, if you're feeling keen.02:53
BelldanduOk02:53
infinityLooks like trusty also needs this fix to close the original bug:02:53
infinity  * [76ef] change recommends of postgresql-server (not existing) to postgresql.02:53
infinityWhile xenial and yakkety only need:02:54
infinity  * update dependencies to allow mariadb as database (closes: #778794)02:54
infinityBelldandu: As for "branching for an MP", UDD is long dead.  Just "pull-lp-source postfixadmin $release" and hack on the package that way.02:54
BelldanduYeah and ok02:55
onthewingshey, I want to sign the contributor agreement. It asks me for a "Project contact (Please add the Canonical Project Manager or contact)". What can I put there?02:57
onthewingsI just want to send a PR to https://github.com/snapcore/snapcraft02:57
infinityonthewings: https://www.canonical.com/projects/directory lists the contacts for each CLA-using project.02:58
sarnoldwow, I've never seen that before02:59
Unit193infinity: A while ago we talked about 'automatic' backports of geoip-database, anything new on that?  Also was starting to wonder about publicsuffix too.02:59
infinityUnit193: I doubt I used the word automatic. ;)02:59
Unit193You did not, it's also in 'quotes'!  Not sure to call it a backport or SRU, it's rather neither.02:59
infinityUnit193: Well, it's an SRU by definition.  It just might need different rules, like tzdata and a few others.03:00
Unit193infinity: Right, and you had said something about it being discussed, considered, or thereabouts.03:01
infinityUnit193: I suspect that we then failed to discuss it.  And for a long while, given I don't really remember the original. ;)03:01
infinityUnit193: Step 1 would be to find someone (or a group of someones) willing to take responsiblity for said updates.  From there, working up a sane policy and making it happen shouldn't be too much effort.03:02
Unit193Ah, alright.  I've been using backportpackage on it for a few releases now, so doesn't directly affect me.  But that's not really a solution.03:02
infinityIt's a solution, just not the most community-friendly one. :P03:03
infinity(And we're all guilty of it... The joy of open source is being able to fix things locally, the burden/responsibility is that we shouldn't be fixing locally because that's selfish)03:04
Unit193It's one for meeeee. ;D03:04
infinityWhich I totally do far too often.03:04
infinityAnd tend to forget and discover 2 years later on an LTS upgrade when something breaks and I go "oh, huh, I never uploaded that?"03:04
tsimonq2Like that sbuild thing. :P03:05
Unit193'virtualbox-ext-pack', 'youtube-dl', 'geoip-database' are a few, but then 'whois', 'publicsuffix' and a few others are starting to get the same treatment. :303:05
tsimonq2*I* am even guilty of *that* :P03:06
infinityUnit193: whois is a bad example, unless someone breaks the data out from the code.03:06
infinityUnit193: tzdata is in a good place there, as upstream tries very hard to decouple data and code, and we just update the data.03:06
Unit193infinity: Perhaps yes, I haven't been backporting that.  And yeah, that's one db that does get updated, the mobile data does too IIRC.03:07
infinitywireless-crda is on the list, yeah.03:07
infinityThe kernel team was meant to start loving that, but I think we fell down in the final steps of JFDIing that.03:07
infinityErr, wireless-regdb, I mean.03:08
infinityWhatever.  "the wireless thing".03:08
Unit193usb-modeswitch-data?  mobile-broadband-provider-info?  I dunno, one of those.03:08
infinityUnit193: If you have a certain passionate interest in this, I suggest that post-release (I'm only awake at 4am because release week, so clearly a bit too busy to multitask on this), you bring it up again, with a broad enough audience to also work on getting volunteers to own the various updates.03:09
infinityPerhaps a nice bullet list of "* package : owner", and fill in the blanks until it looks less unpleasant.03:10
Unit193I certainly have a vested interest in this, though not entirely sure I want to drive it as my current solution is much easier without outside help. :303:10
infinityThe only ones I know we do reasonably well at are "tzdata: glibc maintainers" and "pciutils: kernel team"03:10
tsimonq2infinity: Side note, I thought you were in Canada? Where are you that it's 4 AM?03:10
infinitytsimonq2: London.03:10
tsimonq2infinity: Fancy. You move there or just there for now?03:11
infinityJust sprinting.03:11
tsimonq2Ah, gotcha.03:11
infinityI'd move here if I could afford it.03:11
tsimonq2It *does* seem like a wonderful place.03:11
infinityBut my Calgary flat would cost about 3M pounds in a similar size and location here.03:11
infinityWhich is a bit out of my range.03:11
tsimonq2Eeek. Yeah.03:11
Unit193infinity: I could bring it up, but guessing it'd have to be on -discuss.03:13
infinityRight, (hopefully actually final) rebuilds kicked off.  I need to get some sleep before morning attacks.03:13
tsimonq2Sleep well infinity.03:13
Unit193G'night.03:13
stgraberinfinity: anything that needs babysitting? I'll be up for another 2-3 hours I expect03:13
infinityUnit193: Yeah.  I do a crap job of reading devel/devel-discuss, so if you do bring it up and want my input in the thread, please explicitly CC me.03:13
infinitystgraber: I guess just make sure none of the builds go missing?  Should be 20170412 spitting out for $world over the next couple of hours.03:14
stgraberinfinity: ok, will check the tracker before I go to bed and track down anything that didn't update03:14
Unit193infinity: It's email, so it may take me a few months to get to it, but I'll put it on the todo. :P03:15
infinityUnit193: Heh.03:15
infinitystgraber: Ta.03:15
Unit193(I'm not kidding, sadly.)  infinity: Thanks!03:18
infinityUnit193: I didn't assume you were.  My INBOX has unread messages older than some of our contributors.03:23
infinityUnit193: And I don't mean "older than their contributions", I literally mean older than the people.03:23
Unit193Haha! \o/03:23
* infinity -> bed.03:23
Unit193So I've got time.03:23
sarnoldbetter get started on that email a dozen years ago if you want in on his todo list :)03:26
=== salem_ is now known as _salem
Unit193I've actually got a message from 3 years ago I haven't responded to yet, and gotta do something about a message from 07/09/2016 >_>03:32
naccBelldandu: ping03:32
cyphermoxjbicha: looks like a fresh install works with shell here; so this smells like a packaging issue04:16
cyphermoxgdm3 starts fine at boot, so does shell, etc.04:17
cyphermoxI'm going to bed now but we could look at this some more when I'm back to debug it.04:17
=== _salem is now known as salem_
=== salem_ is now known as _salem
=== CRogers_________ is now known as CRogers
=== morphis_ is now known as morphis
sil2100seb128: hey! Just in case - I poked around a bit and got the zesty language stats exported, also pushed a change to l-o-m to now look for them in the proper location11:56
sil2100seb128: i.e. http://people.canonical.com/~people-l10n/data/ubuntu-l10n/11:56
sil2100seb128: (for future langpack generation)11:56
seb128sil2100, nice, thanks11:59
seb128is that a new team¿11:59
seb128?11:59
sil2100seb128: not new new, dpm requested its creation when he was leaving11:59
sil2100So it was around for a bit but no one actually informed us I guess12:00
ginggsMirv, is there something that should ensure that appmenu-qt5 is removed?12:34
infinityginggs: It's very not removed here.  Should it be?12:36
infinityOh, I see, it's not in zesty anymore.12:36
ginggsit seems to cause problems if it is not removed, see LP: #168094312:38
ubottuLaunchpad bug 1680943 in telegram-desktop (Ubuntu) "telegram-desktop's window never shows up (differently from Debian's sid)" [Undecided,Confirmed] https://launchpad.net/bugs/168094312:38
infinityginggs: Fun.12:39
infinityginggs: So, a do-release-upgrade will probably offer to remove it.  But all of us who have been tracking zesty will still have it installed.12:39
infinityginggs: Ideally, some other Qt component should Conflict/Replace it.12:40
infinity(But not going to let that land between now and release either)12:40
=== _salem is now known as salem_
=== salem_ is now known as _salem
=== _salem is now known as salem_
Mirvginggs: it could be useful, yes, now that replacing functionality is in Qt 5.714:50
ZtaHow does one create a .deb out of, say, nothing? I do have some source code, but none of the tools I use work. All tools and tutorials require some weird structure beforehand.16:43
naccZta: do you want a 'good' .deb or just something 'good enough' ?16:45
jtaylorZta: dh_make creates that structure16:45
naccZta: like something you can submit for inclusion or put in a ppa?16:45
naccZta: if you just need something locally, you can use checkinstall16:45
Ztanacc: Let's start with something 'good enough'.16:46
ZtaActually, I'm trying to make a package out of this: https://github.com/aseprite/aseprite/blob/master/INSTALL.md#platforms16:46
naccZta: but for creating a true source package, you'll need to go down the path of what jtaylor suggested16:46
ZtaIt uses ninja for build system.  This might be what's confusing the debhelpers?16:46
jtaylorvia cmake?16:46
naccZta: have no idea what your d/rules says, etc16:46
cjwatsonAt worst, that's just a matter of a couple of overrides.16:46
naccZta: maybe just make a snap16:46
Ztadh_make fails16:47
cjwatsondebhelper can work with anything.16:47
cjwatsonYou'll probably do best if you pastebin terminal transcripts showing what's going wrong16:47
Ztayes sir, hold on16:48
Ztahttps://pastebin.com/zz4wmrjt16:56
Ztaoh wait, -p aseprite_123 does something good16:57
cjwatsoncd ..; mv aseprite aseprite-123; cd -; dh_make16:57
cjwatsonor similar16:57
cjwatsonthat's what it's telling you16:57
cjwatsonbut yes, -p aseprite_123 would work too16:57
cjwatson(and is probably better, actually, so do that)16:57
nacc(note the _ vs. - )16:58
Ztanacc: exactly, I just noticed that now.  That's been bugging me for hours now =)17:02
naccZta: yeah, it's a bit hard to detect that difference if you aren't looking for it :)17:03
ZtaIs there a tool to edit the debian/control file programmatically? (besides sed =)17:05
naccZta: vi ?17:05
naccZta: not sure what you mean, i guess :)17:05
naccZta: it's just a text file, i mean17:05
ZtaI mean now dh_make generated a neat skeleton. Now I want to edit some of the fields like dh_editcontrol --homepage "http://aseprite.org" --section "universe/graphics"17:07
naccZta: right, just use an editor17:07
ZtaI'm trying to script this, so vi isn't an option =).  Right, sed it is.17:07
naccZta: i don't believe there is a helper command to edit d/control -- seems like overkill to me :)17:07
naccZta: why are you scripting it?17:08
naccZta: once you build a source package, you don't need to do it again17:08
naccZta: alternatively, like i said, you coudl snap it and it might be a bit faster17:08
ZtaYes I do, because it source code gets updated.17:08
naccZta: uscan/uupdate handle tht17:08
naccZta: the packaging is distinct from the upstream17:08
cjwatsondebian/control usually doesn't change on every upstream change17:08
cjwatsonthere is cme if you want to automate though17:09
naccZta: given a good d/watch file17:09
nacccjwatson: interesting, i hadn't seen that before, thanks!17:09
cjwatson(though personally I find cme way too complex and don't bother)17:09
ZtaIdeally, I create a cronjob that pulls, builds, and reinstalls.  Or a docker image that serves a PPA?17:09
naccZta: right, that's a recipe in launchpad (I think)17:10
naccZta:  a git recipe, in this case17:10
naccZta: and you'd keep your debian/ in another repo (aiui) which just has the packaging stuff17:10
cjwatsonhttps://help.launchpad.net/Packaging/SourceBuilds17:10
naccZta: and the two get combined (magic!) and your package builds17:10
naccZta: but the point is debian/control doesn't really change on every upstream change (necessarily  at least) -- only if deps change or whatever. d/changelog will update with the new version17:11
cjwatsonand debian/changelog updates are scriptable using dch17:11
ZtaIt's not my code, so I can't put it into Launchpad.17:12
ZtaHm, I was expecting dh_make to generate a better Depends list.17:14
ZtaLook at this: https://pastebin.com/HY4Nmkkr17:14
naccuh17:15
nacci think you're missing something in all of this17:16
cjwatsondh_make just generates a skeleton17:16
naccZta: do you undrestand the difference between a source and binary package?17:16
ZtaThis is where I actually started.  Then I came to the conclusion that he manual dependency lookup was ... wrong.  So I started looking at dh_make.  But that doesn't really seem to generate a complete Depends list.17:16
cjwatsonit's not expected to write your Depends for you17:16
naccZta: dh_make sets up the skeleton of a source package for you, nothing else17:16
naccZta: and it doesn't build anything (which is what generates thea ctual depends in the binary package)17:16
cjwatsonyou should regard debian/ as a chunk of code that you need to maintain on an ongoing basis17:17
cjwatsonit is not a thing you should be trying to generate for each upstream commit you want to build17:17
naccZta: iirc, launchpad can import a github repository17:17
cjwatsonand writing anything under DEBIAN/ by hand is a red flag that you are doing something fundamentally wrong17:17
Ztacjwatson: The DEBIAN/ thing was from a tutorial. It could be outdated, I don't know. Is it better to write stuff in debian/ by hand?17:18
naccZta: DEBIAN and debian are different17:18
cjwatsondh_make should generate a thing that uses dh to do the build; when you build the binary packages, that'll end up calling dh_shlibdeps somewhere, and dh_shlibdeps substitutes package dependencies corresponding to your ELF dependencies where you write ${shlibs:Depends} in debian/control17:18
cjwatsonyes, debian/* should be written by hand (perhaps starting from a skeleton generated by something like dh_make)17:19
Ztanacc: I won't do that.  The auther of this code doesn't want anyone to distribute it. It's open source, but you have to buy it or compile it *yourself*. That's the deal.17:19
cjwatsonDEBIAN/* should only be touched by tools called (eventually) from debian/rules, which is the entry point of the source package17:19
Ztacjwatson: Makes sense.17:19
cjwatsonif you find any tutorial that recommends writing files in DEBIAN/* directly, throw it in the bin and look for a better tutorial17:20
ZtaRight.17:20
dobeyi bet that is an interestingly worded license agreement17:20
naccZta: except you are breaking that rule by building packages at all then17:20
naccZta: so screw that and just do it the easier way :)17:20
ZtaOk, so I have a skeleton for my source package now.17:20
Ztanacc: I think I'm allow to distribute my own build it to myself =)17:21
naccright, that's all the recipe would do too (just in a ppa)17:21
naccyou can make the ppa private17:21
Ztahmm17:21
cjwatsonnacc: that's a paid feature17:22
nacccjwatson: ah :(17:22
naccZta: so nm :)17:22
cjwatsonmuch though I'm a Launchpad developer, I think getting into recipes for this is too much of a rat-hole for now17:22
nacccjwatson: you might be right17:23
Zta=)17:23
cjwatsonand you have to write the packaging anyway17:23
dobeyi'm curious what software this is17:23
Ztasprite editor17:23
naccZta: ok, so you've got the skeleton, so now you need to modify d/ files17:23
ZtaThink GIMP for kids 8)17:23
ZtaGIMP for 8bit gamers17:24
naccZta: this has some rough guidelines iirc, for dh_make workflow: https://www.debian.org/doc/manuals/maint-guide/first.en.html17:24
naccZta: but once you do it once,  you don't throw it away17:24
naccZta: you keep that as your source package and then do updates to it as needed17:24
ZtaIt's the Depends section that made me look into this whole mess.  The script I pasted before actually create a package that Works On My Machine.17:25
naccZta: right, but as cjwatson said, that script is bunk :)17:25
naccZta: it seems to be pretending that debhelper doesn't exist to do all this for you (e.g. dh-shlibdeps)17:26
naccerr, dh_shlibdeps17:26
cjwatsonso just looking at my packages, here's one that's a compromise between being so simple that it doesn't help you learn much, and far too complex: https://anonscm.debian.org/cgit/pkg-man-db/man-db.git/tree/debian17:27
cjwatsondebian/control has ${shlibs:Depends}, ${misc:Depends}, which are filled in by various debhelper tools, and also some manually inserted dependencies17:27
cjwatsondebian/rules has override_* targets in cases where the defaults don't work17:27
cjwatsonor a simpler case, https://anonscm.debian.org/cgit/users/cjwatson/dumpet.git/tree/debian17:28
cjwatsonthe simplest possible cases can have a three-line debian/rules17:30
cjwatsonanyway, must get a train17:30
ZtaTake the A train.17:36
ZtaThat debian/rules looks complex =\17:37
naccZta: so d/rules can generally be left alone, it will just end up calling make (presuming that works) -- so i'd change that last, on some level17:40
ZtaShould I use some debhelper tool to issue the actual compiling? Or is it okay to do that myself and install the binaries in a package dir that's then wrapped up?17:40
dobeydebuild17:40
naccZta: i would recommend using one of debuild, dpkg-buildpackage and sbuild. I find it easiest personally to generate a source packge with dpkg-buildpackage and then sbuild that (so i don't mess with my host system)17:41
ZtaI'd prefer not to mess with my host system.17:41
dobeysbuild for sure17:42
naccZta: yeah, so get your code in good shape17:42
dobeybut you still need to debuild -S to generate the source package on host17:42
naccyep17:42
dobeyor you can try to build the source pkg inside sbuild too, but it's a bit of a pain17:42
naccwhich is just (aiui), dpkg-buildpackage -S17:42
ZtaThis doesn't fit well with this weird ninja build system.17:42
naccwith a few extra commands17:42
naccZta: what do you mean?17:42
ZtaMy build instructions say: mkdir BUILD ; cd BUILD ; cmake -G Ninja ..    This will generate build files in ./ (being BUILD).   Then I should issue the actual build: ninja asprite17:44
naccok, then add a build-depends on ninja-build and run that command in an appropriate override17:44
Ztasounds easy17:45
Ztahow? =)17:45
dobeywell you likely don't have to use ninja, and debhelper already supports cmake natively17:45
jtaylorcmake works out of the box with make too, if you don't need the extra speed debhelper defaults should be fine17:45
naccyeah i can't tell if you need ninja or not17:45
jtaylorthe ninja speed is not important for package builds anyway17:45
jtaylorits more useful for partial rebuilds17:45
jtayloraka development17:45
nacci undrestand their instructions say to use it, but i'd try it wihtout and see what works17:45
naccmy guess is `make install` will dtrt and ninja is purely there for speed17:46
ZtaWell, it seems I have to do something, because running plain dpkg-buildpackage fails: https://pastebin.com/dssCzckH17:50
naccZta: well, as we said17:50
naccZta: you want to use -S17:51
naccZta: build a source package and then build the binary using sbuild or so17:51
Ztasorry, I'm downing in info =)17:51
naccZta: yes, there's a lot to take in17:51
dobeynacc: well it will still fail with the same error17:51
dobeynacc: since that's trying to build the source package first17:51
naccdobey: yeah, i hadn't looked at the details yet :)17:51
naccZta: ok, so it ooks like dpkg-buildpackage is seeing local changes relative to the orig tarball you used17:52
ZtaI didn't use a tarball; i checkout out from git.17:52
naccZta: that is, it looking at the contents of aseprite_1.2-dev-master-fece0cf.orig.tar.xz17:52
naccZta: yes, that's not how deb building works17:52
Ztaurgh..17:53
naccZta: in that, as on the debian guide linked earlier17:53
naccZta: there is an orig tarball and a debian tarball used to build17:53
* nacc also reiterates that a snap would probably be way faster for this17:53
ZtaMy original question: (18:43:33) Zta: How does one create a .deb out of, say, nothing? I do have some source code, but none of the tools I use work. All tools and tutorials require some weird structure beforehand.17:54
Zta=)17:54
naccZta: yep, did you read the debian packaging guide i linked?17:54
naccZta: that gives you a lot of inofrmation, but i think it's necessary so you understand how building works17:54
ZtaI saw it mentiond a tar.gz a couple of times and assumed it wasn't meant for me, since I'm not in that situation. I really hoped it would be able to build off a directory, say and extracted tarball.17:55
naccZta: where did ./aseprite_1.2-dev-master-fece0cf.tar.xz come form?17:56
nacc*from17:56
naccZta: no, that's not how building works17:56
ZtaI have no idea. For what I know it doesn't exist. I did define that name and version when running dh_make, though.17:57
nacclook in the current directory17:57
Ztano such file.17:57
ZtaOh, there's one in ..17:57
nacc~/asperite-workdir/aseprite I guess17:57
naccah yeah it'll be in ../ sorry17:58
ZtaOk, so that's what took so long.  dh_make wrapped up the entire dir?  Ok, so I have a tarball.17:58
naccZta: yes, see 'ACTIONS PERFORMED' in `man dh_make`17:59
ZtaRight.18:00
naccbecause non-native package building needs an orig tarball and a debian tarball18:01
ZtaWait... I have my workdir.  Here I have aseprite/ which is cloned.  Should I run dh_make (ie. have my debian dir) in the workdir or in the aseprite dir?18:01
naccZta: i don't know what you mean by "have my debian dir"18:03
naccZta: dh_make is used to generate a debian/ directory18:03
Ztathat's the directory I mean.18:03
naccyou would run it from aseprite/, afaict18:04
Ztashould it be workdir/debian/   or workdir/aseprite/debian/ ?18:04
Ztaok18:04
Ztaso the latter18:04
ZtaAnd the tarball magically ends up in workdir.18:04
naccyes, because all the tooling needs it to be in ../ relative to where you run the build from18:06
nacc(even for source package builds)18:06
naccZta: so basically, what dh_make did was it tarred up the current directory as it was (since no -f was given) and put it in ../orig.tar.xz18:08
naccZta: so that it can track what you change relative to the 'pristine' upstream18:09
Ztayes18:09
naccand every change to the upstream source must be stored as a patch in the debian/patches directory (for quilt-based packages)18:10
naccand then your packaging decisions go in debian/ which will be tarred up by dpkg-buildpackage into ../debian.tar.xz18:10
ZtaBut the upstream is already outdated because it has the skeleton debian/control file.18:10
naccupstream does *not* have a d/control file18:11
nacchttps://github.com/aseprite/aseprite18:11
naccno debian/ directory18:11
Ztadh_make just created one18:11
naccdh_make did the tarring *before* creating debian18:11
Ztaoh18:11
naccas i said earlier18:11
naccor it excludes debian/ i'm not sure (effect is the same)18:12
ZtaIt first compresses, then it generates.18:12
naccok18:12
naccwell, you can see in the log from dpkg-buildpackage (there's a file referenced) what the changes it is detecting are18:13
Ztadh_make also won't execute if a debian/ dir or the ../tarball exists is seems =)18:13
naccwell if ../tarball exists,  you should use -f18:14
naccand yeah, dh_make is for making a new skeleton18:14
naccdoesn't make sense torun it if you have a debian/18:14
ZtaI deleted both so I could retry.18:14
ZtaAh, dpkg-buildpackage -S fails because if signing: No secret key18:20
naccZta: try18:20
naccdpkg-buildpackage -S -nc -d -uc -us18:20
naccthe last two say don't sign18:21
nacc-nc says don't clean (can be handy while you iterate)18:21
naccand -d says don't worry about builddeps here18:21
naccsince you are (hopefully) going to use sbuild to build, and the builddeps will get satisfied there18:21
Ztano errors, exit code 0. That must mean success.18:22
naccright so go into the parent directory18:22
naccyou should see an appropriately named .dsc file18:22
naccand a _changes file, iirc18:22
Ztayes18:23
naccZta: then you can pass those to sbuild (after having set up a sbuild environment locally (see mk-sbuild)18:24
ZtaDo I need both mk-sbuild and sbuild?18:25
Ztamk-sbuild is from ubuntu-dev-tools18:25
sarnoldmk-sbuild is by far the easiest way to make the schroots that sbuild will use18:26
naccyeah, that's what i was just checking on18:27
naccZta: i would use mk-sbuild, just to be sure you do it right :)18:27
sarnoldhave you seen this yet/ https://wiki.ubuntu.com/SimpleSbuild18:27
naccsarnold: thanks, was just pulling that up18:27
Ztasudo apt install ubuntu-dev-tools --no-install-recommends  it is18:27
=== nacc is now known as Guest42667
=== nacc_ is now known as nacc
ZtaHow much of those instructions on SimpleSbuild should I go though?18:40
ZtaI feel it's building an entire ubuntu distriution right now =)18:41
naccZta: it is18:41
naccZta: in a schroot18:41
naccthat's how you build in an environment that doens't affect your host18:41
sarnold.. and so your host environment doesn't affect your build :)18:42
sarnold(of course the running kernel affects the build, but these day's that's usually not a big deal)18:42
naccsarnold: good point! :)18:42
Zta...Docker seems less intrusive18:43
naccdocker and lxd can also be used, but they aren't so directly integrated18:45
naccmeaning you have to wrap commands in commands to build in them, afaict18:45
ZtaDone building zesty-amd64!18:49
ZtaI'm on xenial, though.  Is that a problem? =\18:49
naccZta: not necessarily18:50
naccZta: so you need to have an sbuild environemnt suitable for building your package for the release you want to target18:51
naccZta: so in you case, you probably wanted to run `mk-sbuild xenial` if you want a .deb for xenial18:51
ZtaThe tutorial learned me a nice command: sg sbuild  I've been missing that some times.18:52
ZtaSo I'm here and I ran this: ~/aseprite-workdir/aseprite$ sbuild -A -d xenial-amd64 --host ../*.dsc19:08
Ztaand I get: E: Failed to open build log /home/stephan/.ubuntu-sbuild/logs/aseprite_1.2-dev-master-fece0cf-1_../aseprite_1.2-dev-master-fece0cf-1.dsc-20170412-2102.build: No such file or directory19:08
sarnoldtry mkdir -p /home/stephan/.ubuntu-sbuild/logs and try again?19:09
naccZta: yeah, i think you're missing some .sbuildrc values19:10
naccZta: this is what i use locally: http://paste.ubuntu.com/24369306/19:10
ZtaThe dirs are all there, and that paste doesn't help. But that path in the error message looks bad with those ".." in the middle.  Did I execute toe sbuild properly?19:15
naccZta: oh wait19:15
sarnoldoh I missed that entirely19:15
sarnoldthat does smell funny19:15
naccZta: um, i don' think --host on its own does anything19:16
naccZta: and then you really don't want to use *.dsc19:16
naccwell, it might work right now19:16
naccbut eventually taht will be multiple dsc files19:16
Ztaok19:16
nacccan you try with the actual file name?19:16
ZtaI know it's a hack for now; I was lazy.  It seems to evaluate properly, but I'll try full name.  And exclude host.19:16
Ztawow!19:17
ZtaIt builds something.19:18
naccZta: when it finishes, it should put a .deb in .ubuntu-sbuild if you've not set upa  .sbuildrc19:19
nacciirc19:19
ZtaBtw this is was "mk-sbuild xenial" ended by saying: "To BUILD for : sbuild -A -d xenial-amd64 --host  PACKAGE*.dsc", so it seems like there's a $host missing somewhere =)19:19
naccthe last lines should say explicitly the name of the .deb19:19
naccZta: right, you *can* pass --host19:19
naccbut it's only useful for cross-building19:19
naccwhich i assuemd you weren't doing :)19:19
ZtaCorrect =)19:21
ZtaBuild failed, though: https://pastebin.com/KMQ2CVPq19:22
naccZta: did you add cmake as a build-dep in d/control?19:22
Ztammmno19:23
naccZta: right, now you're at the point where you need to flesh out the skeleton19:23
naccwith the build-deps, possible binary package deps, rules overrides, etc19:23
naccZta: bbiab -- but i think you can iterate from here19:24
naccZta: make some changes in debian/, run dpkg-buildpackage -S -nc -d -uc -us, run sbuild on the dsc and get it to build :)19:24
ZtaI'll call it day19:24
ZtaThanks for the help so far.  I'll be back for some more dh_pain soon =)19:25
Zta..wait what? http://stackoverflow.com/questions/32012811/how-to-build-a-deb-file-for-cmake-from-source  ... I better leave that where I found it.19:27
ZtaRight, I managed to add cmake to dependency, and I commented out something cmake related in the the skeleton d/rules.  Now cmake is installed, and the build is executed, but it still fails.  I feel I'm close, but I'll come back and finish the job some other time.19:34
naccZta: sure, just ping me if you need help, and paste the logs19:37
nacc*pastebin19:37
ZtaWill do.  And again, thanks a lot of all the help everyone.19:37
acheronUKIs there any way I can fool the update notifier etc into thinking Zesty is released?20:43
acheronUKJust want a screenshot of the upgrade being offered20:44
naccacheronUK: i'm not sure if passing -d would do it?20:46
naccacheronUK: you can do that for update-manager, at least20:46
acheronUKnacc: I want plasma-discover to think there is an upgrade, so I need to manually change a file somewhere I guess20:47
naccacheronUK: i would guess taht's specific to plasma-discover, but not sure20:49
naccmaybe something in /etc/apt/apt.conf.d/60plasma-discover?20:49
acheronUKnacc: I was thinking it's getting the info that a release upgrade is available from the same source as native ubuntu upgrade tools would20:50
acheronUKnacc: no, definitely not that file.20:50
naccacheronUK: ok, i'm not sure20:51
acheronUKanyway. I'm not overly fussed. I can quickly grab a screenshot when the release goes out for real and put that on the wiki. just would have been nice to get it all done now20:51
Laneybdmurray: dkms> Is is that the get_newest_kernel_debian thing is broken? https://paste.ubuntu.com/24369911/21:12
* Laney doesn't know very much about dkms but it seems that this should return 4.10.0-19 not nothing ...21:12
Laneymaybe change the gt to ge?21:13
naccLaney: yeah that does seem off21:14
naccit doesn't seem like it would do any harm to be -ge, as it should be a no-op or, as in this case, a correct assignment of what is 'currently' consider the newest kernel when we haven't seen any kernels yet21:17
Laneylooks that way to me21:17
naccalternatively, rather than do the COMPARE_TO assignemnt, just do the same assignment in that section as later and continue the loop, as i think that's the intent21:17
naccthe assignment in the if, that is21:18
naccLaney: nice catch21:18
Laneydidn't test it end to end yet ;)21:18
Laney(actually not immediately sure how to do that)21:18
Laneyinterrupt the upgrade and hack the file or something21:19
bdmurrayinstall dkms, hack it, then do the upgrade?21:20
Laneyapt install --reinstall bcmwl-kernel-source does give Building initial module for 4.10.0-19-generic though21:20
Laneyyeah I guess21:20
Laneylemme try that21:20
=== _salem is now known as salem_
Laneyk, it's running21:28
=== koza is now known as koza|away
LaneyBuilding for 4.8.0-46-generic 4.10.0-19-generic21:42
Laneylooking ok so far21:42
bdmurraythere's also this new autoinstall_all_kernels option21:44
LocutusOfBorgbdmurray, hello, wrt LP: #1681566, let me understand, you can install virtualbox-dkms without having corresponding kernel sources available?21:58
ubottuLaunchpad bug 1681566 in virtualbox (Ubuntu) "nvidia-375 DKMS module not recompiled on upgrade to 17.04" [Undecided,Confirmed] https://launchpad.net/bugs/168156621:58
* LocutusOfBorg is going to sleep, sorry for the delay21:59
bdmurrayLocutusOfBorg: dkms isn't building modules for the new kernel during an upgrade. reinstalling the kernel or the dkms package then causes the modules to be built for the new kernel.22:00
bdmurrayLocutusOfBorg: Laney is testing a fix now.22:00
jackpot51bdmurray: any ideas what was happening?22:05
naccmaybe better asked here .. given just a .dsc, how do i dtermine which distribution the package targets? i'm not seeing anyting in the dsc object that provides that info22:07
naccor is that simply not deducible given just a .dsc -- it's fine if so, just wondering22:07
jackpot51Try to dget the dsc file22:08
nacc(assume i can also extract said source package)22:08
naccjackpot51: right, but dget works with ppas, say22:08
jackpot51Look in the debian/changelog of the source package22:08
naccjackpot51: yep, that should work, was just wondering if there was seomething ... faster :)22:08
jackpot51Don't know22:09
=== salem_ is now known as _salem
Laneynacc: bdmurray: LocutusOfBorg: Attached. I need to go to bed now, so could one of you review / test / maybe upload? It might be worth asking tseliot and/or superm1 for advice if you can find them (maybe forwarding to upstream on github will get a response).22:09
naccLaney: nice work, have a restful evening!@22:10
Laneythanks!22:10
Laneyoh, and feel free to try and understand the logic a bit better of course22:11
Laneyto determine if it was actually intended to behave like that and should be fixed elsewhere22:11
Laneyo/22:11
jackpot51Hey Laney, Where can I see your work?22:12
bdmurrayjackpot51: in the ubg22:12
jackpot51Launchpad was down for about 30 seconds. That was freakin scary22:14
jackpot51Doing a release upgrade on the launchpad.net servers I hope?22:14
sarnoldI understand routers were having new rules pushed22:16
LocutusOfBorgthanks lamont bdmurray22:22
LocutusOfBorgs/lamont/laney22:23
LocutusOfBorgI would like to upload but it is seeded almost everywhere :(22:24
* lamont did nothing :D22:24
LocutusOfBorgSRU?22:24
jackpot51bdmurray: LocutusOfBorg: Can we have the DKMS fixes in the repos before people get update-manager notifications?22:26
bdmurrayjackpot51: that's technically possible22:26
LocutusOfBorgbdmurray, please upload then :)22:37
* LocutusOfBorg is going to sleep, 1am here and alarm is at 622:37
=== Guest27115 is now known as RAOF

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