Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#243 - nhc98 fails to build

Attached to Project: Arch Linux
Opened by john lowell (johnlowell) - Friday, 31 October 2003, 00:24 GMT
Last edited by Jason Chu (jason) - Monday, 26 January 2004, 08:08 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To Jason Chu (jason)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.6 Widget
Due in Version Undecided
Due Date Undecided
Percent Complete 50%
Votes 0
Private No

Details

Testing package tonight, build fails with the following final output:

make[2]***[/var/abs/unofficial/devel/nhc98/src/nhc98-1.16/targets/ix86-Linux/obj/runtime/Integer/mpz_div.o] Error 1
make[2]: Leaving directory '/var/abs/unofficial/devel/nhc98/src/nhc98-1.16/src/runtime/Integer'
make[1]***[afile] Error 2
make[1] Leaving directory '/var/abs/unofficial/devel/nhc98/src/nhc98-1.16/runtime'
make:***[targets/ix86-Linux/runtime] Error 2
-->Build failed. Aborting ...
This task depends upon

Closed by  Kevin Piche (kpiche)
Sunday, 01 May 2005, 20:12 GMT
Reason for closing:  Fixed
Additional comments about closing:  New version builds.
Comment by Paul Mattal (paul) - Wednesday, 31 March 2004, 03:23 GMT
Jason, I'm guessing from your "percent complete" bar that you've got a clue on this one.. which is one up on me at the moment. I've ported some awful stuff, but this is not fun.

Any ideas? If so, I'd be happy to try and run them down.
Comment by Jason Chu (jason) - Wednesday, 31 March 2004, 03:33 GMT
Yeah, the problem is known. I found patches here: http://www.cs.york.ac.uk/fp/nhc98/download.html

But applying the patches brought about more errors that weren't talked about. That's as far as I've made it since then.
Comment by Paul Mattal (paul) - Thursday, 01 April 2004, 21:02 GMT
Yeah, this is ugly. I'll keep it around to look at when I need a distraction.
Comment by Jason Chu (jason) - Saturday, 08 May 2004, 18:34 GMT
It's looking like this problem is worse than I thought. The bootstrapped nhc98 binary is what's segfaulting.

Do you really need this app? Will hugs98 do you well enough (I don't know, I don't use haskell)? I need to get this compiled and I can't, I'm debating just removing it or replacing it with something else.
Comment by Damir Perisa (damir.perisa) - Saturday, 21 August 2004, 17:07 GMT
this bug is now 10months old

state?
Comment by Jason Chu (jason) - Wednesday, 25 August 2004, 05:32 GMT
Still not fixed, because it requires a lot of patching or an older version of gcc.
Comment by Simo Leone (neotuli) - Monday, 07 March 2005, 04:42 GMT
*suggestion*
I have GHC (Glassgow Haskell Compiler) in my repo. Afaik it works, and if you want to rebuild it you can use my existing verison to bootstrap.
I don't honestly know what the difference between ghc and nhc98 is (i dont use haskell, i just maintain a package), but if they are interchangable, I say just go with GHC.
Comment by Paul Mattal (paul) - Monday, 07 March 2005, 04:46 GMT
Also, per a discussion had by Jason and I, does anyone still use this package? If not, we shouldn't bother fixing it. It's probably still useful to have ghc in the AUR, Simo.
Comment by Simo Leone (neotuli) - Monday, 07 March 2005, 04:57 GMT
It might not be able to go in unsupported AUR due to the cyclic self-dependency, no one would be able to build it using solely the PKGBUILD, you need a binary package.
Comment by Jan de Groot (JGC) - Wednesday, 13 April 2005, 09:58 GMT
What happened to the binary version that is included in the PKGBUILD and the changes I made to them?

In a previous version a binary version was downloaded from the ghc page, extracted in a dir, ncurses symlink was made in src dir, LD_LIBRARY_PATH was set to that and the build of ghc worked fine with the binary version from the ghc site.
Comment by t (vidvandre) - Friday, 22 April 2005, 23:47 GMT
> What happened to the binary version that is included in the PKGBUILD and the changes I made to them?

It's in my repository. Check the thread on the TU mailing list.

Note, someone else has added a different PKGBUILD to the AUR, but it requires you to do some extra manual work before running makepkg.
Comment by Kevin Piche (kpiche) - Thursday, 28 April 2005, 15:50 GMT
The new version of nhc98 1.18 builds. I don't know Haskell so I couldn't say if it's working properly...

Loading...