Re: Fwd: Bug#764549: ITP: siril -- Astronomical image processing tool
* Thibaut Paumard [2014-10-21 10:30:34 +0200]:
> Le 19/10/2014 16:19, Vincent Hourdin a écrit :
> >
> > Not using fakeroot, because when I do, I have the following error:
> > fakeroot: nested operation not yet supported
> > dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit
> > status 1
> >
> > FS is ext4.
>
> Hi,
>
> I seems that fakeroot is being called automatically, then. What is the
> exact command that you use to build your package? I guess one of:
>
> pdebuild
> debuild
> dpkg-buildpackage -rfakeroot
> fakeroot debian/rules binary
I've been wondering whether he might not have been (mistakenly) calling
dh_installchangelogs from debian/rules build (which dpkg-buildpackage
will run without fakeroot).
> > But the probable reason why it fails would be because I don't know how
> > to use dh_installchangelogs!
>
> Probably not, using dh_installchangelogs is extremely easy.
Indeed. Normally one just lets dh_make insert a call in the appropriate
place in debian/rules, or (even better) lets dh figure it all out. I've
never had to worry about dh_installchangelogs. The answer here may be to
clean up (and hopefully simplify) debian/rules.
> It has its
> own manpage, by the way. The point is that the process needs to be root
> in order to set the right permissions. You normally achieves this by
> using fakeroot.
>
> > I could install a virtual machine if I wanted to, but if people from
> > debian-astro have an unstable/testing or other debian-based rencent
> > systems, that would be easier, and fixing the packaging would probably
> > go a lot faster.
>
> You need to be able to test the package yourself, you are going to be
> the primary maintainer. Installing a chroot is easy and cheap (it does
> consume some hard drive space, but that's all).
> http://en.wikipedia.org/wiki/Chroot
> https://wiki.debian.org/Schroot
>
> Kind regards, Thibaut.
>
>
Reply to: