Fwd: Bug#707410: mlton: FTBFS: gc/int-inf.c:180:43: error: unknown type name '__gmp_const'

"Wesley W. Terpstra" <[email protected]> Thu, 9 May 2013 12:02:14 +0200
Newsgroups gmane.comp.lang.ml.mlton.devel
Message-ID <CAA-O0XhcFOf0An5rDb5qyaEuoRWvdb6x2x5AFu51vmVz0ud=tA@mail.gmail.com>
I have not yet looked into this, busy for the next few days. Has
anyone seen this already?


---------- Forwarded message ----------
From: Lucas Nussbaum <[email protected]>
Date: Thu, May 9, 2013 at 10:09 AM
Subject: Bug#707410: mlton: FTBFS: gc/int-inf.c:180:43: error: unknown
type name '__gmp_const'
To: [email protected]


Source: mlton
Version: 20100608-5
Severity: serious
Tags: jessie sid
User: [email protected]
Usertags: qa-ftbfs-20130509 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> gcc -std=gnu99  -I. -Iplatform  -fno-common -fvisibility=hidden -m64 -O2 -fomit-frame-pointer   -pedantic -Wall -Wextra -Wformat=2 -Wswitch-default -Wswitch-enum -Wuninitialized -Winit-self -Wstrict-aliasing=2 -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-field-initializers -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs  -Wdisabled-optimization  -c -o gc.o gc.c
> In file included from gc.c:44:0:
> gc/int-inf.c:180:43: error: unknown type name '__gmp_const'
> gc/int-inf.c:181:43: error: unknown type name '__gmp_const'
> gc/int-inf.c: In function 'IntInf_add':
> gc/int-inf.c:196:3: warning: implicit declaration of function 'binary' [-Wimplicit-function-declaration]
> gc/int-inf.c:196:3: warning: nested extern declaration of 'binary' [-Wnested-externs]
> gc/int-inf.c: At top level:
> gc/int-inf.c:257:34: error: unknown type name '__gmp_const'
> gc/int-inf.c: In function 'IntInf_neg':
> gc/int-inf.c:271:3: warning: implicit declaration of function 'unary' [-Wimplicit-function-declaration]
> gc/int-inf.c:271:3: warning: nested extern declaration of 'unary' [-Wnested-externs]
> gc/int-inf.c: At top level:
> gc/int-inf.c:283:34: error: unknown type name '__gmp_const'
> gc/int-inf.c: In function 'IntInf_arshift':
> gc/int-inf.c:299:3: warning: implicit declaration of function 'shary' [-Wimplicit-function-declaration]
> gc/int-inf.c:299:3: warning: nested extern declaration of 'shary' [-Wnested-externs]
> make[4]: *** [gc.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2013/05/09/mlton_20100608-5_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may