Commit Graph

70 Commits

Author SHA1 Message Date
kili
67005b2c07 Use new bootstrappers and bump.
(i386 from sthen@, thanks!)
2012-06-29 05:52:01 +00:00
kili
0b00fbcf29 We need a new Timmy^WBootstrapper!
(It would be nice if someone could build one on a current i386)
2012-06-26 18:17:18 +00:00
kili
1dbbaaa459 Remove pointless test suite patch. It just covered up some fd leak
in the test framework, and the process007 test still failed for the
threaded variants (in the system(3) call).
2012-06-12 20:11:22 +00:00
kili
cf3d6a5d7f Bump. Just to enforce rebuilds of all hs-* packages.
Blame the famous "ghc-builds are not deterministic" bug for this.
2012-05-02 22:58:31 +00:00
kili
24610fc0e9 Set GhcThreaded=NO again.
Bulk builders suffer without this, and we already have a sligt
idea what's going wrong (new thread receives a signal before
__tfork returns and then it fails in sigreturn).

I hope to find some time to work on a regression test for this
problem (which isn't related at all to ghc).
2012-04-25 22:50:37 +00:00
kili
c88b795280 - Don't build/use the execvpe() bundled with libraries/unix.
Unfortunately, we can't completely remove or skip include/execvpe.h
  and cbits/execvpe.c, because they also contain pPrPr_disableITimers(),
  which is called from the Haskell code.

- Switch back to GhcThreaded=YES (default). It's stupid, it's not
  required by GHC (IIRC it was required a long time ago back when
  ghci used libreadline), but it may help finding rthread bugs.
  Until now, I did run four complete builds of GHC and all Haskell
  ports with dpb without any problems.
2012-03-23 20:17:06 +00:00
kili
44c76e349a Something is wrong with the threaded rts and rthreads, so build ghc
itself using the non-threaded rts. This doesn't fix the real problem,
but it makes it possible to build hs-* ports without filling up
dpb's build slots with stuck ghc processes.

ok naddy@ espie@

Note: I'll re-run the testsuite with this diff and hope to get some
reasonable results that may help us to identify the real problem.
2012-02-19 20:38:53 +00:00
kili
e519b1cfb2 Replace the bundled xhtml-3000.2.0.1 by a newer version
matching the requirements of haskell-platform-2011.4.0.0.

Moving the xhtml library back to a separate port (www/hs-xhtml)
would be nice but it causes too much headache (like dependency
cycles with devel/haddock).
2012-01-12 20:13:17 +00:00
kili
c1cbe21efb Simplify the SIGTSTP handler to let it work with uthreads.
Suspending multithreaded programs built with ghc (including ghc
itself) should just work[tm] now. (Except for the bootstrapping
compiler which of course still uses the old code)
2011-12-27 20:53:01 +00:00
kili
9396828adf Use the new bootstrappers (thanks to sthen@ for doing the i386
bootstrapper).

Bump, because some of the `library hashes' changed.

Unfortunately, this also affects a couple of other haskell ports,
which get different `library hashes' now and will be reported as
broken by ghc-pkg check.

People using snapshot packages should get seamless updates when the
next set of snapshots is available. People building from ports and
*not* using dpb should use the out-of-date-script to get a subdirlist
of haskell ports which should be rebuilt.

I could also bump the affected ports, but I'm not sure wether it's
worth the trouble.
2011-10-26 19:34:08 +00:00
kili
d9bd2f6535 Prepare for a new bootstrapper.
Abort the bootstrapper build if gtar isn't installed (found
the hard way by sthen@ when trying to build a boostrapper
for i386).
2011-10-25 19:23:09 +00:00
kili
a522a3d346 Workaround for failing test case process007: use bash (yuck!) 2011-09-16 21:17:41 +00:00
kili
7ad4c00448 Add a special (and ugly) target to build a new bootstrapper.
ok jasper@, sthen@
2011-08-24 18:31:39 +00:00
kili
497ff3c94f Fix totally stupid error message hiding fuckup in cabal. 2011-07-23 16:38:54 +00:00
kili
f08f365520 Update to ghc-7.0.4.
i386 tests done by Jona Joachim (thanks!).
2011-06-30 21:26:15 +00:00
kili
684b72c0fd Bye bye haskeline,
mtl and terminfo don't really rhyme.

yes | sed 's/./I shall not touch INTREE_ONLY_PACKAGES in ghc.mk./;100q'

But keep utf8-string and xhtml for now.
2011-04-25 22:06:43 +00:00
kili
71daab7260 Move almost all Haskell distfiles fetched from hackage.haskell.org
into a common subdirectory `ghc', and also move the ghc distfiles
there (from ghc-${MODGHC_VER}).

This will avoid potential conflicts of hs-* ports distfiles coming
from hackage.haskell.org with distfiles used by other ports.

Based on an idea from dcoppa@ for databases/hs-redis.

ok dcoppa@

If you want to save some bandwdith and disk space, see my mail to
ports@, which contains a shell script that can move distfiles around
under your DISTDIR.
2011-04-23 20:16:38 +00:00
kili
806bf57ddd Moving around the alex- and happy-generated files is now done by
the haddock port.
2011-04-23 12:52:36 +00:00
kili
cdffd322bb Update to 7.0.3.
ok jasper@ (who also gave an ok to all the depending updates).
2011-04-11 14:30:32 +00:00
kili
77f8d99f9f Set PORTHOME. Needed for the texlive 2010 update (two fonts are
rendered with mktexpk).
2010-11-27 22:34:47 +00:00
kili
6eb5ff46e6 New bootstrapper.
Thanks to armani and jasper for building the i386 version (even if
armanis i7 didn't win the race ;-))
2010-11-21 19:43:31 +00:00
espie
88d20077a4 new depends 2010-11-17 08:05:12 +00:00
kili
54d54ba1f1 Fill in the `pkgpath' field of the libraries contained in ghc.
You'll now get sane output for all Haskell libraries. For example:

$ ghc-pkg field mtl pkgpath
pkgpath: lang/ghc
2010-11-06 19:11:43 +00:00
espie
dcdfee948c convert libiconv to new wantlib 2010-11-06 10:18:38 +00:00
kili
b87a6b50bf Tweak the pkgpath hack so it doesn't change the Cabal API. Unbreaks
hs-glib (and probably other stuff that uses the Cabal library).

Bump both -main and -doc (yes, really, -doc, too).

I hereby nominate myself for the HSMAUS (Homer Simpson Memorial
Award of Unlimited Stupidity).
2010-11-05 21:23:46 +00:00
kili
5d2959114a Add a `pkgpath' field to installed GHC libraries. Only applies to
libraries not coming together with ghc. This allows for looking up
a library's PKGPATH by running

        ghc-pkg field $pkgname pkgpath

where $pkgname is the GHC library name without the `hs-' prefix,
for example `ghc-paths'.

looks good to jasper@
2010-11-03 21:32:08 +00:00
espie
88dd25abf4 USE_GROFF=Yes 2010-10-18 19:20:41 +00:00
kili
6d90113c52 New bootstrapping compiler (after libc update). 2010-10-04 09:37:25 +00:00
kili
d8feb52c42 New bootstrapping tarballs after ncurses update.
Adjust WANTLIB and bump.
2010-09-10 18:10:00 +00:00
kili
651399efe9 Bump for real. 2010-09-05 10:54:02 +00:00
sthen
b02db8276f bumps for python 2010-08-30 21:56:33 +00:00
kili
b0e9093dcc Use a new bootstrapping compiler for ghc, linked against a current
libc. While here, switch to new REVISION/WANTLIB scheme.

Problem noticed by ajacoutot@

ok espie@ sthen@

Please note that any Haskell library depending on ghc-6.12.3
(cabal-wise) needs to be rebuilt. This affects devel/haddock
and devel/hs-QuickCheck, which will be bumped in a minute, but
if you've some libraries not contained in the ports tree, be
sure to double-check with ghc-pkg check.
2010-08-02 21:15:23 +00:00
kili
ca3835edeb Threading support should work now (with a patch from Simon Marlow). 2010-06-28 21:27:36 +00:00
kili
7d63ac0258 Update to ghc-6.12.3 (bugfix release), plus some minor changes:
- Use integer-gmp again.

- Cleanout the extracted bootstrap directory right after installing it
  to save some disk space.

- Use ${MAKE_ENV} instead ${MODGHC_SETUP_CONF_ENV} in ghc.port.mk (in
  do-configure, use both).

- Don't compile Setup.l?hs, just use the interpreter (runghc) in
  ghc.port.mk. This speeds up the build of most ports depending on
  ghc and using a cabal-style build.

Necessary bumps and WANTLIB changes in ports using ghc will follow
later this evening.
2010-06-15 15:34:03 +00:00
sthen
6593bbb601 Add gmp as a BUILD_DEPENDS, ghc-pwd in the bootstrap requires it.
Fix a typo while there. Discussed with and ok kili@
2010-06-09 10:06:29 +00:00
kili
41b71845e5 New libc major => new bootstrapping binaries.
Since the new bootstrapper has a new name (ghc-6.12.2.20100530),
the ABI of some libraries included in GHC will change, possibly
breaking all other libraries, so expect some additional bumps soon.

Yes, this *is* ridiculous. If you want to live in peace, don't use
GHC.
2010-06-06 09:54:20 +00:00
kili
bb2f61a7e2 Oops! Forgot to bump pkgname. 2010-05-19 15:04:27 +00:00
kili
d409d7b95e Zap __eprintf reference from Linker.c to fix the build with gcc4
(found by espie@).

Thanks to sthen@ for creating the i386 bootstrapping tarball.
2010-05-16 13:51:26 +00:00
kili
d124326763 Change ghc.port.mk to allow addition of flags to MODGHC_SETUP_PROG by
just setting MODGHC_SETUP_CONF_ARGS (which is now empty by default).

Add dblatex-created documentation.

While here, use our INSTALL* macros where possible to get correct
permissions (noticed by dcoppa@). This does *not* fix the permissions
of libraries and interface files installed by Cabal-based tools,
because the permissions are hard-coded in Cabal, and I'm not going
to touch and fix Cabal ever, because IMHO it's completely broken
by design. (If you want to read some of this madness, have a look
at libraries/Cabal/Distribution/Compat/CopyFile.hs or even
libraries/Cabal/Distribution/Simple/Install.hs)

Expect some breakage of depending ports (at least of devel/darcs) and
some necessary WANTLIB changes, which will be fixed soonish.
2010-05-06 20:00:19 +00:00
kili
3830131a60 Remove the native_bootstrap pseudo flavor. It's dangerous, because
the APIs of GHCs libraries depend on the version of the bootstrapping
compiler (and probably on the output of pom(6) and the amount of
active vulcanos in iceland).

See http://hackage.haskell.org/trac/ghc/ticket/4012#comment:3 for
details.

THIS ALSO MEANS THAT IF YOUR BUILD FAILS, YOU WILL HAVE TO MAKE
CLEAN AND START FROM SCRATCH! NEVER EVER TRY TO RESTART THE BUILD
OR THE LIBRARY ABIS WILL CHANGE! (Sorry for yelling)

Bump PKGNAME-main, since people may already have built ghc with
native_bootstrap.
2010-04-25 13:40:30 +00:00
kili
a2d22041b4 Update to 6.12.2.
Many thanks to Darrin Chandler and dcoppa@ for testing, reporting about
broken stuff, missing dependencies here and in ports depending on ghc.

Notes and rants:

- Bootstrapping is done using precompiled binaries, since .hc
  bootstrapping still doesn't work. I really hate this.

  THIS MEANS THAT GHC IS NOW AND WILL STAY LEGACY-ONLY (i386 and amd64)

  At least until someone fixes it. I tried for more than two year
  (well, only in my spare time and during my vacations) and failed.

- libgmp is currently disabled, because I didn't yet hack the GHC build
  system to use the system libgmp instead of the patched one included
  in GHC.

- The haddock ncluded in the ghc distfile is replaced by the version
  of haddock found in devel/haddock. Haddock itself is @commented
  in the ghc PLIST. Unfortunately, this needs an ugly hack that
  introduces an otherwise useless pseudo flavor `no_deps' in
  devel/haddock.

- CLDouble has been removed from GHC some time ago, because it was
  an alias for double (AFAIK there's now support for long double
  in GHC). As this isn't a really big problem, it currently breaks
  c2hs, which I'll mark broken temporarily before committing the
  ghc update.

- The external codeset defaults to latin1 (suggested by Simon Marlow)
  and can be overridden by setting the HS_ENCODING to any codeset
  supported by libiconv.

- ghc.port.mk still needs some love, especially for letting a port add
  additional parameters to certain invocations of ${MODGHC_SETUP_PROG}.
2010-04-22 21:49:37 +00:00
kili
de06ccc115 Fix for perl 5.10.
Thanks to sthen@ for testing the build on amd64.
2008-10-02 19:50:52 +00:00
bernd
22d49c4c96 Missing PKGNAME-doc bump after MAINTAINER removal. 2008-09-23 13:27:11 +00:00
kili
9c0d3edd18 Drop maintainership.
If you have to work on ghc-HEAD but can't get the ghc-HEAD souces, there's
no point to work on it at all.
If you complain about missing portability, and all those Haskell guys agree,
but at the same time delay bootstrapping to the next release whenever a
release happens, there's no expectation for getting bootstrapping back at
all.
2008-09-03 22:40:27 +00:00
naddy
af3c6d5ea8 mirror-maker should not look for arch-specific distfiles on unsupported
archs; ok kili@
2008-07-15 20:08:39 +00:00
kili
3c468d6f7d Fix GHCi for amd64 (s/EM_X86_64/EM_AMD64/ noticed by Don Steward). Tested
on amd64 by ckuethe@ (thanks).
Add a man page.
2007-09-16 20:05:12 +00:00
kili
d12945c8e6 Let the Cabal libraries pass the complete LDFLAGS to hsc2hs. 2007-07-22 22:37:25 +00:00
kili
87a3f71582 Update to 6.6.1. With helpful hints from Don Stewart and espie@.
Thanks to all the testers and to steven@, who was so kind to
build the HC files for bootstrapping on amd64.
2007-07-21 17:14:57 +00:00
espie
4b5b8ed8c5 new MULTI_PACKAGES. patch from kili, committing so we're finished... 2006-11-26 11:38:07 +00:00
alek
12b950cecc Use python 2.3
ok dons@
2005-05-22 07:10:33 +00:00