[Git][haskell-team/package-plan][master] For Cabal version 3.4 or newer, preface bare flags with the plus sign (+) required there

Felix Lechner (@lechner) gitlab at salsa.debian.org
Sat Mar 5 05:20:06 GMT 2022



Felix Lechner pushed to branch master at Debian Haskell Group / package-plan


Commits:
7b274b06 by Felix Lechner at 2022-03-04T12:06:55-08:00
For Cabal version 3.4 or newer, preface bare flags with the plus sign (+) required there

Works locally with with Cabal version 3.6.2. Avoids this error:

Patching yi-language.cabal (version 0.19.0)
Writing 00-index.tar...
Creating fake global package db
Testing packages in 1 different groups
Running cabal-install (group default)...
Cabal install failed:
expected a (possibly qualified) package name followed by a constraint, which is either a version range, 'installed', 'source', 'test', 'bench', or flags. "<eitherParsec>" (line 1, column 4):
unexpected "p"
expecting space, "+", "-", white space, opening paren, operator, "installed", "source", "test" or "bench"
CallStack (from HasCallStack):
  error, called at src/Distribution/ReadE.hs:42:24 in Cabal-3.6.2.0-03f3cfbb497ed152d9bd39a61c6c77503df545160e1151114fe0dbc5ebd020fc:Distribution.ReadE
Use of uninitialized value $_[0] in join or string at /usr/share/perl5/File/Slurp.pm line 321.
4 error(s) in total.

More information may be available here:

    https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.4.0.0.md

Thanks to @gbaz from GitHub (http://gbaz.github.io/) for tracking down the
issue!

- - - - -


1 changed file:

- packages.txt


Changes:

=====================================
packages.txt
=====================================
@@ -116,7 +116,7 @@ charsetdetect-ae 1.1.0.4
 Chart 1.9.3
 Chart-cairo 1.9.3
 ChasingBottoms 1.3.1.9
-chell 0.5 -fcolor-output ignore # BROKEN LTS 15 ansi-terminal>=0.5 && <0.9
+chell 0.5 -f+color-output ignore # BROKEN LTS 15 ansi-terminal>=0.5 && <0.9
 chell-quickcheck 0.2.5.2 ignore # BROKEN: LTS 15.5: needs updating to newer QuickCheck
 chunked-data 0.3.1
 cipher-aes 0.2.11
@@ -184,7 +184,7 @@ curl 1.3.8
 curry-base 1.1.1
 curry-frontend 2.0.0
 czipwith 1.0.1.3
-darcs 2.16.4 key binary=darcs -fpkgconfig -fcurl -f-http -fterminfo notest
+darcs 2.16.4 key binary=darcs -f+pkgconfig -f+curl -f-http -f+terminfo notest
 darcs-monitor 0.4.2 binary=darcs-monitor key
 data-accessor 0.2.3
 data-accessor-mtl 0.2.0.4
@@ -419,7 +419,7 @@ hex 0.1.2
 hgettext 0.1.31.0
 hierarchical-clustering 0.4.7
 hi-file-parser 0.1.0.0
-highlighting-kate 0.6.4 -fpcre-light ignore # https://bugs.debian.org/963737
+highlighting-kate 0.6.4 -f+pcre-light ignore # https://bugs.debian.org/963737
 hindent 5.3.1 ignore # https://bugs.debian.org/963687
 hinotify 0.4.1
 hint 0.9.0.3 notest
@@ -683,8 +683,8 @@ optparse-applicative 0.15.1.0
 optparse-simple 0.1.1.3
 ordered-containers 0.2.2
 ormolu 0.1.4.1
-pandoc 2.9.2.1 key -fhttp-conduit
-pandoc-citeproc 0.17.0.1 -fbibutils -f-hexpat -funicode_collation
+pandoc 2.9.2.1 key -f+http-conduit
+pandoc-citeproc 0.17.0.1 -f+bibutils -f-hexpat -f+unicode_collation
 pandoc-citeproc-preamble 1.6 binary
 pandoc-sidenote 0.22.1.0
 pandoc-types 1.20 notest # Disable tests to avoid dep on string-qq
@@ -862,8 +862,8 @@ simple-templates 1.0.0
 singleton-bool 0.1.5
 singletons 2.6 notest # avoid dependency on missing turtle
 skein 1.0.9.4
-skylighting 0.8.5 -fsystem-pcre
-skylighting-core 0.8.5 -fsystem-pcre
+skylighting 0.8.5 -f+system-pcre
+skylighting-core 0.8.5 -f+system-pcre
 smallcheck 1.1.7
 smtLib 1.1
 smtp-mail 0.3.0.0
@@ -1113,7 +1113,7 @@ yesod-newsfeed 1.7.0.0
 yesod-persistent 1.6.0.5 notest
 yesod-static 1.6.1.0
 yesod-test 1.6.12
-yi 0.19.0 binary key -fvty -fpango
+yi 0.19.0 binary key -f+vty -f+pango
 yi-core 0.19.2
 yi-frontend-pango 0.19.1
 yi-frontend-vty 0.19.0



View it on GitLab: https://salsa.debian.org/haskell-team/package-plan/-/commit/7b274b06eb2156944a63a06fa99a6da4ffa94fa6

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/package-plan/-/commit/7b274b06eb2156944a63a06fa99a6da4ffa94fa6
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20220305/1d27770c/attachment-0001.htm>


More information about the Pkg-haskell-commits mailing list