Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 559988 - stable app-text/pandoc uses outdated haskell dependencies
Summary: stable app-text/pandoc uses outdated haskell dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-09 01:15 UTC by David Haller
Modified: 2015-09-19 18:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Output of 'emerge --pretend --verbose-conflicts app-text/pandoc' (with only ghc itself installed) (broken-haskell-stack.txt,12.26 KB, text/plain)
2015-09-11 23:00 UTC, David Haller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Haller 2015-09-09 01:15:47 UTC
Upon emerging pandoc, having no haskell related stuff installed yet (oh, ok, I kept ghc itself, that's not involved), I stumbled upon conflicting deps in the haskell-stack, while having a pristine portage-tree, i.e. all is pulled in by pandoc, directly or indirectly.

Reproducible: Always

Steps to Reproduce:
1. have a haskell-free system, emerge e.g. app-text/pandoc



Expected Results:  
A conflict-free merge when I try to merge a single package on a clean slate
Comment 1 David Haller 2015-09-09 01:33:42 UTC
Oh, darn, I completely forgot! The whole shebang can be resolved with these masks:

>=dev-haskell/text-1.0
>=dev-haskell/yaml-0.8.10.1
>=dev-haskell/blaze-builder-conduit-1.1.0
>=dev-haskell/tls-1.2
dev-haskell/text-stream-decode
>=dev-haskell/conduit-1.0.10

With these (e.g. in package.mask), emerging pandoc works. So those need some
work on the deps I'd guess... Hm. the dev-haskell/tls conflict seems to have disappeared already with some 'emerge --sync'.

And I seem to be unable to add an attachment here (I have cookies and JS enabled, no joy). So, for now: http://paste.opensuse.org/48963658

For comparison, try to emerge

emerge --pretend --verbose-conflicts dev-haskell/text-stream-decode dev-haskell/blaze-markup dev-haskell/blaze-html dev-haskell/conduit dev-haskell/http-conduit dev-haskell/blaze-builder-conduit dev-haskell/yaml dev-haskell/zlib-conduit

(those are all packages required by pandoc in some way)
Comment 2 David Haller 2015-09-11 23:00:39 UTC
Created attachment 411646 [details]
Output of 'emerge --pretend --verbose-conflicts app-text/pandoc' (with only ghc itself installed)
Comment 3 David Haller 2015-09-11 23:01:51 UTC
Hopefully attaching works now. Anyway, the problem (which can be solved by masking newer amd64 packages (not ~amd64), see my comment #1 to the bug) seems
to be that some newer packages pull in conflicting packages, as expressed in the
package.mask lines I have in comment #1.

I think those newer packages should be in a different slot than the old ones,
e.g. dev-haskell/text should have the slots 0/0.11.* and 1/1.1.* and 1/1.2.*
(or even 1.1/1.1.* and 1.2/1.2.*). I do not now how much work it'd be slotting
those conflicting packages, but judging from the files of e.g. dev-haskell/text,
it should be no biggie, as all files seem to be in versioned directories.

PS: when trying to comment in the field in the 'attachment.cgi' form, the submit button is getting disabled ... ;(
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2015-09-18 08:51:25 UTC
Yeah, stable pandoc uses outdated packages and newer version needs to be stabilised.

Will try to deal with it today.
Comment 5 Sergei Trofimovich (RETIRED) gentoo-dev 2015-09-19 15:55:09 UTC
Stabilised latest pandoc today as:

$ git log --oneline d1c26ab..b421e62 | cat
b421e62 dev-haskell/httpd-shed: amd64, x86 stable, bug #559988
874d817 dev-haskell/http: amd64, x86 stable, bug #559988
0cdb200 dev-haskell/puremd5: amd64, x86 stable, bug #559988
a8ff6c0 dev-haskell/crypto-api: amd64, x86 stable, bug #559988
fdb086e dev-haskell/entropy: amd64, x86 stable, bug #559988
135cc6f dev-haskell/blaze-html: allow text-1.1
76351eb dev-haskell/blaze-html: allow QuickCheck-2.8
0ad2f5a dev-haskell/blaze-markup: allow QuickCheck-2.8
1438037 dev-haskell/blaze-markup: amd64, x86 stable, bug #559988
87d12ba app-text/pandoc: amd64, x86 stable, bug #559988
5738576 dev-haskell/executable-path: amd64, x86 stable, bug #559988
6b62513 dev-haskell/aeson: amd64, x86 stable, bug #559988
310c2f8 dev-haskell/attoparsec: amd64, x86 stable, bug #559988
1e7dce2 dev-haskell/quickcheck-unicode: amd64, x86 stable, bug #559988
f9d10d6 dev-haskell/tasty-smallcheck: amd64, x86 stable, bug #559988
939ccc1 dev-haskell/attoparsec: amd64, x86 stable, bug #559988
860ea2f dev-haskell/scientific: amd64, x86 stable, bug #559988
2adcdfa dev-haskell/tasty-ant-xml: amd64, x86 stable, bug #559988
34ed4a3 dev-haskell/generic-deriving: amd64, x86 stable, bug #559988
3a29ee7 dev-haskell/haddock-library: disable tests
11a3205 dev-haskell/haddock-library: amd64, x86 stable, bug #559988
d6bf6d0 dev-haskell/wai-extra: amd64, x86 stable, bug #559988
983597c dev-haskell/wai-logger: amd64, x86 stable, bug #559988
171efe5 dev-haskell/easy-file: amd64, x86 stable, bug #559988
b3469eb dev-haskell/unix-time: amd64, x86 stable, bug #559988
a02c492 dev-haskell/fast-logger: amd64, x86 stable, bug #559988
b4499f8 dev-haskell/word8: amd64, x86 stable, bug #559988
febd307 dev-haskell/highlighting-kate: amd64, x86 stable, bug #559988
42d0b25 dev-haskell/texmath: amd64, x86 stable, bug #559988
7676341 dev-haskell/sha: amd64, x86 stable, bug #559988
d3f84b6 dev-haskell/test-framework: amd64, x86 stable, bug #559988
f028d21 dev-haskell/libxml: amd64, x86 stable, bug #559988
475489c dev-haskell/pandoc-types: amd64, x86 stable, bug #559988
9162ace dev-haskell/juicypixels: amd64, x86 stable, bug #559988
42128c6 dev-haskell/zip-archive: amd64, x86 stable, bug #559988
9077244 dev-haskell/filemanip: amd64, x86 stable, bug #559988
5e16a07 dev-haskell/deepseq-generics: amd64, x86 stable, bug #559988
e9d96a1 dev-haskell/tagsoup: amd64, x86 stable, bug #559988
2f76d1a dev-haskell/cmark: amd64, x86 stable, bug #559988

Thank you!
Comment 6 David Haller 2015-09-19 18:08:02 UTC
pandoc now builds ok (with current packages as I see :), and seems to work. Good job & thanks a lot for you digging through this!