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

Re: ruby-graphviz tests failing in chroot



Hi Praveen,

On Fri, Oct 26, 2012 at 09:28:28PM +0530, Praveen A wrote:
> Hi,

> Details of error message added to ITP
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676393#24 If there is
> a way I can run these tests (they run fine with dpkg-buildpackage), I
> would be happy. If there is no way to run these tests under a chroot,
> I would disable them and upload it.

> Let me know if any one got any ideas. The files are in our git repo

> Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-graphviz.git
> Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-graphviz.git;a=summary

I found out the cause of the problem. As I told you on IRC, this is
triggered by the fact that with fakeroot, the pbuilder user tries to
read /root/.pangorc, which not accessible. This yields a warning, which
caught as being an error in the Ruby Graphiz library.

I found that a similar bug report for pygtk:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570313

The solution proposed is to set the G_HOME variable to /
this can be done by adding
  export G_HOME=/ 
somewhere at the beginning of debian/rules.

Apparently, althoug this yields to build failures with pbuilder, this
does not affect buildds.

While at it, I saw you wrote manpages for the binaries. Could you use
some more markup to follow the man conventions: bold for options,
italics for generic names of parameters?

I noticed also that you haven't patched yet the use of rubygems in the
tests.

Cheers,

Cédric

Attachment: signature.asc
Description: Digital signature


Reply to: