[DRE-maint] Bug#794132: FTBFS: Hiera::Util Hiera::Util.microsoft_windows? should return false on posix systems

Chris West (Faux) solo-debianbugs at goeswhere.com
Thu Jul 30 20:32:44 UTC 2015


Source: hiera
Version: 2.0.0-1
Severity: serious
Tags: sid stretch
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs

Dear Maintainer,

The package fails some tests:

Failed examples:

rspec ./spec/unit/util_spec.rb:5 # Hiera::Util Hiera::Util.posix? should return true on posix systems
rspec ./spec/unit/util_spec.rb:10 # Hiera::Util Hiera::Util.posix? should return false on non posix systems
rspec ./spec/unit/util_spec.rb:17 # Hiera::Util Hiera::Util.microsoft_windows? should return false on posix systems


It's checking whether File::ALT_SEPARATOR is set, and, if so, it decides that we're on Windows;
guessing this has changed in newer Ruby versions.

Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/hiera.html

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.19.0-23-generic (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



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