Re: schroot: 20copyfiles: cp: cannot create regular file '.../etc/resolv.conf'

2016-09-15 Thread Daniel Shahaf
Sean Whitton wrote on Wed, Sep 14, 2016 at 07:40:00 -0700:
> On Wed, Sep 14, 2016 at 07:17:10AM -0700, Sean Whitton wrote:
> > I think that the current stable sbuild is meant to be able to build
> > for unstable (pretty common use case), so if you can reproduce it, a
> > stable update might be in order.
> 
> Sorry for a second e-mail, but I just remembered that there is a
> backport of a version of sbuild that can build for unstable, so I don't
> think the sbuild maintainer would want to a stable update in addition to
> this.  If you can reproduce the bug with the backport, though, it should
> definitely be reported.

I can't reproduce the problem with sbuild 0.70.0-1~bpo8+1.

Thanks for the help Sean.

Daniel



Re: schroot: 20copyfiles: cp: cannot create regular file '.../etc/resolv.conf'

2016-09-13 Thread Daniel Shahaf
Sean Whitton wrote on Tue, Sep 13, 2016 at 17:08:03 -0700:
> Does etc exist in /srv/chroot/unstable-amd64 (or wherever you have the
> base chroot)?

No, it doesn't exist:

% tar tf unstable-amd64.tar.gz | cut -d/ -f 1,2 | uniq -c
  1 ./
   2668 ./usr
 65 ./sbin
  1 ./build
  1 ./mnt
  5 ./run
  1 ./proc
 46 ./dev
 65 ./bin
% 

When I create /etc in the tarball, I get further errors, about various
other dirents not existing: /etc/apt/apt.conf.d/, /root, /bin/bash,
even /bin/sh.

By comparison, the (working) jessie chroot has:

% tar tf jessie.tar.gz | cut -d/ -f 1,2 | uniq -c | sort -n
⋮
 82 ./sbin
103 ./bin
354 ./etc
607 ./lib
898 ./var
  10887 ./usr
% 

I created the sid chroot last Friday with «/usr/sbin/sbuild-createchroot
--include=eatmydata --make-sbuild-tarball=/path/to/unstable-amd64.tar.gz
unstable `mktemp -d` http://httpredir.debian.org/debian».  At the time
I used sbuild from stable (0.65.2-1).  I just now re-created that chroot
using sbuild 0.71.0-2 (locally rebuilt on jessie), and it now works.

I still don't know why the stable sbuild didn't work, though.  (Or
whether upgrading sbuild was the fix: perhaps something changed in the
archive since Friday.)  Should I file a bug about that?

Thanks,

Daniel



schroot: 20copyfiles: cp: cannot create regular file '.../etc/resolv.conf'

2016-09-12 Thread Daniel Shahaf
Hello,

I usually build packages in a sid chroot using sbuild, but that stopped
working at some point:

% sudo schroot -c source:unstable-amd64-sbuild -d /root 
E: 20copyfiles: cp: cannot create regular file 
'/var/run/schroot/mount/unstable-amd64-sbuild-0d2f358b-da5e-41fa-8221-d416e21f9d2e/etc/resolv.conf':
 No such file or directory
E: unstable-amd64-sbuild-19f85771-f85c-4a5d-89da-3c6644ff7005: Chroot setup 
failed: stage=setup-start
zsh: exit 1

The 'cp' fails because
/var/run/schroot/mount/unstable-amd64-sbuild-0d2f358b-da5e-41fa-8221-d416e21f9d2e/
exists but does not have an "etc/" subdirectory.

It works fine with a jessie schroot on the same host.

The host runs jessie.  schroot version is 1.6.10-2~bpo8+1.

What might be the problem?

Thanks,

Daniel



Bug#813947: RFS: zsh-syntax-highlighting/0.4.1-1

2016-02-06 Thread Daniel Shahaf
Package: sponsorship-requests
Severity: normal
X-Debbugs-CC: pkg-zsh-de...@lists.alioth.debian.org
Affects: zsh-syntax-highlighting

Dear mentors,

I am looking for a sponsor for my package "zsh-syntax-highlighting":

 Package name: zsh-syntax-highlighting
 Version : 0.4.1-1
 Upstream Author : Multiple authors (I'm upstream)
 URL : https://github.com/zsh-users/zsh-syntax-highlighting/
 License : BSD
 Section : shells

It builds these binary packages:

  zsh-syntax-highlighting - Fish shell like syntax highlighting for zsh

To access further information about this package, please visit the following 
URL:

  http://mentors.debian.net/package/zsh-syntax-highlighting

Alternatively, one can download the package with dget using this command:

  dget -x 
http://mentors.debian.net/debian/pool/main/z/zsh-syntax-highlighting/zsh-syntax-highlighting_0.4.1-1.dsc

Changes since the last upload:

  * New upstream release.
  * Packaging changes:
- Declare 'Enhances: zsh'.

Regards,
 Daniel Shahaf

P.S. I sought sponsors on pkg-zsh-devel@ (CCed) first but they are busy.