8000 GIR in Apache Arrow - Error: `OutputStream` matches conflicting symbols · Issue #45 · gtkd-developers/gir-to-d · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
GIR in Apache Arrow - Error: OutputStream matches conflicting symbols #45
Open
@kassane

Description

@kassane

Hi, 👋

I have been testing that bindgen in Apache-Arrow during the first time after converting the files. I had some conflicts that required manual patching.

some minor fixes:
kassane/arrow@4bcfed1
kassane/arrow@86c9062

But...

Output error
# $PWD = arrow
$ dub test --root=d -f
             Generating test runner configuration 'arrow-d-test-unittest' for 'unittest' (library).
     Pre-gen Running commands for glibd
    Existing package girtod found locally
0 packages fetched, 1 already present, 0 failed
             Building package girtod in /home/kassane/.dub/packages/girtod/0.23.2/girtod/
     Pre-gen Running commands for girtod
    Starting Performing "debug" build using /usr/bin/ldc2 for x86_64.
    Building girtod 0.23.2: building configuration [application]
     Linking girtod
     Running ../../../girtod/0.23.2/girtod/girtod -i src -o generated --use-runtime-linker
copying file [src/gtkd] to [generated/gtkd]
    Starting Performing "unittest" build using /usr/bin/ldc2 for x86_64.
    Building glibd 2.4.3+commit.2.g1546823: building configuration [library]
    Building arrow-d ~master: building configuration [arrow-d-test-unittest]
source/arrow/GIOOutputStream.d(12,8): Error: `OutputStream` matches conflicting symbols:
public class GIOOutputStream : OutputStream
       ^
source/arrow/OutputStream.d(18,8):        class `arrow.OutputStream.OutputStream`
public class OutputStream : ObjectG, FileIF, WritableIF
       ^
../../.dub/packages/glibd/1546823185334c4727d378baf890fa13d9fa4cbd/glibd/generated/gio/OutputStream.d(58,8):        class `gio.OutputStream.OutputStream`
public class OutputStream : ObjectG
       ^
source/arrow/GIOOutputStream.d(55,9): Error: `OutputStream` matches conflicting symbols:
        public this(OutputStream gioOutputStream)
        ^
source/arrow/OutputStream.d(18,8):        class `arrow.OutputStream.OutputStream`
public class OutputStream : ObjectG, FileIF, WritableIF
       ^
../../.dub/packages/glibd/1546823185334c4727d378baf890fa13d9fa4cbd/glibd/generated/gio/OutputStream.d(58,8):        class `gio.OutputStream.OutputStream`
public class OutputStream : ObjectG
       ^
source/arrow/GIOOutputStream.d(76,22): Error: `OutputStream` matches conflicting symbols:
        public OutputStream getRaw()
                     ^
source/arrow/OutputStream.d(18,8):        class `arrow.OutputStream.OutputStream`
public class OutputStream : ObjectG, FileIF, WritableIF
       ^
../../.dub/packages/glibd/1546823185334c4727d378baf890fa13d9fa4cbd/glibd/generated/gio/OutputStream.d(58,8):        class `gio.OutputStream.OutputStream`
public class OutputStream : ObjectG
       ^
source/arrow/LargeListArray.d(138,27): Error: function `DataType arrow.LargeListArray.LargeListArray.getValueType()` does not override any function, did you mean to override `arrow.c.types.GArrowType arrow.Array.Array.getValueType()`?
        public override DataType getValueType()
                          ^
source/arrow/ListArray.d(134,27): Error: function `DataType arrow.ListArray.ListArray.getValueType()` does not override any function, did you mean to override `arrow.c.types.GArrowType arrow.Array.Array.getValueType()`?
        public override DataType getValueType()
                          ^

cc: @MikeWey

Reference

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0