#1012569 haskell_devscripts: unable to parse CABAL_VERSION from some .cabal files

#1012569#5
Date:
2022-06-09 16:44:14 UTC
From:
To:
haskell-devscripts is unable to parse the CABAL_VERSION out of some
.cabal files.  This is only recently a problem because prior to the
recent perl changes, builds would not fail if CABAL_VERSION was empty.
An example of a package where the .cabal file cannot be parsed is
haskell-base-prelude.  This results in an error such as this:

haskell-devscripts should be updated to perform parsing of the .cabal
file more reliably.

#1012569#8
Date:
2022-06-20 00:41:18 UTC
From:
To:
Hello,

Bug #1012569 in haskell-devscripts reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/haskell-team/haskell-devscripts/-/commit/38ca91d0687ab9037864aa782364c65828b81033
The grep/sed method didn't work for some .cabal files, so just use
Haskell which will necessarily know how to parse it's own files.  This
will be a bit slower, but probably not enough to care too much.
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1012569

#1012569#15
Date:
2022-06-20 01:04:01 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
haskell-devscripts, 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 1012569@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Scott Talbert <swt@techie.net> (supplier of updated haskell-devscripts 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)
Format: 1.8
Date: Sun, 19 Jun 2022 20:38:23 -0400
Source: haskell-devscripts
Architecture: source
Version: 0.16.20
Distribution: unstable
Urgency: medium
Maintainer: Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
Changed-By: Scott Talbert <swt@techie.net>
Closes: 1012569
Changes:
 haskell-devscripts (0.16.20) unstable; urgency=medium
 .
   * Use Haskell to parse .cabal files (Closes: #1012569)
Checksums-Sha1:
 bd2556711b2a62534186e26824bbbe9917ac4b18 1953 haskell-devscripts_0.16.20.dsc
 2c8c73d6aa85de791af3effe64d808553b00376a 37724 haskell-devscripts_0.16.20.tar.xz
 87a4cd7fe8f1411490ffb7e2a78bda25c440be10 6282 haskell-devscripts_0.16.20_amd64.buildinfo
Checksums-Sha256:
 dd87abed2fba205c82620dbc5b8d90314637584639b51e74afc13d66c5420897 1953 haskell-devscripts_0.16.20.dsc
 4478142ff5bf20e042e33543d95a6e8a093b5d1a27bbd83d8f204c81540a3f03 37724 haskell-devscripts_0.16.20.tar.xz
 f7dd7166e81e51c1a227dcbc6a1792f92e8ff40ba1ae7a4db149bf09f4486501 6282 haskell-devscripts_0.16.20_amd64.buildinfo
Files:
 c1d19841642bbf5b2ff903a10e565043 1953 haskell optional haskell-devscripts_0.16.20.dsc
 de7c90e4af733a1d39ab2caf92c68103 37724 haskell optional haskell-devscripts_0.16.20.tar.xz
 10379471bc4887afd2cc8e55fb3b2909 6282 haskell optional haskell-devscripts_0.16.20_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEEbnQ09Yl9Q7F/zVe3U9W8ZLUjeKIFAmKvwhsPHHN3dEB0ZWNo
aWUubmV0AAoJEFPVvGS1I3ii5EwP/1p1/yBDH9VyFXYkmle6ZtElyUvY6oYSL3XW
/lOjVEFaFYse9AKWuziI0PnY2Ql42BMtpsNJDj38lVuOX07sUum12lVOBhE6c26G
hLLJLtglSginuFn7/2XhTKJZQVFABg+F12P5ttB/TikiVU+9de3Wi+hZ0yGH0DL0
5iclcvJ4f2Cel9Gf68nWReb6yT1MMIMmH3lMsWHRpbwOZUOzkJijLE4VR6Ma6zrK
RF2czQlR+02Z9VK+uoJ86bR32sjk/pR6c6vWGEUoqmnEpEc/CtaCDoYhp5Epd4UT
x0TKhBQ31dYNI5sM19tprVAH1zHfcjMBmV4wbrxPpslfJMBqJvan1FL8fiGEsUGy
+4PFT4GTziUjT4YVaKw9OALYClVG0MRv71HVrrYyEaj+CdyqIFpTgClM6tbUjfe9
ChPEUx9pYFZwYORjyw+Uww+gL7mjTu1KtEGKY41+kcmKc8v/CvjHwyLyHTsXQcw1
IT9KPshXxln5yyBEPn50jO8kdyd7vwwiNIvGz/2b6j6dmEj/RWH28xgCtI+NFAHu
J3Sf17sR/LauX/Eaw9wfcdBhHKX+x3meLkSXE/lIyPtHnWG8/pAEo4dZHGtF9NAg
kjn5aAqd0EO+PpUfhNLB2zQBshEOAxXoAZ0WBEqn31B4KfCa/TsfWnFGN1AQL7ky
RiVzm21e
=fQK6
-----END PGP SIGNATURE-----