[DRE-maint] Bug#895923: ruby-pkg-config: FTBFS and Debci failure

Adrian Bunk bunk at debian.org
Tue Apr 17 15:34:18 BST 2018


Source: ruby-pkg-config
Version: 1.2.9-1
Severity: serious

Some recent change in unstable makes ruby-pkg-config FTBFS and Debci fail:

https://ci.debian.net/packages/r/ruby-pkg-config/unstable/amd64/
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-pkg-config.html

...
┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby2.5 from debian/ruby-tests.rb                              │
└──────────────────────────────────────────────────────────────────────────────┘

RUBYLIB=/build/1st/ruby-pkg-config-1.2.9/debian/ruby-pkg-config/usr/lib/ruby/vendor_ruby:. GEM_PATH=debian/ruby-pkg-config/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all ruby2.5 debian/ruby-tests.rb
Loaded suite debian/ruby-tests
Started
F
===============================================================================
Failure: test_cflags(PkgConfigTest)
/build/1st/ruby-pkg-config-1.2.9/test/test_pkg_config.rb:122:in `assert_pkg_config'
/build/1st/ruby-pkg-config-1.2.9/test/test_pkg_config.rb:28:in `test_cflags'
     25:   end
     26: 
     27:   def test_cflags
  => 28:     assert_pkg_config("cairo", ["--cflags"], @cairo.cflags)
     29:     only_pkg_config_version(0, 29)
     30:     assert_pkg_config("cairo-png", ["--cflags"], @cairo_png.cflags)
     31:   end
<"-I/usr/include/cairo -I/usr/include/glib-2.0 -I/tmp/local/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16">(US-ASCII) expected but was
<"-I/usr/include/cairo -I/usr/include/glib-2.0 -I/tmp/local/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid">(UTF-8)

diff:
? -I/usr/include/cairo -I/usr/include/glib-2.0 -I/tmp/local/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid
  
? Encoding: US -ASCII
?            TF 8    
===============================================================================
F
===============================================================================
Failure: test_cflags_only_I(PkgConfigTest)
/build/1st/ruby-pkg-config-1.2.9/test/test_pkg_config.rb:122:in `assert_pkg_config'
/build/1st/ruby-pkg-config-1.2.9/test/test_pkg_config.rb:34:in `test_cflags_only_I'
     31:   end
     32: 
     33:   def test_cflags_only_I
  => 34:     assert_pkg_config("cairo", ["--cflags-only-I"], @cairo.cflags_only_I)
     35:     only_pkg_config_version(0, 29)
     36:     assert_pkg_config("cairo-png", ["--cflags-only-I"], @cairo_png.cflags_only_I)
     37:   end
<"-I/usr/include/cairo -I/usr/include/glib-2.0 -I/tmp/local/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16">(US-ASCII) expected but was
<"-I/usr/include/cairo -I/usr/include/glib-2.0 -I/tmp/local/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid">(UTF-8)

diff:
? -I/usr/include/cairo -I/usr/include/glib-2.0 -I/tmp/local/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid
  
? Encoding: US -ASCII
?            TF 8    
===============================================================================
.........

Finished in 0.686665821 seconds.
------
11 tests, 26 assertions, 2 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
81.8182% passed
------
16.02 tests/s, 37.86 assertions/s
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install /build/1st/ruby-pkg-config-1.2.9/debian/ruby-pkg-config returned exit code 1
make: *** [debian/rules:15: binary] Error 1


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