* [gentoo-user] Haskell hell
@ 2018-10-05 6:55 Klaus Ethgen
2018-10-05 7:05 ` Klaus Ethgen
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Klaus Ethgen @ 2018-10-05 6:55 UTC (permalink / raw
To: gentoo-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hi Folks,
Currently I suffer from the bad haskell hell. I need the current
git-annex that is only available in the haskell overlay.
Unfortunately this brings me into the haskell dependency hell. For two
days I am constantly adding keywords for one more package, emerging it,
doing haskell-updater, doing emerge @preserved-rebuild and starting over
again.
It seems that no single package in thatoverlay, that is marked green is
working and I have to add a keyword overwrite for them.
Isn't there a way to escape the haskell dependency hell? Is there a
clean way to compile and use haskell stuff? That is a real nightmare.
Regards
Klaus
- --
Klaus Ethgen http://www.ethgen.ch/
pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen <Klaus@Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Comment: Charset: ISO-8859-1
iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAlu3CuQACgkQpnwKsYAZ
9qzwUwwAgpujEEJmCEyHfomgm6J4JuY8fBMN+43clq+1TZW1aM4e07nL40Zv2KoQ
JBKoGNvIP+mHop10o130VsqnwcZFCP1+TCGx8PrmGWuPkyhcG+Yb3on38fAYxAsN
wyfdAmk3yNmvY4JAkRK4/BebTPpRqvrcSIemRAwI83W7wtfe8bBSl/tUwVqFINpD
WBCjSAfcrPOZlarJYfd/DN1o2mCCB7YQieo5y/wUCE8xLfmbK/YrJPOJV/gDUdfx
CfrfqWEgYI7BUE3H2r1UUr8HzzvLyCr1Apqbr2HtmeK5Q52OiVG92atywKKUTFzg
xaYNslSUkcb8x/m6Dv/yuHBW8mQbW05QI90uCMDCBulcVrzT/1KhsAbBt9jZlM4z
nfxrNYblG3lLkd/UInHdGyKK9pzDKfUIwuhJx0xN0beuUuXspWHWHTYaLxm/IPxk
wKvk5WVjjgwbwg5c75mS4RKb0UndoeiR/nBj0BSFvWzcAVd7FjmCr9GjIXoYmjYT
hbYRZUrx
=ru+y
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Haskell hell
2018-10-05 6:55 [gentoo-user] Haskell hell Klaus Ethgen
@ 2018-10-05 7:05 ` Klaus Ethgen
2018-10-05 7:17 ` John Covici
2018-10-05 7:59 ` Florian Gamböck
2 siblings, 0 replies; 5+ messages in thread
From: Klaus Ethgen @ 2018-10-05 7:05 UTC (permalink / raw
To: gentoo-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Ah, I forgot to mention circular dependencies...
Regards
Klaus
- --
Klaus Ethgen http://www.ethgen.ch/
pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen <Klaus@Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Comment: Charset: ISO-8859-1
iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAlu3DTMACgkQpnwKsYAZ
9qySLAv/STU8t3Ora6WoXe+30Nam9aoNrnAEKsLRgY1aMxbZq1zE6raGO8GUYceV
FLe4onCVawSelA8Ldss2ZRYZRPTD3NmUcgmorGE15F8gAIeJPYnVMOwAvmYxmNe1
w2Xxx2b09GL/DO/GPH5jhgEV/juVsiEnEd577W4dN+7IK2SHGEamYnjGDaHEM0jS
AqN/X/wak1mPZWpM469+/Niq4LXy3+5yXmNTjUBBv5sCBFXi3NexGoOSXkEA0FGk
CH6ruT8yNuOtvm7O8ELfuzonqtr2ZeTM9slqH9sPMOm0dGTWT5oBnChTcPaAeG+X
jZGDNTK2vM6oTgo3RpWn2edQ6fGzOQ/l/mAoMLFECFIUnWxWoGRCQ6Z6EenjJYrJ
5un9OyIYBXQVJintGs/Q36tF5540dqh5P9ShCZ3A/1qMI9/Xfne8fBqJGOY+GB2I
8fNnpMeDAYOFNQU9Jcuxl9yg/rdsBKtJlB7UO4XWGP5aAME6kxrvIdnQ/fIG132B
0avDie78
=/Rru
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Haskell hell
2018-10-05 6:55 [gentoo-user] Haskell hell Klaus Ethgen
2018-10-05 7:05 ` Klaus Ethgen
@ 2018-10-05 7:17 ` John Covici
2018-10-05 7:59 ` Florian Gamböck
2 siblings, 0 replies; 5+ messages in thread
From: John Covici @ 2018-10-05 7:17 UTC (permalink / raw
To: gentoo-user
On Fri, 05 Oct 2018 02:55:38 -0400,
Klaus Ethgen wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> Hi Folks,
>
> Currently I suffer from the bad haskell hell. I need the current
> git-annex that is only available in the haskell overlay.
>
> Unfortunately this brings me into the haskell dependency hell. For two
> days I am constantly adding keywords for one more package, emerging it,
> doing haskell-updater, doing emerge @preserved-rebuild and starting over
> again.
>
> It seems that no single package in thatoverlay, that is marked green is
> working and I have to add a keyword overwrite for them.
>
> Isn't there a way to escape the haskell dependency hell? Is there a
> clean way to compile and use haskell stuff? That is a real nightmare.
I use the overlay and the last major update was a pain. I had errors
when compiling the preserved-rebuild list, so I had to create a bash
script and do them individually. Sometimes a package needed something
further down in the list, so I had to compile that one first. If I
remember correctly I had to compile a couple of packages with
--nodeps, but I am not sure about that. I hope this helps you.
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici wb2una
covici@ccs.covici.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Haskell hell
2018-10-05 6:55 [gentoo-user] Haskell hell Klaus Ethgen
2018-10-05 7:05 ` Klaus Ethgen
2018-10-05 7:17 ` John Covici
@ 2018-10-05 7:59 ` Florian Gamböck
2018-10-07 8:19 ` [gentoo-user] Haskell hell -- next itteration Klaus Ethgen
2 siblings, 1 reply; 5+ messages in thread
From: Florian Gamböck @ 2018-10-05 7:59 UTC (permalink / raw
To: gentoo-user
Hi Klaus,
On 2018-10-05 07:55, Klaus Ethgen wrote:
> Currently I suffer from the bad haskell hell. I need the current
> git-annex that is only available in the haskell overlay.
>
> (...)
>
> Isn't there a way to escape the haskell dependency hell? Is there a
> clean way to compile and use haskell stuff? That is a real nightmare.
first of all, let me tell you that I am not a Haskell expert and the
following is only based on my personal experience.
I had similar problems with using pandoc, which also guides me in the
"Haskell hell", as you call it. However, since I added 'dev-haskell/*'
into my package.keywords, I have not experienced anything problematic
anymore.
As for rebuilds and preserved libs, sometimes (rarely) after big updates
I get segmentation faults and the like with Haskell packages. Since I
have "buildpkg" in my FEATURES, I can do the following: Remove the
complete dev-haskell folder in my bin-package directory, plus maybe the
packages, that depend on them, so app-text/pandoc or dev-vcs/git-annex.
And then I recompile every package, that does not have a binary package
present. This way, even if some packages fail because of OOM or the
like, I can just continue where I left off, because the succeeded
ebuilds created binary packages.
I have never used haskell-updater, I never needed to.
So, to summarize:
- dev-haskell/* to package.keywords
- use buildpkg when compiling/upgrading haskell
Disclaimer: Your experience MAY vary. ;-)
--
Regards
Flo
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Haskell hell -- next itteration
2018-10-05 7:59 ` Florian Gamböck
@ 2018-10-07 8:19 ` Klaus Ethgen
0 siblings, 0 replies; 5+ messages in thread
From: Klaus Ethgen @ 2018-10-07 8:19 UTC (permalink / raw
To: gentoo-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hi,
Am Fr den 5. Okt 2018 um 8:59 schrieb Florian Gamböck:
> - dev-haskell/* to package.keywords
That helped somehow.
It is not that git-annex does compile now. It doesn't, it has some
compile errors.
But now I have another problem. Emerge wants to install
dev-haskell/tagged-0.8.4:0/0.8.4::gentoo while 0.8.5 is already
installed.
WHY???
Calculating dependencies... done!
[nomerge ] dev-util/shellcheck-0.5.0-r1:0/0.5.0::gentoo USE="-doc -hscolour (-profile) -test"
[nomerge ] dev-haskell/semigroups-0.18.5:0/0.18.5::haskell USE="binary transformers -doc -hoogle -hscolour (-profile)"
[ebuild UD#] dev-haskell/tagged-0.8.4:0/0.8.4::gentoo [0.8.5:0/0.8.5::haskell] USE="-doc -hscolour (-profile) (-hoogle%)" 0 KiB
Total: 1 package (1 downgrade), Size of downloads: 0 KiB
!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:
dev-haskell/tagged:0
(dev-haskell/tagged-0.8.4:0/0.8.4::gentoo, ebuild scheduled for merge) pulled in by
<dev-haskell/tagged-1:0/0.8.4= required by (dev-haskell/semigroups-0.18.5:0/0.18.5::haskell, installed)
^^^^^^^^^
(and 1 more with the same problem)
(dev-haskell/tagged-0.8.5:0/0.8.5::haskell, installed) pulled in by
<dev-haskell/tagged-0.9:0/0.8.5= required by (dev-haskell/aeson-1.3.1.1:0/1.3.1.1::haskell, installed)
^^^^^^^^^
(and 1 more with the same problem)
That makes no sense at all! 0.8.5 is clearly below 0.9 or 1.
I even tried to let emerge build the lower version of dev-haskell/tagged
but that failed even though it is marked stable.
So I added a mask for it (=dev-haskell/tagged-0.8.4). But as you can see
above, emerge wants to use it nevertheless.
Anybody an idea how to fix that?
Regards
Klaus
- --
Klaus Ethgen http://www.ethgen.ch/
pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen <Klaus@Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Comment: Charset: ISO-8859-1
iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAlu5wZcACgkQpnwKsYAZ
9qxy3AwApTJQPsbNhr88gGBFChHkczbhXaWObMLkxJrHPFqkP6/KhDxw/1dDDczR
JPODeWCj3zmNbrSIlpHNoRBy8Kd4jM3bNTPQX9gJPI6FQDMT5B6ZJmtQLs8EWvPr
tSVDU8UoW44pL+YsYOhmY1ClX7itp9DF6ckKy3Yg5VIs5hVZvLRXSM6but8v0Vx7
kW5xhJPSbIAuMxkvpvx+xH/VQsDH43Uumumnkdn0m/wVMCOlMNexTHdB5Nd/f+r5
tLFKAkDpmU8Y4veh8hcLVMuFGlC+5VEyQexfnhc2D/rWQQhdPwsY1Q/uIszYcWDY
PGwSRA1aFxtWqa6ZjTue3emG5ynURKrpjI0M4Td6O4RXEmmQ7Cqzen1s3ypchNkc
VAJQo12yNVT36AxUJDM7f0p055QiNN3kEwDDUzQRDiCvSNSpxrzS0ExIb1EU0V9l
2tM58zfKqKTaZ0Xure3HAvvojPxLY5R7uH7Szlg9gj+rP6Q5bAh0QGaoaIrF5ILZ
rhFrNtge
=aVi1
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-10-07 8:19 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-05 6:55 [gentoo-user] Haskell hell Klaus Ethgen
2018-10-05 7:05 ` Klaus Ethgen
2018-10-05 7:17 ` John Covici
2018-10-05 7:59 ` Florian Gamböck
2018-10-07 8:19 ` [gentoo-user] Haskell hell -- next itteration Klaus Ethgen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox