[ 
https://issues.apache.org/jira/browse/ARROW-1538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16171132#comment-16171132
 ] 

Rares Vernica commented on ARROW-1538:
--------------------------------------

I'm trying to build Arrow {{0.7.0}} in Ubuntu {{14.04}} using the patches from 
[here|https://issues.apache.org/jira/browse/ARROW-592?focusedCommentId=16143048&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16143048]
 but I am having some issues with glib:

{code}
# docker run --rm --tty --volume /arrow/arrow-dist/cpp-linux/apt:/host:rw --env 
DEBUG=yes apache-arrow-ubuntu-14.04 /host/build.sh
...
make[2]: Entering directory `/build/apache-arrow-0.7.0/c_glib_build'
make  all-recursive
make[3]: Entering directory `/build/apache-arrow-0.7.0/c_glib_build'
Making all in arrow-glib
make[4]: Entering directory `/build/apache-arrow-0.7.0/c_glib_build/arrow-glib'
  GEN      stamp-enums.c
touch stamp-enums.c
  GEN      stamp-enums.h
touch stamp-enums.h
make  all-am
make[5]: Entering directory `/build/apache-arrow-0.7.0/c_glib_build/arrow-glib'
  CXX      libarrow_glib_la-array.lo
In file included from ../../c_glib/arrow-glib/array.h:23:0,
                 from ../../c_glib/arrow-glib/array.hpp:24,
                 from ../../c_glib/arrow-glib/array.cpp:24:
../../c_glib/arrow-glib/compute.h:27:25: error: expected constructor, 
destructor, or type conversion before '(' token
 G_DECLARE_DERIVABLE_TYPE(GArrowCastOptions,
                         ^
../../c_glib/arrow-glib/compute.h:37:1: error: 'GArrowCastOptions' does not 
name a type
 GArrowCastOptions *garrow_cast_options_new(void);
 ^
In file included from ../../c_glib/arrow-glib/array.hpp:24:0,
                 from ../../c_glib/arrow-glib/array.cpp:24:
../../c_glib/arrow-glib/array.h:88:42: error: 'GArrowCastOptions' has not been 
declared
                                          GArrowCastOptions *options,
                                          ^
In file included from ../../c_glib/arrow-glib/array.cpp:26:0:
../../c_glib/arrow-glib/compute.hpp:26:1: error: 'GArrowCastOptions' does not 
name a type
 GArrowCastOptions *garrow_cast_options_new_raw(arrow::compute::CastOptions 
*arrow_cast_options);
 ^
../../c_glib/arrow-glib/compute.hpp:27:58: error: 'GArrowCastOptions' was not 
declared in this scope
 arrow::compute::CastOptions *garrow_cast_options_get_raw(GArrowCastOptions 
*cast_options);
                                                          ^
../../c_glib/arrow-glib/compute.hpp:27:77: error: 'cast_options' was not 
declared in this scope
 arrow::compute::CastOptions *garrow_cast_options_get_raw(GArrowCastOptions 
*cast_options);
                                                                             ^
../../c_glib/arrow-glib/array.cpp:519:19: error: 'GArrowCastOptions' has not 
been declared
                   GArrowCastOptions *options,
                   ^
../../c_glib/arrow-glib/array.cpp: In function 'GArrowArray* 
garrow_array_cast(GArrowArray*, GArrowDataType*, int*, GError**)':
../../c_glib/arrow-glib/array.cpp:530:61: error: 'garrow_cast_options_get_raw' 
cannot be used as a function
     auto arrow_options = garrow_cast_options_get_raw(options);
                                                             ^
make[5]: *** [libarrow_glib_la-array.lo] Error 1
make[5]: Leaving directory `/build/apache-arrow-0.7.0/c_glib_build/arrow-glib'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/build/apache-arrow-0.7.0/c_glib_build/arrow-glib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/build/apache-arrow-0.7.0/c_glib_build'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/build/apache-arrow-0.7.0/c_glib_build'
dh_auto_build: make -j1 returned exit code 2
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/build/apache-arrow-0.7.0'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1364:
dpkg-buildpackage -rfakeroot -D -us -uc failed
Failed debuild -us -uc
{code}

> [C++] Support Ubuntu 14.04 in .deb packaging automation
> -------------------------------------------------------
>
>                 Key: ARROW-1538
>                 URL: https://issues.apache.org/jira/browse/ARROW-1538
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++, Packaging
>            Reporter: Wes McKinney
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to