Re: ghc 6.10.3-prerelease failed build log for freebsd7.2
On Wed, May 06, 2009 at 11:52:38PM -0700, brad clawsie wrote: > > hi Ian, thanks for the response. unfortunately my bsd box has had an > accident. i will not be able to test your suggestion below. OK, no problem. Last night's build on kili went through: http://darcs.haskell.org/buildbot/all/builders/kili%20stable/builds/90 so it looks like we're good to go! Thanks Ian ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: ghc 6.10.3-prerelease failed build log for freebsd7.2
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi Ian, thanks for the response. unfortunately my bsd box has had an accident. i will not be able to test your suggestion below. perhaps if someone else has a freebsd box they can try. thanks brad Ian Lynagh writes: > Do you have iconv installed? > > If so, does applying the patch below and putting: > > EXTRA_CABAL_CONFIGURE_FLAGS = --extra-include-dirs=/some/path > --extra-lib-dirs=/some/other/path -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkoChTcACgkQxRg3RkRK91OgqACbB3XSp6Yhg6NZ0/3VR72at6ay hWQAn0n8ToaIZXMW0oVSYprnV+2T1Mac =WYet -END PGP SIGNATURE- ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: ghc 6.10.3-prerelease failed build log for freebsd7.2
On Wed, May 06, 2009 at 08:48:04PM +0100, Ian Lynagh wrote: > H Kili, > > On Mon, May 04, 2009 at 09:36:00PM +0200, Matthias Kilian wrote: > > > > In your case, it doesn't find libiconv, thus isn't built, and causes > > failure later. In my case (a buildbot running OpenBSD-4.5 on i386), > > the haskeline build itself fails (see `kili-stable' on > > darcs.haskell.org/buildbots), > > Is iconv installed somewhere on that machine? If so, where is it? > (both the library and the header file) Binary in /usr/local/bin/iconv, library in /usr/local/lib, header in /usr/local/include. The strange thing isn't that it isn't detected correctly (linking is done a little bit differently on OpenBSD, you have to explicitely specify depending libs), but that the overall build doesn't fail on my fast build machine at home (which i still have to turn into a buildslave) Anyway, i'll look into this next weekend. Don't hold back the release because of this. For FreeBSD, there should be no problem to add some small patches (or probably just some additional arguments to configure), and for OpenBSD, ir just doesn't matter (because I'll wait for ghc 6.12 with our port). Ciao, Kili -- Automake and autoconf deserve to wither and die, but unfortunately noone at GNU seems to make much of an effort to euthanasize them. -- Han-Wen Nienhuys, on Lilypond-devel mailing list ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: ghc 6.10.3-prerelease failed build log for freebsd7.2
Hi brad, On Sun, May 03, 2009 at 11:03:49PM -0700, brad clawsie wrote: > > after some trying, i was unable to get the 6.10.3 prerelease to build on > freebsd 7.2. i was trying to use an existing 6.10.2 as my build ghc. Thanks for trying it out! Do you have iconv installed? If so, does applying the patch below and putting: EXTRA_CABAL_CONFIGURE_FLAGS = --extra-include-dirs=/some/path --extra-lib-dirs=/some/other/path (where /some/path and /some/other/path are the paths to the iconv header and library respectively) in mk/build.mk before you start the build work? Thanks Ian diff -rN -u old-ghc/libraries/Makefile new-ghc/libraries/Makefile --- old-ghc/libraries/Makefile 2009-05-06 20:49:11.0 +0100 +++ new-ghc/libraries/Makefile 2009-05-06 20:49:11.0 +0100 @@ -200,7 +200,8 @@ $(COMMON_CONFIGURE_FLAGS) \ --haddock-options="--use-contents=../index.html \ --use-index=../doc-index.html" \ - $(CONFIGURE_OPTS) + $(CONFIGURE_OPTS) \ + $(EXTRA_CABAL_CONFIGURE_FLAGS) stamp/configure.library.build$(CONFIGURE_STAMP_EXTRAS).dph/dph-par: \ dph/dph-par ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: ghc 6.10.3-prerelease failed build log for freebsd7.2
H Kili, On Mon, May 04, 2009 at 09:36:00PM +0200, Matthias Kilian wrote: > > In your case, it doesn't find libiconv, thus isn't built, and causes > failure later. In my case (a buildbot running OpenBSD-4.5 on i386), > the haskeline build itself fails (see `kili-stable' on > darcs.haskell.org/buildbots), Is iconv installed somewhere on that machine? If so, where is it? (both the library and the header file) Thanks Ian ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: ghc 6.10.3-prerelease failed build log for freebsd7.2
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Judah Jacobson writes: > It looks like the problem occurs when building Haskeline: > > Configuring haskeline-0.6.1.5... > checking whether to use -liconv... using -liconv. > Setup: Missing dependency on a foreign library: > * Missing C library: iconv > > The problem is that Cabal isn't getting the right argument to look for > iconv in (I'm guessing) /usr/local/lib. yeah, when i installed haskeline via cabal, i had to set the flags to look at these dirs in order to get it built > (Strangely, the Haskeline custom Setup.hs script which detects whether > to use iconv is itself succeeding; I should compare the two and see > what's different...) > > Normally this can be fixed by building Haskeline with the Cabal > arguments --extra-include-dirs, --extra-lib-dirs; but I don't know how > they can be passed through by to the ghc build system. > > Can you please try, with your working ghc-6.10.2: > cd into libraries/haskeline of the release candidate source directory, run > > runghc Setup configure --user -v3 $ cd libraries/haskeline/ $ runghc Setup configure --user -v3 Configuring haskeline-0.6.1.5... Creating dist (and its parents) searching for ghc in path. found ghc at /home/brad/local/bin/ghc ("/home/brad/local/bin/ghc",["--numeric-version"]) /home/brad/local/bin/ghc is version 6.10.2 looking for package tool: ghc-pkg near compiler in /home/brad/local/bin found package tool in /home/brad/local/bin/ghc-pkg ("/home/brad/local/bin/ghc-pkg",["--version"]) /home/brad/local/bin/ghc-pkg is version 6.10.2 ("/home/brad/local/bin/ghc",["--supported-languages"]) Reading installed packages... ("/home/brad/local/bin/ghc-pkg",["dump","--global"]) ("/home/brad/local/bin/ghc-pkg",["dump","--user"]) Setup: At least the following dependencies are missing: ghc-mtl ==1.1.* -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkn/uLwACgkQxRg3RkRK91PAvwCgnv4c9zoqPwUZLrvwxkQXJpWu E7gAoJz/BCMyZdjr7/fn/S7kE3EdnmDS =Tg3f -END PGP SIGNATURE- ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: ghc 6.10.3-prerelease failed build log for freebsd7.2
Hi, On Sun, May 03, 2009 at 11:03:49PM -0700, brad clawsie wrote: > after some trying, i was unable to get the 6.10.3 prerelease to build on > freebsd 7.2. i was trying to use an existing 6.10.2 as my build ghc. > > i saved the output of the entire build from ./configure to the point of > failure. it is too long too attach here, you can see it at: > > http://www.b7j0c.org/ghc-6.10.3.log.txt Interesting. haskeline seems to break the build in different ways and at different places (and sometimes it doesn't fail at all). In your case, it doesn't find libiconv, thus isn't built, and causes failure later. In my case (a buildbot running OpenBSD-4.5 on i386), the haskeline build itself fails (see `kili-stable' on darcs.haskell.org/buildbots), but at the same time on OpenBSD-current on an amd64 the haskeline build complains about a missing libiconv but builds nevertheless. This all is a little bit confusing, but it should be fixable by telling configure where to find libivonv (i didn't yet have the time to look what's going on for real here). Ciao, Kili ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: ghc 6.10.3-prerelease failed build log for freebsd7.2
On Sun, May 3, 2009 at 11:02 PM, brad clawsie wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > hi > > after some trying, i was unable to get the 6.10.3 prerelease to build on > freebsd 7.2. i was trying to use an existing 6.10.2 as my build ghc. > > i saved the output of the entire build from ./configure to the point of > failure. it is too long too attach here, you can see it at: > > http://www.b7j0c.org/ghc-6.10.3.log.txt > > it is about 4.4mb > > thanks > brad It looks like the problem occurs when building Haskeline: Configuring haskeline-0.6.1.5... checking whether to use -liconv... using -liconv. Setup: Missing dependency on a foreign library: * Missing C library: iconv The problem is that Cabal isn't getting the right argument to look for iconv in (I'm guessing) /usr/local/lib. (Strangely, the Haskeline custom Setup.hs script which detects whether to use iconv is itself succeeding; I should compare the two and see what's different...) Normally this can be fixed by building Haskeline with the Cabal arguments --extra-include-dirs, --extra-lib-dirs; but I don't know how they can be passed through by to the ghc build system. Can you please try, with your working ghc-6.10.2: cd into libraries/haskeline of the release candidate source directory, run runghc Setup configure --user -v3 and send the output. Thanks, -Judah ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
ghc 6.10.3-prerelease failed build log for freebsd7.2
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi after some trying, i was unable to get the 6.10.3 prerelease to build on freebsd 7.2. i was trying to use an existing 6.10.2 as my build ghc. i saved the output of the entire build from ./configure to the point of failure. it is too long too attach here, you can see it at: http://www.b7j0c.org/ghc-6.10.3.log.txt it is about 4.4mb thanks brad -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkn+hUUACgkQxRg3RkRK91OSCwCfZ2LuR2v1UNYfx1z1gCx/5Kam 4pwAn0+T69nj0qIl4LyCYEsy/mAOdc8h =6alu -END PGP SIGNATURE- ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
ghc 6.10.3-prerelease failed build log for freebsd7.2
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi after some trying, i was unable to get the 6.10.3 prerelease to build on freebsd 7.2. i was trying to use an existing 6.10.2 as my build ghc. i saved the output of the entire build from ./configure to the point of failure. it is too long too attach here, you can see it at: http://www.b7j0c.org/ghc-6.10.3.log.txt it is about 4.4mb thanks brad -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkn+hQMACgkQxRg3RkRK91PGgACfWYJy9sIt6Nx1QxM+nkqXYMl3 pLIAoIDf6yw25VymUFPpdIG5L0B/gF2K =lwwy -END PGP SIGNATURE- ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users