public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Bernd Prager <bernd@prager.ws>
To: cygwin@cygwin.com
Subject: anybody successful in compiling apache-arrow?
Date: Thu, 03 Sep 2020 11:43:46 +0700	[thread overview]
Message-ID: <11fbefb997f5f3fa37de64e06928112f@prager.ws> (raw)

All,

While trying to install "pyarrow" and not able to find a distribution 
package so far I was trying to compile the Apache Arrow  sources from 
https://arrow.apache.org/ under CYGWIN_NT-10.0 HW-016990 
3.1.5(0.340/5/3).

I tried:
$ mkdir release; cd release/
$ cmake .. -DARROW_JEMALLOC=OFF
$ make

It fails with:

--- snip -----------------
[  0%] Built target toolchain
[  0%] Built target arrow_dependencies
[  1%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/array/concatenate.cc.o
In file included from 
/home/xxx/Tmp/apache-arrow-1.0.1/cpp/src/arrow/util/int_util_internal.h:30,
                  from 
/home/xxx/Tmp/apache-arrow-1.0.1/cpp/src/arrow/array/concatenate.cc:39:
/home/xxx/Tmp/apache-arrow-1.0.1/cpp/src/arrow/vendored/portable-snippets/safe-math.h: 
In function ‘int psnip_safe_ulong_add(long unsigned int*, long unsigned 
int, long unsigned int)’:
/home/xxx/Tmp/apache-arrow-1.0.1/cpp/src/arrow/vendored/portable-snippets/safe-math.h:621:22: 
error: cannot convert ‘long unsigned int*’ to ‘ULONG*’ {aka ‘unsigned 
int*’}
   621 |     return isf(a, b, res) == S_OK; \
       |                      ^~~
       |                      |
       |                      long unsigned int*
/home/xxx/Tmp/apache-arrow-1.0.1/cpp/src/arrow/vendored/portable-snippets/safe-math.h:621:22: 
note: in definition of macro ‘PSNIP_SAFE_DEFINE_INTSAFE’
   621 |     return isf(a, b, res) == S_OK; \
       |                      ^~~
In file included from 
/home/xxx/Tmp/apache-arrow-1.0.1/cpp/src/arrow/vendored/portable-snippets/safe-math.h:126,
                  from 
/home/xxx/Tmp/apache-arrow-1.0.1/cpp/src/arrow/util/int_util_internal.h:30,
                  from 
/home/xxx/Tmp/apache-arrow-1.0.1/cpp/src/arrow/array/concatenate.cc:39:
/usr/include/w32api/intsafe.h:357:21: note:   initializing argument 3 of 
‘HRESULT ULongAdd(ULONG, ULONG, ULONG*)’
   357 | __MINGW_INTSAFE_API __MINGW_INTSAFE_MATH(ULongAdd, ULONG, add)
       |                     ^~~~~~~~~~~~~~~~~~~~
--- snip -----------------

Now since I think this is a rather popular package I was wondering if 
anyone has gone this journey already before me.
(I noticed that Cygwin is not officially supported by Apache Arrow so 
far.)

Was anybody able to successfully compile that package? Any hints, help 
or advise?
Thank you so much,
-- Bernd



             reply	other threads:[~2020-09-03  4:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-03  4:43 Bernd Prager [this message]
2020-09-04 13:36 ` Ken Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=11fbefb997f5f3fa37de64e06928112f@prager.ws \
    --to=bernd@prager.ws \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).