=== mimir|zZz is now known as mimir|work === mimir|work is now known as mimir === mimir is now known as mimir|on [09:43] Hello, why debian packages must be built as root? (or with fakeroot ...) [10:03] There are a number of targets in the default debian/rules generated by dh_make, how do I know which ones are mandatory and which ones are not? I guess "clean", "install" and "binary" are mandatory but I may be missing something. [10:14] jdbrowne, debian packages must not and should not be build as root [10:16] Ok, why does the dpkg-buildpackage has the option "-r gain-root-command"? there must be some use case I do not see [10:17] no idea, never needed it [10:21] ok [10:24] it defaults to fakeroot now [10:25] "root" access is needed for certain parts of the build [10:25] as for what is mandatory, check debian policy [10:28] james_w: for my information, can you give example of parts of the build which need to be root? [10:28] that's also in debian policy I believe [10:28] ok thx [10:32] jdbrowne, "root" is required for the "binary" rules, because you want the archive files to be root owned, that is why fakeroot is sufficient, there is no need for real root [10:33] Ok thx, I am reading the debian policy, see ya in a while :) [10:33] see you tomorrow :D [11:02] To my question : which target are required in a debian/rules, the answer is in the debian policy : http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules [11:02] "At a minimum, required targets are the ones called by dpkg-buildpackage, namely, clean, binary, binary-arch, binary-indep, and build." [11:20] I am reading about the optional target "get-orig-source" in the debian/rules. This is powerful, this is a built-in mechanism that makes it possible to streamline package out of sources without having to teach the upstream developpers how to make packages. Packages can be done by some else without refering/disturbing/interfacing with the developers. [11:24] jdbrowne, except when you have patches or library changes ;) [11:28] yes, in our process, this can be done through the bug tracking system, bit by bit === santiago-pgsql is now known as santiago-ve [15:05] life is good, I have a nice little package for my script. There are now minimal debian/control, debian/rules and a debian/myscript.install. [15:05] There is a step that seems unneeded: when I checkout my sources, I would like to be able to execute dpkg-buildpackage but dpkg-buildpackage insists on having a directory name formatted like myscript- and also insist on having an orig.tar.gz. [15:06] What are the tools/technique I can use to simply build a package after a checkout? [16:33] ciao a tutti === k00011 is now known as k0001 === k00011 is now known as k0001 === k00011 is now known as k0001 === k0001 is now known as testing_somethin === testing_somethin is now known as k0001 === Andre123 is now known as AndreSTC === k00011 is now known as k0001 [20:03] hi [20:43] Hello [21:08] jdbrowne: It does not insist, it merely warns. You may safely ignore.