[DRE-maint] Bug#1064516: Debdifffs for ruby-rack DSA

2024-05-08 Thread Adrian Bunk
Hi,

attached are debdiffs for a ruby-rack DSA,
with the same fixes as in sid and buster.

cu
Adrian
diffstat for ruby-rack-2.1.4 ruby-rack-2.1.4

 changelog  |   10 +
 patches/0001-Avoid-2nd-degree-polynomial-regexp-in-MediaType.patch |   51 
++
 patches/0002-Return-an-empty-array-when-ranges-are-too-large.patch |   46 
+
 patches/0003-Fixing-ReDoS-in-header-parsing.patch  |   30 +
 patches/series |3 
 5 files changed, 140 insertions(+)

diff -Nru ruby-rack-2.1.4/debian/changelog ruby-rack-2.1.4/debian/changelog
--- ruby-rack-2.1.4/debian/changelog2023-06-08 00:52:23.0 +0300
+++ ruby-rack-2.1.4/debian/changelog2024-05-02 23:46:12.0 +0300
@@ -1,3 +1,13 @@
+ruby-rack (2.1.4-3+deb11u2) bullseye-security; urgency=medium
+
+  * Non-maintainer upload.
+  * CVE-2024-25126: ReDoS in Content Type header parsing
+  * CVE-2024-26141: Reject Range headers which are too large
+  * CVE-2024-26146: ReDoS in Accept header parsing
+  * Closes: #1064516
+
+ -- Adrian Bunk   Thu, 02 May 2024 23:46:12 +0300
+
 ruby-rack (2.1.4-3+deb11u1) bullseye-security; urgency=high
 
   * Add patch to restrict broken mime parsing.
diff -Nru 
ruby-rack-2.1.4/debian/patches/0001-Avoid-2nd-degree-polynomial-regexp-in-MediaType.patch
 
ruby-rack-2.1.4/debian/patches/0001-Avoid-2nd-degree-polynomial-regexp-in-MediaType.patch
--- 
ruby-rack-2.1.4/debian/patches/0001-Avoid-2nd-degree-polynomial-regexp-in-MediaType.patch
   1970-01-01 02:00:00.0 +0200
+++ 
ruby-rack-2.1.4/debian/patches/0001-Avoid-2nd-degree-polynomial-regexp-in-MediaType.patch
   2024-05-02 23:46:12.0 +0300
@@ -0,0 +1,51 @@
+From bad2b5be29349b285e08d343f060f7c18065d416 Mon Sep 17 00:00:00 2001
+From: Jean Boussier 
+Date: Wed, 6 Dec 2023 18:32:19 +0100
+Subject: Avoid 2nd degree polynomial regexp in MediaType
+
+---
+ lib/rack/media_type.rb | 13 +
+ 1 file changed, 9 insertions(+), 4 deletions(-)
+
+diff --git a/lib/rack/media_type.rb b/lib/rack/media_type.rb
+index 41937c99..7fc1e39d 100644
+--- a/lib/rack/media_type.rb
 b/lib/rack/media_type.rb
+@@ -4,7 +4,7 @@ module Rack
+   # Rack::MediaType parse media type and parameters out of content_type string
+ 
+   class MediaType
+-SPLIT_PATTERN = %r{\s*[;,]\s*}
++SPLIT_PATTERN = /[;,]/
+ 
+ class << self
+   # The media type (type/subtype) portion of the CONTENT_TYPE header
+@@ -15,7 +15,11 @@ module Rack
+   # http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.7
+   def type(content_type)
+ return nil unless content_type
+-content_type.split(SPLIT_PATTERN, 2).first.tap &:downcase!
++if type = content_type.split(SPLIT_PATTERN, 2).first
++  type.rstrip!
++  type.downcase!
++  type
++end
+   end
+ 
+   # The media type parameters provided in CONTENT_TYPE as a Hash, or
+@@ -27,9 +31,10 @@ module Rack
+ return {} if content_type.nil?
+ 
+ content_type.split(SPLIT_PATTERN)[1..-1].each_with_object({}) do |s, 
hsh|
++  s.strip!
+   k, v = s.split('=', 2)
+-
+-  hsh[k.tap(&:downcase!)] = strip_doublequotes(v)
++  k.downcase!
++  hsh[k] = strip_doublequotes(v)
+ end
+   end
+ 
+-- 
+2.30.2
+
diff -Nru 
ruby-rack-2.1.4/debian/patches/0002-Return-an-empty-array-when-ranges-are-too-large.patch
 
ruby-rack-2.1.4/debian/patches/0002-Return-an-empty-array-when-ranges-are-too-large.patch
--- 
ruby-rack-2.1.4/debian/patches/0002-Return-an-empty-array-when-ranges-are-too-large.patch
   1970-01-01 02:00:00.0 +0200
+++ 
ruby-rack-2.1.4/debian/patches/0002-Return-an-empty-array-when-ranges-are-too-large.patch
   2024-05-02 23:46:12.0 +0300
@@ -0,0 +1,46 @@
+From ef52af28b6ac43789fd8fc05df098b56f220f0fa Mon Sep 17 00:00:00 2001
+From: Aaron Patterson 
+Date: Tue, 13 Feb 2024 13:34:34 -0800
+Subject: Return an empty array when ranges are too large
+
+If the sum of the requested ranges is larger than the file itself,
+return an empty array. In other words, refuse to respond with any bytes.
+
+[CVE-2024-26141]
+---
+ lib/rack/utils.rb  | 3 +++
+ test/spec_utils.rb | 4 
+ 2 files changed, 7 insertions(+)
+
+diff --git a/lib/rack/utils.rb b/lib/rack/utils.rb
+index 16457f90..87c2a946 100644
+--- a/lib/rack/utils.rb
 b/lib/rack/utils.rb
+@@ -382,6 +382,9 @@ module Rack
+ end
+ ranges << (r0..r1)  if r0 <= r1
+   end
++
++  return [] if ranges.map(&:size).sum > size
++
+   ranges
+ end
+ module_function :get_byte_ranges
+diff --git a/test/spec_utils.rb b/test/spec_utils.rb
+index 5fd92241..67b77b0d 100644
+--- a/test/spec_utils.rb
 b/test/spec_utils.rb
+@@ -548,6 +548,10 @@ describe Rack::Utils, "cookies" do
+ end
+ 
+ describe Rack::Utils, "byte_range" do
++  it "returns 

[DRE-maint] Bug#1064516: ruby-rack: diff for NMU version 2.2.7-1.1

2024-05-02 Thread Adrian Bunk
Control: tags 1064516 + patch
Control: tags 1064516 + pending

Dear maintainer,

I've prepared an NMU for ruby-rack (versioned as 2.2.7-1.1) and uploaded 
it to DELAYED/2. Please feel free to tell me if I should cancel it.

cu
Adrian
diffstat for ruby-rack-2.2.7 ruby-rack-2.2.7

 changelog  |   10 +
 patches/0001-Avoid-2nd-degree-polynomial-regexp-in-MediaType.patch |   51 ++
 patches/0002-Return-an-empty-array-when-ranges-are-too-large.patch |   46 +
 patches/0003-Fixing-ReDoS-in-header-parsing.patch  |   30 +
 patches/series |3 
 5 files changed, 140 insertions(+)

diff -Nru ruby-rack-2.2.7/debian/changelog ruby-rack-2.2.7/debian/changelog
--- ruby-rack-2.2.7/debian/changelog	2023-07-10 17:32:41.0 +0300
+++ ruby-rack-2.2.7/debian/changelog	2024-05-02 22:55:26.0 +0300
@@ -1,3 +1,13 @@
+ruby-rack (2.2.7-1.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * CVE-2024-25126: ReDoS in Content Type header parsing
+  * CVE-2024-26141: Reject Range headers which are too large
+  * CVE-2024-26146: ReDoS in Accept header parsing
+  * Closes: #1064516
+
+ -- Adrian Bunk   Thu, 02 May 2024 22:55:26 +0300
+
 ruby-rack (2.2.7-1) unstable; urgency=medium
 
   * Team Upload
diff -Nru ruby-rack-2.2.7/debian/patches/0001-Avoid-2nd-degree-polynomial-regexp-in-MediaType.patch ruby-rack-2.2.7/debian/patches/0001-Avoid-2nd-degree-polynomial-regexp-in-MediaType.patch
--- ruby-rack-2.2.7/debian/patches/0001-Avoid-2nd-degree-polynomial-regexp-in-MediaType.patch	1970-01-01 02:00:00.0 +0200
+++ ruby-rack-2.2.7/debian/patches/0001-Avoid-2nd-degree-polynomial-regexp-in-MediaType.patch	2024-05-02 22:55:26.0 +0300
@@ -0,0 +1,51 @@
+From e5c0e03f70624433d7132a5eb039f5f04787d20c Mon Sep 17 00:00:00 2001
+From: Jean Boussier 
+Date: Wed, 6 Dec 2023 18:32:19 +0100
+Subject: Avoid 2nd degree polynomial regexp in MediaType
+
+---
+ lib/rack/media_type.rb | 13 +
+ 1 file changed, 9 insertions(+), 4 deletions(-)
+
+diff --git a/lib/rack/media_type.rb b/lib/rack/media_type.rb
+index 41937c99..7fc1e39d 100644
+--- a/lib/rack/media_type.rb
 b/lib/rack/media_type.rb
+@@ -4,7 +4,7 @@ module Rack
+   # Rack::MediaType parse media type and parameters out of content_type string
+ 
+   class MediaType
+-SPLIT_PATTERN = %r{\s*[;,]\s*}
++SPLIT_PATTERN = /[;,]/
+ 
+ class << self
+   # The media type (type/subtype) portion of the CONTENT_TYPE header
+@@ -15,7 +15,11 @@ module Rack
+   # http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.7
+   def type(content_type)
+ return nil unless content_type
+-content_type.split(SPLIT_PATTERN, 2).first.tap &:downcase!
++if type = content_type.split(SPLIT_PATTERN, 2).first
++  type.rstrip!
++  type.downcase!
++  type
++end
+   end
+ 
+   # The media type parameters provided in CONTENT_TYPE as a Hash, or
+@@ -27,9 +31,10 @@ module Rack
+ return {} if content_type.nil?
+ 
+ content_type.split(SPLIT_PATTERN)[1..-1].each_with_object({}) do |s, hsh|
++  s.strip!
+   k, v = s.split('=', 2)
+-
+-  hsh[k.tap(&:downcase!)] = strip_doublequotes(v)
++  k.downcase!
++  hsh[k] = strip_doublequotes(v)
+ end
+   end
+ 
+-- 
+2.30.2
+
diff -Nru ruby-rack-2.2.7/debian/patches/0002-Return-an-empty-array-when-ranges-are-too-large.patch ruby-rack-2.2.7/debian/patches/0002-Return-an-empty-array-when-ranges-are-too-large.patch
--- ruby-rack-2.2.7/debian/patches/0002-Return-an-empty-array-when-ranges-are-too-large.patch	1970-01-01 02:00:00.0 +0200
+++ ruby-rack-2.2.7/debian/patches/0002-Return-an-empty-array-when-ranges-are-too-large.patch	2024-05-02 22:55:26.0 +0300
@@ -0,0 +1,46 @@
+From e4a334bba45d1f66499973d65ba4db2679129153 Mon Sep 17 00:00:00 2001
+From: Aaron Patterson 
+Date: Tue, 13 Feb 2024 13:34:34 -0800
+Subject: Return an empty array when ranges are too large
+
+If the sum of the requested ranges is larger than the file itself,
+return an empty array. In other words, refuse to respond with any bytes.
+
+[CVE-2024-26141]
+---
+ lib/rack/utils.rb  | 3 +++
+ test/spec_utils.rb | 4 
+ 2 files changed, 7 insertions(+)
+
+diff --git a/lib/rack/utils.rb b/lib/rack/utils.rb
+index c8e61ea1..72700503 100644
+--- a/lib/rack/utils.rb
 b/lib/rack/utils.rb
+@@ -380,6 +380,9 @@ module Rack
+ end
+ ranges << (r0..r1)  if r0 <= r1
+   end
++
++  return [] if ranges.map(&:size).sum > size
++
+   ranges
+ end
+ 
+diff --git a/test/spec_utils.rb b/test/spec_utils.rb
+index 90676258..6b069914 100644
+--- a/test/spec_utils.rb
 b/test/spec_utils.rb
+@@ -590,6 +590,10 @@ describe Rack::Utils, "cookies" do
+ end
+ 
+ describe Rack::Utils, "byte_range" do
++  it "returns 

[DRE-maint] Bug#1060173: ruby-hiredis FTBFS with hiredis 1.2.0-6

2024-01-06 Thread Adrian Bunk
Source: ruby-hiredis
Version: 0.6.3-2
Severity: serious
Tags: ftbfs trixie sid

https://buildd.debian.org/status/logs.php?pkg=ruby-hiredis=0.6.3-2%2Bb7

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

RUBYLIB=/<>/debian/ruby-hiredis/usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/3.1.0:/<>/debian/ruby-hiredis/usr/lib/ruby/vendor_ruby:.
 
GEM_PATH=/<>/debian/ruby-hiredis/usr/share/rubygems-integration/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0
 ruby3.1 debian/ruby-tests.rb
Run options: --seed 8491

# Running:

..DEPRECATED: Use assert_nil if expecting nil from 
/<>/test/reader_test.rb:34. This will fail in Minitest 6.
.DEPRECATED: Use assert_nil if expecting nil from 
/<>/test/reader_test.rb:104. This will fail in Minitest 6.
./usr/lib/ruby/gems/3.1.0/gems/minitest-5.15.0/lib/minitest/assertions.rb:130:
 [BUG] Segmentation fault at 0x00841f27
ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x86_64-linux-gnu]
...
___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#1010667: ruby-xmlhash: diff for NMU version 1.3.6-3.1

2023-03-16 Thread Adrian Bunk
Control: tags 1010667 + patch
Control: tags 1010667 + pending

Dear maintainer,

I've prepared an NMU for ruby-xmlhash (versioned as 1.3.6-3.1) and 
uploaded it to DELAYED/2. Please feel free to tell me if I should
cancel it.

cu
Adrian
diff -Nru ruby-xmlhash-1.3.6/debian/changelog ruby-xmlhash-1.3.6/debian/changelog
--- ruby-xmlhash-1.3.6/debian/changelog	2022-07-01 02:30:29.0 +0300
+++ ruby-xmlhash-1.3.6/debian/changelog	2023-03-16 17:28:19.0 +0200
@@ -1,3 +1,11 @@
+ruby-xmlhash (1.3.6-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * CVE-2022-21949: Improper Restriction of XML External Entity Reference
+(Closes: #1010667)
+
+ -- Adrian Bunk   Thu, 16 Mar 2023 17:28:19 +0200
+
 ruby-xmlhash (1.3.6-3) unstable; urgency=medium
 
   [ Cédric Boutillier ]
diff -Nru ruby-xmlhash-1.3.6/debian/patches/0001-Remove-misnamed-libxml-parsing-flag.patch ruby-xmlhash-1.3.6/debian/patches/0001-Remove-misnamed-libxml-parsing-flag.patch
--- ruby-xmlhash-1.3.6/debian/patches/0001-Remove-misnamed-libxml-parsing-flag.patch	1970-01-01 02:00:00.0 +0200
+++ ruby-xmlhash-1.3.6/debian/patches/0001-Remove-misnamed-libxml-parsing-flag.patch	2023-03-16 17:28:02.0 +0200
@@ -0,0 +1,27 @@
+From 4a5a8974d5dfc7f8c906b22b346279a5482d3d69 Mon Sep 17 00:00:00 2001
+From: Stephan Kulow 
+Date: Mon, 4 Apr 2022 16:17:56 +0200
+Subject: Remove misnamed libxml parsing flag
+
+See details on
+https://stackoverflow.com/questions/38807506/what-does-libxml-noent-do-and-why-isnt-it-called-libxml-ent
+---
+ ext/xmlhash/xmlhash.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/ext/xmlhash/xmlhash.c b/ext/xmlhash/xmlhash.c
+index aa8eacf..d07aee8 100644
+--- a/ext/xmlhash/xmlhash.c
 b/ext/xmlhash/xmlhash.c
+@@ -209,7 +209,7 @@ static VALUE parse_xml_hash(VALUE self, VALUE rb_xml)
+   memcpy(data, StringValuePtr(rb_xml), RSTRING_LEN(rb_xml));
+ 
+   reader = xmlReaderForMemory(data, RSTRING_LEN(rb_xml), 
+-			  NULL, NULL, XML_PARSE_NOENT | XML_PARSE_NOERROR | XML_PARSE_NOWARNING );
++			  NULL, NULL, XML_PARSE_NOERROR | XML_PARSE_NOWARNING );
+   init_XmlhashParserData();
+ 
+   if (reader != NULL) {
+-- 
+2.30.2
+
diff -Nru ruby-xmlhash-1.3.6/debian/patches/series ruby-xmlhash-1.3.6/debian/patches/series
--- ruby-xmlhash-1.3.6/debian/patches/series	1970-01-01 02:00:00.0 +0200
+++ ruby-xmlhash-1.3.6/debian/patches/series	2023-03-16 17:28:15.0 +0200
@@ -0,0 +1 @@
+0001-Remove-misnamed-libxml-parsing-flag.patch
___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


Re: [DRE-maint] Bug#1031548: FTBFS with ruby-jekyll-github-metadata 2.15.0

2023-02-26 Thread Adrian Bunk
On Sun, Feb 26, 2023 at 07:09:59PM +0100, Daniel Leidert wrote:
> Am Sonntag, dem 26.02.2023 um 19:45 +0200 schrieb Adrian Bunk:
> > 
> [..]
> > Debian Policy §4.9 says that *attempting* to access the internet
> > is forbidden:
> > 
> >   For packages in the main archive, required targets must not attempt
> >   network access, except, via the loopback interface, to services on the 
> >   build host that have been started by the build.
> 
> And the "test" target is not listed as a required target there.
>...

It is called from a required target.

Do you have a list of the packages maintained by the Ruby team that
are RC-buggy due to this?

> Daniel

cu
Adrian

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#1031548: FTBFS with ruby-jekyll-github-metadata 2.15.0

2023-02-26 Thread Adrian Bunk
On Sun, Feb 26, 2023 at 04:32:59PM +0100, Daniel Leidert wrote:
> Am Sonntag, dem 26.02.2023 um 16:57 +0200 schrieb Adrian Bunk:
> > On Sun, Feb 26, 2023 at 03:47:49PM +0100, Daniel Leidert wrote:
> > > Am Samstag, dem 25.02.2023 um 16:15 +0200 schrieb Adrian Bunk:
> > > 
> > > [..]
> > > > FYI:
> > > > 
> > > > The package in bookworm builds with jekyll-github-metadata
> > > > 2.15.0:
> > > > https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/amd64/ruby-jekyll-remote-theme.html
> > > > (the buildinfo link has the complete package list)
> > > 
> > > That is due to this environments not running the failing test. The
> > > test-file checks if there is an internet connection and adds or
> > > removes
> > > tests depending on the outcome). The test in question is one that
> > > requires an internet connection.
> > > ...
> > 
> > Accessing the internet during the build is an RC bug.
> 
> It would be pretty stupid to generally disable tests for a *remote
> theme* plugin (or any other package) that by defition relies on the
> internet. This would disable the majority of tests here. We (as in "the
> Ruby team") instead handle the tests if there is no internet, and
> whenever possible, run them via autopkgtest (needs-internet
> restriction) at least.
> 
> IMHO this is a valid approach and in this case spotted a regression. To
> my understanding, builds must not fail due to access attempts and the
> build itself must not rely on downloaded resources. However, this is
> the test stage, not the build stage. But if you feel that strongly
> about that, please show me the exact ruling.
>...

Debian Policy §4.9 says that *attempting* to access the internet
is forbidden:

  For packages in the main archive, required targets must not attempt 
  network access, except, via the loopback interface, to services on the 
  build host that have been started by the build.

Your additional approach via autopkgtest with the needs-internet 
restriction is a good way to test such packages.

I am adding debian-devel to Cc, where other people have more knowledge 
on that topic than I have.

> Daniel

cu
Adrian

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#1031548: FTBFS with ruby-jekyll-github-metadata 2.15.0

2023-02-26 Thread Adrian Bunk
On Sun, Feb 26, 2023 at 03:47:49PM +0100, Daniel Leidert wrote:
> Am Samstag, dem 25.02.2023 um 16:15 +0200 schrieb Adrian Bunk:
> 
> [..]
> > FYI:
> > 
> > The package in bookworm builds with jekyll-github-metadata 2.15.0:
> > https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/amd64/ruby-jekyll-remote-theme.html
> > (the buildinfo link has the complete package list)
> 
> That is due to this environments not running the failing test. The
> test-file checks if there is an internet connection and adds or removes
> tests depending on the outcome). The test in question is one that
> requires an internet connection.
>...

Accessing the internet during the build is an RC bug.

> Regards, Daniel

cu
Adrian

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#1031548: FTBFS with ruby-jekyll-github-metadata 2.15.0

2023-02-25 Thread Adrian Bunk
On Sat, Feb 18, 2023 at 12:28:08PM +0100, Daniel Leidert wrote:
> Source: ruby-jekyll-remote-theme
> Version: 0.4.3-3
> Severity: serious
> Forwarded: 
> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
> 
> The package fails to build right now with jekyll-github-metadata 2.15.0.
>...

FYI:

The package in bookworm builds with jekyll-github-metadata 2.15.0:
https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/amd64/ruby-jekyll-remote-theme.html
(the buildinfo link has the complete package list)

> Regards, Daniel

cu
Adrian

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#1031308: redmine FTBFS: test failure

2023-02-14 Thread Adrian Bunk
Source: redmine
Version: 5.0.4-3
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/logs.php?pkg=redmine=all

...
PARALLEL_WORKERS=2 bin/rake test RAILS_ENV=test
sh: 1: gs: not found
(GhostScript convert not available)
Bazaar test repository NOT FOUND. Skipping functional tests !!!
CVS test repository NOT FOUND. Skipping functional tests !!!
Filesystem test repository NOT FOUND. Skipping functional tests !!!
Git test repository NOT FOUND. Skipping functional tests !!!
Mercurial test repository NOT FOUND. Skipping functional tests !!!
Subversion test repository NOT FOUND. Skipping functional tests !!!
Git test repository NOT FOUND. Skipping integration tests !!!
(Test LDAP server not configured)
Bazaar test repository NOT FOUND. Skipping unit tests !!!
Cvs test repository NOT FOUND. Skipping unit tests !!!
Filesystem test repository NOT FOUND. Skipping unit tests !!! See 
doc/RUNNING_TESTS.
Git test repository NOT FOUND. Skipping unit tests !!!
Mercurial test repository NOT FOUND. Skipping unit tests !!!
Subversion test repository NOT FOUND. Skipping unit tests !!!
Bazaar test repository NOT FOUND. Skipping unit tests !!!
CVS test repository NOT FOUND. Skipping unit tests !!!
Filesystem test repository NOT FOUND. Skipping unit tests !!! See 
doc/RUNNING_TESTS.
Git test repository NOT FOUND. Skipping unit tests !!!
Git UTF-8 test repository NOT FOUND. Skipping unit tests !!!
Mercurial test repository NOT FOUND. Skipping unit tests !!!
Subversion test repository NOT FOUND. Skipping unit tests !!!
Skipping LDAP tests.
Run options: --seed 22796

# Running:

..SSS.
 
...E

Error:
Redmine::PluginLoaderTest#test_mirror_assets:
RuntimeError: Could not copy 
/<>/test/fixtures/plugins/foo_plugin/assets/stylesheets/foo.css to 
/<>/tmp/public/plugin_assets/foo_plugin/stylesheets/foo.css: No 
such file or directory @ rb_sysopen - 
/<>/tmp/public/plugin_assets/foo_plugin/stylesheets/foo.css
lib/redmine/plugin_loader.rb:71:in `rescue in block in mirror_assets'
lib/redmine/plugin_loader.rb:66:in `block in mirror_assets'
lib/redmine/plugin_loader.rb:65:in `each'
lib/redmine/plugin_loader.rb:65:in `mirror_assets'
lib/redmine/plugin_loader.rb:143:in `each'
lib/redmine/plugin_loader.rb:143:in `mirror_assets'
test/unit/lib/redmine/plugin_loader_test.rb:45:in `test_mirror_assets'

rails test test/unit/lib/redmine/plugin_loader_test.rb:44

..
 ..(Ghostscript not available)

[DRE-maint] Bug#1031307: ruby-oj: buf.h #includes mem.h that is not shipped

2023-02-14 Thread Adrian Bunk
Package: ruby-oj
Version: 3.14.1-3
Severity: serious
Tags: ftbfs
Control: affects -1 src:ruby-oj-introspect

https://buildd.debian.org/status/fetch.php?pkg=ruby-oj-introspect=armhf=0.7.1-3=1676220273=0

...
In file included from /usr/include/ruby-3.1.0/vendor_ruby/oj/parser.h:10,
 from introspect.c:3:
/usr/include/ruby-3.1.0/vendor_ruby/oj/buf.h:8:10: fatal error: mem.h: No such 
file or directory
8 | #include "mem.h"
  |  ^~~
...

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#1030966: ruby-jekyll-remote-theme accesses the internet during the build

2023-02-09 Thread Adrian Bunk
Source: ruby-jekyll-remote-theme
Version: 0.4.3-3
Severity: serious
Tags: ftbfs

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-jekyll-remote-theme.html

...
2) Jekyll::RemoteTheme::Munger with a malicious theme requires whitelisted 
plugins
 Failure/Error:
   http.request(request) do |response|
 raise_unless_sucess(response)
 enforce_max_file_size(response.content_length)
 response.read_body do |chunk|
   zip_file.write chunk
 end
   end

 SocketError:
   Failed to open TCP connection to codeload.github.com:443 (getaddrinfo: 
Temporary failure in name resolution)
...
Failed examples:

rspec ./spec/jekyll-remote-theme/munger_spec.rb:127 # 
Jekyll::RemoteTheme::Munger with a malicious theme doesn't require malicious 
plugins
rspec ./spec/jekyll-remote-theme/munger_spec.rb:122 # 
Jekyll::RemoteTheme::Munger with a malicious theme requires whitelisted plugins
rspec ./spec/jekyll-remote-theme/munger_spec.rb:116 # 
Jekyll::RemoteTheme::Munger with a malicious theme sets the theme
rspec ./spec/jekyll-remote-theme/munger_spec.rb:99 # 
Jekyll::RemoteTheme::Munger with a remote theme requires plugins
rspec ./spec/jekyll-remote-theme/munger_spec.rb:93 # 
Jekyll::RemoteTheme::Munger with a remote theme sets layouts
rspec ./spec/jekyll-remote-theme/munger_spec.rb:73 # 
Jekyll::RemoteTheme::Munger with a remote theme downloads
rspec ./spec/jekyll-remote-theme/munger_spec.rb:89 # 
Jekyll::RemoteTheme::Munger with a remote theme sets include paths
rspec ./spec/jekyll-remote-theme/munger_spec.rb:67 # 
Jekyll::RemoteTheme::Munger with a remote theme sets the theme
rspec ./spec/jekyll-remote-theme/munger_spec.rb:77 # 
Jekyll::RemoteTheme::Munger with a remote theme sets sass paths
rspec ./spec/jekyll_remote_theme_spec.rb:13 # Jekyll::RemoteTheme inits
...

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#1007000: closed by Debian FTP Masters (reply to Lucas Kanashiro ) (Bug#1007000: fixed in thin 1.8.1-1)

2023-02-08 Thread Adrian Bunk
Control: reopen -1

On Wed, Feb 08, 2023 at 05:57:05PM +, Debian Bug Tracking System wrote:
>...
>  thin (1.8.1-1) unstable; urgency=medium
>...
>* d/ruby-tests.rake: do not run tests failing on IPv6 builders
>  (Closes: #1007000).
>...

This did not work:
https://buildd.debian.org/status/fetch.php?pkg=thin=arm64=1.8.1-1=1675888515=0

cu
Adrian

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#1029915: mikutter: Depends: ruby-gtk3 (>= 3.4.9) but it is not going to be installed

2023-01-28 Thread Adrian Bunk
Package: mikutter
Version: 5.0.4+dfsg1-1
Severity: serious

The following packages have unmet dependencies:
 mikutter : Depends: ruby-gtk3 (>= 3.4.9) but it is not going to be installed

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#1027082: ruby-mysql2: FTBFS: ERROR: Test "ruby3.1" failed: mysqld crashes at startup

2023-01-27 Thread Adrian Bunk
Control: severity -1 important

On Tue, Dec 27, 2022 at 12:46:44PM -0300, Antonio Terceiro wrote:
> Source: ruby-mysql2
> Version: 0.5.3-4
> Severity: serious
> Justification: FTBFS
> Tags: bookworm sid ftbfs
> User: debian-r...@lists.debian.org
> Usertags: ruby-rspec-3.12
> 
> Hi,
> 
> I'm about to upload ruby-rspec 3.12. During a test rebuild with that version,
> ruby-mysql2 failed to build. I retried it with the version in the
> archive, and obtained the same failure.
>...

It builds both in reproducible and on the buildds:
https://tests.reproducible-builds.org/debian/history/ruby-mysql2.html
https://buildd.debian.org/status/package.php?p=ruby-mysql2

AFAIR this is a package where build success depends somehow on the build 
environment, but since it built on the buildds I am lowering the severity.

cu
Adrian

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#1010740: ruby-bootsnap: FTBFS on ppc64el: test suite hangs

2023-01-27 Thread Adrian Bunk
On Sat, Dec 17, 2022 at 07:13:02AM +0100, Paul Gevers wrote:
> Hi,
> 
> On Sun, 8 May 2022 20:59:08 -0300 Antonio Terceiro 
> wrote:
> > The ruby-bootsnap test suite hangs forever on ppc64el. This has been
> > reported upstream at the link above, and happens on both the version in
> > testing and the one in unstable.
> 
> There have been several successful builds since this bug was reported.
> Should this bug be closed?

https://tracker.debian.org/news/1340032/accepted-ruby-bootsnap--2-source-into-unstable/

There are no more test failures on the buildds and in autopkgtest with 
all tests skipped on ppc64el, but that's not a fix for the actual problem.

> Paul

cu
Adrian

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#1025805: ruby-pgplot should move to main

2022-12-09 Thread Adrian Bunk
Package: ruby-pgplot
Version: 0.2.0-2
Severity: important
X-Debbugs-Cc: Lucas Kanashiro , Debian Ruby Extras 
Maintainers 

ruby-pgplot (0.2.0-2) unstable; urgency=medium
...
  * B-d on giza-dev instead of pgplot5 (Closes: #995922)
...
 -- Lucas Kanashiro   Thu, 04 Nov 2021 17:06:26 -0300


After that change, ruby-pgplot should move to main.

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#1022340: redmine: FTBFS: Could not find gem 'csv (~> 3.2.0)' in cached gems or installed locally. The source contains the following gems matching 'csv': csv-3.1.9

2022-11-20 Thread Adrian Bunk
Control: block -1 by 1023495

On Thu, Oct 27, 2022 at 12:18:13AM +0900, Marc Dequènes wrote:
> Quack,
> 
> Thanks for the report.
> 
> When I first read the logs I could not fathom what was going on: we B-D on
> ruby-csv (>= 3.2.0) and it's not even installed!
> So it happens that libruby3.0 provides ruby-csv but it explicitly specify
> ruby-csv (= 3.1.9).
> I seems the resolver is confused by the fact libruby3.0 also has to be
> present to satisfy another dep.
>...

The resolver is working as it should:
One package that fulfills the dependency is installed (libruby3.1).

The easiest way to resolve this would be to wait until 3.1 becomes the 
default soon (#1023495), which should fix this FTBFS.

> Regards.
> \_o<

cu
Adrian

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#1019645: ruby-otr-activerecord: diff for NMU version 2.1.1-0.1

2022-11-20 Thread Adrian Bunk
Control: tags 1019645 + patch
Control: tags 1019645 + pending

Dear maintainer,

I've prepared an NMU for ruby-otr-activerecord (versioned as 2.1.1-0.1) 
and uploaded it to DELAYED/14. Please feel free to tell me if I should 
cancel it.

cu
Adrian
diff -Nru ruby-otr-activerecord-2.0.3/CHANGELOG.md ruby-otr-activerecord-2.1.1/CHANGELOG.md
--- ruby-otr-activerecord-2.0.3/CHANGELOG.md	2021-10-23 04:51:04.0 +0300
+++ ruby-otr-activerecord-2.1.1/CHANGELOG.md	2022-01-30 20:26:56.0 +0200
@@ -1,3 +1,9 @@
+### 2.1.0 (2022-01-30)
+* Don't set logger - allows apps to do that - [PR #28](https://github.com/jhollinger/otr-activerecord/pull/28) - [anakinj](https://github.com/anakinj)
+
+### 2.0.4 (2022-01-20)
+* Fix YAML loading on Ruby 3.1 - [PR #39](https://github.com/jhollinger/otr-activerecord/pull/39) - [scudelletti](https://github.com/scudelletti)
+
 ### 2.0.3 (2021-10-22)
 * Preliminary support for ActiveRecord 7 (tested against 7.0.0.alpha2)
 
diff -Nru ruby-otr-activerecord-2.0.3/debian/changelog ruby-otr-activerecord-2.1.1/debian/changelog
--- ruby-otr-activerecord-2.0.3/debian/changelog	2021-12-02 20:00:23.0 +0200
+++ ruby-otr-activerecord-2.1.1/debian/changelog	2022-11-20 10:21:15.0 +0200
@@ -1,3 +1,11 @@
+ruby-otr-activerecord (2.1.1-0.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * New upstream release.
+- Fixes FTBFS with Ruby 3.1. (Closes: #1019645)
+
+ -- Adrian Bunk   Sun, 20 Nov 2022 10:21:15 +0200
+
 ruby-otr-activerecord (2.0.3-3) unstable; urgency=medium
 
   * Team upload.
diff -Nru ruby-otr-activerecord-2.0.3/debian/patches/Fix-tests-for-AR-6.0.patch ruby-otr-activerecord-2.1.1/debian/patches/Fix-tests-for-AR-6.0.patch
--- ruby-otr-activerecord-2.0.3/debian/patches/Fix-tests-for-AR-6.0.patch	2021-12-02 20:00:23.0 +0200
+++ ruby-otr-activerecord-2.1.1/debian/patches/Fix-tests-for-AR-6.0.patch	1970-01-01 02:00:00.0 +0200
@@ -1,49 +0,0 @@
-From: Jordan Hollinger 
-Date: Wed, 1 Dec 2021 21:16:09 -0500
-Subject: Fix tests for AR 6.0
-
-https://github.com/jhollinger/otr-activerecord/commit/95e85f1a5429553548609cd08401c46c880ab36f.patch
-Bug: https://github.com/jhollinger/otr-activerecord/issues/38
-Forwarded: not-needed

- spec/otr-activerecord/activerecord_spec.rb | 20 
- 1 file changed, 8 insertions(+), 12 deletions(-)
-
-diff --git a/spec/otr-activerecord/activerecord_spec.rb b/spec/otr-activerecord/activerecord_spec.rb
-index a055f32..3005443 100644
 a/spec/otr-activerecord/activerecord_spec.rb
-+++ b/spec/otr-activerecord/activerecord_spec.rb
-@@ -7,12 +7,10 @@ RSpec.describe OTR::ActiveRecord do
- 
-   it 'configures active record' do
- described_class.configure_from_file!(config)
--
--expect(::ActiveRecord::Base.configurations['test']).to eq(
--  adapter: 'sqlite3',
--  database: 'tmp/simple.sqlite3',
--  migrations_paths: ['db/migrate']
--)
-+t = ::ActiveRecord::Base.configurations['test'].with_indifferent_access
-+expect(t[:adapter]).to eq 'sqlite3'
-+expect(t[:database]).to eq 'tmp/simple.sqlite3'
-+expect(t[:migrations_paths]).to eq ['db/migrate']
-   end
- end
- 
-@@ -21,12 +19,10 @@ RSpec.describe OTR::ActiveRecord do
- 
-   it 'configures active record' do
- described_class.configure_from_file!(config)
--
--expect(::ActiveRecord::Base.configurations['test']).to eq(
--  adapter: 'sqlite3',
--  database: 'tmp/multi.sqlite3',
--  migrations_paths: ['db/migrate']
--)
-+t = ::ActiveRecord::Base.configurations['test'].with_indifferent_access
-+expect(t[:adapter]).to eq 'sqlite3'
-+expect(t[:database]).to eq 'tmp/multi.sqlite3'
-+expect(t[:migrations_paths]).to eq ['db/migrate']
-   end
- end
-   end
diff -Nru ruby-otr-activerecord-2.0.3/debian/patches/series ruby-otr-activerecord-2.1.1/debian/patches/series
--- ruby-otr-activerecord-2.0.3/debian/patches/series	2021-12-02 20:00:23.0 +0200
+++ ruby-otr-activerecord-2.1.1/debian/patches/series	2022-11-20 10:21:15.0 +0200
@@ -1,2 +1 @@
 Require-bundler-for-tests.patch
-Fix-tests-for-AR-6.0.patch
diff -Nru ruby-otr-activerecord-2.0.3/examples/rack-activerecord7.0/config.ru ruby-otr-activerecord-2.1.1/examples/rack-activerecord7.0/config.ru
--- ruby-otr-activerecord-2.0.3/examples/rack-activerecord7.0/config.ru	1970-01-01 02:00:00.0 +0200
+++ ruby-otr-activerecord-2.1.1/examples/rack-activerecord7.0/config.ru	2022-01-30 20:26:56.0 +0200
@@ -0,0 +1,15 @@
+require_relative 'environment'
+
+use OTR::ActiveRecord::ConnectionManagement
+use OTR::ActiveRecord::QueryCache
+
+map '/' do
+  run ->(env) {
+body = Widget.all
+  .map { |w|
+{id: w.id, name: w.name}
+  }
+  .to_json
+[200, {'Content-Type' => 'application/json', 'Content-Length' => body.size.to_s}, [body]]
+  }
+end
diff -Nru ruby-otr-activerecord-2.0.3/exam

[DRE-maint] Bug#1019638: ruby-memory-profiler: diff for NMU version 0.9.14-4.1

2022-11-19 Thread Adrian Bunk
Control: tags 1019638 + patch
Control: tags 1019638 + pending

Dear maintainer,

I've prepared an NMU for ruby-memory-profiler (versioned as 0.9.14-4.1) 
and uploaded it to DELAYED/15. Please feel free to tell me if I should 
cancel it.

cu
Adrian
diff -Nru ruby-memory-profiler-0.9.14/debian/changelog ruby-memory-profiler-0.9.14/debian/changelog
--- ruby-memory-profiler-0.9.14/debian/changelog	2021-11-08 01:42:01.0 +0200
+++ ruby-memory-profiler-0.9.14/debian/changelog	2022-11-20 02:14:54.0 +0200
@@ -1,3 +1,10 @@
+ruby-memory-profiler (0.9.14-4.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Add upstream fixes for Ruby 3.1. (Closes: #1019638)
+
+ -- Adrian Bunk   Sun, 20 Nov 2022 02:14:54 +0200
+
 ruby-memory-profiler (0.9.14-4) unstable; urgency=low
 
   * Team upload.
diff -Nru ruby-memory-profiler-0.9.14/debian/patches/0001-Fix-normalize_path-and-guess_gem-to-support-Ruby-3.patch ruby-memory-profiler-0.9.14/debian/patches/0001-Fix-normalize_path-and-guess_gem-to-support-Ruby-3.patch
--- ruby-memory-profiler-0.9.14/debian/patches/0001-Fix-normalize_path-and-guess_gem-to-support-Ruby-3.patch	1970-01-01 02:00:00.0 +0200
+++ ruby-memory-profiler-0.9.14/debian/patches/0001-Fix-normalize_path-and-guess_gem-to-support-Ruby-3.patch	2022-11-20 02:14:02.0 +0200
@@ -0,0 +1,39 @@
+From dcc4464d1766046712a406b32651a00a64d7e592 Mon Sep 17 00:00:00 2001
+From: Benoit Daloze 
+Date: Tue, 25 Oct 2022 15:06:10 +0200
+Subject: Fix normalize_path and guess_gem to support Ruby 3+
+
+---
+ lib/memory_profiler/helpers.rb | 2 +-
+ lib/memory_profiler/results.rb | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/lib/memory_profiler/helpers.rb b/lib/memory_profiler/helpers.rb
+index d894ffa..c008cd1 100644
+--- a/lib/memory_profiler/helpers.rb
 b/lib/memory_profiler/helpers.rb
+@@ -16,7 +16,7 @@ module MemoryProfiler
+   gemname
+ elsif /\/rubygems[\.\/]/ =~ path
+   "rubygems"
+-elsif /ruby\/2\.[^\/]+\/(?[^\/\.]+)/ =~ path
++elsif /ruby\/\d\.[^\/]+\/(?[^\/\.]+)/ =~ path
+   stdlib
+ elsif /(?[^\/]+\/(bin|app|lib))/ =~ path
+   app
+diff --git a/lib/memory_profiler/results.rb b/lib/memory_profiler/results.rb
+index 5630977..d6fad8d 100644
+--- a/lib/memory_profiler/results.rb
 b/lib/memory_profiler/results.rb
+@@ -172,7 +172,7 @@ module MemoryProfiler
+   @normalize_path[path] ||= begin
+ if %r!(/gems/.*)*/gems/(?[^/]+)(?.*)! =~ path
+   "#{gemname}#{rest}"
+-elsif %r!ruby/2\.[^/]+/(?[^/.]+)(?.*)! =~ path
++elsif %r!ruby/\d\.[^/]+/(?[^/.]+)(?.*)! =~ path
+   "ruby/lib/#{stdlib}#{rest}"
+ elsif %r!(?[^/]+/(bin|app|lib))(?.*)! =~ path
+   "#{app}#{rest}"
+-- 
+2.30.2
+
diff -Nru ruby-memory-profiler-0.9.14/debian/patches/0002-Adapt-tests-for-Ruby-3.0.patch ruby-memory-profiler-0.9.14/debian/patches/0002-Adapt-tests-for-Ruby-3.0.patch
--- ruby-memory-profiler-0.9.14/debian/patches/0002-Adapt-tests-for-Ruby-3.0.patch	1970-01-01 02:00:00.0 +0200
+++ ruby-memory-profiler-0.9.14/debian/patches/0002-Adapt-tests-for-Ruby-3.0.patch	2022-11-20 02:14:02.0 +0200
@@ -0,0 +1,51 @@
+From 499480ce9820f7df21a4e7ca30c1bbd78564be2e Mon Sep 17 00:00:00 2001
+From: Benoit Daloze 
+Date: Tue, 25 Oct 2022 15:18:49 +0200
+Subject: Adapt tests for Ruby 3.0
+
+---
+ test/test_reporter.rb | 19 +++
+ 1 file changed, 15 insertions(+), 4 deletions(-)
+
+diff --git a/test/test_reporter.rb b/test/test_reporter.rb
+index 55c440f..c10efd6 100644
+--- a/test/test_reporter.rb
 b/test/test_reporter.rb
+@@ -232,7 +232,15 @@ class TestReporter < Minitest::Test
+   end
+ end
+ 
+-assert_equal(45, results.total_allocated, "45 strings should be allocated")
++if RUBY_VERSION < '3'
++  # 3 times "0", 2 times for interpolated strings
++  total_allocated = 5 * (3 + 2 + 2 + 2)
++else
++  # 3 times "0", 2 times for short interpolated strings, 3 times for long interpolated strings
++  total_allocated = 5 * (3 + 2 + 3 + 3)
++end
++
++assert_equal(total_allocated, results.total_allocated, "#{total_allocated} strings should be allocated")
+ assert_equal(20, results.strings_allocated.size, "20 unique strings should be observed")
+ assert_equal(0, results.strings_retained.size, "0 unique strings should be retained")
+   end
+@@ -244,11 +252,14 @@ class TestReporter < Minitest::Test
+   string.to_sym
+ end
+ 
+-assert_equal(3, results.total_allocated)
+-assert_equal(0, results.total_retained)
++strings_allocated = RUBY_VERSION < '3' ? 2 : 1
++assert_equal(strings_allocated + 1, results.total_allocated)
++assert_includes(0..1, results.total_retained)
+ assert_equal(1, results.strings_allocated.size)
++
+ assert_equal('String', results.allocated_obj

[DRE-maint] Bug#1019610: ruby-ahoy-email: FTBFS with ruby3.1: ERROR: Test "ruby3.1" failed: cannot load such file -- net/smtp (LoadError)

2022-11-19 Thread Adrian Bunk
Control: reassign -1 ruby-actionmailer 2:6.1.7+dfsg-2
Control: affects -1 src:ruby-ahoy-email

On Sun, Nov 06, 2022 at 08:31:39PM +0200, Adrian Bunk wrote:
> On Fri, Oct 07, 2022 at 02:16:35PM -0300, Antonio Terceiro wrote:
> >...
> > But nothing in ruby-ahoy-email codebase uses net/smtp explicitly, so
> > this is a bit weird.
> >...
> 
> $ cat 
> /usr/share/rubygems-integration/all/gems/actionmailer-6.1.7/lib/action_mailer/mail_with_error_handling.rb
> # frozen_string_literal: true
> 
> begin
>   require "mail"
> rescue LoadError => error
>   if error.message.match?(/net\/smtp/)
> $stderr.puts "You don't have net-smtp installed in your application. 
> Please add it to your Gemfile and run bundle install"
> raise
>   end
> end
> $
> 
> 
> There is also something that might be related in
> https://sources.debian.org/src/rails/2%3A6.1.7%2Bdfsg-2/Gemfile/#L140
> 
> Is there a bug in rails?
>...

I am reassigning this to rails since it is likely that the problem is there.

cu
Adrian

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#1019652: ruby-regexp-parser: diff for NMU version 2.1.1-2.1

2022-11-19 Thread Adrian Bunk
Control: tags 1019652 + patch
Control: tags 1019652 + pending

Dear maintainer,

I've prepared an NMU for ruby-regexp-parser (versioned as 2.1.1-2.1) and 
uploaded it to DELAYED/15. Please feel free to tell me if I should cancel it.

cu
Adrian
diff -Nru ruby-regexp-parser-2.1.1/debian/changelog ruby-regexp-parser-2.1.1/debian/changelog
--- ruby-regexp-parser-2.1.1/debian/changelog	2021-12-08 18:30:46.0 +0200
+++ ruby-regexp-parser-2.1.1/debian/changelog	2022-11-19 15:54:11.0 +0200
@@ -1,3 +1,10 @@
+ruby-regexp-parser (2.1.1-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Add upstream fix for FTBFS with Ruby 3.1. (Closes: #1019652)
+
+ -- Adrian Bunk   Sat, 19 Nov 2022 15:54:11 +0200
+
 ruby-regexp-parser (2.1.1-2) unstable; urgency=medium
 
   * Reupload to unstable
diff -Nru ruby-regexp-parser-2.1.1/debian/patches/0001-Fix-build-on-Ruby-3.1.patch ruby-regexp-parser-2.1.1/debian/patches/0001-Fix-build-on-Ruby-3.1.patch
--- ruby-regexp-parser-2.1.1/debian/patches/0001-Fix-build-on-Ruby-3.1.patch	1970-01-01 02:00:00.0 +0200
+++ ruby-regexp-parser-2.1.1/debian/patches/0001-Fix-build-on-Ruby-3.1.patch	2022-11-19 15:53:15.0 +0200
@@ -0,0 +1,226 @@
+From 09580ad00f1922401d4e793dd541bbeaf8d9b058 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Janosch=20Mu=CC=88ller?= 
+Date: Sat, 4 Dec 2021 15:34:28 +0100
+Subject: Fix build on Ruby 3.1 ...
+
+As of Ruby 3.1, meta and control sequences are [pre-processed to hex escapes when used in Regexp literals]( https://github.com/ruby/ruby/commit/11ae581a4a7f5d5f5ec6378872eab8f25381b1b9 ), so they will only reach the scanner and will only be emitted if a String or a Regexp that has been built with the `::new` constructor is scanned.
+---
+ README.md|  9 +++--
+ spec/parser/escapes_spec.rb  | 74 +---
+ spec/scanner/escapes_spec.rb | 47 ++-
+ 3 files changed, 77 insertions(+), 53 deletions(-)
+
+diff --git a/README.md b/README.md
+index 5410d36..7b40476 100644
+--- a/README.md
 b/README.md
+@@ -360,9 +360,9 @@ _Note that not all of these are available in all versions of Ruby_
+ | _**Reluctant** (Lazy)_| `??`, `*?`, `+?`, `{m,M}?`  |  |
+ | _**Possessive**_  | `?+`, `*+`, `++`, `{m,M}+`  |  |
+ | **String Escapes**| |  |
+-| _**Control**_ | `\C-C`, `\cD`   |  |
++| _**Control** \[1\]_   | `\C-C`, `\cD`   |  |
+ | _**Hex**_ | `\x20`, `\x{701230}`|  |
+-| _**Meta**_| `\M-c`, `\M-\C-C`, `\M-\cC`, `\C-\M-C`, `\c\M-C`|  |
++| _**Meta** \[1\]_  | `\M-c`, `\M-\C-C`, `\M-\cC`, `\C-\M-C`, `\c\M-C`|  |
+ | _**Octal**_   | `\0`, `\01`, `\012` |  |
+ | _**Unicode**_ | `\u`, `\u{H+ H+}`   |  |
+ | **Unicode Properties**| _([Unicode 11.0.0](http://www.unicode.org/versions/Unicode11.0.0/))_ |  |
+@@ -374,6 +374,10 @@ _Note that not all of these are available in all versions of Ruby_
+ | _**Scripts**_ | `\p{Arabic}`, `\P{Hiragana}`, `\p{^Greek}`  |  |
+ | _**Simple**_  | `\p{Dash}`, `\p{Extender}`, `\p{^Hyphen}`   |  |
+ 
++**\[1\]**: As of Ruby 3.1, meta and control sequences are [pre-processed to hex escapes when used in Regexp literals](
++ https://github.com/ruby/ruby/commit/11ae581a4a7f5d5f5ec6378872eab8f25381b1b9 ), so they will only reach the
++scanner and will only be emitted if a String or a Regexp that has been built with the `::new` constructor is scanned.
++
+ # Inapplicable Features
+ 
+ Some modifiers, like `o` and `s`, apply to the **Regexp** object itself and do not
+@@ -387,7 +391,6 @@ expressions library (Onigmo). They are not supported by the scanner.
+   - **Quotes**: `\Q...\E` _[[See]](https://github.com/k-takata/Onigmo/blob/7911409/doc/RE#L499)_
+   - **Capture History**: `(?@...)`, `(?@...)` _[[See]](https://github.com/k-takata/Onigmo/blob/7911409/doc/RE#L550)_
+ 
+-
+ See something missing? Please submit an [issue](https://github.com/ammar/regexp_parser/issues)
+ 
+ _**Note**: Attempting to process expressions with unsupported syntax features can raise an error,
+diff --git a/spec/parser/escapes_spec.rb b/spec/parser/escapes_spec.rb
+index 25cc5eb..53fe6d9 100644
+--- a/spec/parser/escapes_spec.rb
 b/spec/parser/escapes_spec.rb
+@@ -56,8 +56,20 @@ RSpec.describe('EscapeSequence parsing') do
+ expect { root[5].codepoint }.to raise_error(/#codepoints/)
+   end
+ 
++  # Meta/control espaces
++  #
++  # After the following fix in Ruby 3.1, a Regexp#source containing meta/control
++  # escapes can only be set with the Regexp::new constructor.
++  # In Regexp

[DRE-maint] Bug#1019630: ruby-hoe: FTBFS with ruby3.1: ERROR: Test "ruby3.1" failed.

2022-11-19 Thread Adrian Bunk
Control: tags -1 fixed-upstream

On Mon, Sep 12, 2022 at 09:54:33PM -0300, Antonio Terceiro wrote:
> Source: ruby-hoe
> Version: 3.22.1+dfsg1-2
> Severity: important
> Justification: FTBFS
> Tags: bookworm sid ftbfs
> User: debian-r...@lists.debian.org
> Usertags: ruby3.1
> 
> Hi,
> 
> We are about to start the ruby3.1 transition in unstable. While trying to
> rebuild ruby-hoe with ruby3.1 enabled, the build failed.
> 
> Relevant part of the build log (hopefully):
> > /usr/bin/ruby3.1 /usr/bin/gem2deb-test-runner
> > 
> > ┌──┐
> > │ Checking Rubygems dependency resolution on ruby3.1
> >│
> > └──┘
> > 
> > GEM_PATH=/<>/debian/ruby-hoe/usr/share/rubygems-integration/all:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0
> >  ruby3.1 -e gem\ \"hoe\"
> > 
> > ┌──┐
> > │ Run tests for ruby3.1 from debian/ruby-tests.rake 
> >│
> > └──┘
> > 
> > RUBYLIB=/<>/debian/ruby-hoe/usr/lib/ruby/vendor_ruby:. 
> > GEM_PATH=/<>/debian/ruby-hoe/usr/share/rubygems-integration/all:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0
> >  ruby3.1 -S rake -f debian/ruby-tests.rake
> > /usr/bin/ruby3.1 -w -I"test" 
> > /usr/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb 
> > "test/test_hoe_test.rb" "test/test_hoe.rb" "test/test_hoe_debug.rb" 
> > "test/test_hoe_gemcutter.rb" "test/test_hoe_package.rb" 
> > "test/test_hoe_publish.rb" "test/test_hoe_test.rb" -v
> > /<>/test/test_hoe.rb:325: warning: assigned but unused 
> > variable - t
> > Run options: -v --seed 21598
> > 
> > # Running:
> > 
> > TestHoeTest#test_make_test_cmd_for_minitest_prelude = 0.00 s = .
> > TestHoeTest#test_make_test_cmd_for_faketestlib = 0.00 s = .
> > TestHoeTest#test_make_test_cmd_for_no_framework = 0.00 s = .
> > TestHoeTest#test_make_test_cmd_defaults_to_minitest = 0.00 s = .
> > TestHoeTest#test_make_test_cmd_for_minitest = 0.00 s = .
> > TestHoeTest#test_make_test_cmd_for_testunit = 0.00 s = .
> > TestHoePackage#test_prerelease_version_regular = 0.00 s = .
> > TestHoePackage#test_prerelease_version_prerelease = 0.00 s = .
> > TestHoePackage#test_prerelease_version_pre = 0.00 s = .
> > TestHoeDebug#test_check_manifest_generated = 0.00 s = .
> > TestHoeDebug#test_check_manifest_missing = 0.00 s = .
> > TestHoeDebug#test_check_manifest = 0.00 s = .
> > TestHoePublish#test_make_rdoc_cmd = 0.01 s = .
> > TestHoeGemcutter#test_gemcutter_tasks_defined = 0.00 s = .
> > TestHoe#test_initialize_intuit = 0.00 s = .
> > TestHoe#test_parse_mrww = 0.00 s = .
> > TestHoe#test_with_config_default = 0.00 s = .
> > TestHoe#test_intuit_values_should_be_silent_if_urls_are_already_set = 0.00 
> > s = .
> > TestHoe#test_plugins = 0.00 s = .
> > TestHoe#test_rename = 0.00 s = .
> > TestHoe#test_activate_plugins_hoerc = 0.00 s = .
> > TestHoe#test_parse_urls_ary = 0.00 s = .
> > TestHoe#test_metadata = 0.00 s = .
> > TestHoe#test_activate_plugins = 0.00 s = .
> > TestHoe#test_multiple_calls_to_license = 0.00 s = .
> > TestHoe#test_extensions = 0.01 s = .
> > TestHoe#test_file_read_utf = 0.00 s = .
> > TestHoe#test_nosudo = 0.00 s = .
> > TestHoe#test_setting_licenses = 0.01 s = .
> > TestHoe#test_initialize_intuit_ambiguous = 0.00 s = .
> > TestHoe#test_with_config_overrides = 0.00 s = E
> > TestHoe#test_class_bad_plugins = 0.00 s = .
> > TestHoe#test_possibly_better = 0.00 s = .
> > TestHoe#test_initialize_plugins_hoerc = 0.00 s = .
> > TestHoe#test_read_manifest = 0.00 s = .
> > TestHoe#test_class_load_plugins = 0.00 s = .
> > TestHoe#test_no_license = 0.00 s = .
> > TestHoe#test_license = 0.00 s = .
> > TestHoe#test_parse_urls_hash = 0.00 s = .
> > 
> > Finished in 0.100783s, 386.9687 runs/s, 1141.0615 assertions/s.
> > 
> >   1) Error:
> > TestHoe#test_with_config_overrides:
> > Psych::DisallowedClass: Tried to load unspecified class: Regexp
> > /usr/lib/ruby/3.1.0/psych/class_loader.rb:99:in `find'
> > /usr/lib/ruby/3.1.0/psych/class_loader.rb:28:in `load'
> > (eval):2:in `regexp'
> > /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:97:in `deserialize'
> > /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:128:in 
> > `visit_Psych_Nodes_Scalar'
> > /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
> > /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
> > 

[DRE-maint] Bug#1019628: ruby-hashie: FTBFS with ruby3.1: ERROR: Test "ruby3.1" failed: expected NoMethodError with "The property 'middle_name' is not defined for DashTest.", got #

2022-11-19 Thread Adrian Bunk
Control: tags -1 fixed-upstream

On Mon, Sep 12, 2022 at 09:47:14PM -0300, Antonio Terceiro wrote:
> Source: ruby-hashie
> Version: 3.5.5-4
> Severity: important
> Justification: FTBFS
> Tags: bookworm sid ftbfs
> User: debian-r...@lists.debian.org
> Usertags: ruby3.1
> 
> Hi,
> 
> We are about to start the ruby3.1 transition in unstable. While trying to
> rebuild ruby-hashie with ruby3.1 enabled, the build failed.
> 
> Relevant part of the build log (hopefully):
> >expected NoMethodError with "The property 'middle_name' is not 
> > defined for DashTest.", got # > not defined for DashTest.
> > 
> >  fail NoMethodError, "The property '#{property}' is not defined 
> > for #{self.class.name}."
> >  > with backtrace:
> >  # ./lib/hashie/dash.rb:206:in `fail_no_property_error!'
> >  # ./lib/hashie/dash.rb:184:in `assert_property_exists!'
> >  # ./lib/hashie/dash.rb:136:in `[]='
> >  # ./lib/hashie/dash.rb:143:in `block in merge'
> >  # ./lib/hashie/dash.rb:142:in `each'
> >  # ./lib/hashie/dash.rb:142:in `merge'
> >  # ./spec/hashie/dash_spec.rb:266:in `block (4 levels) in  > (required)>'
> >  # ./spec/hashie/dash_spec.rb:266:in `block (3 levels) in  > (required)>'
> >  # ./spec/hashie/dash_spec.rb:266:in `block (3 levels) in  > (required)>'
> > 
> > Finished in 0.3638 seconds (files took 0.55129 seconds to load)
> > 650 examples, 6 failures
> > 
> > Failed examples:
> > 
> > rspec ./spec/hashie/dash_spec.rb:107 # DashTest errors out for a 
> > non-existent property
> > rspec ./spec/hashie/dash_spec.rb:140 # DashTest writing to properties fails 
> > writing to a non-existent property using []=
> > rspec ./spec/hashie/dash_spec.rb:144 # DashTest writing to properties works 
> > for an existing property using []=
> > rspec ./spec/hashie/dash_spec.rb:157 # DashTest reading from properties 
> > fails reading from a non-existent property using []
> > rspec ./spec/hashie/dash_spec.rb:222 # DashTest#new fails with non-existent 
> > properties
> > rspec ./spec/hashie/dash_spec.rb:265 # DashTest#merge fails with 
> > non-existent properties
> > 
> > /usr/bin/ruby3.1 
> > -I/usr/share/rubygems-integration/all/gems/rspec-support-3.10.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/lib
> >  /usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/exe/rspec 
> > ./spec/hashie/array_spec.rb ./spec/hashie/clash_spec.rb 
> > ./spec/hashie/dash_spec.rb ./spec/hashie/extensions/autoload_spec.rb 
> > ./spec/hashie/extensions/coercion_spec.rb 
> > ./spec/hashie/extensions/dash/coercion_spec.rb 
> > ./spec/hashie/extensions/dash/indifferent_access_spec.rb 
> > ./spec/hashie/extensions/deep_fetch_spec.rb 
> > ./spec/hashie/extensions/deep_find_spec.rb 
> > ./spec/hashie/extensions/deep_locate_spec.rb 
> > ./spec/hashie/extensions/deep_merge_spec.rb 
> > ./spec/hashie/extensions/ignore_undeclared_spec.rb 
> > ./spec/hashie/extensions/indifferent_access_spec.rb 
> > ./spec/hashie/extensions/indifferent_access_with_rails_hwia_spec.rb 
> > ./spec/hashie/extensions/key_conversion_spec.rb 
> > ./spec/hashie/extensions/mash/keep_original_keys_spec.rb 
> > ./spec/hashie/extensions/mash/safe_assignment_spec.rb 
 ./spec/hashie/extensions/mash/symbolize_keys_spec.rb 
./spec/hashie/extensions/merge_initializer_spec.rb 
./spec/hashie/extensions/method_access_spec.rb 
./spec/hashie/extensions/strict_key_access_spec.rb 
./spec/hashie/extensions/stringify_keys_spec.rb 
./spec/hashie/extensions/symbolize_keys_spec.rb ./spec/hashie/hash_spec.rb 
./spec/hashie/mash_spec.rb ./spec/hashie/parsers/yaml_erb_parser_spec.rb 
./spec/hashie/rash_spec.rb ./spec/hashie/trash_spec.rb 
./spec/hashie/utils_spec.rb ./spec/hashie/version_spec.rb ./spec/hashie_spec.rb 
./spec/integration/omniauth/integration_spec.rb 
./spec/integration/rails-without-dependency/integration_spec.rb --format 
documentation failed
> > ERROR: Test "ruby3.1" failed: 
>...

This seems to be fixed in 5.0.0.

cu
Adrian

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#1001022: ruby-pathutil: diff for NMU version 0.16.1-2.1

2022-11-08 Thread Adrian Bunk
Dear maintainer,

I've prepared an NMU for ruby-pathutil (versioned as 0.16.1-2.1) and 
uploaded it to DELAYED/2. Please feel free to tell me if I should cancel it.

cu
Adrian
diff -Nru ruby-pathutil-0.16.1/debian/changelog ruby-pathutil-0.16.1/debian/changelog
--- ruby-pathutil-0.16.1/debian/changelog	2022-08-16 06:14:20.0 +0300
+++ ruby-pathutil-0.16.1/debian/changelog	2022-11-08 13:58:34.0 +0200
@@ -1,3 +1,10 @@
+ruby-pathutil (0.16.1-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Upload to unstable.
+
+ -- Adrian Bunk   Tue, 08 Nov 2022 13:58:34 +0200
+
 ruby-pathutil (0.16.1-2) experimental; urgency=medium
 
   * Team upload.
___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#1019610: ruby-ahoy-email: FTBFS with ruby3.1: ERROR: Test "ruby3.1" failed: cannot load such file -- net/smtp (LoadError)

2022-11-06 Thread Adrian Bunk
On Fri, Oct 07, 2022 at 02:16:35PM -0300, Antonio Terceiro wrote:
>...
> But nothing in ruby-ahoy-email codebase uses net/smtp explicitly, so
> this is a bit weird.
>...

$ cat 
/usr/share/rubygems-integration/all/gems/actionmailer-6.1.7/lib/action_mailer/mail_with_error_handling.rb
# frozen_string_literal: true

begin
  require "mail"
rescue LoadError => error
  if error.message.match?(/net\/smtp/)
$stderr.puts "You don't have net-smtp installed in your application. Please 
add it to your Gemfile and run bundle install"
raise
  end
end
$


There is also something that might be related in
https://sources.debian.org/src/rails/2%3A6.1.7%2Bdfsg-2/Gemfile/#L140

Is there a bug in rails?

cu
Adrian

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#1019610: ruby-ahoy-email: FTBFS with ruby3.1: ERROR: Test "ruby3.1" failed: cannot load such file -- net/smtp (LoadError)

2022-10-22 Thread Adrian Bunk
On Fri, Oct 07, 2022 at 02:16:35PM -0300, Antonio Terceiro wrote:
>...
> But nothing in ruby-ahoy-email codebase uses net/smtp explicitly, so
> this is a bit weird. Our version is also quite outated wrt upstream, so
> my first attempt would be to just update the latest upstream (there are
> no reverse dependencies in the archive).

That was also my first attempt, and I would have NMUed if it had worked 
instead of asking you.

Unfortunately it doesn't get very far:
/usr/share/rubygems-integration/all/gems/bundler-2.3.15/lib/bundler/resolver.rb:271:in
 `block in verify_gemfile_dependencies_are_found!': Could not find gem 
'actionmailer (~> 7.0.0)' in locally installed gems. (Bundler::GemNotFound)


cu
Adrian

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#1008324: ruby-rails-html-sanitizer: diff for NMU version 1.4.3-0.1

2022-10-15 Thread Adrian Bunk
Control: tags 1008324 + patch
Control: tags 1008324 + pending

Dear maintainer,

I've prepared an NMU for ruby-rails-html-sanitizer (versioned as 1.4.3-0.1)
and uploaded it to DELAYED/15. Please feel free to tell me if I should cancel 
it.

cu
Adrian
diff -Nru ruby-rails-html-sanitizer-1.4.2/CHANGELOG.md ruby-rails-html-sanitizer-1.4.3/CHANGELOG.md
--- ruby-rails-html-sanitizer-1.4.2/CHANGELOG.md	2021-08-29 18:20:32.0 +0300
+++ ruby-rails-html-sanitizer-1.4.3/CHANGELOG.md	2022-06-27 20:47:54.0 +0300
@@ -1,3 +1,14 @@
+## 1.4.3 / 2022-06-09
+
+* Address a possible XSS vulnerability with certain configurations of Rails::Html::Sanitizer.
+
+  Prevent the combination of `select` and `style` as allowed tags in SafeListSanitizer.
+
+  Fixes CVE-2022-32209
+
+  *Mike Dalessio*
+
+
 ## 1.4.2 / 2021-08-23
 
 * Slightly improve performance.
diff -Nru ruby-rails-html-sanitizer-1.4.2/debian/changelog ruby-rails-html-sanitizer-1.4.3/debian/changelog
--- ruby-rails-html-sanitizer-1.4.2/debian/changelog	2022-01-23 21:21:08.0 +0200
+++ ruby-rails-html-sanitizer-1.4.3/debian/changelog	2022-10-16 02:44:52.0 +0300
@@ -1,3 +1,12 @@
+ruby-rails-html-sanitizer (1.4.3-0.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * New upstream release.
+- Fixes FTBFS with Ruby 3. (Closes: #1008324)
+- CVE-2022-32209: Possible XSS vulnerability.
+
+ -- Adrian Bunk   Sun, 16 Oct 2022 02:44:52 +0300
+
 ruby-rails-html-sanitizer (1.4.2-2) unstable; urgency=medium
 
   * Team upload.
diff -Nru ruby-rails-html-sanitizer-1.4.2/lib/rails/html/sanitizer/version.rb ruby-rails-html-sanitizer-1.4.3/lib/rails/html/sanitizer/version.rb
--- ruby-rails-html-sanitizer-1.4.2/lib/rails/html/sanitizer/version.rb	2021-08-29 18:20:32.0 +0300
+++ ruby-rails-html-sanitizer-1.4.3/lib/rails/html/sanitizer/version.rb	2022-06-27 20:47:54.0 +0300
@@ -1,7 +1,7 @@
 module Rails
   module Html
 class Sanitizer
-  VERSION = "1.4.2"
+  VERSION = "1.4.3"
 end
   end
 end
diff -Nru ruby-rails-html-sanitizer-1.4.2/lib/rails/html/sanitizer.rb ruby-rails-html-sanitizer-1.4.3/lib/rails/html/sanitizer.rb
--- ruby-rails-html-sanitizer-1.4.2/lib/rails/html/sanitizer.rb	2021-08-29 18:20:32.0 +0300
+++ ruby-rails-html-sanitizer-1.4.3/lib/rails/html/sanitizer.rb	2022-06-27 20:47:54.0 +0300
@@ -141,8 +141,25 @@
 
   private
 
+  def loofah_using_html5?
+# future-proofing, see https://github.com/flavorjones/loofah/pull/239
+Loofah.respond_to?(:html5_mode?) && Loofah.html5_mode?
+  end
+
+  def remove_safelist_tag_combinations(tags)
+if !loofah_using_html5? && tags.include?("select") && tags.include?("style")
+  warn("WARNING: #{self.class}: removing 'style' from safelist, should not be combined with 'select'")
+  tags.delete("style")
+end
+tags
+  end
+
   def allowed_tags(options)
-options[:tags] || self.class.allowed_tags
+if options[:tags]
+  remove_safelist_tag_combinations(options[:tags])
+else
+  self.class.allowed_tags
+end
   end
 
   def allowed_attributes(options)
diff -Nru ruby-rails-html-sanitizer-1.4.2/rails-html-sanitizer.gemspec ruby-rails-html-sanitizer-1.4.3/rails-html-sanitizer.gemspec
--- ruby-rails-html-sanitizer-1.4.2/rails-html-sanitizer.gemspec	2021-08-29 18:20:32.0 +0300
+++ ruby-rails-html-sanitizer-1.4.3/rails-html-sanitizer.gemspec	2022-06-27 20:47:54.0 +0300
@@ -2,42 +2,36 @@
 # This file has been automatically generated by gem2tgz #
 #
 # -*- encoding: utf-8 -*-
-# stub: rails-html-sanitizer 1.4.2 ruby lib
+# stub: rails-html-sanitizer 1.4.3 ruby lib
 
 Gem::Specification.new do |s|
   s.name = "rails-html-sanitizer".freeze
-  s.version = "1.4.2"
+  s.version = "1.4.3"
 
   s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
-  s.metadata = { "bug_tracker_uri" => "https://github.com/rails/rails-html-sanitizer/issues;, "changelog_uri" => "https://github.com/rails/rails-html-sanitizer/blob/v1.4.2/CHANGELOG.md;, "documentation_uri" => "https://www.rubydoc.info/gems/rails-html-sanitizer/1.4.2;, "source_code_uri" => "https://github.com/rails/rails-html-sanitizer/tree/v1.4.2; } if s.respond_to? :metadata=
+  s.metadata = { "bug_tracker_uri" => "https://github.com/rails/rails-html-sanitizer/issues;, "changelog_uri" => "https://github.com/rails/rails-html-sanitizer/blob/v1.4.3/CHANGELOG.md;, "documentation_uri" => "https://www.rubydoc.info/gems/rails-html-sanitizer/1.4.3;, "source_code_uri" => "https://github.com/rails/rails-html-san

[DRE-maint] Bug#1019618: ruby-delayed-job: diff for NMU version 4.1.9-1.1

2022-10-15 Thread Adrian Bunk
Control: tags 1019618 + patch
Control: tags 1019618 + pending

Dear maintainer,

I've prepared an NMU for ruby-delayed-job (versioned as 4.1.9-1.1) and 
uploaded it to DELAYED/15. Please feel free to tell me if I should 
cancel it.

cu
Adrian
diff -Nru ruby-delayed-job-4.1.9/debian/changelog ruby-delayed-job-4.1.9/debian/changelog
--- ruby-delayed-job-4.1.9/debian/changelog	2021-11-22 00:53:24.0 +0200
+++ ruby-delayed-job-4.1.9/debian/changelog	2022-10-15 17:07:57.0 +0300
@@ -1,3 +1,10 @@
+ruby-delayed-job (4.1.9-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Backport upstream fix for Ruby 3.1. (Closes: #1019618)
+
+ -- Adrian Bunk   Sat, 15 Oct 2022 17:07:57 +0300
+
 ruby-delayed-job (4.1.9-1) unstable; urgency=medium
 
   * Team upload.
diff -Nru ruby-delayed-job-4.1.9/debian/patches/0001-Fix-a-broken-spec-due-to-Psych-4.patch ruby-delayed-job-4.1.9/debian/patches/0001-Fix-a-broken-spec-due-to-Psych-4.patch
--- ruby-delayed-job-4.1.9/debian/patches/0001-Fix-a-broken-spec-due-to-Psych-4.patch	1970-01-01 02:00:00.0 +0200
+++ ruby-delayed-job-4.1.9/debian/patches/0001-Fix-a-broken-spec-due-to-Psych-4.patch	2022-10-15 17:07:25.0 +0300
@@ -0,0 +1,43 @@
+From 80864629c1cd452a8eafa85e2ad69d6285f37c33 Mon Sep 17 00:00:00 2001
+From: willnet 
+Date: Mon, 25 Oct 2021 17:22:54 +0900
+Subject: Fix a broken spec due to Psych >= 4
+
+Since psych4.0, the load method has been safe_load, which causes the following error: YAML#load_dj retains the existing safeYAML support, but uses the version of psych that implements unsafe_load. In YAML#load_dj
+
+```
+  1) YAML autoloads the class of an anonymous struct
+ Failure/Error:
+   expect do
+ yaml = "--- !ruby/struct\nn: 1\n"
+ object = YAML.load(yaml)
+ expect(object).to be_kind_of(Struct)
+ expect(object.n).to eq(1)
+   end.not_to raise_error
+
+   expected no Exception, got # with backtrace:
+ # (eval):2:in `struct'
+ # ./spec/yaml_ext_spec.rb:28:in `block (3 levels) in '
+ # ./spec/yaml_ext_spec.rb:26:in `block (2 levels) in '
+ # ./spec/yaml_ext_spec.rb:26:in `block (2 levels) in '
+```
+---
+ spec/yaml_ext_spec.rb | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/spec/yaml_ext_spec.rb b/spec/yaml_ext_spec.rb
+index aebb9af..83bceea 100644
+--- a/spec/yaml_ext_spec.rb
 b/spec/yaml_ext_spec.rb
+@@ -25,7 +25,7 @@ describe 'YAML' do
+   it 'autoloads the class of an anonymous struct' do
+ expect do
+   yaml = "--- !ruby/struct\nn: 1\n"
+-  object = YAML.load(yaml)
++  object = load_with_delayed_visitor(yaml)
+   expect(object).to be_kind_of(Struct)
+   expect(object.n).to eq(1)
+ end.not_to raise_error
+-- 
+2.30.2
+
diff -Nru ruby-delayed-job-4.1.9/debian/patches/series ruby-delayed-job-4.1.9/debian/patches/series
--- ruby-delayed-job-4.1.9/debian/patches/series	2021-11-22 00:53:24.0 +0200
+++ ruby-delayed-job-4.1.9/debian/patches/series	2022-10-15 17:07:56.0 +0300
@@ -1 +1,2 @@
 simplecov
+0001-Fix-a-broken-spec-due-to-Psych-4.patch
___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#1019617: ruby-delayed-job-active-record: diff for NMU version 4.1.6-3.1

2022-10-15 Thread Adrian Bunk
Control: tags 1019617 + patch
Control: tags 1019617 + pending

Dear maintainer,

I've prepared an NMU for ruby-delayed-job-active-record (versioned as 
4.1.6-3.1)and uploaded it to DELAYED/15. Please feel free to tell me
if I should cancel it.

cu
Adrian
diff -Nru ruby-delayed-job-active-record-4.1.6/debian/changelog ruby-delayed-job-active-record-4.1.6/debian/changelog
--- ruby-delayed-job-active-record-4.1.6/debian/changelog	2021-11-29 02:09:59.0 +0200
+++ ruby-delayed-job-active-record-4.1.6/debian/changelog	2022-10-15 17:00:10.0 +0300
@@ -1,3 +1,10 @@
+ruby-delayed-job-active-record (4.1.6-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add upstream fix for Ruby 3.1. (Closes: #1019617)
+
+ -- Adrian Bunk   Sat, 15 Oct 2022 17:00:10 +0300
+
 ruby-delayed-job-active-record (4.1.6-3) unstable; urgency=medium
 
   * Team upload.
diff -Nru ruby-delayed-job-active-record-4.1.6/debian/patches/0001-Fix-a-broken-spec-due-to-Psych-4.patch ruby-delayed-job-active-record-4.1.6/debian/patches/0001-Fix-a-broken-spec-due-to-Psych-4.patch
--- ruby-delayed-job-active-record-4.1.6/debian/patches/0001-Fix-a-broken-spec-due-to-Psych-4.patch	1970-01-01 02:00:00.0 +0200
+++ ruby-delayed-job-active-record-4.1.6/debian/patches/0001-Fix-a-broken-spec-due-to-Psych-4.patch	2022-10-15 16:59:38.0 +0300
@@ -0,0 +1,48 @@
+From 72da7676697cf995a42fd8140a834bfd6eef6a69 Mon Sep 17 00:00:00 2001
+From: willnet 
+Date: Mon, 1 Nov 2021 17:32:01 +0900
+Subject: Fix a broken spec due to Psych >= 4
+
+Since psych4.0, the load method has been safe_load, which causes the following error.
+
+So I use YAML#load_dj to avoid them. ref: ref: https://github.com/collectiveidea/delayed_job/pull/1152/commits/b4ddd3dfe1450f1e51f9a6ac90db3134b5d7af78
+
+```
+  1) ActiveRecord loads classes with non-default primary key
+ Failure/Error:
+   expect do
+ YAML.load(Story.create.to_yaml)
+   end.not_to raise_error
+
+   expected no Exception, got # with backtrace:
+ # ./spec/delayed/serialization/active_record_spec.rb:8:in `block (3 levels) in '
+ # ./spec/delayed/serialization/active_record_spec.rb:7:in `block (2 levels) in '
+ # ./spec/delayed/serialization/active_record_spec.rb:7:in `block (2 levels) in '
+```
+---
+ spec/delayed/serialization/active_record_spec.rb | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/spec/delayed/serialization/active_record_spec.rb b/spec/delayed/serialization/active_record_spec.rb
+index 4aa27f1..f0b0cd3 100644
+--- a/spec/delayed/serialization/active_record_spec.rb
 b/spec/delayed/serialization/active_record_spec.rb
+@@ -5,13 +5,13 @@ require "helper"
+ describe ActiveRecord do
+   it "loads classes with non-default primary key" do
+ expect do
+-  YAML.load(Story.create.to_yaml)
++  YAML.load_dj(Story.create.to_yaml)
+ end.not_to raise_error
+   end
+ 
+   it "loads classes even if not in default scope" do
+ expect do
+-  YAML.load(Story.create(scoped: false).to_yaml)
++  YAML.load_dj(Story.create(scoped: false).to_yaml)
+ end.not_to raise_error
+   end
+ end
+-- 
+2.30.2
+
diff -Nru ruby-delayed-job-active-record-4.1.6/debian/patches/series ruby-delayed-job-active-record-4.1.6/debian/patches/series
--- ruby-delayed-job-active-record-4.1.6/debian/patches/series	2021-11-29 02:09:59.0 +0200
+++ ruby-delayed-job-active-record-4.1.6/debian/patches/series	2022-10-15 17:00:10.0 +0300
@@ -1,2 +1,3 @@
 no-simplecov-lcov.patch
 fix-path-to-migration-template.patch
+0001-Fix-a-broken-spec-due-to-Psych-4.patch
___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#1019616: ruby-dalli: diff for NMU version 3.0.6-1.1

2022-10-15 Thread Adrian Bunk
Control: tags 1019616 + patch
Control: tags 1019616 + pending

Dear maintainer,

I've prepared an NMU for ruby-dalli (versioned as 3.0.6-1.1) and 
uploaded it to DELAYED/15. Please feel free to tell me if I should 
cancel it.

cu
Adrian
diff -Nru ruby-dalli-3.0.6/debian/changelog ruby-dalli-3.0.6/debian/changelog
--- ruby-dalli-3.0.6/debian/changelog	2021-12-07 04:49:10.0 +0200
+++ ruby-dalli-3.0.6/debian/changelog	2022-10-15 16:54:27.0 +0300
@@ -1,3 +1,10 @@
+ruby-dalli (3.0.6-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Backport upstream fix for FTBFS with Ruby 3.1. (Closes: #1019616)
+
+ -- Adrian Bunk   Sat, 15 Oct 2022 16:54:27 +0300
+
 ruby-dalli (3.0.6-1) unstable; urgency=medium
 
   * Team upload.
diff -Nru ruby-dalli-3.0.6/debian/patches/0001-Adding-Ruby-3.1-to-CI-workflow-886.patch ruby-dalli-3.0.6/debian/patches/0001-Adding-Ruby-3.1-to-CI-workflow-886.patch
--- ruby-dalli-3.0.6/debian/patches/0001-Adding-Ruby-3.1-to-CI-workflow-886.patch	1970-01-01 02:00:00.0 +0200
+++ ruby-dalli-3.0.6/debian/patches/0001-Adding-Ruby-3.1-to-CI-workflow-886.patch	2022-10-15 16:49:18.0 +0300
@@ -0,0 +1,46 @@
+From d65244d02babd7aa23a4ea8dd3b3a955393bcbac Mon Sep 17 00:00:00 2001
+From: Peter Goldstein 
+Date: Sat, 25 Dec 2021 15:34:35 -0800
+Subject: Adding Ruby 3.1 to CI workflow (#886)
+
+* Adding Ruby 3.1 to CI workflow
+
+* Fix rubocop-performance lint issue, make tests compatible with error_highlight
+---
+ test/protocol/test_value_serializer.rb | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/test/protocol/test_value_serializer.rb b/test/protocol/test_value_serializer.rb
+index 436fc9c..0127c18 100644
+--- a/test/protocol/test_value_serializer.rb
 b/test/protocol/test_value_serializer.rb
+@@ -228,7 +228,7 @@ describe Dalli::Protocol::ValueSerializer do
+ vs.retrieve(raw_value, Dalli::Protocol::ValueSerializer::FLAG_SERIALIZED)
+   end
+ end
+-assert_equal exception.message, error_message
++assert_equal error_message, exception.message
+   end
+ end
+ 
+@@ -244,7 +244,7 @@ describe Dalli::Protocol::ValueSerializer do
+ vs.retrieve(raw_value, Dalli::Protocol::ValueSerializer::FLAG_SERIALIZED)
+   end
+ end
+-assert_equal exception.message, "Unable to unmarshal value: #{error_message}"
++assert exception.message.start_with?("Unable to unmarshal value: #{error_message}")
+   end
+ end
+ 
+@@ -259,7 +259,7 @@ describe Dalli::Protocol::ValueSerializer do
+ vs.retrieve(raw_value, Dalli::Protocol::ValueSerializer::FLAG_SERIALIZED)
+   end
+ end
+-assert_equal exception.message, error_message
++assert exception.message.start_with?(error_message)
+   end
+ end
+ 
+-- 
+2.30.2
+
diff -Nru ruby-dalli-3.0.6/debian/patches/series ruby-dalli-3.0.6/debian/patches/series
--- ruby-dalli-3.0.6/debian/patches/series	2021-12-07 04:49:10.0 +0200
+++ ruby-dalli-3.0.6/debian/patches/series	2022-10-15 16:54:26.0 +0300
@@ -2,3 +2,4 @@
 0003-dalli-version.patch
 0004-No-bundler-in-test-helper.patch
 0006-Fix-Dalli-NameError.patch
+0001-Adding-Ruby-3.1-to-CI-workflow-886.patch
___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#1019615: ruby-crack: diff for NMU version 0.4.4-2.1

2022-10-15 Thread Adrian Bunk
Control: tags 1019615 + patch
Control: tags 1019615 + pending

Dear maintainer,

I've prepared an NMU for ruby-crack (versioned as 0.4.4-2.1) and 
uploaded it to DELAYED/15. Please feel free to tell me if I should 
cancel it.

cu
Adrian
diff -Nru ruby-crack-0.4.4/debian/changelog ruby-crack-0.4.4/debian/changelog
--- ruby-crack-0.4.4/debian/changelog	2021-06-30 09:23:46.0 +0300
+++ ruby-crack-0.4.4/debian/changelog	2022-10-15 16:40:46.0 +0300
@@ -1,3 +1,10 @@
+ruby-crack (0.4.4-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Add upstream submitted fix for Ruby 3.1. (Closes: #1019615)
+
+ -- Adrian Bunk   Sat, 15 Oct 2022 16:40:46 +0300
+
 ruby-crack (0.4.4-2) unstable; urgency=medium
 
   * Update standards version to 4.5.1, no changes needed.
diff -Nru ruby-crack-0.4.4/debian/patches/0001-Use-named-parameters-for-safe_load.patch ruby-crack-0.4.4/debian/patches/0001-Use-named-parameters-for-safe_load.patch
--- ruby-crack-0.4.4/debian/patches/0001-Use-named-parameters-for-safe_load.patch	1970-01-01 02:00:00.0 +0200
+++ ruby-crack-0.4.4/debian/patches/0001-Use-named-parameters-for-safe_load.patch	2022-10-15 16:40:38.0 +0300
@@ -0,0 +1,33 @@
+From 7fa8d8aea4a041969e433debef7f4d5d59881ae2 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?V=C3=ADt=20Ondruch?= 
+Date: Fri, 11 Mar 2022 18:29:43 +0100
+Subject: Use named parameters for `safe_load`.
+
+This is available since Psych 3.1 [[1], [2]], but mandatory since Psych
+4.0 [[3]].
+
+Fixes #72
+
+[1]: https://github.com/ruby/psych/pull/358
+[2]: https://github.com/ruby/psych/pull/378
+[3]: https://github.com/ruby/psych/commit/0767227051dbddf1f949eef512c174deabf22891
+---
+ lib/crack/json.rb | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/crack/json.rb b/lib/crack/json.rb
+index 1a27ac7..528aad6 100644
+--- a/lib/crack/json.rb
 b/lib/crack/json.rb
+@@ -13,7 +13,7 @@ module Crack
+ 
+ def self.parse(json)
+   yaml = unescape(convert_json_to_yaml(json))
+-  YAML.safe_load(yaml, [Regexp, Date, Time])
++  YAML.safe_load(yaml, permitted_classes: [Regexp, Date, Time])
+ rescue *parser_exceptions
+   raise ParseError, "Invalid JSON string"
+ rescue Psych::DisallowedClass
+-- 
+2.30.2
+
diff -Nru ruby-crack-0.4.4/debian/patches/series ruby-crack-0.4.4/debian/patches/series
--- ruby-crack-0.4.4/debian/patches/series	2021-06-30 09:23:46.0 +0300
+++ ruby-crack-0.4.4/debian/patches/series	2022-10-15 16:40:46.0 +0300
@@ -1 +1,2 @@
 don't_relly_on_git.patch
+0001-Use-named-parameters-for-safe_load.patch
___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#1019611: ruby-asset-sync: diff for NMU version 2.11.0-1.1

2022-10-15 Thread Adrian Bunk
Control: tags 1019611 + patch

Dear maintainer,

I've prepared an NMU for ruby-asset-sync (versioned as 2.11.0-1.1) and 
uploaded it to DELAYED/14. Please feel free to tell me if I should 
cancel it.

cu
Adrian
diff -Nru ruby-asset-sync-2.11.0/debian/changelog ruby-asset-sync-2.11.0/debian/changelog
--- ruby-asset-sync-2.11.0/debian/changelog	2020-09-12 22:17:54.0 +0300
+++ ruby-asset-sync-2.11.0/debian/changelog	2022-10-15 11:32:32.0 +0300
@@ -1,3 +1,11 @@
+ruby-asset-sync (2.11.0-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Add upstream fix to u se YAML.unsafe_load to support Psych v4.
+(Closes: #1019611)
+
+ -- Adrian Bunk   Sat, 15 Oct 2022 11:32:32 +0300
+
 ruby-asset-sync (2.11.0-1) unstable; urgency=medium
 
   * Team Upload.
diff -Nru ruby-asset-sync-2.11.0/debian/patches/0001-Use-YAML.unsafe_load-to-support-Psych-v4.patch ruby-asset-sync-2.11.0/debian/patches/0001-Use-YAML.unsafe_load-to-support-Psych-v4.patch
--- ruby-asset-sync-2.11.0/debian/patches/0001-Use-YAML.unsafe_load-to-support-Psych-v4.patch	1970-01-01 02:00:00.0 +0200
+++ ruby-asset-sync-2.11.0/debian/patches/0001-Use-YAML.unsafe_load-to-support-Psych-v4.patch	2022-10-07 01:59:53.0 +0300
@@ -0,0 +1,73 @@
+From 4eb59cebba239f2c97fd042ff6a22306e5a14c5c Mon Sep 17 00:00:00 2001
+From: fukayatsu 
+Date: Mon, 22 Nov 2021 16:32:01 +0900
+Subject: Use YAML.unsafe_load to support Psych v4
+
+---
+ lib/asset_sync/asset_sync.rb | 10 ++
+ lib/asset_sync/config.rb |  3 +--
+ lib/asset_sync/storage.rb|  2 +-
+ 3 files changed, 12 insertions(+), 3 deletions(-)
+
+diff --git a/lib/asset_sync/asset_sync.rb b/lib/asset_sync/asset_sync.rb
+index 4969727..416d769 100644
+--- a/lib/asset_sync/asset_sync.rb
 b/lib/asset_sync/asset_sync.rb
+@@ -1,3 +1,5 @@
++require "yaml"
++
+ module AssetSync
+ 
+   class << self
+@@ -60,6 +62,14 @@ module AssetSync
+   stdout.puts msg unless config.log_silently?
+ end
+ 
++def load_yaml(yaml)
++  if YAML.respond_to?(:unsafe_load)
++YAML.unsafe_load(yaml)
++  else
++YAML.load(yaml)
++  end
++end
++
+ def enabled?
+   config.enabled?
+ end
+diff --git a/lib/asset_sync/config.rb b/lib/asset_sync/config.rb
+index 3620bd8..7b883ff 100644
+--- a/lib/asset_sync/config.rb
 b/lib/asset_sync/config.rb
+@@ -2,7 +2,6 @@
+ 
+ require "active_model"
+ require "erb"
+-require "yaml"
+ 
+ module AssetSync
+   class Config
+@@ -184,7 +183,7 @@ module AssetSync
+ end
+ 
+ def yml
+-  @yml ||= ::YAML.load(::ERB.new(IO.read(yml_path)).result)[::Rails.env] || {}
++  @yml ||= ::AssetSync.load_yaml(::ERB.new(IO.read(yml_path)).result)[::Rails.env] || {}
+ end
+ 
+ def yml_path
+diff --git a/lib/asset_sync/storage.rb b/lib/asset_sync/storage.rb
+index 2a34f6a..f9dfa73 100644
+--- a/lib/asset_sync/storage.rb
 b/lib/asset_sync/storage.rb
+@@ -117,7 +117,7 @@ module AssetSync
+   return manifest.assets.values.map { |f| File.join(self.config.assets_prefix, f) }
+ elsif File.exist?(self.config.manifest_path)
+   log "Using: Manifest #{self.config.manifest_path}"
+-  yml = YAML.load(IO.read(self.config.manifest_path))
++  yml = AssetSync.load_yaml(IO.read(self.config.manifest_path))
+ 
+   return yml.map do |original, compiled|
+ # Upload font originals and compiled
+-- 
+2.30.2
+
diff -Nru ruby-asset-sync-2.11.0/debian/patches/series ruby-asset-sync-2.11.0/debian/patches/series
--- ruby-asset-sync-2.11.0/debian/patches/series	2020-09-12 22:17:54.0 +0300
+++ ruby-asset-sync-2.11.0/debian/patches/series	2022-10-15 11:32:28.0 +0300
@@ -1,2 +1,3 @@
 remove-rubygems-bundler.patch
 disable-aws-tests.patch
+0001-Use-YAML.unsafe_load-to-support-Psych-v4.patch
___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#1019610: ruby-ahoy-email: FTBFS with ruby3.1: ERROR: Test "ruby3.1" failed: cannot load such file -- net/smtp (LoadError)

2022-10-06 Thread Adrian Bunk
On Mon, Sep 12, 2022 at 08:24:43PM -0300, Antonio Terceiro wrote:
> Source: ruby-ahoy-email
> Version: 1.1.1-2
> Severity: serious
> Justification: FTBFS
> Tags: bookworm sid ftbfs
> User: debian-r...@lists.debian.org
> Usertags: ruby3.1
> 
> Hi,
> 
> We are about to start the ruby3.1 transition in unstable. While trying to
> rebuild ruby-ahoy-email with ruby3.1 enabled, the build failed.
> 
> Relevant part of the build log (hopefully):
> > /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in
> >  `require': cannot load such file -- net/smtp (LoadError)

Do you have any ides where this dependency is required and why it isn't found?

> > from 
> > /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in
> >  `block in require'
> > from 
> > /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:299:in
> >  `load_dependency'
> > from 
> > /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in
> >  `require'
> > from /usr/lib/ruby/vendor_ruby/mail.rb:9:in `'
> > from /usr/lib/ruby/vendor_ruby/mail.rb:3:in `'
> > from 
> > /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in
> >  `require'
> > from 
> > /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in
> >  `block in require'
> > from 
> > /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:299:in
> >  `load_dependency'
> > from 
> > /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in
> >  `require'
> > from 
> > /usr/share/rubygems-integration/all/gems/actionmailer-6.1.6.1/lib/action_mailer/mail_with_error_handling.rb:4:in
> >  `'
> > from 
> > /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in
> >  `require'
> > from 
> > /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in
> >  `block in require'
> > from 
> > /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:299:in
> >  `load_dependency'
> > from 
> > /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in
> >  `require'
> > from 
> > /usr/share/rubygems-integration/all/gems/actionmailer-6.1.6.1/lib/action_mailer/base.rb:3:in
> >  `'
> > from 
> > /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in
> >  `require'
> > from 
> > /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in
> >  `block in require'
> > from 
> > /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:299:in
> >  `load_dependency'
> > from 
> > /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in
> >  `require'
> > from /<>/test/test_helper.rb:21:in `'
> > from /<>/test/click_test.rb:1:in `require_relative'
> > from /<>/test/click_test.rb:1:in `'
> > from 
> > :85:in
> >  `require'
> > from 
> > :85:in
> >  `require'
> > from 
> > /usr/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:21:in
> >  `block in '
> > from 
> > /usr/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:6:in 
> > `select'
> > from 
> > /usr/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:6:in 
> > `'
> > rake aborted!
> > Command failed with status (1)
> > 
> > Tasks: TOP => default => test
> > (See full trace by running task with --trace)
> > mv ./.gem2deb.Gemfile.lock Gemfile.lock
> > ERROR: Test "ruby3.1" failed: 
> 
> 
> The full build log is available from:
> https://people.debian.org/~terceiro/ruby3.1/17/ruby-ahoy-email/ruby-ahoy-email_1.1.1-2+rebuild1663007340_amd64-2022-09-12T18:29:01Z.build
>...

cu
Adrian

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#1019609: ruby-activerecord-import: diff for NMU version 1.4.0-0.1

2022-10-06 Thread Adrian Bunk
Control: tags 1019609 + patch
Control: tags 1019609 + pending

Dear maintainer,

I've prepared an NMU for ruby-activerecord-import (versioned as 1.4.0-0.1)
and uploaded it to DELAYED/14. Please feel free to tell me if I should 
cancel it.

cu
Adrian
diff -Nru ruby-activerecord-import-1.2.0/activerecord-import.gemspec ruby-activerecord-import-1.4.0/activerecord-import.gemspec
--- ruby-activerecord-import-1.2.0/activerecord-import.gemspec	2021-08-22 17:59:37.0 +0300
+++ ruby-activerecord-import-1.4.0/activerecord-import.gemspec	2022-05-06 10:10:54.0 +0300
@@ -16,8 +16,8 @@
   gem.require_paths = ["lib"]
   gem.version   = ActiveRecord::Import::VERSION
 
-  gem.required_ruby_version = ">= 2.0.0"
+  gem.required_ruby_version = ">= 2.4.0"
 
-  gem.add_runtime_dependency "activerecord", ">= 3.2"
+  gem.add_runtime_dependency "activerecord", ">= 4.2"
   gem.add_development_dependency "rake"
 end
diff -Nru ruby-activerecord-import-1.2.0/benchmarks/benchmark.rb ruby-activerecord-import-1.4.0/benchmarks/benchmark.rb
--- ruby-activerecord-import-1.2.0/benchmarks/benchmark.rb	2021-08-22 17:59:37.0 +0300
+++ ruby-activerecord-import-1.4.0/benchmarks/benchmark.rb	2022-05-06 10:10:54.0 +0300
@@ -20,7 +20,11 @@
 ActiveRecord::Base.configurations["test"] = YAML.load_file(File.join(benchmark_dir, "../test/database.yml"))[options.adapter]
 ActiveRecord::Base.logger = Logger.new("log/test.log")
 ActiveRecord::Base.logger.level = Logger::DEBUG
-ActiveRecord::Base.default_timezone = :utc
+if ActiveRecord.respond_to?(:default_timezone)
+  ActiveRecord.default_timezone = :utc
+else
+  ActiveRecord::Base.default_timezone = :utc
+end
 
 require "activerecord-import"
 ActiveRecord::Base.establish_connection(:test)
diff -Nru ruby-activerecord-import-1.2.0/CHANGELOG.md ruby-activerecord-import-1.4.0/CHANGELOG.md
--- ruby-activerecord-import-1.2.0/CHANGELOG.md	2021-08-22 17:59:37.0 +0300
+++ ruby-activerecord-import-1.4.0/CHANGELOG.md	2022-05-06 10:10:54.0 +0300
@@ -1,3 +1,22 @@
+## Changes in 1.4.0
+
+### New Features
+
+  * Enable compatibility with frozen string literals. Thanks to @desheikh via \##760.
+
+## Changes in 1.3.0
+
+### Fixes
+
+* Ensure correct timestamp values are returned for models after insert. Thanks to @kos1kov via \##756.
+* Restore database_version method to public scope. Thanks to @beauraF via \##753.
+
+### New Features
+
+* Add support for ActiveRecord 7.0. Thanks to @nickhammond, @ryanwood, @jkowens via \##749 and \##752.
+* Add support for compound foreign keys. Thanks to @Uladzimiro via \##750.
+* Add support for :recursive combined with on_duplicate_key_update: :all. Thanks to @deathwish via \##746.
+
 ## Changes in 1.2.0
 
 ### Fixes
diff -Nru ruby-activerecord-import-1.2.0/debian/changelog ruby-activerecord-import-1.4.0/debian/changelog
--- ruby-activerecord-import-1.2.0/debian/changelog	2021-11-21 21:51:35.0 +0200
+++ ruby-activerecord-import-1.4.0/debian/changelog	2022-10-07 00:54:00.0 +0300
@@ -1,3 +1,11 @@
+ruby-activerecord-import (1.4.0-0.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * New upstream release.
+- Fixes FTBFS. (Closes: #1019609)
+
+ -- Adrian Bunk   Fri, 07 Oct 2022 00:54:00 +0300
+
 ruby-activerecord-import (1.2.0-1) unstable; urgency=medium
 
   * Team upload.
diff -Nru ruby-activerecord-import-1.2.0/Gemfile ruby-activerecord-import-1.4.0/Gemfile
--- ruby-activerecord-import-1.2.0/Gemfile	2021-08-22 17:59:37.0 +0300
+++ ruby-activerecord-import-1.4.0/Gemfile	2022-05-06 10:10:54.0 +0300
@@ -22,11 +22,12 @@
   gem "mysql2", "~> #{mysql2_version}"
   gem "pg", "~> #{pg_version}"
   gem "sqlite3","~> #{sqlite3_version}"
-  gem "seamless_database_pool", "~> 1.0.20"
+  # seamless_database_pool requires Ruby ~> 2.0
+  gem "seamless_database_pool", "~> 1.0.20" if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('3.0.0')
 end
 
 platforms :jruby do
-  gem 'jdbc-mysql', '< 8', require: false
+  gem "jdbc-mysql"
   gem "jdbc-postgres"
   gem "activerecord-jdbcsqlite3-adapter","~> 1.3"
   gem "activerecord-jdbcmysql-adapter",  "~> 1.3"
@@ -44,14 +45,9 @@
   gem "ruby-debug", "= 0.10.4"
 end
 
-platforms :mri_19 do
-  gem "debugger"
-end
-
 platforms :ruby do
   gem "pry-byebug"
   gem "pry", "~> 0.12.0"
-  gem "rb-readline"
 end
 
 if version >= 4.0
diff -Nru ruby-activerecord-import-1.2.0/gemfiles/3.2.gemfile ruby-activerecord-import-1.4.0/gemfiles/3.2.gemfile
--- ruby-activerecord-import-1.2.0/gemfiles/3.2.gemfile	2021-08-22 17:59:37.000

[DRE-maint] Bug#1021262: ruby-stackprof FTBFS on 32bit

2022-10-04 Thread Adrian Bunk
Source: ruby-stackprof
Version: 0.2.21-1
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/logs.php?pkg=ruby-stackprof=0.2.21-1

...
Finished in 0.379613s, 79.0278 runs/s, 237.0833 assertions/s.

  1) Failure:
StackProfTest#test_raw [/<>/test/test_stackprof.rb:153]:
Expected 498034323 to be > 859491493514.

30 runs, 90 assertions, 1 failures, 0 errors, 0 skips
rake aborted!
Command failed with status (1): [ruby -w -I"test" 
/usr/share/rubygems-integration/all/gems/rake-13.0.6/lib/rake/rake_test_loader.rb
 "test/test_middleware.rb" "test/test_report.rb" "test/test_stackprof.rb" 
"test/test_truffleruby.rb" -v]
/usr/share/rubygems-integration/all/gems/rake-13.0.6/exe/rake:27:in `'
Tasks: TOP => default
(See full trace by running task with --trace)
ERROR: Test "ruby3.0" failed. Exiting.
dh_auto_install: error: dh_ruby --install 
/<>/debian/ruby-stackprof returned exit code 1
make: *** [debian/rules:7: binary-arch] Error 25

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#998097: Bug#998097: ruby-eventmachine FTBFS on IPV6-only buildds and accesses the internet during the build

2022-09-20 Thread Adrian Bunk
Control: reopen -1

On Wed, Nov 03, 2021 at 09:50:32AM -0300, Antonio Terceiro wrote:
> On Sat, Oct 30, 2021 at 11:53:46AM +0300, Adrian Bunk wrote:
> > Source: ruby-eventmachine
> > Severity: serious
> > Tags: ftbfs
> > 
> > FTBFS on IPV6-only buildds:
> > 
> > https://buildd.debian.org/status/fetch.php?pkg=ruby-eventmachine=amd64=1.3~pre20201020-b50c135-3=1633500476=0
> > https://buildd.debian.org/status/fetch.php?pkg=ruby-eventmachine=i386=1.3~pre20201020-b50c135-4%2Bb1=1635578996=0
> > 
> > FTBFS due to attempted DNS:
> > 
> > https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-eventmachine.html
> > 
> > ...
> > ===
> > Failure: test_nameserver(TestResolver):
> >was expected to be kind_of?
> >but was
> >   .
> > /build/1st/ruby-eventmachine-1.3~pre20201020-b50c135/tests/test_resolver.rb:19:in
> >  `test_nameserver'
> >  16:   end
> >  17: 
> >  18:   def test_nameserver
> >   => 19: assert_kind_of(String, EM::DNS::Resolver.nameserver)
> >  20:   end
> >  21: 
> >  22:   def test_nameservers
> > ===
> > ...
> 
> The ipv6-only thing is already worked around in
> 1.3~pre20201020-b50c135-4 by skipping the tests in those setups.
>...

Something still seems to fail on IPV-6 only buildds:
https://buildd.debian.org/status/fetch.php?pkg=ruby-eventmachine=amd64=1.3~pre20201020-b50c135-6%2Bb1=1663720780=0

cu
Adrian

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#1020395: ruby-sdbm FTBFS with more than one supported Ruby version

2022-09-20 Thread Adrian Bunk
Source: ruby-sdbm
Version: 1.0.0-4
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/logs.php?pkg=ruby-sdbm=1.0.0-4%2Bb1

...
   dh_gencontrol -a -O--buildsystem=ruby
dpkg-gencontrol: warning: can't parse dependency lib lib
dpkg-gencontrol: error: parsing package 'ruby-sdbm' Depends field: ,
,
libc6 (>= 2.33), libruby3.0 (>= 3.0.0~preview1) | libruby3.1 (>= 
3.1.2), lib | lib lib
dh_gencontrol: error: dpkg-gencontrol -pruby-sdbm -ldebian/changelog 
-Tdebian/ruby-sdbm.substvars -Pdebian/.debhelper/ruby-sdbm/dbgsym-root 
-UPre-Depends -URecommends -USuggests -UEnhances -UProvides -UEssential 
-UConflicts -DPriority=optional -UHomepage -UImportant -UBuilt-Using 
-DAuto-Built-Package=debug-symbols -UProtected -DPackage=ruby-sdbm-dbgsym 
"-DDepends=ruby-sdbm (= \${binary:Version})" "-DDescription=debug symbols for 
ruby-sdbm" "-DBuild-Ids=4fef3beede0c69a9a14602656f4dfbd945ea5163 
8f82f5a95abaf8b82874576873c2885577570001" -DSection=debug -UReplaces -UBreaks 
returned exit code 25
dh_gencontrol: error: Aborting due to earlier error
make: *** [debian/rules:7: binary-arch] Error 25

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#1018882: ruby-vcr: build times out after 150 minutes

2022-09-20 Thread Adrian Bunk
Control: retitle -1 ruby-vcr FTBFS on IPV6-only buildds

On Thu, Sep 01, 2022 at 02:08:36PM +0200, Paul Gevers wrote:
> Source: ruby-vcr
> Version: 6.0.0+really5.0.0-2
> Severity: serious
> Tags: ftbfs
> Justification: ftbfs
> 
> Dear maintainers,
> 
> The last upload failed to build from source.
> 
> https://buildd.debian.org/status/fetch.php?pkg=ruby-vcr=all=6.0.0%2Breally5.0.0-3=1661725468=0
> 
>   when VCR.real_http_connections_allowed? is returning false
> does not allow real HTTP requests or record them
> when ignore_hosts is configured to "127.0.0.1", "localhost"
> E: Build killed with signal TERM after 150 minutes of inactivity

This was on x86-conova-01, which is IPV6-only.
Looking at the "127.0.0.1" above, this is likely relevant.

> Paul

cu
Adrian

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#1007000: thin FTBFS on IPV6-only buildds

2022-09-13 Thread Adrian Bunk
Control: reopen -1

On Thu, Sep 01, 2022 at 03:36:43PM -0300, Lucas Kanashiro wrote:
> This is a consequence of this bug filed against ruby-eventmachine:
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=998097

The bug is still present with ruby-eventmachine 1.3~pre20201020-b50c135-6:
https://buildd.debian.org/status/fetch.php?pkg=thin=amd64=1.8.0-2=1662166302=0

> Lucas Kanashiro

cu
Adrian

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#1018185: buster-pu: package ruby-riddle/2.3.1-2~deb10u1

2022-08-26 Thread Adrian Bunk
Package: release.debian.org
Severity: normal
Tags: buster
User: release.debian@packages.debian.org
Usertags: pu
X-Debbugs-Cc: Debian Ruby Team 


  * d/start_mysqld_and_run.sh: allow LOAD DATA LOCAL INFILE
  * Add patch to make mysql2 client allow local_infile
  (Closes: #988028)

Test-only FTBFS fix (the local_infile changes are not in files that
end up in the binary package).

Additionally, there are some harmless Standards-Version/salsa-ci.yml
packaging changes.
diff -Nru ruby-riddle-2.3.1/debian/changelog ruby-riddle-2.3.1/debian/changelog
--- ruby-riddle-2.3.1/debian/changelog  2019-01-18 14:26:07.0 +0200
+++ ruby-riddle-2.3.1/debian/changelog  2022-08-26 20:27:26.0 +0300
@@ -1,3 +1,24 @@
+ruby-riddle (2.3.1-2~deb10u1) buster; urgency=medium
+
+  * Non-maintainer upload.
+  * Rebuild for buster. (Closes: #988028)
+
+ -- Adrian Bunk   Fri, 26 Aug 2022 20:27:26 +0300
+
+ruby-riddle (2.3.1-2) unstable; urgency=medium
+
+  * Team upload.
+
+  [ Utkarsh Gupta ]
+  * Add salsa-ci.yml
+
+  [ Lucas Kanashiro ]
+  * d/start_mysqld_and_run.sh: allow LOAD DATA LOCAL INFILE
+  * Add patch to make mysql2 client allow local_infile
+  * Declare compliance with Debian Policy 4.4.1
+
+ -- Lucas Kanashiro   Thu, 05 Dec 2019 09:04:01 
-0300
+
 ruby-riddle (2.3.1-1) unstable; urgency=medium
 
   * Team upload.
diff -Nru ruby-riddle-2.3.1/debian/control ruby-riddle-2.3.1/debian/control
--- ruby-riddle-2.3.1/debian/control2019-01-18 14:26:07.0 +0200
+++ ruby-riddle-2.3.1/debian/control2019-12-05 14:04:01.0 +0200
@@ -12,7 +12,7 @@
ruby-mysql2,
ruby-rspec,
sphinxsearch
-Standards-Version: 4.3.0
+Standards-Version: 4.4.1
 Vcs-Git: https://salsa.debian.org/ruby-team/ruby-riddle.git
 Vcs-Browser: https://salsa.debian.org/ruby-team/ruby-riddle
 Homepage: https://pat.github.io/riddle/
diff -Nru 
ruby-riddle-2.3.1/debian/patches/0002-Make-mysql2-client-allow-local_infile.patch
 
ruby-riddle-2.3.1/debian/patches/0002-Make-mysql2-client-allow-local_infile.patch
--- 
ruby-riddle-2.3.1/debian/patches/0002-Make-mysql2-client-allow-local_infile.patch
   1970-01-01 02:00:00.0 +0200
+++ 
ruby-riddle-2.3.1/debian/patches/0002-Make-mysql2-client-allow-local_infile.patch
   2019-12-05 14:04:01.0 +0200
@@ -0,0 +1,23 @@
+From: Lucas Kanashiro 
+Date: Thu, 5 Dec 2019 08:56:44 -0300
+Subject: Make mysql2 client allow local_infile
+
+This is needed to use the LOAD DATA LOCAL INFILE fixture command.
+---
+ spec/support/mri_client.rb | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/spec/support/mri_client.rb b/spec/support/mri_client.rb
+index 5906d81..4bd8580 100644
+--- a/spec/support/mri_client.rb
 b/spec/support/mri_client.rb
+@@ -5,7 +5,8 @@ class MRIClient
+ @client = Mysql2::Client.new(
+   :host => host,
+   :username => username,
+-  :password => password
++  :password => password,
++  :local_infile => true
+ )
+   end
+ 
diff -Nru ruby-riddle-2.3.1/debian/patches/series 
ruby-riddle-2.3.1/debian/patches/series
--- ruby-riddle-2.3.1/debian/patches/series 2019-01-18 14:26:07.0 
+0200
+++ ruby-riddle-2.3.1/debian/patches/series 2019-12-05 14:04:01.0 
+0200
@@ -1 +1,2 @@
 0001-Remove-bundler-and-relative-paths-from-specs.patch
+0002-Make-mysql2-client-allow-local_infile.patch
diff -Nru ruby-riddle-2.3.1/debian/salsa-ci.yml 
ruby-riddle-2.3.1/debian/salsa-ci.yml
--- ruby-riddle-2.3.1/debian/salsa-ci.yml   1970-01-01 02:00:00.0 
+0200
+++ ruby-riddle-2.3.1/debian/salsa-ci.yml   2019-12-05 14:04:01.0 
+0200
@@ -0,0 +1,4 @@
+---
+include:
+  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
+  - 
https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
diff -Nru ruby-riddle-2.3.1/debian/start_mysqld_and_run.sh 
ruby-riddle-2.3.1/debian/start_mysqld_and_run.sh
--- ruby-riddle-2.3.1/debian/start_mysqld_and_run.sh2019-01-18 
14:26:07.0 +0200
+++ ruby-riddle-2.3.1/debian/start_mysqld_and_run.sh2019-12-05 
14:04:01.0 +0200
@@ -18,7 +18,7 @@
 DO_MYSQL_DATABASE=/${DO_MYSQL_DBNAME}
 
 mysql_install_db --no-defaults --datadir=${MYTEMP_DIR} --force 
--skip-name-resolve --user=${DO_MYSQL_USER}
-/usr/sbin/mysqld --no-defaults --user=${DO_MYSQL_USER} 
--socket=${MYSQL_UNIX_PORT} --datadir=${MYTEMP_DIR} --skip-networking 
--skip-grant &
+/usr/sbin/mysqld --no-defaults --user=${DO_MYSQL_USER} 
--socket=${MYSQL_UNIX_PORT} --datadir=${MYTEMP_DIR} --skip-networking 
--local-infile=1 --skip-grant &
 echo -n pinging mysqld.
 attempts=0
 while ! /usr/bin/mysqladmin --socket=${MYSQL_UNIX_PORT} ping ; do
___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#1018151: buster-pu: package ruby-http-parser.rb/0.6.0-4+deb10u1

2022-08-25 Thread Adrian Bunk
Package: release.debian.org
Severity: normal
Tags: buster
User: release.debian@packages.debian.org
Usertags: pu
X-Debbugs-Cc: Debian Ruby Extras Maintainers 


  * Relax "post identity body world" test to fix FTBFS with the
CVE-2019-15605 fix in http-parser. (Closes: #977750)
diff -Nru ruby-http-parser.rb-0.6.0/debian/changelog 
ruby-http-parser.rb-0.6.0/debian/changelog
--- ruby-http-parser.rb-0.6.0/debian/changelog  2017-11-16 00:15:54.0 
+0200
+++ ruby-http-parser.rb-0.6.0/debian/changelog  2022-08-25 21:52:11.0 
+0300
@@ -1,3 +1,11 @@
+ruby-http-parser.rb (0.6.0-4+deb10u1) buster; urgency=medium
+
+  * Non-maintainer upload.
+  * Relax "post identity body world" test to fix FTBFS with the
+CVE-2019-15605 fix in http-parser. (Closes: #977750)
+
+ -- Adrian Bunk   Thu, 25 Aug 2022 21:52:11 +0300
+
 ruby-http-parser.rb (0.6.0-4) unstable; urgency=medium
 
   * Team upload
diff -Nru 
ruby-http-parser.rb-0.6.0/debian/patches/0007-disable-identity-transfer-encoding-test.patch
 
ruby-http-parser.rb-0.6.0/debian/patches/0007-disable-identity-transfer-encoding-test.patch
--- 
ruby-http-parser.rb-0.6.0/debian/patches/0007-disable-identity-transfer-encoding-test.patch
 1970-01-01 02:00:00.0 +0200
+++ 
ruby-http-parser.rb-0.6.0/debian/patches/0007-disable-identity-transfer-encoding-test.patch
 2022-08-25 21:51:48.0 +0300
@@ -0,0 +1,21 @@
+Subject: Relax "post identity body world" test
+Author: Christoph Biedl 
+Date: 2020-12-20
+Bug: https://github.com/tmm1/http_parser.rb/issues/68
+Bug-Debian: https://bugs.debian.org/977750
+
+Technically, disabling "strict" causes the entire test to be
+skipped. Perhaps some day upstream might implement the lenient
+mode.
+
+--- a/spec/support/requests.json
 b/spec/support/requests.json
+@@ -162,7 +162,7 @@
+   "Content-Length": "5"
+ },
+ "body": "World",
+-"strict": true
++"strict": false
+   },
+   {
+ "name": "post - chunked body: all your base are belong to us",
diff -Nru ruby-http-parser.rb-0.6.0/debian/patches/series 
ruby-http-parser.rb-0.6.0/debian/patches/series
--- ruby-http-parser.rb-0.6.0/debian/patches/series 2017-11-16 
00:15:54.0 +0200
+++ ruby-http-parser.rb-0.6.0/debian/patches/series 2022-08-25 
21:52:01.0 +0300
@@ -4,3 +4,4 @@
 0004-Do-not-overload-loadpath.patch
 0005-tweak-to-support-rspec3.patch
 0006-disable-folding-header-test.patch
+0007-disable-identity-transfer-encoding-test.patch
___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#1018108: buster-pu: package ruby-hiredis/0.6.1-2+deb10u1

2022-08-25 Thread Adrian Bunk
Package: release.debian.org
Severity: normal
Tags: buster
User: release.debian@packages.debian.org
Usertags: pu
X-Debbugs-Cc: Debian Ruby Extras Maintainers 
;

  * Skip more EAGAIN related tests. (Closes: #988023)

debian/patches/disable-no-eagain-test.patch was updated to the
version in 0.6.3-2, fixing the FTBFS.

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#1007000: thin FTBFS on IPV6-only buildds

2022-03-10 Thread Adrian Bunk
Source: thin
Version: 1.8.0-1
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=thin=amd64=1.8.0-1%2Bb2=1646907946=0

...
Thin::Server robustness
#>/spec/spec_helper.rb:191 run> 
terminated with exception (report_on_exception is true):
/usr/lib/ruby/vendor_ruby/eventmachine.rb:532:in `start_tcp_server': no 
acceptor (port is in use or requires root privileges) (RuntimeError)
from /usr/lib/ruby/vendor_ruby/eventmachine.rb:532:in `start_server'
from /<>/lib/thin/backends/tcp_server.rb:16:in `connect'
from /<>/lib/thin/backends/base.rb:65:in `block in start'
from /usr/lib/ruby/vendor_ruby/eventmachine.rb:196:in `run_machine'
from /usr/lib/ruby/vendor_ruby/eventmachine.rb:196:in `run'
from /<>/lib/thin/backends/base.rb:75:in `start'
from /<>/lib/thin/server.rb:162:in `start'
from /<>/spec/spec_helper.rb:191:in `block in start_server'
E: Build killed with signal TERM after 150 minutes of inactivity

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#1005178: gitlab/experimental: binary-any FTBFS

2022-02-08 Thread Adrian Bunk
Source: gitlab
Version: 14.6.4+ds1-1
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/logs.php?pkg=gitlab=14.6.4%2Bds1-1

...
dh_install -XLICENSE -O--package=gitlab-workhorse
dh_install: warning: Cannot find (any matches for) "debian/tmp/usr/bin" (tried 
in ., debian/tmp)

dh_install: warning: gitlab-workhorse missing files: debian/tmp/usr/bin
dh_install: error: missing files, aborting
make[1]: *** [debian/rules:35: override_dh_install] Error 25

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#1004460: ruby-html-proofer accesses the internet during the build

2022-01-27 Thread Adrian Bunk
Source: ruby-html-proofer
Version: 3.19.2-2
Severity: serious
Tags: ftbfs

https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/amd64/ruby-html-proofer.html
https://buildd.debian.org/status/fetch.php?pkg=ruby-html-proofer=all=3.19.2-3=1643324945=0

...
Failures:

  1) Command test works with as-links
 Failure/Error: expect(output).to 
match('1 failure')
 
   expected "Running [\"LinkCheck\"] on [\"www.github.com\", 
\"foofoofoo.biz\"]... \n\n\nChecking 2 external link...message (if any) from 
the server is: Couldn't connect to server\n\nHTML-Proofer found 2 failures!\n" 
to match "1 failure"
   Diff:
   @@ -1,16 +1,31 @@
   -1 failure
   +Running ["LinkCheck"] on ["www.github.com", 
"foofoofoo.biz"]... 
   +
   +
   +Checking 2 external links...
   +
   +- 
   +  *  External link http://foofoofoo.biz/ failed: response 
code 0 means something's wrong.
   + It's possible libcurl couldn't connect to 
the server or perhaps the request timed out.
   + Sometimes, making too many requests at once 
also breaks things.
   + Either way, the return message (if any) from 
the server is: Couldn't resolve host name
   +  *  External link http://www.github.com/ failed: 
response code 0 means something's wrong.
   + It's possible libcurl couldn't connect to 
the server or perhaps the request timed out.
   + Sometimes, making too many requests at once 
also breaks things.
   + Either way, the return message (if any) from 
the server is: Couldn't connect to server
   +
   +HTML-Proofer found 2 failures!
   
 # ./spec/html-proofer/command_spec.rb:8:in `block (2 levels) in '

Finished in 29.48 seconds (files took 1.11 seconds to load)
289 examples, 1 failure, 2 pending

Failed examples:

rspec ./spec/html-proofer/command_spec.rb:6 # Command test works 
with as-links

Randomized with seed 53943

/usr/bin/ruby2.7 
-I/usr/share/rubygems-integration/all/gems/rspec-support-3.10.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/lib
 /usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/exe/rspec --pattern 
./spec/\*\*/\*_spec.rb --format documentation failed
ERROR: Test "ruby2.7" failed. Exiting.
dh_auto_install: error: dh_ruby --install 
/<>/debian/ruby-html-proofer returned exit code 1
make: *** [debian/rules:8: binary-indep] Error 25

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#1000649: ruby-jaeger-client FTBFS on IPV6-only buildds

2021-11-26 Thread Adrian Bunk
Source: ruby-jaeger-client
Version: 1.2.0-1
Severity: serious
Tags: ftbfs
Control: block 998006 by -1

https://buildd.debian.org/status/logs.php?pkg=ruby-jaeger-client=all

...
Failures:

  1) Jaeger::Encoders::ThriftEncoder without custom tags has ip
 Failure/Error: expect(ip_tag.vStr).to be_a(String)

 NoMethodError:
   undefined method `vStr' for nil:NilClass
 # ./spec/jaeger/encoders/thrift_encoder_spec.rb:40:in `block (3 levels) in 
'

Finished in 0.30993 seconds (files took 0.58969 seconds to load)
187 examples, 1 failure
...


Same problem in reproducible builds:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-jaeger-client.html

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#999650: ruby-oily-png FTBFS on 32bit

2021-11-14 Thread Adrian Bunk
Source: ruby-oily-png
Version: 1.2.1~dfsg-2
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/package.php?p=ruby-oily-png

...
Failures:

  1) OilyPNG::Color#compose_quick should use the background color as is when a 
fully transparent pixel is given as foreground color
 Failure/Error: expect(compose_quick(@fully_transparent, @white)).to 
be(@white)

   expected # => 4294967295
got # => 4294967295

   Compared using equal?, which compares object identity,
   but expected and actual are not the same object. Use
   `expect(actual).to eq(expected)` if you don't care about
   object identity in this example.
 # ./spec/color_spec.rb:24:in `block (3 levels) in '

  2) OilyPNG::Color#compose_quick should compose pixels correctly
 Failure/Error: expect(compose_quick(@non_opaque, @white)).to be(0x9fc2d6ff)

   expected # => 2680346367
got # => 2680346367

   Compared using equal?, which compares object identity,
   but expected and actual are not the same object. Use
   `expect(actual).to eq(expected)` if you don't care about
   object identity in this example.
 # ./spec/color_spec.rb:28:in `block (3 levels) in '

  3) OilyPNG::Color#compose_quick should compose colors exactly the same as 
ChunkyPNG
 Failure/Error: expect(compose_quick(fg, bg)).to 
be(ChunkyPNG::Color.compose_quick(fg, bg))

   expected # => 2126858483
got # => 2126858483

   Compared using equal?, which compares object identity,
   but expected and actual are not the same object. Use
   `expect(actual).to eq(expected)` if you don't care about
   object identity in this example.
 # ./spec/color_spec.rb:33:in `block (3 levels) in '

Finished in 0.36245 seconds (files took 0.22531 seconds to load)
146 examples, 3 failures, 18 pending

Failed examples:

rspec ./spec/color_spec.rb:23 # OilyPNG::Color#compose_quick should use the 
background color as is when a fully transparent pixel is given as foreground 
color
rspec ./spec/color_spec.rb:27 # OilyPNG::Color#compose_quick should compose 
pixels correctly
rspec ./spec/color_spec.rb:31 # OilyPNG::Color#compose_quick should compose 
colors exactly the same as ChunkyPNG

/usr/bin/ruby2.7 
-I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib
 /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/exe/rspec --pattern 
./spec/\*\*/\*_spec.rb --format documentation failed
ERROR: Test "ruby2.7" failed. Exiting.
dh_auto_install: error: dh_ruby --install 
/<>/ruby-oily-png-1.2.1\~dfsg/debian/ruby-oily-png returned exit code 
1
make: *** [debian/rules:8: binary-arch] Error 25

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#998202: unicorn: test failure with ruby 3.0 as supported version

2021-10-31 Thread Adrian Bunk
Source: unicorn
Version: 5.5.3-1
Severity: serious
Tags: ftbfs bookworm sid
Control: close -1 6.0.0-1

https://buildd.debian.org/status/logs.php?pkg=unicorn=5.5.3-1%2Bb4

...
===
Failure: test_client_malformed_body(WebServerTest)
/<>/test/unit/test_server.rb:178:in `test_client_malformed_body'
 175: assert_equal 'hello!\n', next_client
 176: lines = File.readlines("test_stderr.#$$.log")
 177: lines = lines.grep(/^Unicorn::HttpParserError: .* true$/)
  => 178: assert_equal 1, lines.size
 179:   end
 180: 
 181:   def do_test(string, chunk, close_after=nil, shutdown_delay=0)
<1> expected but was
<0>
===
.E
===
Error: test_client_shutdown_writes(WebServerTest): Errno::EAGAIN: Resource 
temporarily unavailable
/<>/test/unit/test_server.rb:116:in `syswrite'
/<>/test/unit/test_server.rb:116:in `test_client_shutdown_writes'
 113: sock.syswrite("\r\n")
 114: sock.syswrite("%x\r\n" % [ bs ])
 115: sock.syswrite("F" * bs)
  => 116: sock.syswrite("\r\n0\r\nX-")
 117: "Foo: bar\r\n\r\n".each_byte do |x|
 118:   sock.syswrite x.chr
 119:   sleep 0.05
===
...
Finished in 14.218088077 seconds.
---
17 tests, 30 assertions, 1 failures, 1 errors, 0 pendings, 0 omissions, 0 
notifications
88.2353% passed
---
1.20 tests/s, 2.11 assertions/s
ERROR: Test "ruby3.0" failed. Exiting.
dh_auto_install: error: dh_ruby --install /<>/debian/unicorn 
returned exit code 1
make: *** [debian/rules:6: binary-arch] Error 25
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit 
status 2


This seems to be already fixed in the version in experimental.

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#998097: ruby-eventmachine FTBFS on IPV6-only buildds and accesses the internet during the build

2021-10-30 Thread Adrian Bunk
Source: ruby-eventmachine
Severity: serious
Tags: ftbfs

FTBFS on IPV6-only buildds:

https://buildd.debian.org/status/fetch.php?pkg=ruby-eventmachine=amd64=1.3~pre20201020-b50c135-3=1633500476=0
https://buildd.debian.org/status/fetch.php?pkg=ruby-eventmachine=i386=1.3~pre20201020-b50c135-4%2Bb1=1635578996=0

FTBFS due to attempted DNS:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-eventmachine.html

...
===
Failure: test_nameserver(TestResolver):
   was expected to be kind_of?
   but was
  .
/build/1st/ruby-eventmachine-1.3~pre20201020-b50c135/tests/test_resolver.rb:19:in
 `test_nameserver'
 16:   end
 17: 
 18:   def test_nameserver
  => 19: assert_kind_of(String, EM::DNS::Resolver.nameserver)
 20:   end
 21: 
 22:   def test_nameservers
===
...

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#997819: mikutter: Depends: ruby-diva (< 1.1) but 1.1.0-1 is to be installed

2021-10-25 Thread Adrian Bunk
Package: mikutter
Version: 4.1.3+dfsg1-1
Severity: serious
Tags: bookworm sid

The following packages have unmet dependencies:
 mikutter : Depends: ruby-diva (< 1.1) but 1.1.0-1 is to be installed

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#995815: ruby-eventmachine FTBFS on IPV6-only buildds

2021-10-06 Thread Adrian Bunk
Source: ruby-eventmachine
Version: 1.3~pre20190820-g10fb0c4-3
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/logs.php?pkg=ruby-eventmachine=amd64

...
TestResolver:
  test_garbage: F
===
Failure: test_garbage(TestResolver)
/<>/tests/test_resolver.rb:58:in `test_garbage'
 55:   end
 56:
 57:   def test_garbage
  => 58: assert_raises( ArgumentError ) {
 59:   EM.run {
 60: EM::DNS::Resolver.resolve 123
 61:   }

 expected but was
)
...
Finished in 8.026344954 seconds.
---
274 tests, 3490 assertions, 2 failures, 24 errors, 0 pendings, 10 omissions, 0 
notifications
90.1515% passed
---
34.14 tests/s, 434.82 assertions/s
rake aborted!
Command failed with status (1): [ruby -w -I"tests" 
/usr/share/rubygems-integration/all/gems/rake-13.0.3/lib/rake/rake_test_loader.rb
 "tests/jruby/test_jeventmachine.rb" "tests/test_attach.rb" 
"tests/test_basic.rb" "tests/test_channel.rb" "tests/test_completion.rb" 
"tests/test_connection_count.rb" "tests/test_connection_write.rb" 
"tests/test_defer.rb" "tests/test_deferrable.rb" "tests/test_epoll.rb" 
"tests/test_error_handler.rb" "tests/test_exc.rb" "tests/test_file_watch.rb" 
"tests/test_fork.rb" "tests/test_futures.rb" "tests/test_handler_check.rb" 
"tests/test_hc.rb" "tests/test_httpclient.rb" "tests/test_httpclient2.rb" 
"tests/test_inactivity_timeout.rb" "tests/test_io_streamer.rb" 
"tests/test_ipv4.rb" "tests/test_ipv6.rb" "tests/test_iterator.rb" 
"tests/test_kb.rb" "tests/test_keepalive.rb" "tests/test_line_protocol.rb" 
"tests/test_ltp.rb" "tests/test_ltp2.rb" "tests/test_many_fds.rb" 
"tests/test_next_tick.rb" "tests/test_object_protocol.rb" "tests/test_pause.rb" 
"tests/test_pending_connect_timeout.rb" "tests/test_pool.rb" 
"tests/test_process_watch.rb" "tests/test_processes.rb" 
"tests/test_proxy_connection.rb" "tests/test_pure.rb" "tests/test_queue.rb" 
"tests/test_resolver.rb" "tests/test_running.rb" "tests/test_sasl.rb" 
"tests/test_send_file.rb" "tests/test_servers.rb" 
"tests/test_shutdown_hooks.rb" "tests/test_smtpclient.rb" 
"tests/test_smtpserver.rb" "tests/test_sock_opt.rb" "tests/test_spawn.rb" 
"tests/test_ssl_args.rb" "tests/test_ssl_dhparam.rb" 
"tests/test_ssl_ecdh_curve.rb" "tests/test_ssl_extensions.rb" 
"tests/test_ssl_methods.rb" "tests/test_ssl_protocols.rb" 
"tests/test_ssl_verify.rb" "tests/test_stomp.rb" "tests/test_system.rb" 
"tests/test_threaded_resource.rb" "tests/test_tick_loop.rb" 
"tests/test_timers.rb" "tests/test_ud.rb" "tests/test_unbind_reason.rb" -v]
/usr/share/rubygems-integration/all/gems/rake-13.0.3/exe/rake:27:in `'
Tasks: TOP => default
(See full trace by running task with --trace)
ERROR: Test "ruby2.7" failed. Exiting.
dh_auto_install: error: dh_ruby --install 
/<>/ruby-eventmachine-1.3\~pre20201020-b50c135/debian/ruby-eventmachine
 returned exit code 1
make[1]: *** [debian/rules:13: override_dh_auto_install] Error 25

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#995716: ruby3.0 accesses the internet during the build

2021-10-04 Thread Adrian Bunk
Source: ruby3.0
Version: 3.0.2-2
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=ruby3.0=amd64=3.0.2-2=1633362344=0

...
  1) Failure:
TestSocket_TCPSocket#test_initialize_connect_timeout 
[/<>/test/socket/test_tcp.rb:73]:
[Errno::ETIMEDOUT] exception expected, not #.

Finished tests in 791.435806s, 26.6073 tests/s, 3379.8319 assertions/s.
21058 tests, 2674920 assertions, 1 failures, 0 errors, 103 skips

ruby -v: ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x86_64-linux-gnu]
make[2]: *** [uncommon.mk:800: yes-test-all] Error 1



The FTBFS is on an IPV6-only buildd, but this is forbidden
internet accesss during the build in any case.

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#992786: passenger uses many vendored libraries

2021-08-25 Thread Adrian Bunk
On Mon, Aug 23, 2021 at 08:18:42AM -0400, Michael Lazin wrote:
> I am new to this list and would like to get involved, but I am a relative
> beginner in programming.   I understand from looking at this CVE that it is
> triggered by a particular type of API call, which is probably unlikely in
> the wild, unless prior recon has been done and there is already a threat
> actor inside.  The threat is less than six.  I work in security and I have
> seen many environments where threats this low are not patched.
>...

Debian has already issued a security advisory for this specific 
vulnerabily for the libuv1 package (and sent to the wrong list):
https://www.debian.org/security/2021/dsa-4936

My bug report was about passenger having copies of libraries that might
also be vulnerable to CVEs like for example this one.

> If I would
> have time and would want to volunteer help, can someone instruct me how to
> get started?  Thank you in advance. I apologize if I am making noise on the
> list, I just signed up.  I thought QA would be an easy way to get started
> in the Debian community.  Thanks.

That's appreciated.

General information:
https://www.debian.org/intro/help

The debian-mentors mailing list would be a good starting point for 
helping other contributors with problems packaging and maintaining 
software in Debian.

> Michael Lazin
>...

cu
Adrian

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#992786: passenger uses many vendored libraries

2021-08-23 Thread Adrian Bunk
Source: passenger
Severity: serious

passenger-5.0.30/src/cxx_supportlib/vendor-copy:
adhoc_lve.h  libcurl  libuv  nghttp2  utf8  utf8.h

passenger-5.0.30/src/cxx_supportlib/vendor-modified:
SmallVector.h  jsoncpp  modp_b64.cpp  modp_b64_data.h
boost  libevmodp_b64.hpsg_sysqueue.h

passenger-6.0.10/src/cxx_supportlib/vendor-copy:
adhoc_lve.h  libuv  utf8  utf8.h  websocketpp

passenger-6.0.10/src/cxx_supportlib/vendor-modified:
boostlibev modp_b64.h   modp_b64_strict_aliasing.cpp
jsoncpp  modp_b64.cpp  modp_b64_data.h  psg_sysqueue.h


The problem is that these vendored copies seem to actually be used.

Does for example CVE-2021-22918 in libuv1 need fixing in passenger?

The security team is Cc'ed, and in a better position to suggest
how this package should be handled.

Related, passenger is in security-tracker/data/packages/removed-packages
(it was renamed to ruby-passenger and then renamed back).

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#991015: Acknowledgement (cannot execute due to incorrect shebang line)

2021-07-17 Thread Adrian Bunk
On Fri, Jul 16, 2021 at 11:11:44AM -0300, Antonio Terceiro wrote:
> On Tue, Jul 13, 2021 at 12:48:49PM +0300, Adrian Bunk wrote:
> > On Mon, Jul 12, 2021 at 09:10:15PM -0400, Ryan Kavanagh wrote:
> > > This bug seems to be, in part, due to a potentially (?) broken ruby
> > > upgrade behaviour. I've been running unstable on this laptop for ~6
> > > years, but still had
> > > 
> > > ii  ruby2.1 [ruby-interpreter]  2.1.5-4
> > > ii  ruby2.2 [ruby-interpreter]  2.2.4-1
> > > 
> > > installed as my only ruby interpreters. These are no longer available in
> > > unstable, and ruby2.1 was last available in:
> > > 
> > > ruby2.1| 2.1.5-2+deb8u3 | oldoldstable | source, amd64, armel, armhf, 
> > > i386
> > > 
> > > Will users upgrading from buster to bullseye will encounter a similar
> > > issue if they've dist-upgraded from jessie to stretch to buster?
> >
> > The problem is the following in the dependencies:
> >   Depends: ruby | ruby-interpreter, ...
> > 
> > The /usr/bin/ruby symlink is in the ruby package,
> > the alternative dependency ruby-interpreter is
> > therefore wrong.
> 
> We noticed that a while ago, and ruby2.2 was the last of the rubyX.Y
> packages to actually provide `ruby-interpreter`.

Thanks for this information.

> At this point, there are 900+ packages that still depend on `ruby |
> ruby-interpreter`, so this isn't something we can easily fix. I will
> submit a lintian check for this to get eventually fixed, but it will
> take a while.
>...

~ 90% of these seem to be Ruby modules, it is not obvious to me that
"ruby | ruby-interpreter" is even a bug for these.

A bookworm MBF for the small part that are non-interpreter packages 
might be an option?

cu
Adrian

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#991015: Acknowledgement (cannot execute due to incorrect shebang line)

2021-07-13 Thread Adrian Bunk
On Mon, Jul 12, 2021 at 09:10:15PM -0400, Ryan Kavanagh wrote:
> This bug seems to be, in part, due to a potentially (?) broken ruby
> upgrade behaviour. I've been running unstable on this laptop for ~6
> years, but still had
> 
> ii  ruby2.1 [ruby-interpreter]  2.1.5-4
> ii  ruby2.2 [ruby-interpreter]  2.2.4-1
> 
> installed as my only ruby interpreters. These are no longer available in
> unstable, and ruby2.1 was last available in:
> 
> ruby2.1| 2.1.5-2+deb8u3 | oldoldstable | source, amd64, armel, armhf, i386
> 
> Will users upgrading from buster to bullseye will encounter a similar
> issue if they've dist-upgraded from jessie to stretch to buster?

The problem is the following in the dependencies:
  Depends: ruby | ruby-interpreter, ...

The /usr/bin/ruby symlink is in the ruby package,
the alternative dependency ruby-interpreter is
therefore wrong.

cu
Adrian

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#988028: ruby-riddle FTBFS in buster: Mysql2::Error: Load data local infile forbidden

2021-05-03 Thread Adrian Bunk
Source: ruby-riddle
Version: 2.3.1-1
Severity: serious
Tags: ftbfs
Control: fixed -1 2.3.1-2

https://tests.reproducible-builds.org/debian/rb-pkg/buster/amd64/ruby-riddle.html

...
Mysql2::Error:
  Load data local infile forbidden
# ./spec/support/mri_client.rb:17:in `execute'
# ./spec/support/sphinx.rb:49:in `block in setup_mysql'
# ./spec/support/sphinx.rb:127:in `sql_file'
# ./spec/support/sphinx.rb:48:in `setup_mysql'
# ./spec/spec_helper.rb:14:in `block in '
# ./spec/spec_helper.rb:10:in `'
# ./spec/unit/riddle_spec.rb:3:in `'
No examples found.


Finished in 0.00081 seconds (files took 13.24 seconds to load)
0 examples, 0 failures, 36 errors occurred outside of examples

2022-04-29 17:43:21 0 [Note] /usr/sbin/mysqld (initiated by: [root] @ localhost 
[]): Normal shutdown
2022-04-29 17:43:21 0 [Note] InnoDB: FTS optimize thread exiting.
2022-04-29 17:43:21 0 [Note] InnoDB: Starting shutdown...
2022-04-29 17:43:21 0 [Note] InnoDB: Dumping buffer pool(s) to 
/tmp/tmp.UhFzWWHbSJ/ib_buffer_pool
2022-04-29 17:43:21 0 [Note] InnoDB: Buffer pool(s) dump completed at 220429 
17:43:21
2022-04-29 17:43:23 0 [Note] InnoDB: Shutdown completed; log sequence number 
2174028; transaction id 909
2022-04-29 17:43:23 0 [Note] InnoDB: Removed temporary tablespace data file: 
"ibtmp1"
2022-04-29 17:43:23 0 [Note] /usr/sbin/mysqld: Shutdown complete

rake aborted!
Command failed with status (1): [./debian/start_mysqld_and_run.sh ruby2.5 -...]
/build/ruby-riddle-2.3.1/debian/ruby-tests.rake:5:in `block in '
Tasks: TOP => default
(See full trace by running task with --trace)
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install /build/ruby-riddle-2.3.1/debian/ruby-riddle 
returned exit code 1
make: *** [debian/rules:6: binary] Error 1

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#988023: ruby-hiredis FTBFS in buster

2021-05-03 Thread Adrian Bunk
Source: ruby-hiredis
Version: 0.6.1-2
Severity: serious
Tags: ftbfs
Control: fixed -1 0.6.3-2

https://tests.reproducible-builds.org/debian/rb-pkg/buster/amd64/ruby-hiredis.html

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

RUBYLIB=/build/ruby-hiredis-0.6.1/debian/ruby-hiredis/usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/2.5.0:/build/ruby-hiredis-0.6.1/debian/ruby-hiredis/usr/lib/ruby/vendor_ruby:.
 
GEM_PATH=debian/ruby-hiredis/usr/share/rubygems-integration/2.5.0:/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
Run options: --seed 55740

# Running:

...DEPRECATED: Use assert_nil if expecting nil from 
/build/ruby-hiredis-0.6.1/test/reader_test.rb:104. This will fail in Minitest 6.
...DEPRECATED: Use assert_nil if expecting nil from 
/build/ruby-hiredis-0.6.1/test/reader_test.rb:34. This will fail in Minitest 6.
...E.# terminated with exception (report_on_exception is true):
/usr/lib/ruby/2.5.0/socket.rb:1313:in `__accept_nonblock': closed stream 
(IOError)
from /usr/lib/ruby/2.5.0/socket.rb:1313:in `accept_nonblock'
from /build/ruby-hiredis-0.6.1/test/connection_test.rb:26:in `run'
from /build/ruby-hiredis-0.6.1/test/connection_test.rb:69:in `block in 
listen'
EDEPRECATED: Use assert_nil if expecting nil from 
/build/ruby-hiredis-0.6.1/test/reader_test.rb:34. This will fail in Minitest 6.
.DEPRECATED: Use assert_nil if expecting nil from 
/build/ruby-hiredis-0.6.1/test/reader_test.rb:104. This will fail in Minitest 6.
.

Finished in 1.025962s, 44.8360 runs/s, 57.5070 assertions/s.

  1) Error:
ExtConnectionTest#test_recover_from_partial_write:
Errno::EAGAIN: Resource temporarily unavailable
/build/ruby-hiredis-0.6.1/test/connection_test.rb:299:in `flush'
/build/ruby-hiredis-0.6.1/test/connection_test.rb:299:in `block in 
test_recover_from_partial_write'
/build/ruby-hiredis-0.6.1/test/connection_test.rb:73:in `listen'
/build/ruby-hiredis-0.6.1/test/connection_test.rb:289:in 
`test_recover_from_partial_write'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:98:in `block (3 levels) in run'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:195:in `capture_exceptions'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:95:in `block (2 levels) in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:265:in `time_it'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:94:in `block in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:360:in `on_signal'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:211:in `with_info_handler'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:93:in `run'
/usr/lib/ruby/vendor_ruby/minitest.rb:960:in `run_one_method'
/usr/lib/ruby/vendor_ruby/minitest.rb:334:in `run_one_method'
/usr/lib/ruby/vendor_ruby/minitest.rb:321:in `block (2 levels) in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:320:in `each'
/usr/lib/ruby/vendor_ruby/minitest.rb:320:in `block in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:360:in `on_signal'
/usr/lib/ruby/vendor_ruby/minitest.rb:347:in `with_info_handler'
/usr/lib/ruby/vendor_ruby/minitest.rb:319: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'

  2) Error:
ExtConnectionTest#test_read_against_timeout_with_other_thread:
IOError: closed stream
/usr/lib/ruby/2.5.0/socket.rb:1313:in `__accept_nonblock'
/usr/lib/ruby/2.5.0/socket.rb:1313:in `accept_nonblock'
/build/ruby-hiredis-0.6.1/test/connection_test.rb:26:in `run'
/build/ruby-hiredis-0.6.1/test/connection_test.rb:69:in `block in listen'

46 runs, 59 assertions, 0 failures, 2 errors, 0 skips
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install 
/build/ruby-hiredis-0.6.1/debian/ruby-hiredis returned exit code 1
make[1]: *** [debian/rules:18: override_dh_auto_install] Error 1
___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#987687: ruby-excon will FTBFS after Feb 1 2022

2021-04-27 Thread Adrian Bunk
Source: ruby-excon
Version: 0.79.0-1
Severity: serious
Tags: ftbfs

https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/ruby-excon.html

...
I: Current time: Thu May 26 06:05:02 -12 2022
...
  Excon basics verify_hostname (ssl)
+ returns true
response.status - returns 200
SSL_connect returned=1 errno=0 state=error: certificate verify failed 
(certificate has expired) (OpenSSL::SSL::SSLError) Unable to verify 
certificate. This may be an issue with the remote host or with Excon. Excon has 
certificates bundled, but these can be customized:

`Excon.defaults[:ssl_ca_path] = path_to_certs`
`ENV['SSL_CERT_DIR'] = path_to_certs`
`Excon.defaults[:ssl_ca_file] = path_to_file`
`ENV['SSL_CERT_FILE'] = path_to_file`
`Excon.defaults[:ssl_verify_callback] = callback`
(see OpenSSL::SSL::SSLContext#verify_callback)
or:
`Excon.defaults[:ssl_verify_peer] = false` (less secure).
 (Excon::Error::Certificate)
  /build/ruby-excon-0.79.0/lib/excon/ssl_socket.rb:131:in `connect_nonblock'
  /build/ruby-excon-0.79.0/lib/excon/ssl_socket.rb:131:in `initialize'
  /build/ruby-excon-0.79.0/lib/excon/connection.rb:471:in `new'
  /build/ruby-excon-0.79.0/lib/excon/connection.rb:471:in `socket'
  /build/ruby-excon-0.79.0/lib/excon/connection.rb:118:in `request_call'
  /build/ruby-excon-0.79.0/lib/excon/middlewares/mock.rb:57:in 
`request_call'
  /build/ruby-excon-0.79.0/lib/excon/middlewares/instrumentor.rb:34:in 
`request_call'
  /build/ruby-excon-0.79.0/lib/excon/middlewares/idempotent.rb:19:in 
`request_call'
  /build/ruby-excon-0.79.0/lib/excon/middlewares/base.rb:22:in 
`request_call'
  /build/ruby-excon-0.79.0/lib/excon/middlewares/base.rb:22:in 
`request_call'
  /build/ruby-excon-0.79.0/lib/excon/connection.rb:283:in `request'
  /build/ruby-excon-0.79.0/tests/basic_tests.rb:151:in `block (3 levels) in 
'
  
/usr/share/rubygems-integration/all/gems/shindo-0.3.8/lib/shindo.rb:140:in 
`instance_eval'
  
/usr/share/rubygems-integration/all/gems/shindo-0.3.8/lib/shindo.rb:140:in 
`assert'
  
/usr/share/rubygems-integration/all/gems/shindo-0.3.8/lib/shindo.rb:112:in 
`returns'
  /build/ruby-excon-0.79.0/tests/basic_tests.rb:150:in `block (2 levels) in 
'
  /build/ruby-excon-0.79.0/tests/test_helper.rb:259:in `with_rackup'
  /build/ruby-excon-0.79.0/tests/basic_tests.rb:142:in `block in '
  /usr/share/rubygems-integration/all/gems/shindo-0.3.8/lib/shindo.rb:79:in 
`instance_eval'
  /usr/share/rubygems-integration/all/gems/shindo-0.3.8/lib/shindo.rb:79:in 
`tests'
  /usr/share/rubygems-integration/all/gems/shindo-0.3.8/lib/shindo.rb:38:in 
`initialize'
  /usr/share/rubygems-integration/all/gems/shindo-0.3.8/lib/shindo.rb:13:in 
`new'
  /usr/share/rubygems-integration/all/gems/shindo-0.3.8/lib/shindo.rb:13:in 
`tests'
  /build/ruby-excon-0.79.0/tests/basic_tests.rb:141:in `'
  
/usr/share/rubygems-integration/all/gems/shindo-0.3.8/lib/shindo/bin.rb:61:in 
`load'
  
/usr/share/rubygems-integration/all/gems/shindo-0.3.8/lib/shindo/bin.rb:61:in 
`block (2 levels) in run_in_thread'
  
/usr/share/rubygems-integration/all/gems/shindo-0.3.8/lib/shindo/bin.rb:58:in 
`each'
  
/usr/share/rubygems-integration/all/gems/shindo-0.3.8/lib/shindo/bin.rb:58:in 
`block in run_in_thread'
...
  357 failed, 12 pending, 691 succeeded in 34.135392980134036 seconds

rake aborted!

/usr/share/rubygems-integration/all/gems/shindo-0.3.8/lib/shindo/rake.rb:11:in 
`block in initialize'
/usr/share/rubygems-integration/all/gems/rake-13.0.3/exe/rake:27:in `'
Tasks: TOP => default => tests
(See full trace by running task with --trace)
ERROR: Test "ruby2.7" failed. Exiting.
dh_auto_install: error: dh_ruby --install 
/build/ruby-excon-0.79.0/debian/ruby-excon returned exit code 1
make: *** [debian/rules:7: binary] Error 25

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers


[DRE-maint] Bug#987650: ruby-rugged requires internet access during the build

2021-04-26 Thread Adrian Bunk
Source: ruby-rugged
Version: 1.1.0+ds-3
Severity: serious
Tags: ftbfs

https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/ruby-rugged.html

...
  1) Error:
OnlineLsTest#test_ls_over_https:
Rugged::NetworkError: failed to resolve address for github.com: Temporary 
failure in name resolution
/build/ruby-rugged-1.1.0+ds/test/online/ls_test.rb:22:in `ls'
/build/ruby-rugged-1.1.0+ds/test/online/ls_test.rb:22:in `each'
/build/ruby-rugged-1.1.0+ds/test/online/ls_test.rb:22:in `to_a'
/build/ruby-rugged-1.1.0+ds/test/online/ls_test.rb:22:in 
`test_ls_over_https'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:98:in `block (3 levels) in run'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:195:in `capture_exceptions'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:95:in `block (2 levels) in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:270:in `time_it'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:94:in `block in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:365:in `on_signal'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:211:in `with_info_handler'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:93:in `run'
/usr/lib/ruby/vendor_ruby/minitest.rb:1029:in `run_one_method'
/usr/lib/ruby/vendor_ruby/minitest.rb:339:in `run_one_method'
/usr/lib/ruby/vendor_ruby/minitest.rb:326:in `block (2 levels) in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:325:in `each'
/usr/lib/ruby/vendor_ruby/minitest.rb:325:in `block in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:365:in `on_signal'
/usr/lib/ruby/vendor_ruby/minitest.rb:352:in `with_info_handler'
/usr/lib/ruby/vendor_ruby/minitest.rb:324:in `run'
/usr/lib/ruby/vendor_ruby/minitest.rb:164:in `block in __run'
/usr/lib/ruby/vendor_ruby/minitest.rb:164:in `map'
/usr/lib/ruby/vendor_ruby/minitest.rb:164:in `__run'
/usr/lib/ruby/vendor_ruby/minitest.rb:141:in `run'
/usr/lib/ruby/vendor_ruby/minitest.rb:68:in `block in autorun'

  2) Error:
OnlineFetchTest#test_fetch_over_https:
Rugged::NetworkError: failed to resolve address for github.com: Temporary 
failure in name resolution

/build/ruby-rugged-1.1.0+ds/debian/ruby-rugged/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0/gems/rugged-1.1.0/lib/rugged/repository.rb:257:in
 `fetch'

/build/ruby-rugged-1.1.0+ds/debian/ruby-rugged/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0/gems/rugged-1.1.0/lib/rugged/repository.rb:257:in
 `fetch'
/build/ruby-rugged-1.1.0+ds/test/online/fetch_test.rb:20:in 
`test_fetch_over_https'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:98:in `block (3 levels) in run'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:195:in `capture_exceptions'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:95:in `block (2 levels) in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:270:in `time_it'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:94:in `block in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:365:in `on_signal'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:211:in `with_info_handler'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:93:in `run'
/usr/lib/ruby/vendor_ruby/minitest.rb:1029:in `run_one_method'
/usr/lib/ruby/vendor_ruby/minitest.rb:339:in `run_one_method'
/usr/lib/ruby/vendor_ruby/minitest.rb:326:in `block (2 levels) in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:325:in `each'
/usr/lib/ruby/vendor_ruby/minitest.rb:325:in `block in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:365:in `on_signal'
/usr/lib/ruby/vendor_ruby/minitest.rb:352:in `with_info_handler'
/usr/lib/ruby/vendor_ruby/minitest.rb:324:in `run'
/usr/lib/ruby/vendor_ruby/minitest.rb:164:in `block in __run'
/usr/lib/ruby/vendor_ruby/minitest.rb:164:in `map'
/usr/lib/ruby/vendor_ruby/minitest.rb:164:in `__run'
/usr/lib/ruby/vendor_ruby/minitest.rb:141:in `run'
/usr/lib/ruby/vendor_ruby/minitest.rb:68:in `block in autorun'

  3) Error:
OnlineFetchTest#test_fetch_over_https_with_certificate_callback:
Rugged::NetworkError: failed to resolve address for github.com: Temporary 
failure in name resolution

/build/ruby-rugged-1.1.0+ds/debian/ruby-rugged/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0/gems/rugged-1.1.0/lib/rugged/repository.rb:257:in
 `fetch'

/build/ruby-rugged-1.1.0+ds/debian/ruby-rugged/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0/gems/rugged-1.1.0/lib/rugged/repository.rb:257:in
 `fetch'
/build/ruby-rugged-1.1.0+ds/test/online/fetch_test.rb:36:in 
`test_fetch_over_https_with_certificate_callback'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:98:in `block (3 levels) in run'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:195:in `capture_exceptions'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:95:in `block (2 levels) in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:270:in `time_it'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:94:in `block in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:365:in `on_signal'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:211:in 

[DRE-maint] Bug#979432: ruby-rack FTBFS on IPV6-only buildds

2021-02-07 Thread Adrian Bunk
On Sun, Feb 07, 2021 at 06:30:20PM +0100, Chris Hofstaedtler wrote:
> > /usr/lib/ruby/vendor_ruby/eventmachine.rb:532:in `start_tcp_server': no 
> > acceptor (port is in use or requires root privileges) (RuntimeError)
> 
> Please explain what "IPv6-only buildd" actually means. How can one
> reproduce this?

Some buildds no longer have IPV4 connectivity, and the release team 
considers FTBFS on these release critical bugs.

The best information I am aware of is:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=962019#26

> Chris

cu
Adrian

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#982154: trocla FTBFS: test failure

2021-02-06 Thread Adrian Bunk
Source: trocla
Version: 0.2.3-1
Severity: serious
Tags: ftbfs

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/trocla.html

...
Failures:

  1) Trocla::Format::X509 x509 selfsigned is able to create self signed cert 
without being a ca by default
 Failure/Error: expect(verify(cert,cert)).to be false

   expected false
got true
 # ./spec/trocla/formats/x509_spec.rb:47:in `block (3 levels) in '

Finished in 3 minutes 0 seconds (files took 3.63 seconds to load)
168 examples, 1 failure

Failed examples:

rspec ./spec/trocla/formats/x509_spec.rb:34 # Trocla::Format::X509 x509 
selfsigned is able to create self signed cert without being a ca by default

/usr/bin/ruby2.7 
-I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib
 /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/exe/rspec --pattern 
./spec/\*\*/\*_spec.rb failed
ERROR: Test "ruby2.7" failed. Exiting.
dh_auto_install: error: dh_ruby --install /build/1st/trocla-0.2.3/debian/trocla 
returned exit code 1
make[1]: *** [debian/rules:21: override_dh_auto_install] Error 25

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#981902: facterdb: autopkgtest failure

2021-02-04 Thread Adrian Bunk
Source: facterdb
Version: 1.6.0-2
Severity: serious

https://ci.debian.net/data/autopkgtest/testing/amd64/f/facterdb/10218718/log.gz

...
Failures:

  1) FacterDB.facterdb_fact_files returns the deduplicated combination of 
.default_fact_files and .external_fact_files
 Failure/Error: expect(facterdb_fact_files.count).to 
eq(described_class.default_fact_files.count)

   expected: 1577
got: 1702

   (compared using ==)
 # ./spec/facterdb_spec.rb:153:in `block (3 levels) in '

  2) Default Facts 
../../../../../usr/share/rubygems-integration/all/gems/facterdb-1.6.0/facts/2.2/archlinux-x86_64.facts
 contains an ipaddress fact
 Failure/Error: expect(content['ipaddress']).to not_be_nil.and not_be_empty

  expected: not nil
   got: nil

   ...and:

  expected nil to respond to `empty?`
 # ./spec/facts_spec.rb:105:in `block (4 levels) in '

  3) Default Facts 
../../../../../usr/share/rubygems-integration/all/gems/facterdb-1.6.0/facts/3.2/aix-53-powerpc.facts
 contains an ipaddress fact
 Failure/Error: expect(content['ipaddress']).to not_be_nil.and not_be_empty

  expected: not nil
   got: nil

   ...and:

  expected nil to respond to `empty?`
 # ./spec/facts_spec.rb:105:in `block (4 levels) in '

  4) Default Facts 
../../../../../usr/share/rubygems-integration/all/gems/facterdb-1.6.0/facts/3.2/aix-61-powerpc.facts
 contains an ipaddress fact
 Failure/Error: expect(content['ipaddress']).to not_be_nil.and not_be_empty

  expected: not nil
   got: nil

   ...and:

  expected nil to respond to `empty?`
 # ./spec/facts_spec.rb:105:in `block (4 levels) in '

  5) Default Facts 
../../../../../usr/share/rubygems-integration/all/gems/facterdb-1.6.0/facts/3.2/aix-71-powerpc.facts
 contains an ipaddress fact
 Failure/Error: expect(content['ipaddress']).to not_be_nil.and not_be_empty

  expected: not nil
   got: nil

   ...and:

  expected nil to respond to `empty?`
 # ./spec/facts_spec.rb:105:in `block (4 levels) in '

  6) Default Facts 
../../../../../usr/share/rubygems-integration/all/gems/facterdb-1.6.0/facts/1.7/archlinux-x86_64.facts
 contains an ipaddress fact
 Failure/Error: expect(content['ipaddress']).to not_be_nil.and not_be_empty

  expected: not nil
   got: nil

   ...and:

  expected nil to respond to `empty?`
 # ./spec/facts_spec.rb:105:in `block (4 levels) in '

  7) Default Facts 
../../../../../usr/share/rubygems-integration/all/gems/facterdb-1.6.0/facts/2.1/archlinux-x86_64.facts
 contains an ipaddress fact
 Failure/Error: expect(content['ipaddress']).to not_be_nil.and not_be_empty

  expected: not nil
   got: nil

   ...and:

  expected nil to respond to `empty?`
 # ./spec/facts_spec.rb:105:in `block (4 levels) in '

  8) Default Facts 
../../../../../usr/share/rubygems-integration/all/gems/facterdb-1.6.0/facts/2.3/archlinux-x86_64.facts
 contains an ipaddress fact
 Failure/Error: expect(content['ipaddress']).to not_be_nil.and not_be_empty

  expected: not nil
   got: nil

   ...and:

  expected nil to respond to `empty?`
 # ./spec/facts_spec.rb:105:in `block (4 levels) in '

  9) Default Facts 
../../../../../usr/share/rubygems-integration/all/gems/facterdb-1.6.0/facts/3.0/ubuntu-15.10-x86_64.facts
 contains an ipaddress fact
 Failure/Error: expect(content['ipaddress']).to not_be_nil.and not_be_empty

  expected: not nil
   got: nil

   ...and:

  expected nil to respond to `empty?`
 # ./spec/facts_spec.rb:105:in `block (4 levels) in '

  10) Default Facts 
../../../../../usr/share/rubygems-integration/all/gems/facterdb-1.6.0/facts/3.0/ubuntu-15.10-i386.facts
 contains an ipaddress fact
  Failure/Error: expect(content['ipaddress']).to not_be_nil.and not_be_empty

   expected: not nil
got: nil

...and:

   expected nil to respond to `empty?`
  # ./spec/facts_spec.rb:105:in `block (4 levels) in '

  11) Default Facts 
../../../../../usr/share/rubygems-integration/all/gems/facterdb-1.6.0/facts/2.4/archlinux-x86_64.facts
 contains an ipaddress fact
  Failure/Error: expect(content['ipaddress']).to not_be_nil.and not_be_empty

   expected: not nil
got: nil

...and:

   expected nil to respond to `empty?`
  # ./spec/facts_spec.rb:105:in `block (4 levels) in '

  12) Default Facts 
../../../../../usr/share/rubygems-integration/all/gems/facterdb-1.6.0/facts/3.6/pcs-6-x86_64.facts
 contains an ipaddress fact
  Failure/Error: expect(content['ipaddress']).to not_be_nil.and not_be_empty

   expected: not nil
got: nil

...and:

   expected nil to respond to `empty?`
  # ./spec/facts_spec.rb:105:in `block (4 levels) in '

  13) 

[DRE-maint] Bug#981878: ruby-gitlab-pg-query downloads from the internet during the build

2021-02-04 Thread Adrian Bunk
Source: ruby-gitlab-pg-query
Version: 1.3.1-1
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=ruby-gitlab-pg-query=amd64=1.3.1-2=1612462914=0

...
Building native extensions. This could take a while...
current directory: 
/<>/debian/ruby-gitlab-pg-query/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0/gems/gitlab-pg_query-1.3.1/ext/pg_query
["/usr/bin/ruby2.7", "-I", "/usr/lib/ruby/vendor_ruby", "-r", 
"./siteconf20210204-26550-1qve3p5.rb", "extconf.rb"]
ERROR:  Error installing /tmp/d20210204-26547-bcny2z/gitlab-pg_query-1.3.1.gem:
ERROR: Failed to build gem native extension.

current directory: 
/<>/debian/ruby-gitlab-pg-query/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0/gems/gitlab-pg_query-1.3.1/ext/pg_query
/usr/bin/ruby2.7 -I /usr/lib/ruby/vendor_ruby -r 
./siteconf20210204-26550-1qve3p5.rb extconf.rb
Building has failed. See above output for more information on the failure.
extconf failed, exit code 1

Gem files will remain installed in 
/<>/debian/ruby-gitlab-pg-query/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0/gems/gitlab-pg_query-1.3.1
 for inspection.
Results logged to 
/<>/debian/ruby-gitlab-pg-query/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0/extensions/x86_64-linux/2.7.0/gitlab-pg_query-1.3.1/gem_make.out
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/$(RUBY_BASE_NAME)2.7
/usr/lib/ruby/2.7.0/net/http.rb:960:in `initialize': Failed to open TCP 
connection to codeload.github.com:443 (Network is unreachable - connect(2) for 
"codeload.github.com" port 443) (Errno::ENETUNREACH)
from /usr/lib/ruby/2.7.0/net/http.rb:960:in `open'
from /usr/lib/ruby/2.7.0/net/http.rb:960:in `block in connect'
from /usr/lib/ruby/2.7.0/timeout.rb:95:in `block in timeout'
from /usr/lib/ruby/2.7.0/timeout.rb:105:in `timeout'
from /usr/lib/ruby/2.7.0/net/http.rb:958:in `connect'
from /usr/lib/ruby/2.7.0/net/http.rb:943:in `do_start'
from /usr/lib/ruby/2.7.0/net/http.rb:932:in `start'
from /usr/lib/ruby/2.7.0/open-uri.rb:346:in `open_http'
from /usr/lib/ruby/2.7.0/open-uri.rb:764:in `buffer_open'
from /usr/lib/ruby/2.7.0/open-uri.rb:235:in `block in open_loop'
from /usr/lib/ruby/2.7.0/open-uri.rb:233:in `catch'
from /usr/lib/ruby/2.7.0/open-uri.rb:233:in `open_loop'
from /usr/lib/ruby/2.7.0/open-uri.rb:174:in `open_uri'
from /usr/lib/ruby/2.7.0/open-uri.rb:744:in `open'
from /usr/lib/ruby/2.7.0/open-uri.rb:50:in `open'
from extconf.rb:19:in `block in '
from extconf.rb:18:in `open'
from extconf.rb:18:in `'
/usr/lib/ruby/2.7.0/net/http.rb:960:in `initialize': Network is unreachable - 
connect(2) for "codeload.github.com" port 443 (Errno::ENETUNREACH)
from /usr/lib/ruby/2.7.0/net/http.rb:960:in `open'
from /usr/lib/ruby/2.7.0/net/http.rb:960:in `block in connect'
from /usr/lib/ruby/2.7.0/timeout.rb:95:in `block in timeout'
from /usr/lib/ruby/2.7.0/timeout.rb:105:in `timeout'
from /usr/lib/ruby/2.7.0/net/http.rb:958:in `connect'
from /usr/lib/ruby/2.7.0/net/http.rb:943:in `do_start'
from /usr/lib/ruby/2.7.0/net/http.rb:932:in `start'
from /usr/lib/ruby/2.7.0/open-uri.rb:346:in `open_http'
from /usr/lib/ruby/2.7.0/open-uri.rb:764:in `buffer_open'
from /usr/lib/ruby/2.7.0/open-uri.rb:235:in `block in open_loop'
from /usr/lib/ruby/2.7.0/open-uri.rb:233:in `catch'
from /usr/lib/ruby/2.7.0/open-uri.rb:233:in `open_loop'
from /usr/lib/ruby/2.7.0/open-uri.rb:174:in `open_uri'
from /usr/lib/ruby/2.7.0/open-uri.rb:744:in `open'
from /usr/lib/ruby/2.7.0/open-uri.rb:50:in `open'
from extconf.rb:19:in `block in '
from extconf.rb:18:in `open'
from extconf.rb:18:in `'
/usr/lib/ruby/vendor_ruby/gem2deb.rb:54:in `run': /usr/bin/ruby2.7 -S gem 
install --config-file /dev/null --verbose --local --verbose --no-document 
--ignore-dependencies --install-dir 
debian/ruby-gitlab-pg-query/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0 
/tmp/d20210204-26547-bcny2z/gitlab-pg_query-1.3.1.gem (Gem2Deb::CommandFailed)
from /usr/lib/ruby/vendor_ruby/gem2deb/gem_installer.rb:195:in `run_gem'
from /usr/lib/ruby/vendor_ruby/gem2deb/gem_installer.rb:113:in `block 
in install_files_and_build_extensions'
from /usr/lib/ruby/vendor_ruby/gem2deb/gem_installer.rb:61:in `each'
from 

[DRE-maint] Bug#981863: RM: ruby-autoprefixer-rails -- RoQA; binary package moved to src:node-autoprefixer

2021-02-04 Thread Adrian Bunk
Package: ftp.debian.org
Severity: normal

node-autoprefixer (10.1.0.0+dfsg1+~cs14.1.12-1) unstable; urgency=medium

  * Build ruby-autoprefixer binary package (Closes: #978033)
...
 -- Pirate Praveen   Fri, 25 Dec 2020 17:52:20 +0530

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#979432: ruby-rack FTBFS on IPV6-only buildds

2021-01-06 Thread Adrian Bunk
Source: ruby-rack
Version: 2.1.1-5
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/logs.php?pkg=ruby-rack=all

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

RUBYLIB=/<>/debian/ruby-rack/usr/lib/ruby/vendor_ruby:. 
GEM_PATH=/<>/debian/ruby-rack/usr/share/rubygems-integration/all:/var/lib/gems/2.7.0:/usr/local/lib/ruby/gems/2.7.0:/usr/lib/ruby/gems/2.7.0:/usr/lib/x86_64-linux-gnu/ruby/gems/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0
 ruby2.7 -S rake -f debian/ruby-tests.rake
/usr/bin/ruby2.7 -I"lib:test"  
"/usr/share/rubygems-integration/all/gems/rake-13.0.1/lib/rake/rake_test_loader.rb"
 "test/spec_auth_basic.rb" "test/spec_auth_digest.rb" "test/spec_body_proxy.rb" 
"test/spec_builder.rb" "test/spec_cascade.rb" "test/spec_chunked.rb" 
"test/spec_common_logger.rb" "test/spec_conditional_get.rb" 
"test/spec_config.rb" "test/spec_content_length.rb" "test/spec_content_type.rb" 
"test/spec_deflater.rb" "test/spec_directory.rb" "test/spec_etag.rb" 
"test/spec_events.rb" "test/spec_files.rb" "test/spec_handler.rb" 
"test/spec_head.rb" "test/spec_lint.rb" "test/spec_lobster.rb" 
"test/spec_lock.rb" "test/spec_logger.rb" "test/spec_media_type.rb" 
"test/spec_method_override.rb" "test/spec_mime.rb" "test/spec_mock.rb" 
"test/spec_multipart.rb" "test/spec_null_logger.rb" "test/spec_recursive.rb" 
"test/spec_request.rb" "test/spec_response.rb" "test/spec_rewindable_input.rb" 
"test/spec_runtime.rb" "test/spec_sendfile.rb" "test/spec_server.rb" 
"test/spec_session_abstract_id.rb" "test/spec_session_abstract_session_hash.rb" 
"test/spec_session_cookie.rb" "test/spec_session_pool.rb" 
"test/spec_show_exceptions.rb" "test/spec_show_status.rb" "test/spec_static.rb" 
"test/spec_tempfile_reaper.rb" "test/spec_thin.rb" "test/spec_urlmap.rb" 
"test/spec_utils.rb" "test/spec_version.rb" "test/spec_webrick.rb" 
"test/gemloader.rb" 
Cannot load minitest-sprint >= 0
Run options: --seed 3819

# Running:

S.S..S#>/test/spec_thin.rb:17 run> terminated with exception 
(report_on_exception is true):
/usr/lib/ruby/vendor_ruby/eventmachine.rb:532:in `start_tcp_server': no 
acceptor (port is in use or requires root privileges) (RuntimeError)
from /usr/lib/ruby/vendor_ruby/eventmachine.rb:532:in `start_server'
from /usr/lib/ruby/vendor_ruby/thin/backends/tcp_server.rb:16:in 
`connect'
from /usr/lib/ruby/vendor_ruby/thin/backends/base.rb:63:in `block in 
start'
from /usr/lib/ruby/vendor_ruby/eventmachine.rb:196:in `run_machine'
from /usr/lib/ruby/vendor_ruby/eventmachine.rb:196:in `run'
from /usr/lib/ruby/vendor_ruby/thin/backends/base.rb:73:in `start'
from /usr/lib/ruby/vendor_ruby/thin/server.rb:162:in `start'
from /<>/lib/rack/handler/thin.rb:24:in `run'
from /<>/test/spec_thin.rb:18:in `block (3 levels) in '
E#>/test/spec_thin.rb:17 run> 
terminated with exception (report_on_exception is true):
...
1040 runs, 3730 assertions, 0 failures, 8 errors, 3 skips

You have skipped tests. Run with --verbose for details.
rake aborted!
Command failed with status (1): [ruby -I"lib:test"  
"/usr/share/rubygems-integration/all/gems/rake-13.0.1/lib/rake/rake_test_loader.rb"
 "test/spec_auth_basic.rb" "test/spec_auth_digest.rb" "test/spec_body_proxy.rb" 
"test/spec_builder.rb" "test/spec_cascade.rb" "test/spec_chunked.rb" 
"test/spec_common_logger.rb" "test/spec_conditional_get.rb" 
"test/spec_config.rb" "test/spec_content_length.rb" "test/spec_content_type.rb" 
"test/spec_deflater.rb" "test/spec_directory.rb" "test/spec_etag.rb" 
"test/spec_events.rb" "test/spec_files.rb" "test/spec_handler.rb" 
"test/spec_head.rb" "test/spec_lint.rb" "test/spec_lobster.rb" 
"test/spec_lock.rb" "test/spec_logger.rb" "test/spec_media_type.rb" 
"test/spec_method_override.rb" "test/spec_mime.rb" "test/spec_mock.rb" 
"test/spec_multipart.rb" "test/spec_null_logger.rb" "test/spec_recursive.rb" 
"test/spec_request.rb" "test/spec_response.rb" "test/spec_rewindable_input.rb" 
"test/spec_runtime.rb" 

[DRE-maint] Bug#978975: ruby-em-redis FTBFS on IPV6-only buildds

2021-01-01 Thread Adrian Bunk
Source: ruby-em-redis
Version: 0.3.0+gh-2
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=ruby-em-redis=all=0.3.0%2Bgh-2.1=1609255928=0

...
EventMachine::ConnectionError: unable to resolve address: Address family for 
hostname not supported
/usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `connect_server': 
EventMachine::Protocols::Redis - should be able to provide a logger
/usr/lib/ruby/vendor_ruby/eventmachine.rb:679:in `bind_connect'
/usr/lib/ruby/vendor_ruby/eventmachine.rb:655:in `connect'
/<>/lib/em-redis/redis_protocol.rb:321:in `connect'
/<>/spec/redis_commands_spec.rb:9:in `block (2 levels) in 
'
/<>/spec/redis_commands_spec.rb:16:in `block in '
...
90 specifications (32 requirements), 0 failures, 75 errors
ERROR: Test "ruby2.7" failed. Exiting.
dh_auto_install: error: dh_ruby --install 
/<>/ruby-em-redis-0.3.0\+gh/debian/ruby-em-redis returned exit code 1
make[1]: *** [debian/rules:26: override_dh_auto_install] Error 25

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#974102: rubygems accesses the internet during the build

2020-11-09 Thread Adrian Bunk
Source: rubygems
Version: 3.2.0~rc.2-1
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=rubygems=all=3.2.0~rc.2-1=1604947524=0

...
  1) Error:
TestBundledCA#test_accessing_fastly:
Errno::ENETUNREACH: Failed to open TCP connection to 
rubygems.global.ssl.fastly.net:443 (Network is unreachable - connect(2) for 
"rubygems.global.ssl.fastly.net" port 443)
/usr/lib/ruby/2.7.0/net/http.rb:960:in `initialize'
/usr/lib/ruby/2.7.0/net/http.rb:960:in `open'
/usr/lib/ruby/2.7.0/net/http.rb:960:in `block in connect'
/usr/lib/ruby/2.7.0/timeout.rb:95:in `block in timeout'
/usr/lib/ruby/2.7.0/timeout.rb:105:in `timeout'
/usr/lib/ruby/2.7.0/net/http.rb:958:in `connect'
/usr/lib/ruby/2.7.0/net/http.rb:943:in `do_start'
/usr/lib/ruby/2.7.0/net/http.rb:932:in `start'
/usr/lib/ruby/2.7.0/net/http.rb:1483:in `request'
/usr/lib/ruby/2.7.0/net/http.rb:1241:in `get'
/<>/test/rubygems/test_bundled_ca.rb:34:in `assert_https'
/<>/test/rubygems/test_bundled_ca.rb:50:in 
`test_accessing_fastly'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:98:in `block (3 levels) in run'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:195:in `capture_exceptions'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:95:in `block (2 levels) in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:270:in `time_it'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:94:in `block in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:365:in `on_signal'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:211:in `with_info_handler'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:93:in `run'
/usr/lib/ruby/vendor_ruby/minitest.rb:1029:in `run_one_method'
/usr/lib/ruby/vendor_ruby/minitest.rb:339:in `run_one_method'
/usr/lib/ruby/vendor_ruby/minitest.rb:326:in `block (2 levels) in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:325:in `each'
/usr/lib/ruby/vendor_ruby/minitest.rb:325:in `block in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:365:in `on_signal'
/usr/lib/ruby/vendor_ruby/minitest.rb:352:in `with_info_handler'
/usr/lib/ruby/vendor_ruby/minitest.rb:324:in `run'
/usr/lib/ruby/vendor_ruby/minitest.rb:164:in `block in __run'
/usr/lib/ruby/vendor_ruby/minitest.rb:164:in `map'
/usr/lib/ruby/vendor_ruby/minitest.rb:164:in `__run'
/usr/lib/ruby/vendor_ruby/minitest.rb:141:in `run'
/usr/lib/ruby/vendor_ruby/minitest.rb:68:in `block in autorun'

2182 runs, 6721 assertions, 0 failures, 1 errors, 40 skips

You have skipped tests. Run with --verbose for details.
rake aborted!
Command failed with status (1): [/usr/bin/ruby2.7 -w -Itest:lib:bundler/lib...]
/<>/debian/ruby-tests.rake:8:in `block in '
/usr/share/rubygems-integration/all/gems/rake-13.0.1/exe/rake:27:in `'
Tasks: TOP => default
(See full trace by running task with --trace)
ERROR: Test "ruby2.7" failed. Exiting.
dh_auto_install: error: dh_ruby --install 
/<>/rubygems-3.2.0\~rc.2/debian/tmp returned exit code 1
make: *** [debian/rules:18: binary-indep] Error 25

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#972701: nanoc FTBFS on IPV6-only buildds

2020-10-22 Thread Adrian Bunk
Source: nanoc
Version: 4.11.14-2
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=nanoc=all=4.11.14-3=1602601516=0

...
Failures:

  1) Nanoc::Live::Commands::Live watches
 Failure/Error: sleep_until { File.file?('output/lol.html') }

 RuntimeError:
   Waited for 3.006656316s for condition to become true, but it never did
 # ./common/spec/spec_helper_foot_core.rb:34:in `block in sleep_until'
 # ./common/spec/spec_helper_foot_core.rb:31:in `loop'
 # ./common/spec/spec_helper_foot_core.rb:31:in `sleep_until'
 # ./nanoc-live/spec/nanoc/live/commands/live_spec.rb:37:in `block (3 
levels) in '
 # ./nanoc-live/spec/nanoc/live/commands/live_spec.rb:27:in `run_cmd'
 # ./nanoc-live/spec/nanoc/live/commands/live_spec.rb:35:in `block (2 
levels) in '
 # ./common/spec/spec_helper_foot.rb:10:in `block (2 levels) in '
 # ./common/spec/spec_helper_foot_core.rb:310:in `block (2 levels) in '
 # ./common/spec/spec_helper_foot_core.rb:294:in `block (4 levels) in '
 # ./common/spec/spec_helper_foot_core.rb:245:in `__nanoc_core_chdir'
 # ./common/spec/spec_helper_foot_core.rb:294:in `block (3 levels) in '
 # ./common/spec/spec_helper_foot_core.rb:293:in `block (2 levels) in '

  2) Nanoc::Live::Commands::Live listens
 Failure/Error: sleep_until { File.file?('output/lol.html') }

 RuntimeError:
   Waited for 3.006771s for condition to become true, but it never did
 # ./common/spec/spec_helper_foot_core.rb:34:in `block in sleep_until'
 # ./common/spec/spec_helper_foot_core.rb:31:in `loop'
 # ./common/spec/spec_helper_foot_core.rb:31:in `sleep_until'
 # ./nanoc-live/spec/nanoc/live/commands/live_spec.rb:49:in `block (3 
levels) in '
 # ./nanoc-live/spec/nanoc/live/commands/live_spec.rb:27:in `run_cmd'
 # ./nanoc-live/spec/nanoc/live/commands/live_spec.rb:47:in `block (2 
levels) in '
 # ./common/spec/spec_helper_foot.rb:10:in `block (2 levels) in '
 # ./common/spec/spec_helper_foot_core.rb:310:in `block (2 levels) in '
 # ./common/spec/spec_helper_foot_core.rb:294:in `block (4 levels) in '
 # ./common/spec/spec_helper_foot_core.rb:245:in `__nanoc_core_chdir'
 # ./common/spec/spec_helper_foot_core.rb:294:in `block (3 levels) in '
 # ./common/spec/spec_helper_foot_core.rb:293:in `block (2 levels) in '

  3) Nanoc::Live::Commands::Live listens for websocket connections
 Failure/Error: socket = TCPSocket.new('localhost', 35_729)

 Errno::ECONNREFUSED:
   Connection refused - connect(2) for "localhost" port 35729
 # ./nanoc-live/spec/nanoc/live/commands/live_spec.rb:60:in `initialize'
 # ./nanoc-live/spec/nanoc/live/commands/live_spec.rb:60:in `new'
 # ./nanoc-live/spec/nanoc/live/commands/live_spec.rb:60:in `block (3 
levels) in '
 # ./nanoc-live/spec/nanoc/live/commands/live_spec.rb:27:in `run_cmd'
 # ./nanoc-live/spec/nanoc/live/commands/live_spec.rb:59:in `block (2 
levels) in '
 # ./common/spec/spec_helper_foot.rb:10:in `block (2 levels) in '
 # ./common/spec/spec_helper_foot_core.rb:310:in `block (2 levels) in '
 # ./common/spec/spec_helper_foot_core.rb:294:in `block (4 levels) in '
 # ./common/spec/spec_helper_foot_core.rb:245:in `__nanoc_core_chdir'
 # ./common/spec/spec_helper_foot_core.rb:294:in `block (3 levels) in '
 # ./common/spec/spec_helper_foot_core.rb:293:in `block (2 levels) in '

Finished in 17.56 seconds (files took 3.14 seconds to load)
10 examples, 3 failures, 1 pending

Failed examples:

rspec ./nanoc-live/spec/nanoc/live/commands/live_spec.rb:34 # 
Nanoc::Live::Commands::Live watches
rspec ./nanoc-live/spec/nanoc/live/commands/live_spec.rb:46 # 
Nanoc::Live::Commands::Live listens
rspec ./nanoc-live/spec/nanoc/live/commands/live_spec.rb:58 # 
Nanoc::Live::Commands::Live listens for websocket connections

/usr/bin/ruby2.7 
-I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib
 /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/exe/rspec --pattern 
./nanoc-live/spec/\*\*/\*_spec.rb -r ./nanoc-live/spec/spec_helper.rb --color 
failed
ERROR: Test "ruby2.7" failed. Exiting.
dh_auto_install: error: dh_ruby --install /<>/debian/tmp returned 
exit code 1
make: *** [debian/rules:8: binary-indep] Error 25

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#966436: ruby-mini-magick FTBFS with imagemagick 8:6.9.11.24+dfsg-1

2020-07-28 Thread Adrian Bunk
Source: ruby-mini-magick
Version: 4.9.5-2
Severity: serious
Tags: ftbfs

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-mini-magick.html

...
Failures:

  1) With ImageMagick MiniMagick::Image#details when verbose information 
includes a clipping path does not hang when parsing verbose data
 Failure/Error: details_hash[last_key] << line

 NoMethodError:
   undefined method `<<' for #
   Did you mean?  <
 # ./lib/mini_magick/image/info.rb:139:in `block in details'
 # ./lib/mini_magick/image/info.rb:128:in `each'
 # ./lib/mini_magick/image/info.rb:128:in `each_with_object'
 # ./lib/mini_magick/image/info.rb:128:in `details'
 # ./lib/mini_magick/image/info.rb:31:in `[]'
 # ./lib/mini_magick/image.rb:141:in `block in attribute'
 # ./spec/lib/mini_magick/image_spec.rb:478:in `block (7 levels) in '
 # ./spec/lib/mini_magick/image_spec.rb:477:in `block (6 levels) in '
 # ./spec/spec_helper.rb:19:in `block (3 levels) in '

Finished in 1 minute 34.34 seconds (files took 21.52 seconds to load)
76 examples, 1 failure
...

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#966153: ruby-pathname2 FTBFS: test failure

2020-07-23 Thread Adrian Bunk
Source: ruby-pathname2
Version: 1.8.2-1
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=ruby-pathname2=all=1.8.2-1=1595529756=0

...
┌──┐
│ Run tests for ruby2.7 from debian/ruby-test-files.yaml   │
└──┘

RUBYLIB=/<>/debian/ruby-pathname2/usr/lib/ruby/vendor_ruby:. 
GEM_PATH=/<>/debian/ruby-pathname2/usr/share/rubygems-integration/all:/var/lib/gems/2.7.0:/usr/local/lib/ruby/gems/2.7.0:/usr/lib/ruby/gems/2.7.0:/usr/lib/x86_64-linux-gnu/ruby/gems/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0
 ruby2.7 -ryaml -e YAML.load_file\(\"debian/ruby-test-files.yaml\"\).each\ \{\ 
\|f\|\ require\ f\ \}
Loaded suite -e
Started
...F
===
Failure: test: version is set to expected value(TC_Pathname_Version)
/<>/test/test_version.rb:11:in `block in 
'
  8: 
  9: class TC_Pathname_Version < Test::Unit::TestCase
 10:   test "version is set to expected value" do
  => 11: assert_equal('1.8.1', Pathname::VERSION)
 12:   end
 13: 
 14:   test "version is frozen" do
<"1.8.1"> expected but was
<"1.8.2">

diff:
? 1.8.1
? 2
===

Finished in 0.153963718 seconds.
---
36 tests, 310 assertions, 1 failures, 0 errors, 0 pendings, 0 omissions, 0 
notifications
97.% passed
---
233.82 tests/s, 2013.46 assertions/s
ERROR: Test "ruby2.7" failed. Exiting.
dh_auto_install: error: dh_ruby --install 
/<>/debian/ruby-pathname2 returned exit code 1
make: *** [debian/rules:18: binary-indep] Error 25
___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#962585: schleuder: build fails on IPv6-only buildds

2020-06-10 Thread Adrian Bunk
Source: schleuder
Version: 3.5.2-1
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=schleuder=all=3.5.2-1=1591750657=0

...
Failures:

  1) cli #refresh_keys updates keys from the keyserver for only a specific list
 Failure/Error: raise "sks-mock.rb failed to start, cannot continue: #{exc}"

 RuntimeError:
   sks-mock.rb failed to start, cannot continue: Failed to open TCP 
connection to 127.0.0.1: (Connection refused - connect(2) for "127.0.0.1" 
port )
 # ./spec/spec_helper.rb:96:in `rescue in with_sks_mock'
 # ./spec/spec_helper.rb:88:in `with_sks_mock'
 # ./spec/schleuder/integration/cli_spec.rb:187:in `block (3 levels) in 
'
 # ./spec/spec_helper.rb:47:in `block (3 levels) in '
 # ./spec/spec_helper.rb:46:in `block (2 levels) in '
 # --
 # --- Caused by: ---
 # Errno::ECONNREFUSED:
 #   Connection refused - connect(2) for "127.0.0.1" port 
 #   ./spec/spec_helper.rb:90:in `with_sks_mock'
...
Finished in 32 minutes 16 seconds (files took 2.5 seconds to load)
431 examples, 14 failures

Failed examples:

rspec ./spec/schleuder/integration/cli_spec.rb:175 # cli #refresh_keys updates 
keys from the keyserver for only a specific list
rspec ./spec/schleuder/integration/cli_spec.rb:152 # cli #refresh_keys updates 
keys from the keyserver
rspec ./spec/schleuder/unit/list_spec.rb:536 # Schleuder::List#fetch_keys 
fetches one key by email address
rspec ./spec/schleuder/unit/list_spec.rb:519 # Schleuder::List#fetch_keys 
fetches one key by URL
rspec ./spec/schleuder/unit/list_spec.rb:553 # Schleuder::List#fetch_keys does 
not import non-self-signatures if gpg >= 2.1.15; or else sends a warning
rspec ./spec/schleuder/unit/list_spec.rb:502 # Schleuder::List#fetch_keys 
fetches one key by fingerprint
rspec ./spec/schleuder/integration/keywords_spec.rb:1678 # user sends keyword 
x-fetch-key with fingerprint
rspec ./spec/schleuder/integration/keywords_spec.rb:1599 # user sends keyword 
x-fetch-key with invalid URL
rspec ./spec/schleuder/integration/keywords_spec.rb:1560 # user sends keyword 
x-fetch-key with URL
rspec ./spec/schleuder/integration/keywords_spec.rb:1482 # user sends keyword 
x-fetch-key with email address
rspec ./spec/schleuder/integration/keywords_spec.rb:1756 # user sends keyword 
x-fetch-key without arguments
rspec ./spec/schleuder/integration/keywords_spec.rb:1717 # user sends keyword 
x-fetch-key with fingerprint of unchanged key
rspec ./spec/schleuder/integration/keywords_spec.rb:1521 # user sends keyword 
x-fetch-key with unknown email-address
rspec ./spec/schleuder/integration/keywords_spec.rb:1639 # user sends keyword 
x-fetch-key with unknown fingerprint

Randomized with seed 8043

/usr/bin/ruby2.7 
-I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.2/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib
 /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/exe/rspec --format 
documentation failed
ERROR: Test "ruby2.7" failed. Exiting.
dh_auto_install: error: dh_ruby --install /<>/debian/schleuder 
returned exit code 1
make: *** [debian/rules:7: binary-indep] Error 25


See #962019 for discussion of a similar problem in a different package.

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#919847: ruby-rails-assets-markdown-it: diff for NMU version 8.4.2-1.1

2019-02-07 Thread Adrian Bunk
Control: tags 919847 + patch
Control: tags 919847 + pending

Dear maintainer,

I've prepared an NMU for ruby-rails-assets-markdown-it (versioned as 
8.4.2-1.1) and uploaded it to DELAYED/14. Please feel free to tell me
if I should cancel it.

cu
Adrian

-- 

   "Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   "Only a promise," Lao Er said.
   Pearl S. Buck - Dragon Seed

diff -Nru ruby-rails-assets-markdown-it-8.4.2/debian/changelog ruby-rails-assets-markdown-it-8.4.2/debian/changelog
--- ruby-rails-assets-markdown-it-8.4.2/debian/changelog	2018-12-30 19:29:10.0 +0200
+++ ruby-rails-assets-markdown-it-8.4.2/debian/changelog	2019-02-07 18:25:33.0 +0200
@@ -1,3 +1,11 @@
+ruby-rails-assets-markdown-it (8.4.2-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * ruby-rails-assets-markdown-it: Add the missing dependency
+on libjs-markdown-it. (Closes: #919847)
+
+ -- Adrian Bunk   Thu, 07 Feb 2019 18:25:33 +0200
+
 ruby-rails-assets-markdown-it (8.4.2-1) unstable; urgency=medium
 
   * Team upload
diff -Nru ruby-rails-assets-markdown-it-8.4.2/debian/control ruby-rails-assets-markdown-it-8.4.2/debian/control
--- ruby-rails-assets-markdown-it-8.4.2/debian/control	2018-12-30 19:29:10.0 +0200
+++ ruby-rails-assets-markdown-it-8.4.2/debian/control	2019-02-07 18:25:33.0 +0200
@@ -18,7 +18,8 @@
 XB-Ruby-Versions: ${ruby:Versions}
 Depends: ruby | ruby-interpreter,
  ${misc:Depends},
- ${shlibs:Depends}
+ ${shlibs:Depends},
+ libjs-markdown-it (= ${source:Version})
 Description: markdown parser as a rails asset
  Markdown parser, done right. Commonmark support, extensions, syntax plugins,
  high speed - all in one.
___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#917615: ruby-zoom: Please Build-Depend on libyaz-dev

2019-02-07 Thread Adrian Bunk
Control: severity -1 normal

On Tue, Jan 29, 2019 at 10:30:08AM -0500, Scott Kitterman wrote:
> On Sat, 29 Dec 2018 10:05:44 + Hugh McMaster  
> wrote:
> > Package: ruby-zoom
> > Version: 0.5.0-1+b2
> > Severity: important
> > 
> > Dear Maintainer,
> > 
> > Your package currently build-depends on libyaz4-dev. However, this package
> > will soon be replaced by libyaz-dev during an upcoming transition.
> > 
> > Testing with libyaz-dev 5.27.1-1 installed results in your package FTBFS, 
> > as 
> it
> > cannot satisfy its build-dependency on libyaz4-dev.
> > 
> > Please patch your package's Build-Depends list to use libyaz-dev.
> > 
> > With this change made, ruby-zoom builds successfully.
> > 
> > Note that libyaz4-dev currently provides libyaz-dev.
> 
> Bumped to serious since libyaz4-dev has been removed.

libyaz4-dev is now provided by libyaz-dev, making this bug non-RC.

> Scott K

cu
Adrian

-- 

   "Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   "Only a promise," Lao Er said.
   Pearl S. Buck - Dragon Seed

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#921320: ruby-rspec-rails build depends on ruby-capybara (>= 2.15~) that is currently not in buster

2019-02-04 Thread Adrian Bunk
Source: ruby-rspec-rails
Version: 3.8.1-2
Severity: serious
Tags: ftbfs
Control: block -1 by 900156

ruby-rspec-rails build depends on ruby-capybara (>= 2.15~)
that is currently not in buster due to #900156.

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#920953: ruby-haml-rails FTBFS: invalid byte sequence in US-ASCII (ArgumentError)

2019-01-30 Thread Adrian Bunk
Source: ruby-haml-rails
Version: 1.0.0-1
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=ruby-haml-rails=all=1.0.0-1=1548295203=0

...
┌──┐
│ Checking Rubygems dependency resolution on ruby2.5   │
└──┘

Invalid gemspec in [haml-rails.gemspec]: No such file or directory - git
/usr/lib/ruby/vendor_ruby/gem2deb/metadata.rb:145:in `gsub!': invalid byte 
sequence in US-ASCII (ArgumentError)
from /usr/lib/ruby/vendor_ruby/gem2deb/metadata.rb:145:in `block in 
load_modified_gemspec'
from /usr/lib/ruby/vendor_ruby/gem2deb/metadata.rb:144:in `each'
from /usr/lib/ruby/vendor_ruby/gem2deb/metadata.rb:144:in 
`load_modified_gemspec'
from /usr/lib/ruby/vendor_ruby/gem2deb/metadata.rb:121:in `load_gemspec'
from /usr/lib/ruby/vendor_ruby/gem2deb/metadata.rb:34:in `block in 
initialize'
from /usr/lib/ruby/vendor_ruby/gem2deb/metadata.rb:33:in `chdir'
from /usr/lib/ruby/vendor_ruby/gem2deb/metadata.rb:33:in `initialize'
from /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb:77:in `new'
from /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb:77:in 
`do_check_dependencies'
from /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb:67:in `run_tests'
from /usr/bin/gem2deb-test-runner:61:in `'
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install /<>/debian/ruby-haml-rails 
returned exit code 1
make: *** [debian/rules:18: binary-indep] Error 1
___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#919818: ruby-net-ssh breaks test-kitchen autopkgtest

2019-01-29 Thread Adrian Bunk
Control: severity -1 serious

On Sat, Jan 19, 2019 at 10:17:48PM +0100, Paul Gevers wrote:
> Source: ruby-net-ssh, test-kitchen
> Control: found -1 ruby-net-ssh/1:5.1.0-1
> Control: found -1 test-kitchen/1.23.2-1
> X-Debbugs-CC: debian...@lists.debian.org
> User: debian...@lists.debian.org
> Usertags: breaks needs-update
> 
> Dear maintainers,
> 
> With a recent upload of ruby-net-ssh the autopkgtest of test-kitchen
> fails in testing when that autopkgtest is run with the binary packages
> of ruby-net-ssh from unstable. It passes when run with only packages
> from testing. In tabular form:
>passfail
> ruby-net-ssh   from testing1:5.1.0-1
> test-kitchen   from testing1.23.2-1
> all others from testingfrom testing
> 
> I copied some of the output at the bottom of this report.
> 
> Currently this regression is blocking the migration of ruby-net-ssh to
> testing [1]. Due to the nature of this issue, I filed this bug report
> against both packages. Can you please investigate the situation and
> reassign the bug to the right package? If needed, please change the
> bug's severity.
> 
> More information about this bug and the reason for filing it can be found on
> https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation
> 
> Paul
> 
> [1] https://qa.debian.org/excuses.php?package=ruby-net-ssh
> 
> https://ci.debian.net/data/autopkgtest/testing/amd64/t/test-kitchen/1734873/log.gz
> 
> Finished in 6.958238s, 317.6091 runs/s, 491.3600 assertions/s.
> 
>   1) Failure:
> Kitchen::SSH::#wait#test_0001_logs to info for each retry
> [/tmp/autopkgtest-lxc.z49qtfaj/downtmp/build.kGs/src/spec/kitchen/ssh_spec.rb:546]:
> Expected: 2
>   Actual: 0
> 
> 2210 runs, 3419 assertions, 1 failures, 0 errors, 0 skips

This is also a FTBFS:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/test-kitchen.html

cu
Adrian

-- 

   "Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   "Only a promise," Lao Er said.
   Pearl S. Buck - Dragon Seed

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#919223: ruby-haml-contrib FTBFS with ruby-haml 5.0.4-1

2019-01-13 Thread Adrian Bunk
Source: ruby-haml-contrib
Version: 1.0.0.1-2
Severity: serious
Tags: ftbfs buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-haml-contrib.html

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

RUBYLIB=/build/1st/ruby-haml-contrib-1.0.0.1/debian/ruby-haml-contrib/usr/lib/ruby/vendor_ruby:.
 
GEM_PATH=debian/ruby-haml-contrib/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
/usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require': cannot 
load such file -- temple (LoadError)
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
from /usr/lib/ruby/vendor_ruby/haml/temple_engine.rb:2:in `'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
from /usr/lib/ruby/vendor_ruby/haml/engine.rb:11:in `'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
from /usr/lib/ruby/vendor_ruby/haml.rb:23:in `'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
from /build/1st/ruby-haml-contrib-1.0.0.1/test/test_helper.rb:1:in 
`'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
from /build/1st/ruby-haml-contrib-1.0.0.1/test/php_filter_test.rb:1:in 
`'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
from debian/ruby-tests.rb:2:in `block in '
from debian/ruby-tests.rb:2:in `each'
from debian/ruby-tests.rb:2:in `'
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install 
/build/1st/ruby-haml-contrib-1.0.0.1/debian/ruby-haml-contrib returned exit 
code 1
make: *** [debian/rules:4: binary] Error 1
___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#919205: ruby-html2haml: missing build dependency on ruby-temple

2019-01-13 Thread Adrian Bunk
Source: ruby-html2haml
Version: 2.2.0-1
Severity: serious
Tags: ftbfs buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-html2haml.html

...
/usr/lib/ruby/2.5.0/rubygems/dependency.rb:310:in `to_specs': Could not find 
'temple' (>= 0.8.0) among 37 total gem(s) (Gem::MissingSpecError)
...

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#919186: ruby-haml-magic-translations FTBFS with ruby-haml 5.0.4-1

2019-01-13 Thread Adrian Bunk
Source: ruby-haml-magic-translations
Version: 4.2.0-1
Severity: serious
Tags: ftbfs buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-haml-magic-translations.html

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

RUBYLIB=/build/1st/ruby-haml-magic-translations-4.2.0/debian/ruby-haml-magic-translations/usr/lib/ruby/vendor_ruby:.
 
GEM_PATH=debian/ruby-haml-magic-translations/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 -S rake -f debian/ruby-tests.rake
/usr/bin/ruby2.5 /usr/bin/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb

An error occurred while loading 
./spec/haml/magic_translations/xgettext/haml_parser_spec.rb.
Failure/Error: require 'haml'

LoadError:
  cannot load such file -- temple
# ./lib/haml/magic_translations.rb:3:in `'
# ./spec/spec_helper.rb:13:in `'
# ./spec/haml/magic_translations/xgettext/haml_parser_spec.rb:3:in `'

An error occurred while loading ./spec/haml/magic_translations_spec.rb.
Failure/Error: require 'haml'

LoadError:
  cannot load such file -- temple
# ./lib/haml/magic_translations.rb:3:in `'
# ./spec/spec_helper.rb:13:in `'
# ./spec/haml/magic_translations_spec.rb:3:in `'
No examples found.


Finished in 0.00051 seconds (files took 2.08 seconds to load)
0 examples, 0 failures, 2 errors occurred outside of examples

/usr/bin/ruby2.5 /usr/bin/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb 
failed
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install 
/build/1st/ruby-haml-magic-translations-4.2.0/debian/ruby-haml-magic-translations
 returned exit code 1
make: *** [debian/rules:4: binary] Error 1
___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#919174: ruby-sinatra FTBFS with ruby-haml 5.0.4-1

2019-01-13 Thread Adrian Bunk
Source: ruby-sinatra
Version: 2.0.5-3
Severity: serious
Tags: ftbfs

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-sinatra.html

...
  1) Failure:
HAMLTest#test_renders_with_file_layouts_0 
[/build/1st/ruby-sinatra-2.0.5/test/haml_test.rb:40]:
--- expected
+++ actual
@@ -1,3 +1,4 @@
 "HAML Layout!
-Hello World
+Hello World
+
 "


  2) Failure:
HAMLTest#test_renders_with_inline_layouts_0 
[/build/1st/ruby-sinatra-2.0.5/test/haml_test.rb:34]:
--- expected
+++ actual
@@ -1,2 +1,3 @@
-"THIS. IS. SPARTA
+"THIS. IS. SPARTA
+
 "


1062 runs, 2424 assertions, 2 failures, 0 errors, 0 skips

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#919048: ruby-haml-rails: Depends: ruby-haml (< 5.0) but 5.0.4-1 is to be installed

2019-01-12 Thread Adrian Bunk
Package: ruby-haml-rails
Version: 0.9.0-4
Severity: serious

The following packages have unmet dependencies:
 ruby-haml-rails : Depends: ruby-haml (< 5.0) but 5.0.4-1 is to be installed

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#918611: ruby-jquery-atwho-rails FTBFS with rails 5.2

2019-01-07 Thread Adrian Bunk
Source: ruby-jquery-atwho-rails
Version: 1.3.2-2
Severity: serious
Tags: ftbfs buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-jquery-atwho-rails.html

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

RUBYLIB=/build/1st/ruby-jquery-atwho-rails-1.3.2/debian/ruby-jquery-atwho-rails/usr/lib/ruby/vendor_ruby:.
 
GEM_PATH=debian/ruby-jquery-atwho-rails/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 -S rake -f debian/ruby-tests.rake
/usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb

An error occurred while loading ./spec/generators/install_generator_spec.rb.
Failure/Error: if ::Rails.version < "3.1" || 
!::Rails.application.config.assets.enabled

NoMethodError:
  undefined method `assets' for 
#
  Did you mean?  asset_host
# ./lib/generators/atwho/install_generator.rb:5:in `'
# ./spec/spec_helper.rb:23:in `'
# ./spec/generators/install_generator_spec.rb:1:in `'
No examples found.


Finished in 0.00044 seconds (files took 1.25 seconds to load)
0 examples, 0 failures, 1 error occurred outside of examples

/usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb failed
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install 
/build/1st/ruby-jquery-atwho-rails-1.3.2/debian/ruby-jquery-atwho-rails 
returned exit code 1
make: *** [debian/rules:18: binary] Error 1
___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#918613: ruby-rack-contrib FTBFS with ruby-rack 2.0.6-2

2019-01-07 Thread Adrian Bunk
Source: ruby-rack-contrib
Version: 1.3.0-3
Severity: serious
Tags: ftbfs buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-rack-contrib.html

...
usr/lib/ruby/2.5.0/rubygems/dependency.rb:312:in `to_specs': Could not find 
'rack' (~> 1.4) - did find: [rack-2.0.6] (Gem::MissingSpecVersionError)
...

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#918610: ruby-model-tokenizer FTBFS with rails 5.2

2019-01-07 Thread Adrian Bunk
Source: ruby-model-tokenizer
Version: 1.0.1-1
Severity: serious
Tags: ftbfs buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-model-tokenizer.html

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

RUBYLIB=/build/1st/ruby-model-tokenizer-1.0.1/debian/ruby-model-tokenizer/usr/lib/ruby/vendor_ruby:.
 
GEM_PATH=debian/ruby-model-tokenizer/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 -S rake -f debian/ruby-tests.rake
/usr/bin/ruby2.5 -w -I"test:."  
"/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/helper.rb" 
"test/schema.rb" "test/token_generator_test.rb" -v
/usr/lib/ruby/vendor_ruby/active_record/connection_adapters/abstract/connection_pool.rb:1007:in
 `retrieve_connection': No connection pool with 'primary' found. 
(ActiveRecord::ConnectionNotEstablished)
from 
/usr/lib/ruby/vendor_ruby/active_record/connection_handling.rb:118:in 
`retrieve_connection'
from 
/usr/lib/ruby/vendor_ruby/active_record/connection_handling.rb:90:in 
`connection'
from /build/1st/ruby-model-tokenizer-1.0.1/test/helper.rb:13:in `block 
in '
/usr/lib/ruby/vendor_ruby/active_record/migration.rb:528:in `inherited': 
Directly inheriting from ActiveRecord::Migration is not supported. Please 
specify the Rails release the migration was written for: (StandardError)

  class ModelTokenizer::Test::Schema < ActiveRecord::Migration[4.2]
from /build/1st/ruby-model-tokenizer-1.0.1/test/schema.rb:3:in 
`'
from /build/1st/ruby-model-tokenizer-1.0.1/test/schema.rb:2:in 
`'
from /build/1st/ruby-model-tokenizer-1.0.1/test/schema.rb:1:in `'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
from /build/1st/ruby-model-tokenizer-1.0.1/test/helper.rb:99:in `'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
from /usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb:17:in `block in 
'
from /usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb:5:in `select'
from /usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb:5:in `'
rake aborted!
Command failed with status (1): [ruby -w -I"test:."  
"/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/helper.rb" 
"test/schema.rb" "test/token_generator_test.rb" -v]

Tasks: TOP => default
(See full trace by running task with --trace)
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install 
/build/1st/ruby-model-tokenizer-1.0.1/debian/ruby-model-tokenizer returned exit 
code 1
make: *** [debian/rules:15: binary] Error 1
___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#918609: ruby-test-after-commit FTBFS with rails 5.2

2019-01-07 Thread Adrian Bunk
Source: ruby-test-after-commit
Version: 1.0.0-1
Severity: serious
Tags: ftbfs buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-test-after-commit.html

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

RUBYLIB=/build/1st/ruby-test-after-commit-1.0.0/debian/ruby-test-after-commit/usr/lib/ruby/vendor_ruby:.
 
GEM_PATH=debian/ruby-test-after-commit/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 -S rake -f debian/ruby-tests.rake
/usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb --format 
documentation

An error occurred while loading ./spec/test_after_commit_spec.rb.
Failure/Error: ActiveRecord::Base.raise_in_transactional_callbacks = true

NoMethodError:
  undefined method `raise_in_transactional_callbacks=' for 
ActiveRecord::Base:Class
# ./spec/database.rb:9:in `'
# ./spec/spec_helper.rb:1:in `'
# ./spec/test_after_commit_spec.rb:1:in `'
No examples found.

Finished in 0.00041 seconds (files took 5.35 seconds to load)
0 examples, 0 failures, 1 error occurred outside of examples

/usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb --format 
documentation failed
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install 
/build/1st/ruby-test-after-commit-1.0.0/debian/ruby-test-after-commit returned 
exit code 1
make: *** [debian/rules:6: binary] Error 1
___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#918605: ruby-rspec-rails FTBFS with rails 5.2

2019-01-07 Thread Adrian Bunk
Source: ruby-rspec-rails
Version: 3.8.0-1
Severity: serious
Tags: ftbfs

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-rspec-rails.html

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

RUBYLIB=/build/1st/ruby-rspec-rails-3.8.0/debian/ruby-rspec-rails/usr/lib/ruby/vendor_ruby:.
 
GEM_PATH=debian/ruby-rspec-rails/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 -S rake -f debian/ruby-tests.rake
/usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/rspec/\*\*/\*_spec.rb --format 
documentation
Run options: include {:focus=>true}

All examples were filtered out; ignoring {:focus=>true}

Randomized with seed 3554

ActiveJob matchers
  have_been_enqueued
passes with default jobs count (exactly one)
counts all enqueued jobs
fails when job is not enqueued
passes when negated
  have_enqueued_job
passes when using alias
fails when too many jobs enqueued
passes multiple arguments to with block
reports correct number in fail error message
raises ArgumentError when no Proc passed to expect
generates failure message with at most hint
passes with :thrice count
does not have an enqueued job when providing at of :no_wait and there is a 
wait
generates failure message with at least hint
passes with multiple jobs
passes with provided arguments containing global id object
fails with with block with incorrect data
throws descriptive error when no test adapter set
passes with at_most count when enqueued jobs are under limit
passes with job name
passes with at_least count when enqueued jobs are over limit
passes with default jobs count (exactly one)
only calls with block if other conditions are met
passes with :twice count
generates failure message with all provided options
has an enqueued job when providing at of :no_wait and there is no wait
passes with provided queue name
fails when job is not enqueued
passes with provided argument matchers
passes with :once count
passess deserialized arguments to with block
passes with provided arguments
has an enqueued job when not providing at and there is a wait
passes with provided at date
passes when negated
counts only jobs enqueued in block
fails when negated and job is enqueued

RSpec::Rails::ViewExampleGroup
  routes helpers collides with asset helpers
uses routes helpers
  #view
delegates to _view
is accessible to hooks
  behaves like an rspec-rails example group mixin
adds does not add `:type` metadata on inclusion
when `infer_spec_type_from_file_location!` is configured
  includes itself in example groups tagged with `:type => :view`
  for an example group defined in a file in the .\spec\views\ directory
allows users to override the type
applies configured `before(:context)` hooks with `:type => :view` 
metadata
includes itself in the example group
tags groups in that directory with `:type => :view`
  for an example group defined in a file in the ./spec/views/ directory
tags groups in that directory with `:type => :view`
applies configured `before(:context)` hooks with `:type => :view` 
metadata
allows users to override the type
includes itself in the example group
when `infer_spec_type_from_file_location!` is not configured
  includes itself in example groups tagged with `:type => :view`
  for an example group defined in a file in the ./spec/views/ directory
does not tag groups in that directory with `:type => :view`
does not include itself in the example group
  for an example group defined in a file in the .\spec\views\ directory
does not include itself in the example group
does not tag groups in that directory with `:type => :view`
  #render
given no input
  sends render(:template => (described file)) to the view
  converts the filename components into render options
given a string
  sends string as the first arg to render
given a hash
  sends the hash as the first arg to render
  #_controller_path
with a common _default_file_to_render
  it returns the directory
with a nested _default_file_to_render
  it returns the directory path
  #params
delegates to the controller
  automatic inclusion of helpers
operates normally when the view has no path and there is a Helper class 
defined
operates normally when no helper with the same name exists
includes the namespaced helper with the same name
includes the helper with the same name
application helper exists
  includes the 

[DRE-maint] Bug#918604: ruby-markerb FTBFS: Expected file "app/views/notifier/foo.markerb" to exist, but does not

2019-01-07 Thread Adrian Bunk
Source: ruby-markerb
Version: 1.1.0-2
Severity: serious
Tags: ftbfs buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-markerb.html

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

RUBYLIB=/build/1st/ruby-markerb-1.1.0/debian/ruby-markerb/usr/lib/ruby/vendor_ruby:.
 
GEM_PATH=debian/ruby-markerb/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 -S rake -f debian/ruby-tests.rake
/usr/bin/ruby2.5 -w -I"lib:test"  
"/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/generator_test.rb" 
"test/markdown_test.rb" "test/markerb_test.rb" 
/usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59: warning: loading in 
progress, circular require considered harmful - 
/usr/lib/ruby/vendor_ruby/redcarpet.rb
from /usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb:5:in  `'
from /usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb:5:in  `select'
from /usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb:17:in  `block 
in '
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in  
`require'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in  
`require'
from /build/1st/ruby-markerb-1.1.0/test/generator_test.rb:1:in  `'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in  
`require'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in  
`require'
from /build/1st/ruby-markerb-1.1.0/test/test_helper.rb:12:in  `'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in  
`require'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in  
`require'
from /usr/lib/ruby/vendor_ruby/redcarpet.rb:2:in  `'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in  
`require'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in  
`require'
from /usr/lib/ruby/vendor_ruby/redcarpet/compat.rb:1:in  `'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in  
`require'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in  
`require'
/usr/lib/ruby/vendor_ruby/mail/fields/common/address_container.rb:11: warning: 
parentheses after method name is interpreted as an argument list, not a 
decomposed argument
Run options: --seed 28374

# Running:

F

Failure:
GeneratorTest#test_assert_all_views_are_properly_created_with_given_name 
[/build/1st/ruby-markerb-1.1.0/test/generator_test.rb:12]:
Expected file "app/views/notifier/foo.markerb" to exist, but does not

bin/rails test build/1st/ruby-markerb-1.1.0/test/generator_test.rb:9

../build/1st/ruby-markerb-1.1.0/lib/markerb/markdown.rb:9: warning: instance 
variable @options not initialized
./build/1st/ruby-markerb-1.1.0/lib/markerb/markdown.rb:9: warning: instance 
variable @options not initialized
./build/1st/ruby-markerb-1.1.0/lib/markerb/markdown.rb:9: warning: instance 
variable @options not initialized
/build/1st/ruby-markerb-1.1.0/lib/markerb/markdown.rb:9: warning: instance 
variable @options not initialized
./build/1st/ruby-markerb-1.1.0/lib/markerb/markdown.rb:9: warning: instance 
variable @options not initialized
/build/1st/ruby-markerb-1.1.0/lib/markerb/markdown.rb:9: warning: instance 
variable @options not initialized
.

Finished in 0.565871s, 19.4390 runs/s, 38.8781 assertions/s.
11 runs, 22 assertions, 1 failures, 0 errors, 0 skips
rake aborted!
Command failed with status (1): [ruby -w -I"lib:test"  
"/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/generator_test.rb" 
"test/markdown_test.rb" "test/markerb_test.rb" ]

Tasks: TOP => default => test
(See full trace by running task with --trace)
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install 
/build/1st/ruby-markerb-1.1.0/debian/ruby-markerb returned exit code 1
make: *** [debian/rules:15: binary] Error 1
___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#918602: ruby-haml FTBFS with rails 5.2

2019-01-07 Thread Adrian Bunk
Source: ruby-haml
Version: 4.0.7-1
Severity: serious
Tags: ftbfs buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-haml.html

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

RUBYLIB=/build/1st/ruby-haml-4.0.7/debian/ruby-haml/usr/lib/ruby/vendor_ruby:. 
GEM_PATH=debian/ruby-haml/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 -S rake -f debian/ruby-tests.rake
/usr/bin/ruby2.5 -w -I"lib:lib:test"  
"/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/parser_test.rb" 
"test/helper_test.rb" "test/filters_test.rb" "test/template_test.rb" 
"test/engine_test.rb" "test/util_test.rb" "test/haml-spec/ruby_haml_test.rb" 
/build/1st/ruby-haml-4.0.7/lib/haml/helpers/safe_erubis_template.rb:3:in 
`': uninitialized constant ActionView::Template::Handlers::Erubis 
(NameError)
from 
/build/1st/ruby-haml-4.0.7/lib/haml/helpers/safe_erubis_template.rb:1:in `'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
from /build/1st/ruby-haml-4.0.7/lib/haml/railtie.rb:21:in `'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
from /build/1st/ruby-haml-4.0.7/lib/haml.rb:23:in `'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
from /build/1st/ruby-haml-4.0.7/test/test_helper.rb:25:in `'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
from /build/1st/ruby-haml-4.0.7/test/parser_test.rb:1:in `'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
from /usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb:17:in `block in 
'
from /usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb:5:in `select'
from /usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb:5:in `'
rake aborted!
Command failed with status (1): [ruby -w -I"lib:lib:test"  
"/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/parser_test.rb" 
"test/helper_test.rb" "test/filters_test.rb" "test/template_test.rb" 
"test/engine_test.rb" "test/util_test.rb" "test/haml-spec/ruby_haml_test.rb" ]

Tasks: TOP => default => test
(See full trace by running task with --trace)
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install /build/1st/ruby-haml-4.0.7/debian/ruby-haml 
returned exit code 1
make: *** [debian/rules:15: binary] Error 1
___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#918600: ruby-backports FTBFS: Failure: test_rails(AAA_TestBackportGuards)

2019-01-07 Thread Adrian Bunk
Source: ruby-backports
Version: 3.11.1-1
Severity: serious
Tags: ftbfs

Some recent change in unstable makes ruby-backports FTBFS:

https://tests.reproducible-builds.org/debian/history/ruby-backports.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-backports.html

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

RUBYLIB=/build/1st/ruby-backports-3.11.1/debian/ruby-backports/usr/lib/ruby/vendor_ruby:.
 
GEM_PATH=debian/ruby-backports/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
/build/1st/ruby-backports-3.11.1/test/_backport_guards_test.rb:54: warning: 
constant ::Bignum is deprecated
/build/1st/ruby-backports-3.11.1/test/_backport_guards_test.rb:54: warning: 
constant ::Fixnum is deprecated
/build/1st/ruby-backports-3.11.1/test/lazy_test.rb:212: warning: assigned but 
unused variable - enum
/build/1st/ruby-backports-3.11.1/test/lazy_test.rb:304: warning: assigned but 
unused variable - bug7696
Loaded suite /usr/lib/ruby/vendor_ruby/rake/rake_test_loader
Started
.F
===
Failure: test_rails(AAA_TestBackportGuards):
  <{Array=>[".alias_method_chain"],
   Binding=>[".alias_method_chain"],
   Integer=>[".alias_method_chain"],
   Dir=>[".alias_method_chain"],
   Comparable=>[".alias_method_chain"],
   Enumerable=>[".alias_method_chain"],
   FalseClass=>[".alias_method_chain"],
   Float=>[".alias_method_chain"],
   GC=>[".alias_method_chain"],
   Hash=>[".alias_method_chain"],
   IO=>[".alias_method_chain"],
   Kernel=>[".alias_method_chain"],
   Math=>[".alias_method_chain"],
   MatchData=>[".alias_method_chain"],
   Method=>[".alias_method_chain"],
   Module=>[:alias_method_chain, ".alias_method_chain"],
   NilClass=>[".alias_method_chain"],
   Numeric=>[".alias_method_chain"],
   ObjectSpace=>[".alias_method_chain"],
   Proc=>[".alias_method_chain"],
   Process=>[".alias_method_chain"],
   Range=>[".alias_method_chain"],
   Regexp=>[".alias_method_chain"],
   String=>[".alias_method_chain"],
   Struct=>[".alias_method_chain"],
   Symbol=>[".alias_method_chain"],
   TrueClass=>[".alias_method_chain"],
   #>=>[".alias_method_chain"],
   #>=>[".alias_method_chain"],
   Enumerator=>[".alias_method_chain"]}> was expected to be nil.
/build/1st/ruby-backports-3.11.1/test/_backport_guards_test.rb:159:in 
`test_rails'
 156: before = digest
 157: require "backports/rails"
 158: after = digest
  => 159: assert_nil digest_delta(before, after)
 160:   end
 161: end
===
.
Finished in 0.703883895 seconds.
---
51 tests, 170 assertions, 1 failures, 0 errors, 0 pendings, 0 omissions, 0 
notifications
98.0392% passed
---
72.46 tests/s, 241.52 assertions/s
/usr/lib/ruby/vendor_ruby/rake/testtask.rb:130:in `block (3 levels) in define': 
Command failed with status (1) (RuntimeError)
from /usr/lib/ruby/vendor_ruby/rake/file_utils.rb:57:in `sh'
from /usr/lib/ruby/vendor_ruby/rake/file_utils.rb:105:in `ruby'
from /usr/lib/ruby/vendor_ruby/rake/testtask.rb:117:in `block (2 
levels) in define'
from /usr/lib/ruby/vendor_ruby/rake/file_utils_ext.rb:59:in `verbose'
from /usr/lib/ruby/vendor_ruby/rake/testtask.rb:111:in `block in define'
from /usr/lib/ruby/vendor_ruby/rake/task.rb:271:in `block in execute'
from /usr/lib/ruby/vendor_ruby/rake/task.rb:271:in `each'
from /usr/lib/ruby/vendor_ruby/rake/task.rb:271:in `execute'
from /usr/lib/ruby/vendor_ruby/rake/task.rb:213:in `block in 
invoke_with_call_chain'
from /usr/lib/ruby/2.5.0/monitor.rb:226:in `mon_synchronize'
from /usr/lib/ruby/vendor_ruby/rake/task.rb:193:in 
`invoke_with_call_chain'
from /usr/lib/ruby/vendor_ruby/rake/task.rb:182:in `invoke'
from debian/ruby-tests.rb:5:in `'
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install 
/build/1st/ruby-backports-3.11.1/debian/ruby-backports returned exit code 1
make: *** [debian/rules:7: binary] Error 1
___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#918599: ruby-activerecord-nulldb-adapter FTBFS with rails 5.2

2019-01-07 Thread Adrian Bunk
Source: ruby-activerecord-nulldb-adapter
Version: 0.3.2-1
Severity: serious
Tags: ftbfs buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-activerecord-nulldb-adapter.html

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

RUBYLIB=/build/1st/ruby-activerecord-nulldb-adapter-0.3.2/debian/ruby-activerecord-nulldb-adapter/usr/lib/ruby/vendor_ruby:.
 
GEM_PATH=debian/ruby-activerecord-nulldb-adapter/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 -S rake -f debian/ruby-tests.rake
/usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb --format 
documentation

An error occurred while loading ./spec/nulldb_spec.rb.
Failure/Error:
  class Schema < Migration
def self.define(info={}, )
  instance_eval()
end

TypeError:
  superclass mismatch for class Schema
# ./lib/nulldb/extensions.rb:36:in `'
# ./lib/nulldb/extensions.rb:34:in `'
# ./lib/active_record/connection_adapters/nulldb_adapter.rb:10:in `'
# ./lib/nulldb_rspec.rb:1:in `'
# ./spec/nulldb_spec.rb:20:in `'
No examples found.

Finished in 0.00058 seconds (files took 4.37 seconds to load)
0 examples, 0 failures, 1 error occurred outside of examples

/usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb --format 
documentation failed
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install 
/build/1st/ruby-activerecord-nulldb-adapter-0.3.2/debian/ruby-activerecord-nulldb-adapter
 returned exit code 1
make: *** [debian/rules:16: binary] Error 1
___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#918598: ruby-dalli FTBFS with rails 5.2

2019-01-07 Thread Adrian Bunk
Source: ruby-dalli
Version: 2.7.4-1
Severity: serious
Tags: ftbfs buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-dalli.html

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

RUBYLIB=/build/1st/ruby-dalli-2.7.4/debian/ruby-dalli/usr/lib/ruby/vendor_ruby:.
 
GEM_PATH=debian/ruby-dalli/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 -S rake -f debian/ruby-tests.rake
/usr/bin/ruby2.5 -w -I"test"  
"/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/benchmark_test.rb" -v
/build/1st/ruby-dalli-2.7.4/debian/ruby-dalli/usr/lib/ruby/vendor_ruby/dalli/server.rb:677:
 warning: assigned but unused variable - type
Testing with Rails 5.2.0
Using kgio socket IO
Run options: -v --seed 54285

# Running:

Testing 2.7.4 with ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux-gnu]
Found memcached 1.5.6 in PATH
user system  total
real
mixed:rails:dalli   3.688000   1.10   4.788000 ( 
17.288303)
mixed:rails-localcache:dalli  performance#test_0001_runs benchmarks = 
17.55 s = E


Error:
performance#test_0001_runs benchmarks:
NoMethodError: undefined method `normalize_key' for 
#


bin/rails test build/1st/ruby-dalli-2.7.4/test/benchmark_test.rb:25


Finished in 17.648526s, 0.0567 runs/s, 0. assertions/s.
1 runs, 0 assertions, 0 failures, 1 errors, 0 skips
rake aborted!
Command failed with status (1): [ruby -w -I"test"  
"/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/benchmark_test.rb" 
-v]

Tasks: TOP => default
(See full trace by running task with --trace)
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install 
/build/1st/ruby-dalli-2.7.4/debian/ruby-dalli returned exit code 1
make: *** [debian/rules:6: binary] Error 1
___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#918596: ruby-acts-as-list FTBFS with rails 5.2

2019-01-07 Thread Adrian Bunk
Source: ruby-acts-as-list
Version: 0.7.2-4
Severity: serious
Tags: ftbfs buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-acts-as-list.html

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

RUBYLIB=/build/1st/ruby-acts-as-list-0.7.2/debian/ruby-acts-as-list/usr/lib/ruby/vendor_ruby:.
 
GEM_PATH=debian/ruby-acts-as-list/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 -S rake -f debian/ruby-tests.rake
/usr/bin/ruby2.5 -w -I"test"  
"/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/test_list.rb" -v
/usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:283:in `build': Passing 
string to define a callback is not supported. See the `.set_callback` 
documentation to see supported values. (ArgumentError)
from /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:672:in 
`block in set_callback'
from /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:671:in `map'
from /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:671:in 
`set_callback'
from /usr/lib/ruby/vendor_ruby/active_model/callbacks.rb:131:in `block 
in _define_before_model_callback'
from 
/build/1st/ruby-acts-as-list-0.7.2/debian/ruby-acts-as-list/usr/lib/ruby/vendor_ruby/acts_as_list/active_record/acts/list.rb:126:in
 `acts_as_list'
from /build/1st/ruby-acts-as-list-0.7.2/test/test_list.rb:55:in 
`'
from /build/1st/ruby-acts-as-list-0.7.2/test/test_list.rb:54:in `'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
from /usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb:17:in `block in 
'
from /usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb:5:in `select'
from /usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb:5:in `'
rake aborted!
Command failed with status (1): [ruby -w -I"test"  
"/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/test_list.rb" -v]

Tasks: TOP => default
(See full trace by running task with --trace)
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install 
/build/1st/ruby-acts-as-list-0.7.2/debian/ruby-acts-as-list returned exit code 1
make: *** [debian/rules:16: binary] Error 1
___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#918595: ruby-seed-fu FTBFS with rals 5.2.0

2019-01-07 Thread Adrian Bunk
Source: ruby-seed-fu
Version: 2.3.7-1
Severity: serious
Tags: ftbfs
Forwarded: https://github.com/mbleigh/seed-fu/issues/132

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-seed-fu.html

...

Failures:

  1) SeedFu::Seeder should raise an ActiveRecord::RecordNotSaved exception if 
any records fail to save
 Failure/Error: expect { SeededModel.seed(:fail_to_save => true, :title => 
"Foo") }.to raise_error(ActiveRecord::RecordNotSaved)
   expected ActiveRecord::RecordNotSaved but nothing was raised
 # ./spec/seeder_spec.rb:173:in `block (2 levels) in '

  2) SeedFu::Writer should successfully write some seeds out to a file and then 
import them back in
 Failure/Error: FileUtils.rm(@file_name)

 NameError:
   uninitialized constant FileUtils
 # ./spec/writer_spec.rb:9:in `block (2 levels) in '

  3) SeedFu::Writer should support chunking
 Failure/Error: FileUtils.rm(@file_name)

 NameError:
   uninitialized constant FileUtils
 # ./spec/writer_spec.rb:9:in `block (2 levels) in '

  4) SeedFu::Writer should support specifying the output to use 'seed_once' 
rather than 'seed'
 Failure/Error: FileUtils.rm(@file_name)

 NameError:
   uninitialized constant FileUtils
 # ./spec/writer_spec.rb:9:in `block (2 levels) in '

Deprecation Warnings:

Using `should` from rspec-expectations' old `:should` syntax without explicitly 
enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly 
enable `:should` with `config.expect_with(:rspec) { |c| c.syntax = :should }` 
instead. Called from /build/1st/ruby-seed-fu-2.3.7/spec/runner_spec.rb:7:in 
`block (2 levels) in '.


If you need more of the backtrace for any of these deprecations to
identify where to make the necessary changes, you can configure
`config.raise_errors_for_deprecations!`, and it will turn the
deprecation warnings into errors, giving you the full backtrace.

1 deprecation warning total

Finished in 0.30367 seconds (files took 1.58 seconds to load)
17 examples, 4 failures

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#918405: ruby-simple-navigation FTBFS with rails 5.2.0

2019-01-05 Thread Adrian Bunk
Source: ruby-simple-navigation
Version: 4.0.3-1
Severity: serious
Tags: ftbfs buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-simple-navigation.html

...
Failures:

  1) SimpleNavigation::Renderer::Breadcrumbs#render sets the right html id on 
the rendered 'div' tag
 Failure/Error: let(:output) { HTML::Document.new(raw_output).root }

 NameError:
   uninitialized constant SimpleNavigation::Renderer::HTML
 # ./spec/simple_navigation/renderer/breadcrumbs_spec.rb:8:in `block (2 
levels) in '
 # ./spec/simple_navigation/renderer/breadcrumbs_spec.rb:20:in `block (3 
levels) in '

  2) SimpleNavigation::Renderer::Breadcrumbs#render renders a 'div' tag for the 
navigation
 Failure/Error: let(:output) { HTML::Document.new(raw_output).root }

 NameError:
   uninitialized constant SimpleNavigation::Renderer::HTML
 # ./spec/simple_navigation/renderer/breadcrumbs_spec.rb:8:in `block (2 
levels) in '
 # ./spec/simple_navigation/renderer/breadcrumbs_spec.rb:16:in `block (3 
levels) in '

  3) SimpleNavigation::Renderer::Breadcrumbs#render sets the right html classes 
on the rendered 'div' tag
 Failure/Error: let(:output) { HTML::Document.new(raw_output).root }

 NameError:
   uninitialized constant SimpleNavigation::Renderer::HTML
 # ./spec/simple_navigation/renderer/breadcrumbs_spec.rb:8:in `block (2 
levels) in '
 # ./spec/simple_navigation/renderer/breadcrumbs_spec.rb:24:in `block (3 
levels) in '

  4) SimpleNavigation::Renderer::Breadcrumbs#render when a sub navigation item 
is selected renders all items as links
 Failure/Error: let(:output) { HTML::Document.new(raw_output).root }

 NameError:
   uninitialized constant SimpleNavigation::Renderer::HTML
 # ./spec/simple_navigation/renderer/breadcrumbs_spec.rb:8:in `block (2 
levels) in '
 # ./spec/simple_navigation/renderer/breadcrumbs_spec.rb:100:in `block (4 
levels) in '

  5) SimpleNavigation::Renderer::Breadcrumbs#render when a sub navigation item 
is selected when the :static_leaf option is true renders the items as links
 Failure/Error: let(:output) { HTML::Document.new(raw_output).root }

 NameError:
   uninitialized constant SimpleNavigation::Renderer::HTML
 # ./spec/simple_navigation/renderer/breadcrumbs_spec.rb:8:in `block (2 
levels) in '
 # ./spec/simple_navigation/renderer/breadcrumbs_spec.rb:107:in `block (5 
levels) in '

  6) SimpleNavigation::Renderer::Breadcrumbs#render when a sub navigation item 
is selected when the :static_leaf option is true renders the last item as 
simple text
 Failure/Error: let(:output) { HTML::Document.new(raw_output).root }

 NameError:
   uninitialized constant SimpleNavigation::Renderer::HTML
 # ./spec/simple_navigation/renderer/breadcrumbs_spec.rb:8:in `block (2 
levels) in '
 # ./spec/simple_navigation/renderer/breadcrumbs_spec.rb:111:in `block (5 
levels) in '

  7) SimpleNavigation::Renderer::Breadcrumbs#render when no item is selected 
doesn't render any 'a' tag in the 'div' tag
 Failure/Error: let(:output) { HTML::Document.new(raw_output).root }

 NameError:
   uninitialized constant SimpleNavigation::Renderer::HTML
 # ./spec/simple_navigation/renderer/breadcrumbs_spec.rb:8:in `block (2 
levels) in '
 # ./spec/simple_navigation/renderer/breadcrumbs_spec.rb:29:in `block (4 
levels) in '

  8) SimpleNavigation::Renderer::Breadcrumbs#render when an item is selected 
remders the 'a' tag without any html id
 Failure/Error: let(:output) { HTML::Document.new(raw_output).root }

 NameError:
   uninitialized constant SimpleNavigation::Renderer::HTML
 # ./spec/simple_navigation/renderer/breadcrumbs_spec.rb:8:in `block (2 
levels) in '
 # ./spec/simple_navigation/renderer/breadcrumbs_spec.rb:41:in `block (4 
levels) in '

  9) SimpleNavigation::Renderer::Breadcrumbs#render when an item is selected 
renders the selected 'a' tag
 Failure/Error: let(:output) { HTML::Document.new(raw_output).root }

 NameError:
   uninitialized constant SimpleNavigation::Renderer::HTML
 # ./spec/simple_navigation/renderer/breadcrumbs_spec.rb:8:in `block (2 
levels) in '
 # ./spec/simple_navigation/renderer/breadcrumbs_spec.rb:37:in `block (4 
levels) in '

  10) SimpleNavigation::Renderer::Breadcrumbs#render when an item is selected 
renders the 'a' tag without any html class
  Failure/Error: let(:output) { HTML::Document.new(raw_output).root }

  NameError:
uninitialized constant SimpleNavigation::Renderer::HTML
  # ./spec/simple_navigation/renderer/breadcrumbs_spec.rb:8:in `block (2 
levels) in '
  # ./spec/simple_navigation/renderer/breadcrumbs_spec.rb:45:in `block (4 
levels) in '

  11) SimpleNavigation::Renderer::Breadcrumbs#render when an item is selected 
and the :allow_classes_and_ids option is true renders the 'a' tag with the 
selected class
  Failure/Error: let(:output) { 

[DRE-maint] Bug#918403: ruby-rack-pjax FTBFS with ruby-rack 2.0.6-2

2019-01-05 Thread Adrian Bunk
Source: ruby-rack-pjax
Version: 0.7.0-2
Severity: serious
Tags: ftbfs buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-rack-pjax.html

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

RUBYLIB=/build/1st/ruby-rack-pjax-0.7.0/debian/ruby-rack-pjax/usr/lib/ruby/vendor_ruby:.
 
GEM_PATH=debian/ruby-rack-pjax/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 -S rake -f debian/ruby-tests.rake
/usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb
FFF

Failures:

  1) Rack::Pjax a pjaxified app, upon receiving a pjax-request should return 
the title-tag in the body
 Failure/Error: {'Content-Type' => 'text/plain', 'Content-Length' => 
Rack::Utils.bytesize(body).to_s},

 NoMethodError:
   undefined method `bytesize' for Rack::Utils:Module
 # ./spec/rack/pjax_spec.rb:14:in `block in generate_app'
 # ./lib/rack/pjax.rb:12:in `call'
 # ./spec/rack/pjax_spec.rb:28:in `block (3 levels) in '

  2) Rack::Pjax a pjaxified app, upon receiving a pjax-request should return 
the inner-html of the pjax-container in the body
 Failure/Error: {'Content-Type' => 'text/plain', 'Content-Length' => 
Rack::Utils.bytesize(body).to_s},

 NoMethodError:
   undefined method `bytesize' for Rack::Utils:Module
 # ./spec/rack/pjax_spec.rb:14:in `block in generate_app'
 # ./lib/rack/pjax.rb:12:in `call'
 # ./spec/rack/pjax_spec.rb:35:in `block (3 levels) in '

  3) Rack::Pjax a pjaxified app, upon receiving a pjax-request should return 
the inner-html of the custom pjax-container in the body
 Failure/Error: {'Content-Type' => 'text/plain', 'Content-Length' => 
Rack::Utils.bytesize(body).to_s},

 NoMethodError:
   undefined method `bytesize' for Rack::Utils:Module
 # ./spec/rack/pjax_spec.rb:14:in `block in generate_app'
 # ./lib/rack/pjax.rb:12:in `call'
 # ./spec/rack/pjax_spec.rb:42:in `block (3 levels) in '

  4) Rack::Pjax a pjaxified app, upon receiving a pjax-request should handle 
self closing tags with HTML5 elements
 Failure/Error: {'Content-Type' => 'text/plain', 'Content-Length' => 
Rack::Utils.bytesize(body).to_s},

 NoMethodError:
   undefined method `bytesize' for Rack::Utils:Module
 # ./spec/rack/pjax_spec.rb:14:in `block in generate_app'
 # ./lib/rack/pjax.rb:12:in `call'
 # ./spec/rack/pjax_spec.rb:49:in `block (3 levels) in '

  5) Rack::Pjax a pjaxified app, upon receiving a pjax-request should handle 
nesting of elements inside anchor tags
 Failure/Error: {'Content-Type' => 'text/plain', 'Content-Length' => 
Rack::Utils.bytesize(body).to_s},

 NoMethodError:
   undefined method `bytesize' for Rack::Utils:Module
 # ./spec/rack/pjax_spec.rb:14:in `block in generate_app'
 # ./lib/rack/pjax.rb:12:in `call'
 # ./spec/rack/pjax_spec.rb:57:in `block (3 levels) in '

  6) Rack::Pjax a pjaxified app, upon receiving a pjax-request should handle 
html5 br tags correctly
 Failure/Error: {'Content-Type' => 'text/plain', 'Content-Length' => 
Rack::Utils.bytesize(body).to_s},

 NoMethodError:
   undefined method `bytesize' for Rack::Utils:Module
 # ./spec/rack/pjax_spec.rb:14:in `block in generate_app'
 # ./lib/rack/pjax.rb:12:in `call'
 # ./spec/rack/pjax_spec.rb:65:in `block (3 levels) in '

  7) Rack::Pjax a pjaxified app, upon receiving a pjax-request should return 
the correct Content Length
 Failure/Error: {'Content-Type' => 'text/plain', 'Content-Length' => 
Rack::Utils.bytesize(body).to_s},

 NoMethodError:
   undefined method `bytesize' for Rack::Utils:Module
 # ./spec/rack/pjax_spec.rb:14:in `block in generate_app'
 # ./lib/rack/pjax.rb:12:in `call'
 # ./spec/rack/pjax_spec.rb:71:in `block (3 levels) in '

  8) Rack::Pjax a pjaxified app, upon receiving a pjax-request should return 
the original body when there's no pjax-container
 Failure/Error: {'Content-Type' => 'text/plain', 'Content-Length' => 
Rack::Utils.bytesize(body).to_s},

 NoMethodError:
   undefined method `bytesize' for Rack::Utils:Module
 # ./spec/rack/pjax_spec.rb:14:in `block in generate_app'
 # ./lib/rack/pjax.rb:12:in `call'
 # ./spec/rack/pjax_spec.rb:78:in `block (3 levels) in '

  9) Rack::Pjax a pjaxified app, upon receiving a pjax-request should preserve 
whitespaces of the original body
 Failure/Error: {'Content-Type' => 'text/plain', 'Content-Length' => 
Rack::Utils.bytesize(body).to_s},

 NoMethodError:
   undefined method `bytesize' for Rack::Utils:Module
 # ./spec/rack/pjax_spec.rb:14:in `block in generate_app'
 # ./lib/rack/pjax.rb:12:in `call'
 # 

[DRE-maint] Bug#918402: open-build-service FTBFS with rails 5.2.0

2019-01-05 Thread Adrian Bunk
Source: open-build-service
Version: 2.7.4-3
Severity: serious
Tags: ftbfs

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/open-build-service.html

...
/usr/lib/ruby/vendor_ruby/bundler/resolver.rb:289:in `block in 
verify_gemfile_dependencies_are_found!': Could not find gem 'rails (~> 4.2.2)' 
in any of the gem sources listed in your Gemfile. (Bundler::GemNotFound)
...

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#918391: ruby-spring FTBFS with rails 5.2.0

2019-01-05 Thread Adrian Bunk
Source: ruby-spring
Version: 1.3.6-2
Severity: serious
Tags: ftbfs buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-spring.html

...
/usr/lib/ruby/vendor_ruby/bundler/resolver.rb:289:in `block in 
verify_gemfile_dependencies_are_found!': Could not find gem 'activesupport (~> 
4.2.0)' in any of the gem sources listed in your Gemfile. (Bundler::GemNotFound)
...

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#918389: ruby-attr-encrypted FTBFS with rails 5.2.0

2019-01-05 Thread Adrian Bunk
Source: ruby-attr-encrypted
Version: 3.1.0-1
Severity: serious
Tags: ftbfs

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-attr-encrypted.html

...
  1) Failure:
ActiveRecordTest#test_attribute_was_works_when_options_for_old_encrypted_value_are_different_than_options_for_new_encrypted_value
 [/build/1st/ruby-attr-encrypted-3.1.0/test/active_record_test.rb:215]:
Expected: "password"
  Actual: nil

  2) Failure:
ActiveRecordTest#test_should_create_was_predicate 
[/build/1st/ruby-attr-encrypted-3.1.0/test/active_record_test.rb:194]:
Expected: "t...@example.com"
  Actual: nil

147 runs, 262 assertions, 2 failures, 0 errors, 0 skips
rake aborted!
Command failed with status (1): [ruby -w -I"test"  
"/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" 
"test/active_record_test.rb" "test/attr_encrypted_test.rb" 
"test/compatibility_test.rb" "test/legacy_active_record_test.rb" 
"test/legacy_attr_encrypted_test.rb" "test/legacy_compatibility_test.rb" 
"test/legacy_sequel_test.rb" "test/sequel_test.rb" -v]

Tasks: TOP => default
(See full trace by running task with --trace)
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install 
/build/1st/ruby-attr-encrypted-3.1.0/debian/ruby-attr-encrypted returned exit 
code 1
make: *** [debian/rules:8: binary] Error 1

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#918303: tmuxinator build depends on ruby-awesome-print that is currently not in buster

2019-01-04 Thread Adrian Bunk
Source: tmuxinator
Version: 0.12.0-3
Severity: serious
Tags: ftbfs
Control: block -1 by 888119

tmuxinator build depends on ruby-awesome-print
that is currently not in buster due to #888119.

___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

  1   2   >