X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 15EB13857C55 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=prager.ws Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=bernd AT prager DOT ws X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=prager.ws; s=default; h=Message-ID:Subject:To:From:Date:Content-Transfer-Encoding: Content-Type:MIME-Version:Sender:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=0uSkJPFCklKvUj2ivYraZ+KtZ/9Ac2P/tERfyRRsfqU=; b=pIw8xcsQal5ekNIlKgQp3b7t5a /nMEewrNCVcR8mpYHZW9lwfFMq1C+Uze506cFWeVu1XqnyGYV+ffKpdSX3fQBdo1IkFAhncHy1jbh mY16rZpsA2m5wmSL5kMHSdppW; MIME-Version: 1.0 Date: Thu, 03 Sep 2020 11:43:46 +0700 From: Bernd Prager To: cygwin AT cygwin DOT com Subject: anybody successful in compiling apache-arrow? Message-ID: <11fbefb997f5f3fa37de64e06928112f@prager.ws> X-Sender: bernd AT prager DOT ws User-Agent: Roundcube Webmail/1.3.6 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5185.bluehost.com X-AntiAbuse: Original Domain - cygwin.com X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - prager.ws X-BWhitelist: no X-Source-IP: 162.241.224.128 X-Source-L: Yes X-Exim-ID: 1kDh6A-003lgN-Ui X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (email.prager.ws) [162.241.224.128]:47076 X-Source-Auth: bernd AT prager DOT ws X-Email-Count: 3 X-Source-Cap: cHJhZ2Vyd3M7cHJhZ2Vyd3M7Ym94NTE4NS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, JMQ_SPF_NEUTRAL, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_NEUTRAL autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8"; Format="flowed" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 0834iJnP031888 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 -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple