/srv/irclogs.ubuntu.com/2019/10/04/#ubuntu-devel.txt

Ark74hello guys!04:50
Ark74I'm learning how to build and edit packages from source04:51
Unit193Careful, before you know it you'll have your very own repo of packages.04:52
Ark74I 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 binaries04:53
Ark74Unit193, yeah, I'm learning to backport some recent versions04:53
Ark74Ok, that reads confusing04:54
Ark74When building I add dependencies, once build the binaries in order to install it now also requires to install build dependencies, why?04:55
Ark74wheren't they only for build?04:55
cjwatsonArk74: 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
Ark74cjwatson, maybe I took a bone too big to start learning, but I'm trying to figure out LibreOffice backport from PPA05:06
Unit193That's not likely to be the best first package.05:07
Ark74yeah, I now05:07
Ark74I have completed a 16 hour build05:07
cjwatsonArk74: Well, I'm less thinking about what you're packaging, and more exactly what the specific Build-Depends and Depends at issue are05:07
Ark74but 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 packages05:09
Ark74unless I add those packages to Build-Depends the build fails05: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
Ark74mostly java packages, libwpd, libwps, libwpg, liborcus05:12
cjwatsonI think it might be helpful if you put some kind of transcript on paste.ubuntu.com and shared a link05:12
Ark74https://paste.ubuntu.com/p/wZXBXBZsnF/05:13
Ark74"paquetes NUEVOS" are new packages05:13
cjwatsonLooks normal enough05:13
cjwatsonWell, maybe, not sure about the Java pile05:14
cjwatsonBut that transcript does not say what command you ran that resulted in that05:14
Ark74that was sudo apt update ; sudo apt dist-upgrade05:14
Ark74I already had the ppa05:14
Ark74libreoffice ppa05:14
cjwatsonlibwpd, libwps, libwpg, liborcus don't seem like a surprise; note that it's only installing the runtime packages, not the -dev packages05:14
Ark74then used aplty to setup a local repo for the packages build05:15
cjwatsonOK, 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 PPA05:15
Ark74hmmm, you are right05:15
cjwatsonNarrow down what's actually been added there05:15
cjwatsonYou aren't going to get anywhere fast with an undifferentiated pile of output from apt05:15
cjwatsonAnd hopefully you have build logs that you can diff against the ones in the PPA05:16
cjwatsonAlso hopefully you have a diff of the changes you made to the source package05:17
cjwatsonAll those things are vital diagnostic tools when looking into this kind of problem05:17
Ark74well, I took the source from the PPA, so I thought there would not be much difference05:18
cjwatsonYou made changes05:18
Ark74the only changes I did where the builder failed05:18
Ark74adding dependencies05:18
cjwatsonRegardless, you made changes05:18
cjwatsonA diff is a way of concisely expressing exactly what those changes were05:19
Ark74I have the list05:19
Ark74one sec05:19
cjwatsonYou can generate it by running debdiff against the old and new .dsc files05:19
cjwatsonAlso, 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 incorrect05:20
Ark74https://paste.ubuntu.com/p/xrGwzhC5Nh/05:21
cjwatsonSorry, not prepared to look at it in that form05:21
cjwatsonA debdiff is the standard way of representing this kind of thing05:22
cjwatsonA pile of sed statements is unreadable05:22
cjwatson(And judging from that you might very well have edited Depends lines by accident ...)05:22
Ark74You might be right05:23
cjwatsonThis is why you need to look at a diff, if nothing else to see if your noninteractive file-editing machinery misfired05:23
Ark74thank you, that makes sense05:23
Ark74let me play with debdiff, so I can be sure if I screw in the way05:24
Ark74cjwatson, 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 say05:30
cjwatsonNo problem, good luck05:30
Ark74I'll be around, thanks!05:30
LocutusOfBorgis only me or the bugs pages are showing badly?10:14
LocutusOfBorghttps://bugs.launchpad.net/ubuntu/+source/dkms/+bug/183892110:14
ubottuLaunchpad bug 1838921 in OEM Priority Project "ability to install dkms without version checking and retire it when kernel fixed issue" [High,New]10:14
tjaaltonslow alright10:27
tjaaltonor just bad10:27
cjwatsonLocutusOfBorg: we're fixing10:28
cjwatsonslight fallout from migration to git10:28
LocutusOfBorgthanks!10:35
ahasenackgood morning12:12
=== ricab is now known as ricab|lunch
=== ricab|lunch is now known as ricab
=== jamesh__ is now known as jamesh
infinitymarcustomlinson: What's the effect of the last hunk of change (to debian/rules) in your libreoffice upload?16:21
infinitymarcustomlinson: http://launchpadlibrarian.net/445268811/libreoffice_1%3A6.3.2-0ubuntu1_1%3A6.3.2-0ubuntu2.diff.gz16:21
infinitymarcustomlinson: The USE_GIT_TARBALLS bit, which isn't mentioned in the changelog.16:22
marcustomlinsoninfinity: no affect on anything runtime, that flag is used during build-time to grab origs16:22
marcustomlinsoninfinity: it's supposed to be build as N for every release16:22
marcustomlinsoninfinity: must have miss it last release16:22
infinitymarcustomlinson: Okay, so only has effect when constructing a new upstream?16:22
marcustomlinsoninfinity: yes16:23
infinityCheck.16:23
=== bryce__ is now known as bryce

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