On Fri, Jan 25, 2013 at 05:47:03PM -0800, Builder wrote:
> pgj (x86 FreeBSD HEAD), build 925
> Build failed
> Details: http://darcs.haskell.org/ghcBuilder/builders/pgj/925.html >
> checking for __gmpz_fdiv_qr in -lgmp... no
> checking for __gmpz_fdiv_qr in -lgmp3... no
> configure: error: Failed to compute size of sizeof (MP_INT)
> gmake: *** [libraries/integer-gmp/dist-install/package-data.mk] Error 1
> gmake: *** [all] Error 2
> checking for sizeof (MP_INT) size...
My Win32 HEAD build failed the same way:
checking for __gmpz_fdiv_qr in -lgmp3... no
checking for sizeof (MP_INT) size... configure: error: Failed to compute size of sizeof (MP_INT)
libraries/integer-gmp/ghc.mk:4: recipe for target
make: *** [libraries/integer-gmp/dist-install/package-data.mk] Error 1
On Sat, Jan 26, 2013 at 4:31 PM, Sergei Trofimovich <slyich at gmail.com> wrote:
> Looks like local include paths were not prepended correctly
> in missing libgmp case.
Yes, that is true indeed: the configure script is not called with the
--with-gmp-includes and --with-gmp-libraries flags. FreeBSD keeps the
GMP headers and libraries under /usr/local by default, in lieu of
this, the build simply falls back to the in-tree GMP instance.
I suppose Ian shall add these flags for the builder client?