[Buildd-tools-devel] Bug#491358: schroot: error when using schroot -p option (E: Empty expression)

Zach Carter z.carter at F5.com
Fri Jul 18 21:12:56 UTC 2008


Package: schroot
Version: 1.1.6
Severity: normal

When using the -p option, schroot exits with this error:  E: Empty expression

[zcarter at nerf ~]$ schroot -c bering -- uname -a
I: [bering-2008-07-19T04:58:47Z-13217 chroot] Running command: “uname -a”
Linux nerf 2.4.21-47.0.1.EL #1 Thu Oct 19 11:42:25 EDT 2006 i686 i686 i386 GNU/Linux
[zcarter at nerf ~]$ schroot -p -c bering -- uname -a
E: Empty expression
[zcarter at nerf ~]$ 


This only occurs on CentOS 4.x.  I've done some debugging in the code, but I cannot find exactly where the exception is coming from.  It occurring somewhere inside this function in sbuild-auth.cc:

 void
auth::set_environment (environment const& environment)
{
  this->user_environment = environment;  <---exception is thrown during this operation
}

I realize this is not Debian, but I would really appreciate any pointers or workarounds to get this working in CentOS 4.x.  I am trying to build and support schroot in a diverse development environment.  
Fedora, Ubuntu, Debian, Gentoo, CentOS 5.x all work fine, but CentOS 4.x is having this one issue.

-Zach
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20080718/7e083e12/attachment.htm 


More information about the Buildd-tools-devel mailing list