137 Commits

Author SHA1 Message Date
kili
748a5c63c6 Interactive ghc (ghci, runghc etc.) is currently broken again on i386.
So let's switch to compiling Setup scripts once more, to give at least
a few more hs packages to be built on i386, until I figure out a fix
for rts/Linker.c.
Unfortunately, the current breakage also affects template haskell,
which still leads to a lot of unbuildable ports, for example
devel/hs-vector.
2014-01-11 20:22:21 +00:00
kili
72c6b12f41 Remove postscript and pdf documentation.
ok dcoppa@
2013-12-12 22:13:37 +00:00
sthen
701c91e413 kill VMEM_WARNING 2013-11-25 14:16:22 +00:00
kili
f10123589d Bump because of library signature changes for base, ghc, haskell98,
old-time and time. After comparing all the .hi files before and
after (using ghc --show-iface) I guess this changes had been triggered
by the suseconds_t change some weeks ago (my previous ghc build was
from october 23rd, so just a little bit before that change).

People following -current and using Haskell for serious work should
wait with updates until the new ghc and hs-packages are built and
copied out to the mirrors. Any Haskell additional libraries built
manually (i.e. using cabal something) should be rebuilt. If in
doubt, run ghc-pkg check to see if anything is broken for you.
2013-11-11 20:46:30 +00:00
kili
48a59515ed Adjust MASTER_SITES to follow the new layout of hackage.haskell.org, which switched
to hackage 2.
2013-10-22 20:03:21 +00:00
kili
b0549ccdb2 Reenable. We have new bootstrappers. 2013-08-16 13:40:49 +00:00
kili
c6160daa4d Mark as BROKEN until I get the time to build new bootstrappers after
the 64 bit time_t switch.

If anyone wants to beat me, grab ~kili/ghc-bootstrap.sh from cvs
(or http://openbsd.dead-parrot.de/ghc-bootstrap.sh), *read and try
to understand it*, downgrade the lang/ghc port to the last 7.4.
version (for example, cvs -q up -dP -D 2013-07-09) and then run
ghc-boostrap.sh (but be aware that you'll need a lot of time, disk
space, memory, and alcohol).

This may work or not (it worked for 5.3-current back in may). If
it doesn't work, either wait or go using some real programming
language.
2013-08-14 20:20:33 +00:00
kili
18cdd711c6 Remove broken marker, everything should be fine now. 2013-07-19 07:12:55 +00:00
kili
5df364205b Update to ghc-7.6.3, revert my last two obsolete changes and
mark it as broken until all depending ports have been updated.
2013-07-18 21:43:23 +00:00
kili
27523cc810 Now is a good time to prepare for a bootstrapper update. 2013-07-07 20:15:34 +00:00
kili
9cdc33f441 Fix the no_doc pseudo flavor: don't add -doc to MULTI_PACKAGES
when FLAVOR=no_doc.
2013-07-07 13:35:27 +00:00
espie
f5cca2b075 convert to using intermediate *TARGET, as discussed with a few people.
(the waf version actually works, contrary to my former patch, as
CONFIGURE_STYLE must be set before modules)
2013-07-02 08:36:16 +00:00
kili
ccd495619c Remove redundant (and incomplete) comment. 2013-07-01 21:42:51 +00:00
kili
aa07dd31f2 Now that we have shm_open(3), it's picked up by configure when
building the `unix' package, which causes a package signature change.

Bump to get all hs-* packages updated.
2013-06-04 22:02:33 +00:00
kili
c8721eefa9 Remove stray line continuation backslash. 2013-05-13 21:01:37 +00:00
kili
14814c23fc Let the bootstrap target fail early if autoconf-2.61 or
automake-1.4 aren't installed.
2013-05-11 22:13:30 +00:00
kili
dbfb42c0f4 Mention that the bootstrap target needs autoconf-2.61. 2013-05-09 05:54:31 +00:00
kili
fff4ff2d25 The ghc-pwd hack is no longer needed.
I'm currently testing a new ghc-bootstrap.sh version which I'll
copy around if the test succeeds.
2013-05-08 15:31:47 +00:00
kili
ae14bc2b1c Move the stuff from post-extract to post-patch to help
the build after time_t changes.
(this still isn't enough)
2013-05-08 13:38:09 +00:00
kili
a9ea0742e8 The precompiled (and braindead) ghc-pwd in the binary bootstrapper
is poisoned with code from some very early bootstrapper, which
causes failure when bootstrapping from 6.6 via 6.10, 6.12, 7.0
to 7.4. So just overwrite it with /bin/pwd.
2013-05-03 09:41:29 +00:00
espie
0662a4e9d6 PERMIT_* / REGRESS->TEST sweep 2013-03-11 11:20:26 +00:00
kili
13ae5ac032 THe addition of posix_openpt(3) caused a haskell library signature
change in ghc's unix library.

Bump revision to get a new set of all hs-libraries pulled in when
updating.
2013-02-06 18:17:12 +00:00
kili
f37bb0916b All plist changes are done. 2013-01-20 18:07:58 +00:00
kili
91a533f650 Enable profiling by default for ports containing Haskell libraries.
Suggested by David Schaefer.

Mark ghc broken temporarily until all necessary plist changes
are committed.

ok jasper@ dcoppa@
2013-01-20 17:51:14 +00:00
kili
836d6bff1e Fix license comment: the package now also contains a (patched) libgmp,
which is LGPLv3.
2012-12-04 06:30:20 +00:00
kili
25c8820878 Use runghc for Setup.l?hs, which should always work now (with rthreads).
Bulk tests done by naddy@ and sthen@. thanks.
2012-11-08 22:21:45 +00:00
kili
7c0fe71272 Stop ghc-pkg unregister <pkgname> -v0 --force issuing warnings that
this would break other packages.

Please note that those warnings are only disabled if both
-v0 *and* --force are given.

'no objections' dcoppa@
2012-11-05 20:20:07 +00:00
kili
7531d4bb00 Don't remove the bin directory when building a bootstrapper.
While here, remove the commands that attempt to rename
*-x86_64-* to *-amd64-*, because it currently doesn't
work anyways (VERSION_DATE is ignored by the bootstrapper
build).
2012-10-11 11:05:02 +00:00
dcoppa
47aa23534d Fix random crashes at runtime when there's heavy use of libgmp.a
(e.g. large Fibonacci numbers): link GHC with its bundled gmp library
that has customized memory allocation functions.

While here, fix two other problems as well:

- undefined references to 'ffi_call_unix64', 'ffi_closure_unix64'
  on amd64

- unknown symbol '__guard_local' (caused by gcc's switch from __guard
  to __guard_local)

Joint work with kili@
OK kili@
2012-10-11 07:51:10 +00:00
kili
36a5835487 Just add a comment that parallel builds should never be enabled
for this port.
2012-10-05 19:28:12 +00:00
ajacoutot
ff52f74e3c docbook-xsl already comes with libxslt. 2012-09-27 17:26:05 +00:00
kili
89af7c25c4 There's no reason to depend on textproc/dblatex (and all the beasts
it depends on) for the no_doc pseudo flavor. textproc/libxslt,
textproc/docbook and textproc/docbook-xsl are still needed (for
creating the man page).
2012-09-25 19:26:36 +00:00
kili
c03859effa Add archivers/gtar to BUILD_DEPENDS, because without it, configure
may detect it but dpb(1) may remove it afterwards, which causes the
build to fail (spotted by naddy).

This *could* be done simpler (by adding TarCmd=/bin/tar to
CONFIGURE_ENV), but this would break the bootstrap target.

Some more dependency odditiies (dblatex, docboo*, libxslt may be
not necessary for the no_doc FLAVOR, also noticed by naddy@) will
be checked and fixed later.
2012-09-23 20:26:57 +00:00
kili
9a64b5e40a Use the new bootstrapper.
i386 bits (bootstrapper build and test) from sthen@, Thanks!
2012-09-20 16:38:16 +00:00
kili
b87b83173a Prepare for a new bootstrapper (now statically linked). 2012-09-18 18:24:26 +00:00
kili
5fa7016113 Add a no_doc pseudo flavor which disables the -doc subpackage and
skips building the documentation.
2012-09-16 08:33:04 +00:00
kili
09098ed653 Blame the memory eater. 2012-09-02 23:01:29 +00:00
kili
96b899408f Remove BROKEN marker. Everything should build and work fine now. 2012-09-02 22:21:51 +00:00
kili
b2e79ee47e Update to ghc-7.4.2, but keep it marked as broken (and not only for amd64).
Most of the -nopie changes are from pascal@ (thanks); I only had to
merge them for ghc-7.4 and tweak configure and mk/config.mk.in.
2012-09-02 19:53:46 +00:00
pascal
fa14b0b8b9 For now, mark GHC broken on amd64. kili@ is sitting on an update at the moment
so it doesn't make sense for him to fix this old version.

ok kili@
2012-08-31 18:10:14 +00:00
pascal
e051391d3c After feedback from kettenis@, we won't be defining -DPIC on PIE archs per
default.  Garbage collect the patches that dealt with these issues, and use
the builtin define __PIC__ to detect if we're PIE/PIC.

ok naddy@
2012-08-20 11:50:59 +00:00
pascal
167aa2e265 For now, disable PIE in GHC. This will be revisited later on by kili@ in the
next update.  And again, calling stuff "PIC" is a bad idea ...

ok kili@
2012-08-12 11:31:33 +00:00
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