On Wed, Dec 19, 2007 at 20:24:47 +0100, Ralf Treinen wrote:

> Hi,
> 
> On Wed, Dec 19, 2007 at 09:11:35AM +0100, Stefano Zacchiroli wrote:
> > On Wed, Dec 19, 2007 at 08:59:50AM +0100, Stefano Zacchiroli wrote:
> > > > I just tried on my home box (amd64/sid), and cannot reproduce the error
> > > > you describe on recompiling cryptgps.
> > > mmmh, this is strange, I really don't see how can it built find for you:
> > > the cdbs class now invokes
> > > /usr/share/cdbs/1/class/ocamldoc-api-ref-config and that file is not
> > > executable here:
> > > 
> > >   $ ls -l /usr/share/cdbs/1/class/ocamldoc-api-ref-config 
> > >   -rw-r--r-- 1 root root 2238 2007-12-17 13:41 
> > > /usr/share/cdbs/1/class/ocamldoc-api-ref-config
> > > 
> > > Can you please check whether the above file is executable for you or
> > > not?
> 
> It is indeed executable on my machine :
> 
> % ls -l /usr/share/cdbs/1/class/ocamldoc-api-ref-config
> -rwxr-xr-x 1 root root 2238 2007-11-10 17:27 
> /usr/share/cdbs/1/class/ocamldoc-api-ref-config
> 
> This is  ocaml-nox 3.10.0-9 on amd64.
> 
The amd64 package in the archive is fine.  On all other architectures,
that file has mode 0644.

> Daniel Schepler <[EMAIL PROTECTED]> wrote:
> >My guess is that the file was executable on the original builder's machine,
> >which appeared to be amd64 from the buildd page.  Therefore, the amd64
> >packages have the file executable (as I can verify, as the package also
> >builds fine for me using a vanilla pbuilder amd64 chroot).  But since
> >dpkg-source doesn't preserve permissions on new files created by the .diff.gz
> >part of the source package, any binaries built by the buildd's (or built from
> >source on amd64 as happened in my case) won't have it executable.
> 
> If I undestand right this could only happen when the file in question is
> part of the tarball, but this doesn't seem to be the case :
> 
> % ar x ocaml-nox_3.09.2-9_amd64.deb
> % tar tvfz data.tar.gz | grep ocamldoc-api-ref-config
> <no output lines>
> 
This is about the source package.  The amd64 deb was built from an svn
checkout, where this file was +x.  On other architectures, it was built
from the unpacked source package.  Since this file isn't in the orig
tarball, it's created from the diff.gz, and so isn't executable.

Cheers,
Julien



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to