Debian Bug report logs -
#952587
FTBFS with Ruby2.7: CSV.parse() doesn't parse CVS source file as expected
Reported by: Daniel Leidert <dleidert@debian.org>
Date: Wed, 26 Feb 2020 13:21:01 UTC
Severity: serious
Tags: sid
Found in version ruby-espeak/1.0.4-1
Fixed in version ruby-espeak/1.0.4-2
Done: Utkarsh Gupta <utkarsh@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, unknown-package@qa.debian.org:
Bug#952587; Package src:ruby-rspeak.
(Wed, 26 Feb 2020 13:21:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Daniel Leidert <dleidert@debian.org>:
New Bug report received and forwarded. Copy sent to unknown-package@qa.debian.org.
(Wed, 26 Feb 2020 13:21:03 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: ruby-rspeak
Version: 1.0.4-1
Severity: serious
Justification: FTBFS on amd64
Tags: sid
Usertags: ruby2.7-transition
Hi there,
the newly accepted ruby-espeak fails to test successfully with Ruby2.7. The
reason seems that CSV.parse() has a behavior change. It does not parse the file
test/fixtures/voices.txt anymore as it did. It seems using
col_sep: ' '
is now interpreted literally. So fields separated by more then one space are
not parsed as columns in a row. To demonstrate consider this line:
> Pty Language Age/Gender VoiceName File Other Langs
> 5 af M afrikaans af
With ruby2.5 it is parsed like this:
> #<CSV::Row "Pty":"5" "Language":"af" "Age/Gender":"M" "VoiceName":"afrikaans"
> "File":"af" "Other":nil "Langs":nil>
and with ruby2.7 like this:
> #<CSV::Row "Pty":nil "Language":"5" "Age/Gender":nil "VoiceName":"af" nil:nil
> nil:nil nil:nil nil:nil nil:nil nil:nil "File":nil nil:nil nil:nil nil:nil
> nil:nil nil:nil nil:"M" nil:nil "Other":"afrikaans" "Langs":nil nil:nil
> nil:nil nil:nil nil:nil nil:nil nil:nil nil:nil nil:"af" nil:nil nil:nil
> nil:nil nil:nil nil:nil nil:nil nil:nil nil:nil nil:nil nil:nil>
This seems intentional:
https://github.com/ruby/csv/issues/67
https://github.com/ruby/csv/commit/7798df60fed87251b26c1202eb251a7894b55469#diff-fd263cdff2717a557bddf1592762dba3R16
The file format is determined by the output of `espeak --voices` and cannot be
changed.
Does anybody know, how to easily fix this, or is anybody up to add some magic
to lib/espeak/voice.rb to deal with this?
Regards, Daniel
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, unknown-package@qa.debian.org:
Bug#952587; Package src:ruby-rspeak.
(Thu, 27 Feb 2020 07:57:02 GMT) (full text, mbox, link).
Message #8 received at 952587@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Control: reassign -1 ruby-espeak 1.0.4-1
On Mi, 26 feb 20, 14:17:36, Daniel Leidert wrote:
> Source: ruby-rspeak
> Version: 1.0.4-1
> Severity: serious
> Justification: FTBFS on amd64
> Tags: sid
> Usertags: ruby2.7-transition
>
> Hi there,
>
> the newly accepted ruby-espeak fails to test successfully with Ruby2.7. The
> reason seems that CSV.parse() has a behavior change. It does not parse the file
> test/fixtures/voices.txt anymore as it did. It seems using
>
> col_sep: ' '
>
> is now interpreted literally. So fields separated by more then one space are
> not parsed as columns in a row. To demonstrate consider this line:
>
> > Pty Language Age/Gender VoiceName File Other Langs
> > 5 af M afrikaans af
>
> With ruby2.5 it is parsed like this:
>
> > #<CSV::Row "Pty":"5" "Language":"af" "Age/Gender":"M" "VoiceName":"afrikaans"
> > "File":"af" "Other":nil "Langs":nil>
>
> and with ruby2.7 like this:
>
> > #<CSV::Row "Pty":nil "Language":"5" "Age/Gender":nil "VoiceName":"af" nil:nil
> > nil:nil nil:nil nil:nil nil:nil nil:nil "File":nil nil:nil nil:nil nil:nil
> > nil:nil nil:nil nil:"M" nil:nil "Other":"afrikaans" "Langs":nil nil:nil
> > nil:nil nil:nil nil:nil nil:nil nil:nil nil:nil nil:"af" nil:nil nil:nil
> > nil:nil nil:nil nil:nil nil:nil nil:nil nil:nil nil:nil nil:nil>
>
> This seems intentional:
> https://github.com/ruby/csv/issues/67
> https://github.com/ruby/csv/commit/7798df60fed87251b26c1202eb251a7894b55469#diff-fd263cdff2717a557bddf1592762dba3R16
>
> The file format is determined by the output of `espeak --voices` and cannot be
> changed.
>
> Does anybody know, how to easily fix this, or is anybody up to add some magic
> to lib/espeak/voice.rb to deal with this?
>
> Regards, Daniel
--
http://wiki.debian.org/FAQsFromDebianUser
[signature.asc (application/pgp-signature, inline)]
No longer marked as found in versions ruby-rspeak/1.0.4-1.
Request was from Andrei POPESCU <andreimpopescu@gmail.com>
to 952587-submit@bugs.debian.org.
(Thu, 27 Feb 2020 07:57:03 GMT) (full text, mbox, link).
Marked as found in versions ruby-espeak/1.0.4-1.
Request was from Andrei POPESCU <andreimpopescu@gmail.com>
to 952587-submit@bugs.debian.org.
(Thu, 27 Feb 2020 07:57:03 GMT) (full text, mbox, link).
Reply sent
to Utkarsh Gupta <utkarsh@debian.org>:
You have taken responsibility.
(Tue, 26 May 2020 10:06:04 GMT) (full text, mbox, link).
Notification sent
to Daniel Leidert <dleidert@debian.org>:
Bug acknowledged by developer.
(Tue, 26 May 2020 10:06:05 GMT) (full text, mbox, link).
Message #19 received at 952587-close@bugs.debian.org (full text, mbox, reply):
Source: ruby-espeak
Source-Version: 1.0.4-2
Done: Utkarsh Gupta <utkarsh@debian.org>
We believe that the bug you reported is fixed in the latest version of
ruby-espeak, 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 952587@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Utkarsh Gupta <utkarsh@debian.org> (supplier of updated ruby-espeak 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 ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 26 May 2020 14:11:48 +0530
Source: ruby-espeak
Architecture: source
Version: 1.0.4-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Changed-By: Utkarsh Gupta <utkarsh@debian.org>
Closes: 952587
Changes:
ruby-espeak (1.0.4-2) unstable; urgency=medium
.
* Source-only upload
* Add myself as an uploader
* Disable tests as a temporary workaround (Closes: #952587)
- This is a change in CSV. And the upstream is dead.
* Bump debhelper-compat to 13
Checksums-Sha1:
1f2376f0de5573c04315b115fc915c4abc8a6d33 2154 ruby-espeak_1.0.4-2.dsc
df3834b8e3501e2569ccf7a8a0f8c3312338a396 2640 ruby-espeak_1.0.4-2.debian.tar.xz
e414fabaa93ebaf2bca978fd782e06a96d243346 9193 ruby-espeak_1.0.4-2_amd64.buildinfo
Checksums-Sha256:
7cc6a220a1c6bbe02f93cad6fad9e93fa14f6d3124973b0f90a0e6ab98e1cfff 2154 ruby-espeak_1.0.4-2.dsc
c7c948eef75fba7256600e40162887a006050f412b54277d976eb17ee6bbb828 2640 ruby-espeak_1.0.4-2.debian.tar.xz
3fc05dbca014b6b062e1f55a19403328f852f716ccd218cbd64de41a94756dcf 9193 ruby-espeak_1.0.4-2_amd64.buildinfo
Files:
467284284cdb23079bd14fb23c844209 2154 ruby optional ruby-espeak_1.0.4-2.dsc
49fe1c8cdba1413bb3c3e4c1e62a8fad 2640 ruby optional ruby-espeak_1.0.4-2.debian.tar.xz
3c7c4d0b4f11b44e020a3c10088195d9 9193 ruby optional ruby-espeak_1.0.4-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJHBAEBCAAxFiEEbJ0QSEqa5Mw4X3xxgj6WdgbDS5YFAl7M5cgTHHV0a2Fyc2hA
ZGViaWFuLm9yZwAKCRCCPpZ2BsNLlgO0EAC38dIusBh81d1RzsV8PH2TXZiixbBw
NdaT8qzheWitbF8VmYwvgpGEQeVRMYI5Y4O6VolxvqlRaC2N+iZryP4x2KHMhbe+
nULJXjeIjDiAArqLFqtkFnwyaPUGqzbmG8kXJjMBS2Fduc3GesY9LmuceopRLhxr
8TCBWIyGefTVzKsF1StonBhMHwzRtmZfncAlLGlnttGO01oXcd6yIV9sVjtNqgCp
pLbhykoIEOB4okK84AZIl08Ku1QAgyJeFhAc0Ej55pMZPnXZiv4L299qPduWf4Gj
S5comPHiY/Z4X43jxloZGZahHigeRElhUcHENc/E3WdL9mLCrzuTG2p5a8Yede9C
HaV8i/pF5LSFcXT36bJgnICa9B0naePQO8tw2f78YNNRI4XAoz4tDWufyqzQktCc
G9pmY2o7Ixi/7f8hwAYYnT8EhHqsFv3DCUngXafUJL+3xKTbdDWwpJYksXas3kUw
bBSkL6sbhopw6ZPGpy2TEqdQGVt1xQ+sp5O6ljNYxwcy3EUFOIViBk+pBee0ae38
iFHzNgp5lq19qObd78+0gRwYiIVn4f01GBnewSVOohv3Q66A0DMARwpO2ySDi5Y7
cAu6dHIAp6ubEFZlMNJ1pq1vDubbYmpuG0bSvIp4L/k2amM0Sa8P55pirhgc+ZQY
Wd7rvb3cGQAQ8g==
=uvjR
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Wed, 24 Jun 2020 07:30:07 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Oct 8 03:08:06 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.