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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]