Your message dated Sat, 31 Jul 2021 19:18:30 +0000
with message-id <e1m9uvc-000bie...@fasolo.debian.org>
and subject line Bug#989175: fixed in ruby-maven-libs 3.3.9+ds-2
has caused the Debian Bug report #989175,
regarding Version patch doesn't work with coloured Maven output
to be marked as done.

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

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


-- 
989175: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=989175
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: ruby-maven-libs
Version: 3.3.9+ds-1.1
Severity: important

My "mvn --version" outputs the version text bold using ASCII escape sequences 
(\e[1m).
The 02-do-not-hard-code-maven-version.patch patch in ruby-maven-libs fails to 
parse this, i.e. ruby -e "require 'maven'" fails with:

Traceback (most recent call last):
        4: from -e:1:in `<main>'
        3: from 
/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:85:in `require'
        2: from 
/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:85:in `require'
        1: from /usr/lib/ruby/vendor_ruby/maven.rb:1:in `<top (required)>'
/usr/lib/ruby/vendor_ruby/maven.rb:12:in `<module:Maven>': undefined method 
`split' for nil:NilClass (NoMethodError)

This is because the regex asserts the match at the beginning of the line, but 
the string is actually "\e[1mApache Maven 3.6.3\e[m".
Things that work to fix this:
1. Remove the assert for the beginning of the line (the ^)
2. Simplify to `#{mvn_cmd_path} --version`.split("\n")[0].split[2].freeze

-- System Information:
Debian Release: 11.0
  APT prefers experimental
  APT policy: (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: arm64

Kernel: Linux 5.10.0-7-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_IE:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ruby-maven-libs depends on:
ii  maven  3.6.3-5
ii  ruby   1:2.7+2

ruby-maven-libs recommends no packages.

ruby-maven-libs suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: ruby-maven-libs
Source-Version: 3.3.9+ds-2
Done: Pirate Praveen <prav...@debian.org>

We believe that the bug you reported is fixed in the latest version of
ruby-maven-libs, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 989...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pirate Praveen <prav...@debian.org> (supplier of updated ruby-maven-libs 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 01 Aug 2021 00:23:32 +0530
Source: ruby-maven-libs
Architecture: source
Version: 3.3.9+ds-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team 
<pkg-ruby-extras-maintain...@lists.alioth.debian.org>
Changed-By: Pirate Praveen <prav...@debian.org>
Closes: 989175
Changes:
 ruby-maven-libs (3.3.9+ds-2) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Utkarsh Gupta ]
   * Add salsa-ci.yml
 .
   [ Debian Janitor ]
   * Use secure copyright file specification URI.
   * Bump debhelper from old 10 to 12.
   * Set debhelper-compat version in Build-Depends.
   * Update Vcs-* headers from URL redirect.
   * Use canonical URL in Vcs-Git.
 .
   [ Cédric Boutillier ]
   * Update team name
   * Add .gitattributes to keep unwanted files out of the source package
 .
   [ Pirate Praveen ]
   * Add a simple require autopkgtest (to check the version patch)
   * Fix maven version detection patch (Thanks to Raul Tambre) (Closes: #989175)
   * Bump Standards-Version to 4.5.1 (no changes needed)
   * Include NOTICE file in binary package
   * Move debian/watch to gemwatch.debian.net
Checksums-Sha1:
 01e86a42d890326c2969d92b7d20d27113e71edb 2085 ruby-maven-libs_3.3.9+ds-2.dsc
 c4e3d9d4a5d69b6922fc7b88213420957e6e33be 2940 
ruby-maven-libs_3.3.9+ds-2.debian.tar.xz
 ec886c18877e66e6f83203b7ccfa8e4d5eb42bd1 9098 
ruby-maven-libs_3.3.9+ds-2_amd64.buildinfo
Checksums-Sha256:
 c09a6eaa8628375d43f2aa3c94d22554f35063ca07b13fe1ecdefc6587b82ba2 2085 
ruby-maven-libs_3.3.9+ds-2.dsc
 3353eb6e890f0aad277f0c2891eb1b32339e6ab7cc346a03e118bcf33426fd75 2940 
ruby-maven-libs_3.3.9+ds-2.debian.tar.xz
 ea78f35c45684166645a9ccb5ad71f346e53f54ba991a40f13c15881ebce92f7 9098 
ruby-maven-libs_3.3.9+ds-2_amd64.buildinfo
Files:
 ff5bffabc67851fb2e1b84984f774dac 2085 ruby optional 
ruby-maven-libs_3.3.9+ds-2.dsc
 b4b2625b1d9895be745fbb6c46c44cb6 2940 ruby optional 
ruby-maven-libs_3.3.9+ds-2.debian.tar.xz
 a8c59818fc441a5dc015ef859a84251b 9098 ruby optional 
ruby-maven-libs_3.3.9+ds-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE0whj4mAg5UP0cZqDj1PgGTspS3UFAmEFn+MACgkQj1PgGTsp
S3UFaBAAlgKS6cLTT391ux/rdaiLsqDL2K9Gb1D/6t4Zmk3i1tYgoh9WnPsmzhAN
7pOE0e081gMPcJAyBnTMUbmL65C1FNRl5C1oWjbk69cxfLvu471GEfy12Rr0vkV+
3zLDd9Ysf+U6xbbzYXwAz2BVDA1S7w+4yGcpf5BKrFHigIEy54IzDdGLiugpdgJ4
JNtQEdBGbGQKteIyNFUassmwzCME3hXl7DXFDnjver25dCrfarrZfIDaFXkeh+4S
CjCeR4O2z6nDyWLF9lcZaes+m7eXirIdg7MiGLmTXzC5odMo1iUHccH40b4J7itp
xVaEFA3DvUh8c1i8lfYP6V0cB+r4W6SPjKcc5b91xXP8ErCb4xHhnmtbjVF0+eWj
dyZojjk6uY0lqI/toyVQy5weVF56ButY7IYJvexRDVsPMSD/rkZUa5UEB2PpC2oM
7K0zgld8l1qiRwRwdy8JBk4LvNOqbgwoKUeJ7xF8m7LqfLL1GEvsRuTO61cUJobv
ZQCTxXR1gtWE34l9nvyxTwDm1wIqvd1Q+cJ0sAXLKmxTIGGLOvdoPIrc4ft27J+2
dl+1DjrsspmjkMcOZ+Rsq+wApvJAi7zw6IRuL03NuQnr36HA+NvOi6cG/z1ESClV
h+kQALVXcB8hvsQm9DYd+Q0hQi89zaRKGcRSDB5XRSMab4om9Ls=
=tqyk
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to