[
https://issues.apache.org/jira/browse/ARROW-1704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16214209#comment-16214209
]
ASF GitHub Bot commented on ARROW-1704:
---------------------------------------
GitHub user kou opened a pull request:
https://github.com/apache/arrow/pull/1234
ARROW-1704: [GLib] Fix Go example failure
It's caused by GObject Introspection package in Ubuntu 14.04 is old.
Recent GObject Introspection doesn't have this problem.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kou/arrow glib-fix-go-test-on-ubuntu-14.04
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/arrow/pull/1234.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1234
----
commit ee80fdc78bf2033a4fa7105c0fe46d7b904d5e35
Author: Kouhei Sutou <[email protected]>
Date: 2017-10-22T06:26:16Z
[GLib] Fix Go example failure
It's caused by GObject Introspection package in Ubuntu 14.04 is old.
Recent GObject Introspection doesn't have this problem.
----
> [GLib] Go example in test suite is broken
> -----------------------------------------
>
> Key: ARROW-1704
> URL: https://issues.apache.org/jira/browse/ARROW-1704
> Project: Apache Arrow
> Issue Type: Bug
> Components: GLib
> Reporter: Wes McKinney
> Labels: pull-request-available
> Fix For: 0.8.0
>
>
> see e.g. https://travis-ci.org/apache/arrow/jobs/290802235
> {code}
> ~/build/apache/arrow/c_glib/example/go ~/build/apache/arrow/c_glib
> ~/build/apache/arrow
> $GOPATH/bin/gir-generator \
> -o $GOPATH/src/gir/arrow-1.0 \
> -config arrow-1.0/config.json \
> arrow-1.0/arrow.go.in
> go build -o read-batch read-batch.go
> # gir/glib-2.0
> /home/travis/gopath/src/gir/glib-2.0/glib.go:166: cannot convert
> (*(*[999999]*C.uint8_t)(unsafe.Pointer(ret1)))[i0] (type *C.uint8_t) to type
> uint8
> /home/travis/gopath/src/gir/glib-2.0/glib.go:166: cannot use
> uint8((*(*[999999]*C.uint8_t)(unsafe.Pointer(ret1)))[i0]) (type uint8) as
> type *uint8 in assignment
> make: *** [read-batch] Error 2
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)