Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zpty-related testsuite failures if building in a chroot on a host running systemd 220 as init system


On Sat, Jun 06, 2015 at 08:48:33PM +0200, Axel Beckert wrote:
> > > * systemd is at version 220. (The version of udev doesn't seem to
> > >   matter and compiling under systemd 215 works fine.)
> > 
> > Are there any differences in the results of configure between the two
> > versions of systemd or is it only when the tests are run that there's a
> > difference.
> Will have to figure out. I though suspect that the chroot behaves
> differently under systemd 220. One indicator for that is this error
> message in chroot cleanup after the (failed) build:
> W: Could not unmount dev/pts: umount:
> /var/cache/pbuilder/build//17909/dev/pts: not mounted

Actually if I call "mount -t devpts none /dev/pts" inside the chroot
before running the testsuite (even if ran after building zsh in the
chroot), the testsuite passes.

So for some reason the testsuite fails if /dev/pts is just an empty
directory, i.e. /dev/pts/ptmx does not exist in the chroot, but
/dev/pts does.

		Kind regards, Axel
/~\  Plain Text Ribbon Campaign                   | Axel Beckert
\ /  Say No to HTML in E-Mail and News            | abe@xxxxxxxxxxxxxxx  (Mail)
 X   See http://www.nonhtmlmail.org/campaign.html | abe@xxxxxxxxx (Mail+Jabber)
/ \  I love long mails: http://email.is-not-s.ms/ | http://abe.noone.org/ (Web)

Messages sorted by: Reverse Date, Date, Thread, Author