pgj (x86 FreeBSD HEAD), build 925, Failure

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

pgj (x86 FreeBSD HEAD), build 925, Failure

Ian Lynagh-2
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



Reply | Threaded
Open this post in threaded view
|

pgj (x86 FreeBSD HEAD), build 925, Failure

Simon Marlow-7
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




Reply | Threaded
Open this post in threaded view
|

pgj (x86 FreeBSD HEAD), build 925, Failure

Sergei Trofimovich
In reply to this post by Ian Lynagh-2
On Sat, 26 Jan 2013 01:56:36 +0000
Ian Lynagh <ian at well-typed.com> 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 broke it. Is there a config.log from that system?

Looks like local include paths were not prepended correctly
in missing libgmp case.

--

  Sergei
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20130126/1e4084ca/attachment.pgp>

Reply | Threaded
Open this post in threaded view
|

pgj (x86 FreeBSD HEAD), build 925, Failure

Páli Gábor János
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?