/srv/irclogs.ubuntu.com/2018/07/20/#launchpad.txt

=== chihchun_afk is now known as chihchun
Lord-KaminaIs there any way to get access to the config.log of a failed ppa build?04:01
ePierreLord-Kamina, yes06:19
Lord-KaminaHow?06:19
ePierreLord-Kamina, in your PPA launchpad page, click on "View package details"06:19
ePierreLord-Kamina, then click "View all builds"06:19
ePierrethen you can filter to find your build and you should be able to click "see the log"06:20
Lord-KaminaBut that shows the build log.06:20
Lord-KaminaNot the config.log.06:20
Lord-KaminaI'm trying to do a backport, and I guess something in the dependencies broke gcc, but I can't figure out what.06:21
Lord-KaminaI thought it might have been perl 5.24, but on another machine (same OS) I tried gcc406:21
Lord-Kaminagcc-4.9 instead of 4.8 with perl 5.24 and it appeared to work.06:22
Lord-KaminaAnd I cannot get any more info from launchpad it seems, other than "checking whether the C compiler works... no"06:22
ePierre_Lord-Kamina, oh sorry... in that case I don't know!06:24
Lord-Kamina:( thanks anyway.06:24
=== ePierre_ is now known as ePierre
cjwatsonLord-Kamina: The only way to do that is for your build to arrange to cat the config.log when it fails.  dh_auto_configure does this automatically, but perhaps you're bypassing or not using it.08:32
cjwatsonLord-Kamina: But if all else fails, something like ./configure ... || { code=$?; cat config.log; exit $?; } should work08:33
kjackalHi! I am facing a problem with building snaps from launchpad (LP) builders. I have a single snap, named microk8s, and I would like to release to edge from the code's master branch and to track 1.10/edge  from the code's  1.10 branch. I first created a snap for the master->edge path, but then when I select the 1.10 code branch and click "Create a new snap package" in the snap "Name: " I have to use the name "microk8s" again and10:11
kjackalthis errors with "There is already a snap package owned by microk8s developers with this name."10:11
kjackalAm I missing something? Same snap release to different tracks from different branches. Is this possible with LP builders?10:12
cjwatsonThe name there is just the name for the object (the snap recipe, if you like) in Launchpad, not the name of the underlying snap.  You must use a different name for the object in Launchpad.10:15
cjwatsonBut that doesn't mean the actual snap will end up with a different name.10:15
cjwatsonIf you put something different in the Name: field then it should work fine.10:16
cjwatsonmicrok8s-1.10 or whatever10:16
kjackalawesome, thanks cjwatson we might want to update step 6 in https://docs.snapcraft.io/build-snaps/ci-integration10:18
cjwatsonYeah, I'll see about writing something better there.10:19
cjwatsonThough as ever we want to avoid putting too much detail in and being confusing.10:19
cjwatson(I didn't write that document originally.)10:19
kjackalso in launchpad.snaps.getByName I should be looking for microk8s-1.10, right?10:20
cjwatsonYes10:21
kjackalawesome, thanks10:21
rbasakCould somebody take a look at https://answers.launchpad.net/launchpad/+question/670853 please? I think Lars is looking to start testing a mysql-8.0 transition soon.11:45
rbasak("Please increase repository size in ppa:mysql-ubuntu/mysql-8.0")11:46
moon127rbasak: I've bumped it the same as 5.7 as suggested12:05
rbasakmoon127: thank you!12:05
SkuggenThanks!12:27
cjwatsonkjackal: https://github.com/canonical-docs/snappy-docs/pull/418 FYI13:26
gitlab-botcanonical-docs issue (Pull request) 418 in snappy-docs "Improve directions for "Name" field of LP snaps" (comments: 0) [Open]13:26
kjackalcjwatson: +1 , Thank you13:28
=== maclin1 is now known as maclin
=== ipmb_ is now known as ipmb
Lord-Kaminacjwatson I was using whatever the original package had (which was a manual configure), I replaced that with dh_auto_configure and I got the output I needed, thanks.17:55
Lord-KaminaNow I gotta figure out how to fix it.17:55
cjwatsonGood luck17:56
Lord-KaminaIt's not finding gcc. Shouldn't gcc/g++-4.9 work on trusty?18:01
cjwatsonLord-Kamina: Can you post a link to the build log?18:10
cjwatsonI don't really feel like guessing.18:10
cjwatson(Also, trusty has GCC 4.8, not 4.9.)18:11
Lord-Kaminacjwatson, that's apparently not the problem anymore. Either way, you are right, trusty normally has gcc-4.8 but I was under the impression gcc-4.9 was also _easily_ installable.19:03
Lord-KaminaCurrently I'm getting burned on something else. I need aclocal-1.15, was trying to backport automake and am getting this: https://launchpadlibrarian.net/379414545/buildlog_ubuntu-trusty-i386.automake-1.15_1%3A1.15-4ubuntu1ppa-trusty1_BUILDING.txt.gz19:04
Lord-KaminaWhy does launchpad refuse to install texinfo?19:56
naccLord-Kamina: have you tried buildling it locally?19:59
Lord-KaminaNo, I don't have a machine running trusty at hand; but this at least should be pretty straightforward.20:00
Lord-KaminaHowever... The following packages have unmet dependencies:20:01
Lord-Kamina sbuild-build-depends-automake-1.15-dummy : Depends: texinfo but it is not going to be installed20:01
naccLord-Kamina: ... schroot, lxd, etc.20:01
Lord-KaminaLiterally failing because it doesn't want to install texinfo.20:01
naccLord-Kamina: but you need to find out why20:01
Lord-KaminaYeah, but I don't really know how.20:06
naccLord-Kamina: right, that's why i said build it locally :)20:10
Lord-KaminaMaking a trusty vm now. ugh.20:44
naccLord-Kamina: you don't need a VM20:46
naccLord-Kamina: that's overkill for just building a srcpkg, at least20:47
naccLord-Kamina: sbuild with a chroot or lxd is sufficient20:47
Lord-Kaminanacc, a VM is easier for me because I have little experience with Linux.20:55
Lord-KaminaI'm a mac user.20:55
naccLord-Kamina: i see20:56
Lord-KaminaFairly advanced and more than somewhat familiar with the bsd innards but things as simple as apt can sometimes still be largely black magic to me. :P20:58
naccLord-Kamina: if i had to guess, it's because you're using a ppa for perl?21:04
naccLord-Kamina: one that's not been updated since january of last year...21:04
Lord-KaminaCould be.21:04
Lord-KaminaIs there a command to find a package that depends on another package?21:12
naccLord-Kamina: reverse-depends and apt-cache rdepends21:12
Lord-KaminaDon't know if it's actually related to the issue on the ppa, since this is a fresh install.21:13
Lord-KaminaBut perl was complaining about libenchant having unmet dependencies.21:13
Lord-KaminaEven though I don't think perl directly depends on enchant.21:13
=== gurmble is now known as grumble
cjwatsonLord-Kamina: "is not going to be installed" invariably means that there's something deeper in the stack of dependencies that can't be resolved into a consistent set of packages to install.  Unfortunately apt notoriously doesn't tell you about the details up-front and it usually takes a little digging to figure it out.23:21
cjwatsonchdist(1) is my usual tool for this; looking23:21
cjwatsonLord-Kamina: Right, that perl PPA provides perl 5.24 itself, but it doesn't provide rebuilt versions of all the libraries that would need to be rebuilt against it in order to actually be able to use it in practice23:25
cjwatsonLord-Kamina: If you dig deep enough, the actual unmet dependency is:  libxml-libxml-perl : Depends: perlapi-5.18.223:25
cjwatsonLord-Kamina: I would recommend dropping that perl-5.24 PPA23:25
cjwatsonLord-Kamina: You're not going to have a good time trying to use perl 5.24 on trusty without an awful lot more work23:26
cjwatsonLord-Kamina: If you drop that then automake-1.15's build-dependencies are satisfiable23:26
=== gurmble is now known as grumble
Lord-Kaminacjwatson, I see. Thank you very much. I was using that ppa in the first place because something else that I needed to build requires perl 5.20 I think.23:58

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