[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fwd: Bug#764549: ITP: siril -- Astronomical image processing tool



On Tue, Oct 21, 2014 at 10:42:47AM +0200, Sergio Gelato wrote:
> * 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).

I'm using debuild -us -uc, as suggested on the packaging guide.
I have put it in debian/rules indeed.

Here is the content of the file:
#!/usr/bin/make -f
%:
        dh $@ --with autoreconf,autotools_dev
	dh_installchangelogs

> > > 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.

That looks quite simple already.

> >                                                             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.

The base idea was that I would work on the package to have a good base
for you guys to be able to finalize the package, since I don't know how
all this thing works and it's very time consuming for me. I'm not
against being the primary maintainer, but I'm also not against not being
the primary writer of the package since I'll probably do it wrong and
you'll do it faster.

Anybody wants to take a look and finish to packaging Siril?

Thanks in advance

> --
> To UNSUBSCRIBE, email to debian-astro-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 20141021084247.GC3716@ebisu.astro.su.se">https://lists.debian.org/[🔎] 20141021084247.GC3716@ebisu.astro.su.se
> 


Reply to: