[Pkg-julia-devel] Bug#748573: Bug#748573: julia: conflicting function declarations 'dsfmt_genrand_uint32'

Graham Inggs ginggs at debian.org
Wed May 4 13:13:46 UTC 2016


On 03/05/2016 11:10, Michael Tautschnig wrote:
> Many thanks for reaching out. I've re-run the build, and the major problems
> appear to be gone. There is still a minor issue because of julia building with
> -D_GNU_SOURCE while libuv isn't using this, but the resulting warning
>
> old definition in module `sys' file /usr/include/x86_64-linux-gnu/sys/resource.h line 87
> signed int (enum __rusage_who, struct rusage *)
> new definition in module `core' file /usr/include/x86_64-linux-gnu/sys/resource.h line 87
> signed int (signed int, struct rusage *)
>
> is likely safe to be ignored in almost all cases.

Does the patch below clear the warning?  I've checked that -D_GNU_SOURCE 
now appears in the build log.


--- a/deps/Makefile
+++ b/deps/Makefile
@@ -728,7 +728,7 @@
  UV_SRC_TARGET = $(LIBUV_SRC_DIR)/.libs/libuv.la
  UV_OBJ_TARGET = $(build_libdir)/libuv.la

-UV_CFLAGS =
+UV_CFLAGS = -D_GNU_SOURCE
  ifeq ($(USEMSVC), 1)
  UV_CFLAGS += -DBUILDING_UV_SHARED
  endif



More information about the Pkg-julia-devel mailing list