Your message dated Tue, 27 Mar 2012 10:13:58 -0600
with message-id <20120327161358.gc7...@gwolf.org>
and subject line Re: ruby-parsetree: FTBFS with sbuild
has caused the Debian Bug report #664973,
regarding ruby-parsetree: FTBFS with sbuild
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
664973: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=664973
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: ruby-parsetree
Version: 3.0.8-2
Severity: important
Tags: patch

ruby-parsetree FTBFS with sbuild because the home directory does not exist.
See http://bugs.debian.org/652802 for a similar bug in ruby-image-science.

I'm attaching a patch that applies the same fix to ruby-parsetree.

Build log:

> Rewriting shebang line of 
> /build/buildd/ruby-parsetree-3.0.8/debian/ruby-parsetree/usr/bin/parse_tree_abc
> /usr/bin/ruby1.8 -I/usr/lib/ruby/vendor_ruby 
> /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb
> /home/buildd is insecure (40775). It may not be group or world writable. 
> Exiting.
> ERROR: Test "ruby1.8" failed. Exiting.
> dh_auto_install: dh_ruby --install 
> /build/buildd/ruby-parsetree-3.0.8/debian/tmp returned exit code 1
> make: *** [binary] Error 1

Regards,
Felix
--- ruby-parsetree-3.0.8.orig/test/test_parse_tree.rb
+++ ruby-parsetree-3.0.8/test/test_parse_tree.rb
@@ -1,12 +1,18 @@
 #!/usr/local/bin/ruby -w
 
-dir = File.expand_path "~/.ruby_inline"
-if test ?d, dir then
-  require 'fileutils'
-  puts "nuking #{dir}"
-  # force removal, Windoze is bitching at me, something to hunt later...
-  FileUtils.rm_r dir, :force => true
-end
+# instead of using Inline's regular directory in the user's home, use
+# a temporary directory
+
+#dir = File.expand_path "~/.ruby_inline"
+#if test ?d, dir then
+#  require 'fileutils'
+#  puts "nuking #{dir}"
+#  # force removal, Windoze is bitching at me, something to hunt later...
+#  FileUtils.rm_r dir, :force => true
+#end
+
+require 'tmpdir'
+ENV['INLINEDIR'] = Dir.mktmpdir
 
 require 'minitest/autorun'
 require 'parse_tree'

--- End Message ---
--- Begin Message ---
Version: 3.0.8-3

Wrong bug referenced in changelog.


--- End Message ---
_______________________________________________
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to