Ark74 | hello guys! | 04:50 |
---|---|---|
Ark74 | I'm learning how to build and edit packages from source | 04:51 |
Unit193 | Careful, before you know it you'll have your very own repo of packages. | 04:52 |
Ark74 | I don't quite get, why if I add build dependencies to debian/control, it will ask for install build dependencies when I only want to install the binaries | 04:53 |
Ark74 | Unit193, yeah, I'm learning to backport some recent versions | 04:53 |
Ark74 | Ok, that reads confusing | 04:54 |
Ark74 | When building I add dependencies, once build the binaries in order to install it now also requires to install build dependencies, why? | 04:55 |
Ark74 | wheren't they only for build? | 04:55 |
cjwatson | Ark74: In general yes, build-deps are only for build; but sometimes build-depending on something will cause your built packages to gain runtime dependencies too. You probably need to be more specific about what's going on. | 05:04 |
Ark74 | cjwatson, maybe I took a bone too big to start learning, but I'm trying to figure out LibreOffice backport from PPA | 05:06 |
Unit193 | That's not likely to be the best first package. | 05:07 |
Ark74 | yeah, I now | 05:07 |
Ark74 | I have completed a 16 hour build | 05:07 |
cjwatson | Ark74: Well, I'm less thinking about what you're packaging, and more exactly what the specific Build-Depends and Depends at issue are | 05:07 |
Ark74 | but I added some dependencies on debian/control > Build-Depends and now, now that I have a local repository it tries to install a whole bunch of dependency packages | 05:09 |
Ark74 | unless I add those packages to Build-Depends the build fails | 05:10 |
cjwatson | "it tries to install" what exact commands did you run that caused "it" (what?) to try to install which specific packages that you weren't expecting? | 05:11 |
Ark74 | mostly java packages, libwpd, libwps, libwpg, liborcus | 05:12 |
cjwatson | I think it might be helpful if you put some kind of transcript on paste.ubuntu.com and shared a link | 05:12 |
Ark74 | https://paste.ubuntu.com/p/wZXBXBZsnF/ | 05:13 |
Ark74 | "paquetes NUEVOS" are new packages | 05:13 |
cjwatson | Looks normal enough | 05:13 |
cjwatson | Well, maybe, not sure about the Java pile | 05:14 |
cjwatson | But that transcript does not say what command you ran that resulted in that | 05:14 |
Ark74 | that was sudo apt update ; sudo apt dist-upgrade | 05:14 |
Ark74 | I already had the ppa | 05:14 |
Ark74 | libreoffice ppa | 05:14 |
cjwatson | libwpd, libwps, libwpg, liborcus don't seem like a surprise; note that it's only installing the runtime packages, not the -dev packages | 05:14 |
Ark74 | then used aplty to setup a local repo for the packages build | 05:15 |
cjwatson | OK, so what you need to do is look at the Depends fields of the .debs you have and compare them against the ones in the libreoffice PPA | 05:15 |
Ark74 | hmmm, you are right | 05:15 |
cjwatson | Narrow down what's actually been added there | 05:15 |
cjwatson | You aren't going to get anywhere fast with an undifferentiated pile of output from apt | 05:15 |
cjwatson | And hopefully you have build logs that you can diff against the ones in the PPA | 05:16 |
cjwatson | Also hopefully you have a diff of the changes you made to the source package | 05:17 |
cjwatson | All those things are vital diagnostic tools when looking into this kind of problem | 05:17 |
Ark74 | well, I took the source from the PPA, so I thought there would not be much difference | 05:18 |
cjwatson | You made changes | 05:18 |
Ark74 | the only changes I did where the builder failed | 05:18 |
Ark74 | adding dependencies | 05:18 |
cjwatson | Regardless, you made changes | 05:18 |
cjwatson | A diff is a way of concisely expressing exactly what those changes were | 05:19 |
Ark74 | I have the list | 05:19 |
Ark74 | one sec | 05:19 |
cjwatson | You can generate it by running debdiff against the old and new .dsc files | 05:19 |
cjwatson | Also, if you found that "the builder failed" on the packages that had already built cleanly in the libreoffice PPA, then perhaps that's a warning sign that something is wrong with your build setup and maybe hacking around it by adding Build-Depends is incorrect | 05:20 |
Ark74 | https://paste.ubuntu.com/p/xrGwzhC5Nh/ | 05:21 |
cjwatson | Sorry, not prepared to look at it in that form | 05:21 |
cjwatson | A debdiff is the standard way of representing this kind of thing | 05:22 |
cjwatson | A pile of sed statements is unreadable | 05:22 |
cjwatson | (And judging from that you might very well have edited Depends lines by accident ...) | 05:22 |
Ark74 | You might be right | 05:23 |
cjwatson | This is why you need to look at a diff, if nothing else to see if your noninteractive file-editing machinery misfired | 05:23 |
Ark74 | thank you, that makes sense | 05:23 |
Ark74 | let me play with debdiff, so I can be sure if I screw in the way | 05:24 |
Ark74 | cjwatson, seems this will take some time, in case I don't see you around when I'm done, let say thanks! to point out the proper way to tackle this. | 05:30 |
Ark74 | *let me say | 05:30 |
cjwatson | No problem, good luck | 05:30 |
Ark74 | I'll be around, thanks! | 05:30 |
LocutusOfBorg | is only me or the bugs pages are showing badly? | 10:14 |
LocutusOfBorg | https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/1838921 | 10:14 |
ubottu | Launchpad bug 1838921 in OEM Priority Project "ability to install dkms without version checking and retire it when kernel fixed issue" [High,New] | 10:14 |
tjaalton | slow alright | 10:27 |
tjaalton | or just bad | 10:27 |
cjwatson | LocutusOfBorg: we're fixing | 10:28 |
cjwatson | slight fallout from migration to git | 10:28 |
LocutusOfBorg | thanks! | 10:35 |
ahasenack | good morning | 12:12 |
=== ricab is now known as ricab|lunch | ||
=== ricab|lunch is now known as ricab | ||
=== jamesh__ is now known as jamesh | ||
infinity | marcustomlinson: What's the effect of the last hunk of change (to debian/rules) in your libreoffice upload? | 16:21 |
infinity | marcustomlinson: http://launchpadlibrarian.net/445268811/libreoffice_1%3A6.3.2-0ubuntu1_1%3A6.3.2-0ubuntu2.diff.gz | 16:21 |
infinity | marcustomlinson: The USE_GIT_TARBALLS bit, which isn't mentioned in the changelog. | 16:22 |
marcustomlinson | infinity: no affect on anything runtime, that flag is used during build-time to grab origs | 16:22 |
marcustomlinson | infinity: it's supposed to be build as N for every release | 16:22 |
marcustomlinson | infinity: must have miss it last release | 16:22 |
infinity | marcustomlinson: Okay, so only has effect when constructing a new upstream? | 16:22 |
marcustomlinson | infinity: yes | 16:23 |
infinity | Check. | 16:23 |
=== bryce__ is now known as bryce |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!