Bug#900783: libghc-hakyll-dev: AesonException "Error in $.packages.cassava.constraints.flags: failed to parse field packages

stephane at bortzmeyer.org stephane at bortzmeyer.org
Mon Jun 4 21:02:01 BST 2018


Package: libghc-hakyll-dev
Version: 4.9.2.0-1
Severity: important

Dear Maintainer,

hakyll-init test woks fine but then no way to build the site:


% stack init
Looking for .cabal or package.yaml files to use to init the project.
Using cabal packages:
- test.cabal

Selecting the best among 13 snapshots...

Downloaded lts-11.11 build plan.
AesonException "Error in $.packages.cassava.constraints.flags: failed
to parse field packages: failed to parse field constraints: failed to
parse field flags: Invalid flag name: \"bytestring--lt-0_10_4\""

The problem seems to be reported from time to time
https://github.com/commercialhaskell/stackage/issues/3132

But the workaround "stack upgrade" does not work:

% stack upgrade
remote: Counting objects: 291531, done.
remote: Compressing objects: 100% (234846/234846), done.
remote: Total 291531 (delta 77933), reused 236413 (delta 53645),
pack-reused 0
Receiving objects: 100% (291531/291531), 70.72 MiB | 10.54 MiB/s,
done.
Resolving deltas: 100% (77933/77933), completed with 1 local object.
>From https://github.com/commercialhaskell/all-cabal-hashes
 * [new tag]               current-hackage -> current-hackage
 Fetched package index.
 Populated index cache.
 stack-1.7.1: download
 Could not parse '/tmp/stack-upgrade4100/stack-1.7.1/stack.yaml':
 AesonException "Error in $['extra-deps'][0]: failed to parse field
 'extra-deps': failed to parse field extra-deps: (Invalid package
 identifier: \"rio-0.1.1.0 at rev:0\",\"rio-0.1.1.0 at rev:0\")"
 See http://docs.haskellstack.org/en/stable/yaml_configuration/.
 



-- System Information:
Debian Release: 9.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-6-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libghc-hakyll-dev depends on:
ii  ghc [libghc-time-dev-1.6.0.1-6cdb6]                         8.0.1-17+b1
ii  libbibutils2                                                4.12-5+b2
ii  libc6                                                       2.24-11+deb9u3
ii  libffi6                                                     3.2.1-6
pn  libghc-base-dev-4.9.0.0-5e731                               <none>
pn  libghc-binary-dev-0.8.3.0-4351e                             <none>
ii  libghc-blaze-html-dev [libghc-blaze-html-dev-0.8.1.2-5d2e6  0.8.1.2-3+b1
ii  libghc-blaze-markup-dev [libghc-blaze-markup-dev-0.7.1.0-8  0.7.1.0-3+b1
pn  libghc-bytestring-dev-0.10.8.1-58b19                        <none>
pn  libghc-containers-dev-0.5.7.1-8be09                         <none>
ii  libghc-cryptohash-dev [libghc-cryptohash-dev-0.11.9-737b9]  0.11.9-3+b1
ii  libghc-data-default-dev [libghc-data-default-dev-0.7.1.1-8  0.7.1.1-2+b1
pn  libghc-deepseq-dev-1.4.2.0-a6601                            <none>
pn  libghc-directory-dev-1.2.6.2-958b8                          <none>
pn  libghc-filepath-dev-1.4.1.0-6e799                           <none>
ii  libghc-fsnotify-dev [libghc-fsnotify-dev-0.2.1-dc751]       0.2.1-4+b1
ii  libghc-http-types-dev [libghc-http-types-dev-0.9.1-9a6ab]   0.9.1-3+b1
ii  libghc-lrucache-dev [libghc-lrucache-dev-1.2.0.0-e5a4f]     1.2.0.0-6+b1
ii  libghc-mtl-dev [libghc-mtl-dev-2.2.1-3d1c9]                 2.2.1-5
ii  libghc-network-dev [libghc-network-dev-2.6.3.1-f63b0]       2.6.3.1-3+b1
ii  libghc-network-uri-dev [libghc-network-uri-dev-2.6.1.0-287  2.6.1.0-3+b1
ii  libghc-optparse-applicative-dev [libghc-optparse-applicati  0.12.1.0-3
ii  libghc-pandoc-citeproc-dev [libghc-pandoc-citeproc-dev-0.1  0.10.2.2-1+b2
ii  libghc-pandoc-dev [libghc-pandoc-dev-1.17.2-a5623]          1.17.2~dfsg-3
ii  libghc-parsec3-dev [libghc-parsec-dev-3.1.11-a7de0]         3.1.11-3+b1
pn  libghc-process-dev-1.4.2.0-e39cb                            <none>
ii  libghc-random-dev [libghc-random-dev-1.1-84324]             1.1-5+b1
ii  libghc-regex-base-dev [libghc-regex-base-dev-0.93.2-7601d]  0.93.2-10+b1
ii  libghc-regex-tdfa-dev [libghc-regex-tdfa-dev-1.2.2-8a42b]   1.2.2-3+b1
ii  libghc-resourcet-dev [libghc-resourcet-dev-1.1.8-14d87]     1.1.8-2+b1
ii  libghc-scientific-dev [libghc-scientific-dev-0.3.4.9-83e0c  0.3.4.9-3+b1
ii  libghc-system-filepath-dev [libghc-system-filepath-dev-0.4  0.4.13.4-6+b1
ii  libghc-tagsoup-dev [libghc-tagsoup-dev-0.14-4d61d]          0.14-2+b1
ii  libghc-text-dev [libghc-text-dev-1.2.2.1-80edf]             1.2.2.1-3+b1
ii  libghc-time-locale-compat-dev [libghc-time-locale-compat-d  0.1.1.3-3+b1
ii  libghc-unordered-containers-dev [libghc-unordered-containe  0.2.7.1-3+b1
ii  libghc-vector-dev [libghc-vector-dev-0.11.0.0-b15f0]        0.11.0.0-7
ii  libghc-wai-app-static-dev [libghc-wai-app-static-dev-3.1.6  3.1.6.1-3+b2
ii  libghc-wai-dev [libghc-wai-dev-3.2.1.1-886b5]               3.2.1.1-3+b1
ii  libghc-warp-dev [libghc-warp-dev-3.2.8-3267c]               3.2.8-3+b2
ii  libghc-yaml-dev [libghc-yaml-dev-0.8.20-cd77a]              0.8.20-2+b1
ii  libgmp10                                                    2:6.1.2+dfsg-1
ii  libicu57                                                    57.1-6+deb9u2
ii  liblua5.1-0                                                 5.1.5-8.1+b2
ii  libluajit-5.1-2                                             2.0.4+dfsg-1+b1
ii  libpcre3                                                    2:8.39-3
ii  libyaml-0-2                                                 0.1.7-2
ii  zlib1g                                                      1:1.2.8.dfsg-5

libghc-hakyll-dev recommends no packages.

Versions of packages libghc-hakyll-dev suggests:
pn  libghc-hakyll-doc   <none>
pn  libghc-hakyll-prof  <none>

-- no debconf information



More information about the Pkg-haskell-maintainers mailing list