[DRE-maint] Bug#880520: ruby-mmap2: FTBFS on hurd-i386: TypeError: madvise(1073741902)

Aaron M. Ucko ucko at debian.org
Wed Nov 1 15:18:58 UTC 2017


Source: ruby-mmap2
Version: 2.2.7-1
Severity: important
Tags: upstream
Justification: fails to build from source
User: debian-hurd at lists.debian.org
Usertags: hurd-i386

The build of ruby-mmap2 for hurd-i386 (admittedly not a release
architecture) failed per the below excerpt from
https://buildd.debian.org/status/fetch.php?pkg=ruby-mmap2&arch=hurd-i386&ver=2.2.7-1&stamp=1509476841&raw=0

    1) Skipped:
  TestMmap#test_modify [/<<PKGBUILDDIR>>/test/test_mmap.rb:208]:
  pending
  
    2) Error:
  TestMmap#test_other:
  TypeError: madvise(1073741902)
      /<<PKGBUILDDIR>>/test/test_mmap.rb:357:in `advise'
      /<<PKGBUILDDIR>>/test/test_mmap.rb:357:in `test_other'
      /usr/lib/ruby/vendor_ruby/minitest/test.rb:107:in `block (3 levels) in run'
      /usr/lib/ruby/vendor_ruby/minitest/test.rb:204:in `capture_exceptions'
      /usr/lib/ruby/vendor_ruby/minitest/test.rb:104:in `block (2 levels) in run'
      /usr/lib/ruby/vendor_ruby/minitest/test.rb:255:in `time_it'
      /usr/lib/ruby/vendor_ruby/minitest/test.rb:103:in `block in run'
      /usr/lib/ruby/vendor_ruby/minitest.rb:350:in `on_signal'
      /usr/lib/ruby/vendor_ruby/minitest/test.rb:275:in `with_info_handler'
      /usr/lib/ruby/vendor_ruby/minitest/test.rb:102:in `run'
      /usr/lib/ruby/vendor_ruby/minitest.rb:839:in `run_one_method'
      /usr/lib/ruby/vendor_ruby/minitest.rb:324:in `run_one_method'
      /usr/lib/ruby/vendor_ruby/minitest.rb:311:in `block (2 levels) in run'
      /usr/lib/ruby/vendor_ruby/minitest.rb:310:in `each'
      /usr/lib/ruby/vendor_ruby/minitest.rb:310:in `block in run'
      /usr/lib/ruby/vendor_ruby/minitest.rb:350:in `on_signal'
      /usr/lib/ruby/vendor_ruby/minitest.rb:337:in `with_info_handler'
      /usr/lib/ruby/vendor_ruby/minitest.rb:309:in `run'
      /usr/lib/ruby/vendor_ruby/minitest.rb:159:in `block in __run'
      /usr/lib/ruby/vendor_ruby/minitest.rb:159:in `map'
      /usr/lib/ruby/vendor_ruby/minitest.rb:159:in `__run'
      /usr/lib/ruby/vendor_ruby/minitest.rb:136:in `run'
      /usr/lib/ruby/vendor_ruby/minitest.rb:63:in `block in autorun'
  
  20 runs, 3135 assertions, 0 failures, 1 errors, 1 skips
  rake aborted!
  Command failed with status (1): [ruby -w -I"test"  "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/test_mmap.rb" -v]

The skip appears to be standard; I'm just noting it for the record.
Also, 1073741902 = 0x4000004e, where on hurd-i386, 0x4e = 78 = ENOSYS,
"Function not implemented."

Could you please take a look?

Thanks!

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu



More information about the Pkg-ruby-extras-maintainers mailing list