#59136 closed defect (wontfix)
stack @2.1.3_0: segfaults on 10.7.5
Reported by: | kencu (Ken) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | snowleopard lion | Cc: | essandess (Steve Smith) |
Port: | pandoc |
Description (last modified by kencu (Ken))
the currently available stack port doesn't build on 10.7.5 due to a segfault, and if the -bootstrap
version is installed, it (no surprise) segfaults as well. Clearly the downloadable binary doesn't work on older systems (vintage TBA).
$ port -v installed stack The following ports are currently installed: stack @2.1.3_0-bootstrap (active) platform='darwin 11' archs='x86_64' date='2019-09-29T18:06:24-0700' $ /opt/local/bin/stack Illegal instruction: 4
I generated a new version of stack
on 10.6.8 that runs properly on all older x86_64 systems, and replaced the binary in the stack -bootstrap
port with that.
Using that working version of stack
, pandoc
will install without trouble (although it takes just forever to build):
$ port -v installed pandoc The following ports are currently installed: pandoc @2.7.3_0 (active) platform='darwin 11' archs='x86_64' date='2019-09-29T22:10:02-0700' $ pandoc -v pandoc 2.7.3 Compiled with pandoc-types 1.17.5.4, texmath 0.11.2.2, skylighting 0.8.1 Default user data directory: /Users/yourname/.local/share/pandoc or /Users/yourname/.pandoc Copyright (C) 2006-2019 John MacFarlane Web: http://pandoc.org This is free software; see the source for copying conditions. There is no warranty, not even for merchantability or fitness for a particular purpose.
Change History (8)
comment:1 Changed 5 years ago by kencu (Ken)
Description: | modified (diff) |
---|
comment:2 Changed 5 years ago by kencu (Ken)
comment:3 Changed 5 years ago by kencu (Ken)
Resolution: | → wontfix |
---|---|
Status: | new → closed |
I sent Ryan and Mojca a link to working binaries of ghc, stack, cabal, and pandoc for 10.6.8 and up that they are free to implement if they wish to.
comment:4 Changed 4 years ago by aeggenberger (Andrew Eggenberger)
Can you share how you generated the new stack binary? I'm having the same issue on 10.6.8.
comment:5 Changed 4 years ago by kencu (Ken)
I started with the last ghc version that existed for 10.6.8 from the ghc downloads website, and then I stepped forward two ghc versions at a time (the maximum possible) until I reached the (then) current version. It was simple, and although it took some time to build, there were no tricky steps involved.
I was unable to get the 32bit i386 version building properly when I tried it -- the ghc bug tracker indicated it had bitrotted and needed some attention. Likewise I was unable to get PowerPC going again, although by then I had lost some interest, and it might in fact be possible.
I will put up recent versions of ghc, stack, cabal, and pandoc for 10.6.8 (and all newer systems) that you can use to bootstrap from so you don't have to start where I started.
comment:6 Changed 4 years ago by aeggenberger (Andrew Eggenberger)
Great! Thank you. When you say put them up, do you mean put them on macports?
comment:7 Changed 4 years ago by kencu (Ken)
Well, that's political. I will make these versions available for you to access, and if there is sufficient interest and motivation, we can discuss a method to implement ghc/stack/cabal -> pandoc on older systems. It has some work involved (which is why I haven't done it yet :> ).
comment:8 Changed 4 years ago by aeggenberger (Andrew Eggenberger)
Cool. Thanks for the explanation. My vote would be to add support for older systems, but I suspect there are very few of us, and I don't have the expertise (yet, anyway) to take it on myself.
looks like 10.8 works.