From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/8644 Path: news.gmane.org!not-for-mail From: Ben Bolker Newsgroups: gmane.text.pandoc Subject: Re: cabal install: mmorph dependency hell? Date: Sun, 5 Jan 2014 14:49:33 -0800 (PST) Message-ID: <15eeb1bf-2376-49aa-8091-230149ce56c5@googlegroups.com> References: <4abea295-706b-4186-93e7-0dc10bbdacfe@googlegroups.com> <20140105010956.GA19596@protagoras.phil.berkeley.edu> <52C8C576.9070708@gmail.com> <20140105195901.GB30945@protagoras.phil.berkeley.edu> <52C9C2E5.805@gmail.com> <52C9D6D6.5050001@gmail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_298_25162963.1388962173089" X-Trace: ger.gmane.org 1388962172 30604 80.91.229.3 (5 Jan 2014 22:49:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Jan 2014 22:49:32 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDR4PFUXYMPRB7OCU6LAKGQE6N7P3OI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Jan 05 23:49:40 2014 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-gg0-f185.google.com ([209.85.161.185]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VzwVj-0006dO-0L for gtp-pandoc-discuss@m.gmane.org; Sun, 05 Jan 2014 23:49:35 +0100 Original-Received: by mail-gg0-f185.google.com with SMTP id u2sf336826ggn.22 for ; Sun, 05 Jan 2014 14:49:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; bh=7eOgm4efVBRuNd4DSsT3nH64MsdBadn6Y3dYqxWdPXg=; b=PTwxoO5S+G3qh/hl7c1cTdEqrHVL96MjvzLwCCaroZJNYYL7DFUevAoZHhPONycXXj CoqyqaQ2JdFGGEkBPMo41NM65kmoYUV51FA+H94vJgLFX+n8e8Se6SAshj561U1zeNjP avL5SkoouBryn68bKUg59V9yPMZDFjQtMA3fyLctXr3nSayOtkXxmHRX8w8f5RhRhSaI qxJhoj3/NqnQIxrS5325Qwos2I+xUvNBw4a0mz26Gj8MNtNX8gCYeVJ7q4KaUKRaL4bQ ZFHMYr33ExqVta/QcBrWoFFAMoWfevygZnlhAVRGI8QN1/JkXB47MdO82zVRE8Lrtr1k mdEg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; bh=7eOgm4efVBRuNd4DSsT3nH64MsdBadn6Y3dYqxWdPXg=; b=AF38j+tfCh1QN9+AmvNyGm9/nt4NaZSp0ySU32C5fhJJij6wePcWk9H7xv1J3f+u9v 0XlvqP3ddXkrgTxwBFTI700qVrDqF7skfEwa+DbUSVN1ebFWSe6v4043SQ9nIkmMgL90 JVb3wvvIqfX7NR/grFEjJ+63PGz17/iPzWiDSkbmmrM8ycdwU14gVtGBxEO+JMISmqWN gqMCGL60YayxyWuavdYgfNkDHXqDipd/h5xXbc5F3G3lqr+HjysfZhSWgObzunrbTSUJ CswC/4Iikw/Zw7AmCcXi2V3R/b2t1217TqOP2Ho+YBRg/vnoxpxgGGQSTH92+t6GZKnr MbLQ== X-Received: by 10.182.109.36 with SMTP id hp4mr1281obb.30.1388962174195; Sun, 05 Jan 2014 14:49:34 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.182.50.225 with SMTP id f1ls2172849obo.24.gmail; Sun, 05 Jan 2014 14:49:33 -0800 (PST) X-Received: by 10.182.183.74 with SMTP id ek10mr1676obc.21.1388962173677; Sun, 05 Jan 2014 14:49:33 -0800 (PST) In-Reply-To: X-Original-Sender: bbolker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Subscribe: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:8644 Archived-At: ------=_Part_298_25162963.1388962173089 Content-Type: text/plain; charset=ISO-8859-1 On Sunday, January 5, 2014 5:28:28 PM UTC-5, Ben Bolker wrote: > > > > On Sunday, January 5, 2014 5:04:06 PM UTC-5, Ben Bolker wrote: >> >> On 14-01-05 04:58 PM, Josef Svenningsson wrote: >> > Hi, >> > >> > I did some investigation and it seems that mmorph has gotten the >> > dependency constraints wrong for the transformers package. I've fixed >> > the constraint and submitted a pull request to the mmorph repository. >> > Hopefully it should be incorporated soon >> > >> > https://github.com/Gabriel439/Haskell-MMorph-Library/pull/9 >> > >> > But right now you can try 'cabal install pandoc >> > --constraint=transformers==0.3.0.0' which forces the right version of >> > the transformers package. If you're lucky that's all that is needed. >> > >> > HTH >> > >> > Josef >> >> This is fantastic. Your solution is not working for me yet but it >> gives me hope. (I've managed to f*** my current pandoc installation by >> nuking my .ghc/.cabal tree -- note to self, MOVE TO BACKUP LOCATION >> rather than deleting!!!, so I'm now getting a little desperate ...) >> >> Ben Bolker >> >> > >> > >> > >> > On Sun, Jan 5, 2014 at 9:39 PM, Ben Bolker > > > wrote: >> > >> > On 14-01-05 02:59 PM, John MacFarlane wrote: >> > > +++ Ben Bolker [Jan 04 14 21:37 ]: >> > >> On 14-01-04 08:09 PM, John MacFarlane wrote: >> > >>> Odd, it's trying to downgrade the version of transformers >> > >>> that mmorph depends on. I'm not sure why. It could be that >> > >>> one of the other packages it needs to install is incompatible >> > >>> with the latest transformers (though I don't think that's the >> > >>> case). Or maybe one of the other pandoc dependencies that you >> > >>> compiled earlier is linked against transformers-0.2.2.0. >> > >>> >> > >>> Have you tried doing a 'cabal clean' before 'cabal install >> > --reinstall'? >> > >> >> > >> If I just do a plain "cabal clean" in an arbitrary directory >> > (e.g. my >> > >> home directory) I get "cabal: No cabal file found ..." >> > > >> > > Oh, I thought you were installing from the pandoc source >> directory, >> > > not doing "cabal install pandoc." So, never mind about the >> 'clean'. >> > > >> > >> I tried purging everything and starting over -- >> > >> >> > >> >> > >> http://stackoverflow.com/questions/12048352/my-cabal-packages-are-fubar-how-can-i-purge-them-and-start-over >> > >> >> > >> https://gist.github.com/simonmichael/1185421 >> > >> >> > >> but still no luck (reports that mmorph-1.0.1 failed to install: >> the >> > >> precise error messages are too far back in my console history to >> > see. I >> > >> *could* run it all again and save the error log if anyone >> thought it >> > >> would be useful ...) >> > > >> > > This is really strange. I had no trouble on my debian box. Go >> ahead >> > > and send the full error log, maybe that will help. >> > >> > I purged, did 'cabal update', and then 'cabal install pandoc'. >> Output >> > is posted at >> > http://ms.mcmaster.ca/~bolker/misc/pandoc_install_out.txt . >> > >> > Thank you for all help ... >> > >> > Ben Bolker >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups "pandoc-discuss" group. >> > To unsubscribe from this group and stop receiving emails from it, >> > send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> > . >> > To post to this group, send email to >> pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> > . >> > To view this discussion on the web visit >> > >> https://groups.google.com/d/msgid/pandoc-discuss/52C9C2E5.805%40gmail.com. >> >> > For more options, visit https://groups.google.com/groups/opt_out. >> > >> > >> > -- >> > You received this message because you are subscribed to a topic in the >> > Google Groups "pandoc-discuss" group. >> > To unsubscribe from this topic, visit >> > >> https://groups.google.com/d/topic/pandoc-discuss/Livq5W1reqI/unsubscribe. >> >> > To unsubscribe from this group and all its topics, send an email to >> > pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> > To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> > To view this discussion on the web visit >> > >> https://groups.google.com/d/msgid/pandoc-discuss/CAGF%3DPZ%2BENyT4uLTDtT8VKAAV%2B%3D1Zgq7_kUE0RSAYTXQChO8%2BoQ%40mail.gmail.com. >> >> > For more options, visit https://groups.google.com/groups/opt_out. >> > > Still failing. Any ideas ... ???? > > cabal install pandoc --reinstall --force-reinstalls > --constraint=transformers==0.3.0.0 > Resolving dependencies... > cabal: Could not resolve dependencies: > trying: pandoc-1.12.2.1 (user goal) > trying: pandoc-1.12.2.1:+http-conduit > next goal: http-conduit (dependency of pandoc-1.12.2.1:+http-conduit) > rejecting: http-conduit-2.0.0.3, 2.0.0.2, 2.0.0.1, 2.0.0 (conflict: > pandoc-1.12.2.1:http-conduit => http-conduit>=1.9 && <1.10) > trying: http-conduit-1.9.6 > trying: regex-compat-0.95.1/installed-cee... (dependency of > http-conduit-1.9.6) > trying: regex-base-0.93.2/installed-f73... (dependency of > regex-compat-0.95.1/installed-cee...) > trying: transformers-base-0.4.1/installed-d27... (dependency of > http-conduit-1.9.6) > next goal: mtl (dependency of pandoc-1.12.2.1) > rejecting: mtl-2.0.1.0/installed-e35... (conflict: transformers-base => > transformers==0.3.0.0/installed-f23..., mtl => > transformers==0.2.2.0/installed-815...) > rejecting: mtl-2.1.2, 2.1.1, 2.1, 2.0.1.0, 2.0.0.0, 1.1.1.1, 1.1.1.0, > 1.1.0.2, > 1.1.0.1, 1.1.0.0, 1.0 (conflict: regex-base => mtl== > 2.0.1.0/installed-e35...) > Backjump limit reached (change with --max-backjumps). > Finally got pandoc installed (phew), by using a bunch of probably unjustified brute force. I tried cloning the forked version of mmorph, but that didn't seem to help. Eventually I did: cabal install pandoc --reinstall --force-reinstalls --constraint=transformers==0.3.0.0 --max-backjumps=10000 which worked, but gave lots of dire warnings of the form Configuring highlighting-kate-0.5.5.1... Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. package regex-base-0.93.2 requires mtl-2.0.1.0 package parsec-3.1.4 requires mtl-2.1.2 package highlighting-kate-0.5.5.1 requires mtl-2.1.2 package mtl-2.0.1.0 requires transformers-0.2.2.0 package mtl-2.1.2 requires transformers-0.3.0.0 Building highlighting-kate-0.5.5.1... Preprocessing library highlighting-kate-0.5.5.1... So -- I'm OK now but will hope this is a temporary and localized glitch, and doesn't hit anyone else or recur in the future. (Looking forward to using the 'pause' functionality in slides!) > > -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/15eeb1bf-2376-49aa-8091-230149ce56c5%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. ------=_Part_298_25162963.1388962173089 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable


On Sunday, January 5, 2014 5:28:28 PM UTC-5, Ben B= olker wrote:
<= br>
On Sunday, January 5, 2014 5:04:06 PM UTC-5, Ben Bolker wrote:On 14-01-05 04:58 PM, Josef Svenningsson = wrote:
> Hi,
>=20
> I did some investigation and it seems that mmorph has gotten the
> dependency constraints wrong for the transformers package. I've fi= xed
> the constraint and submitted a pull request to the mmorph reposito= ry.
> Hopefully it should be incorporated soon=20
>=20
> https:= //github.com/Gabriel439/Haskell-MMorph-Library/pull/9
>=20
> But right now you can try 'cabal install pandoc
> --constraint=3Dtransformers=3D=3D0.3.0.0' which forces the ri= ght version of
> the transformers package. If you're lucky that's all that is neede= d.
>=20
> HTH
>=20
> Josef

  This is fantastic.  Your solution is not working for me yet= but it
gives me hope.  (I've managed to f*** my current pandoc installati= on by
nuking my .ghc/.cabal tree -- note to self, MOVE TO BACKUP LOCATION
rather than deleting!!!, so I'm now getting a little desperate ...)

  Ben Bolker

>=20
>=20
>=20
> On Sun, Jan 5, 2014 at 9:39 PM, Ben Bolker <bbolker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
> <mailto:bbolker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org<= /a>>> wrote:
>=20
>     On 14-01-05 02:59 PM, John MacFarlane wrote:
>     > +++ Ben Bolker [Jan 04 14 21:37 ]:
>     >> On 14-01-04 08:09 PM, John MacFarlane wrote= :
>     >>> Odd, it's trying to downgrade the versi= on of transformers
>     >>> that mmorph depends on.  I'm not s= ure why.  It could be that
>     >>> one of the other packages it needs to i= nstall is incompatible
>     >>> with the latest transformers (though I = don't think that's the
>     >>> case).  Or maybe one of the other = pandoc dependencies that you
>     >>> compiled earlier is linked against tran= sformers-0.2.2.0.
>     >>>
>     >>> Have you tried doing a 'cabal clean' be= fore 'cabal install
>     --reinstall'?
>     >>
>     >>   If I just do a plain "cabal clean" i= n an arbitrary directory
>     (e.g. my
>     >> home directory) I get "cabal: No cabal file= found ..."
>     >
>     > Oh, I thought you were installing from the pand= oc source directory,
>     > not doing "cabal install pandoc."  So, nev= er mind about the 'clean'.
>     >
>     >> I tried purging everything and starting ove= r --
>     >>
>     >>
>    
htt= p://stackoverflow.com/questions/12048352/my-cabal-packages-are-fu= bar-how-can-i-purge-them-and-start-over
>     >>
>     >> https://gist.github.com/simonmi= chael/1185421
>     >>
>     >>  but still no luck (reports that mmorp= h-1.0.1 failed to install: the
>     >> precise error messages are too far back in = my console history to
>     see.  I
>     >> *could* run it all again and save the error= log if anyone thought it
>     >> would be useful ...)
>     >
>     > This is really strange.  I had no trouble = on my debian box.  Go ahead
>     > and send the full error log, maybe that will he= lp.
>=20
>       I purged, did 'cabal update', and then 'cabal= install pandoc'.  Output
>     is posted at
>     http= ://ms.mcmaster.ca/~bolker/misc/pandoc_install_out.txt .
>=20
>      Thank you for all help ...
>=20
>       Ben Bolker
>=20
>     --
>     You received this message because you are subscribed= to the Google
>     Groups "pandoc-discuss" group.
>     To unsubscribe from this group and stop receiving em= ails from it,
>     send an email to pandoc-discuss+unsubscribe@googlegroups.com
>     <mailto:pandoc-discuss%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>= .
>     To post to this group, send email to pandoc-disc= uss@googlegroups.com
>     <mailto:pandoc-discuss@googlegroups.com<= /a>>.
>     To view this discussion on the web visit
>    
https://groups.goo= gle.com/d/msgid/pandoc-discuss/52C9C2E5.805%40gmail.com.
>     For more options, visit https://groups.goo= gle.com/groups/opt_out.
>=20
>=20
> --=20
> You received this message because you are subscribed to a topic in= the
> Google Groups "pandoc-discuss" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/to= pic/pandoc-discuss/Livq5W1reqI/unsubscribe.
> To unsubscribe from this group and all its topics, send an email t= o
> pandoc-discuss+unsub= scribe@googlegroups.com.
> To post to this group, send email to pandoc-discuss@googlegrou= ps.com.
> To view this discussion on the web visit
> https://groups.googl= e.com/d/msgid/pandoc-discuss/CAGF%3DPZ%2BENyT4uLTDtT8VKAAV%2B%3D1Zgq7_kUE0RSAYTXQChO8%2BoQ%40mail.gmail.com.
> For more options, visit https://groups.google.com/g= roups/opt_out.

Still failing.  Any ideas ... ????

&n= bsp;cabal install pandoc --reinstall --force-reinstalls --constraint=3Dtran= sformers=3D=3D0.3.0.0
Resolving dependencies...
cabal: Could not= resolve dependencies:
trying: pandoc-1.12.2.1 (user goal)
trying: pa= ndoc-1.12.2.1:+http-conduit
next goal: http-conduit (dependency of pando= c-1.12.2.1:+http-conduit)
rejecting: http-conduit-2.0.0.3, 2.0.0.2, 2.0.= 0.1, 2.0.0 (conflict:
pandoc-1.12.2.1:http-conduit =3D> http-conduit&= gt;=3D1.9 && <1.10)
trying: http-conduit-1.9.6
trying: reg= ex-compat-0.95.1/installed-cee... (dependency of
http-conduit-1.9.6= )
trying: regex-base-0.93.2/installed-f73... (dependency of
rege= x-compat-0.95.1/installed-cee...)
trying: transformers-base-0.4.1/<= wbr>installed-d27... (dependency of
http-conduit-1.9.6)
next goal: mt= l (dependency of pandoc-1.12.2.1)
rejecting: mtl-2.0.1.0/installed-e35..= . (conflict: transformers-base =3D>
transformers=3D=3D0.3.0.0/installed-f23..., mtl =3D>
transf= ormers=3D=3D0.2.2.0/installed-815..<= /a>.)
rejecting: mtl-2.1.2, 2.1.1, 2.1, 2.0.1.0, 2.0.0.0, 1.1.1.1, 1.1.1= .0, 1.1.0.2,
1.1.0.1, 1.1.0.0, 1.0 (conflict: regex-base =3D> mtl=3D= =3D
2.0.1.0/installed-e35...)
Backj= ump limit reached (change with --max-backjumps).


 Finally got pandoc installed (phew), by using a bunch = of probably unjustified brute force.

I tried cloning the forked vers= ion of mmorph, but that didn't seem to help.  Eventually I did:
 cabal install pandoc --reinstall --force-reinstalls --constraint=3Dt= ransformers=3D=3D0.3.0.0 --max-backjumps=3D10000

which worked, but g= ave lots of dire warnings of the form

Configuring highlighting-kate-= 0.5.5.1...
Warning: This package indirectly depends on multiple versions= of the same
package. This is highly likely to cause a compile failure.<= br>package regex-base-0.93.2 requires mtl-2.0.1.0
package parsec-3.1.4 r= equires mtl-2.1.2
package highlighting-kate-0.5.5.1 requires mtl-2.1.2package mtl-2.0.1.0 requires transformers-0.2.2.0
package mtl-2.1.2 re= quires transformers-0.3.0.0
Building highlighting-kate-0.5.5.1...
Pre= processing library highlighting-kate-0.5.5.1...

   So -- I= 'm OK now but will hope this is a temporary and localized glitch, and doesn= 't hit anyone else or recur in the future.  (Looking forward to using = the 'pause' functionality in slides!)

 
 

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/15eeb1bf-2376-49aa= -8091-230149ce56c5%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
------=_Part_298_25162963.1388962173089--