kassane commented on issue #44515:
URL: https://github.com/apache/arrow/issues/44515#issuecomment-2436093198

   > Can we use it instead of parsing C header files?
   
   It's possible. However, need manual fixes, like:
   
https://github.com/kassane/arrow/commit/4bcfed11981b2552e07868d8bb8ea6022d0bcf0b
   
   ```bash
   # $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()
                             ^
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to