Re: ruby-graphviz tests failing in chroot
2012/10/28 Cédric Boutillier <cedric.boutillier@gmail.com>:
> 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.
Thanks for this solution. I added it to debian/rules and it is working now.
> 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?
Thanks for the suggestions, I updated all man pages.
> I noticed also that you haven't patched yet the use of rubygems in the
> tests.
Shouldn't require-rubygems test catch this too?
I have uploaded the package now.
--
പ്രവീണ് അരിമ്പ്രത്തൊടിയില്
You have to keep reminding your government that you don't get your
rights from them; you give them permission to rule, only so long as
they follow the rules: laws and constitution.
Reply to: