You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "folliehiyuki (via GitHub)" <gi...@apache.org> on 2025/01/11 03:50:13 UTC

[I] Please move header files from arrow/cdata/arrow/c into the parent Go package [arrow-go]

folliehiyuki opened a new issue, #244:
URL: https://github.com/apache/arrow-go/issues/244

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   arrow-go fails to build if it's being vendored by another Go module. This is because all non-go files not being in a go package will be removed by `go mod vendor`. Building another Go module vendoring arrow-go will leads to the below error (the `arrow/c/` directory was stripped in the vendoring process):
   
   ```go
   # github.com/apache/arrow-go/v18/arrow/cdata
   vendor/github.com/apache/arrow-go/v18/arrow/cdata/cdata.go:25:11: fatal error: arrow/c/abi.h: No such file or directory
      25 | // #include "arrow/c/abi.h"
         |           ^~~~~~~~~~~~~~~
   compilation terminated.
   ```
   
   For now, I added `-I/usr/include` CFLAGS to my build to search for system's apache-arrow header files. They seem to be identical to the files in `arrow/cdata/arrow/c`.
   
   ### Component(s)
   
   Other


-- 
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: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Please move header files from arrow/cdata/arrow/c into the parent Go package [arrow-go]

Posted by "zeroshade (via GitHub)" <gi...@apache.org>.
zeroshade closed issue #244: Please move header files from arrow/cdata/arrow/c into the parent Go package
URL: https://github.com/apache/arrow-go/issues/244


-- 
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: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org