Re: pgj (x86 FreeBSD HEAD), build 925, Failure

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[1]: *** [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 `libraries/integer-gmp/dist-install/package-data.mk' failed make[1]: *** [libraries/integer-gmp/dist-install/package-data.mk] Error 1 Does anyone know what's up? Thanks Ian

On 26/01/13 01:56, Ian Lynagh wrote:
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[1]: *** [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 `libraries/integer-gmp/dist-install/package-data.mk' failed make[1]: *** [libraries/integer-gmp/dist-install/package-data.mk] Error 1
Does anyone know what's up?
I've reverted the patch for now. Cheers, Simon

On Sat, 26 Jan 2013 01:56:36 +0000
Ian Lynagh
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[1]: *** [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 `libraries/integer-gmp/dist-install/package-data.mk' failed make[1]: *** [libraries/integer-gmp/dist-install/package-data.mk] Error 1
Does anyone know what's up?
I've broke it. Is there a config.log from that system? Looks like local include paths were not prepended correctly in missing libgmp case. -- Sergei

On Sat, Jan 26, 2013 at 4:31 PM, Sergei Trofimovich
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?
participants (4)
-
Ian Lynagh
-
Páli Gábor János
-
Sergei Trofimovich
-
Simon Marlow