#39934: camlimages @4.0.1_7: build failure --------------------------------+----------------------- Reporter: jaredwmoore@… | Owner: reilles@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: ocaml, camlimages | --------------------------------+----------------------- Changes (by mojca@…): * cc: mww@… (added) * version: 2.2.0 => * port: camlimages => ocaml, camlimages Comment: I'm sorry, when I said that I was unable to reproduce the problem I meant that `ocaml` builds fine. I see now that the problem arises when building `camlimages`. Either way I still believe that the problem is in OCaml sources. After changing `/opt/local/lib/ocaml/caml/config.h`: {{{ @@ -14,6 +14,8 @@ #ifndef CAML_CONFIG_H #define CAML_CONFIG_H +#include <stdint.h> + #ifndef __PIC__ # define ARCH_CODE32 #endif @@ -22,8 +24,8 @@ #define SIZEOF_LONG 8 #define SIZEOF_PTR 8 #define SIZEOF_SHORT 2 -#define ARCH_INT64_TYPE long -#define ARCH_UINT64_TYPE unsigned long +#define ARCH_INT64_TYPE int64_t +#define ARCH_UINT64_TYPE uint64_t #define ARCH_INT64_PRINTF_FORMAT "l" #undef ARCH_BIG_ENDIAN #undef ARCH_ALIGN_DOUBLE }}} the port `camlimages` compiles just fine. (I'm tempted to reassign the owner of the ticket to the OCaml maintainer.) -- Ticket URL: <https://trac.macports.org/ticket/39934#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X