delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/09/04/09:37:23

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E358F393C852
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1599226598;
bh=C/0CdxOorJ9AOnm5o68bU/mvYlAkzitbup7M4JtrUjs=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=TghBXd55nNf1noh7goN+3XFpVr9Itr7UldcKmO4uMCJk3txz4XTrp4RHPGIomXV1J
IFuTLdLKSHHI8rwoCzTzYX3ngx3/47Hjx7itX7Lb/8akbnu0wKCU+SQM+xmsQfTPb2
fc7cjq3V/Lp4Hnf8O2altBpqrZTIXaxweThpueD4=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org EBB3E3851C04
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=i4c8PPSVbnY+EE/aNaGKGELZIMvOlKLioPX7mO/QMMDoe8bRTwTZL4ezEUokRwKIghFQpX90bsykwtShW8Ymb2Ol+AB77Ragpo/wCz2vwIZi7+5wsANDBSe+/QS5zRUhN2LjVSzWPy8xFjr5wLfKX5kphp9KH+s9tNHeN3jXBbsx6PZpRXb+fXtmHsFHLEocl3630IwWuXBLMZxfQc8rBRlbMNyHJdlIyU5z3NR+QAw7ATPn3bb776Szz8cdYFngpcBfm8srASqjVm5whfQ5NdM/YPGFhKrHJg9F6zXEtmTcC+fZIHBby5eVsERhsDjGJKk5cQh3hgjJSALx43voqA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
bh=9eX3UwWJy3LxvhVsOxsqBRWEZuMR1pLnZSPTnwSGxCY=;
b=EU5iTu6FQt7CzA+4N0GkfrJ1iur4B6on/ozWJlG7IYtxvj322MTCAQrF138y44SBQz6h1E5tzSe7F0eLy7E845NehPwTb+VkuKkR+aBbhoA0aFoo0vuJd2uw/0VlJ/nH7HlLBCo0gHPmjF8GjVrfHpcSiuBXgJTvKw4ovP77tiH4IFXplAgMlyRBybU5xSGreNw77koWQygY6fjxLOmHvLHJPSivAilvW5g2uegF1m6Jt6ezjB2pGeDgEabzuPr1sPC2W0oafAeLv+gFZ/RhVNJCl8pkoUGpox0FTVrLADYDR5jvWVg9w6MyzuAMmbfE+e3GUeo7scU+GiCnF1FApA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu;
dkim=pass header.d=cornell.edu; arc=none
Subject: Re: anybody successful in compiling apache-arrow?
To: cygwin AT cygwin DOT com
References: <11fbefb997f5f3fa37de64e06928112f AT prager DOT ws>
Message-ID: <086aaf47-f20c-d670-61b9-cc0ee4587b48@cornell.edu>
Date: Fri, 4 Sep 2020 09:36:31 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101
Thunderbird/68.12.0
In-Reply-To: <11fbefb997f5f3fa37de64e06928112f@prager.ws>
X-ClientProxiedBy: MN2PR17CA0024.namprd17.prod.outlook.com
(2603:10b6:208:15e::37) To MN2PR04MB6176.namprd04.prod.outlook.com
(2603:10b6:208:e3::13)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
X-Originating-IP: [2604:6000:b407:7f00:6c3f:b207:591d:92fb]
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 38bb1abc-5083-4a79-a2c9-08d850d78919
X-MS-TrafficTypeDiagnostic: MN2PR04MB5488:
X-Microsoft-Antispam-PRVS: <MN2PR04MB54884FDDD890C6C46C209057D82D0 AT MN2PR04MB5488 DOT namprd04 DOT prod DOT outlook DOT com>
X-MS-Oob-TLC-OOBClassifiers: OLM:4502;
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: pb4nLfgvwOkL67vTjgfkfnwGa5JXRsy41QCG3ZKsOwI92grSrnP2BUdWgMcYV0idhNu72hJaPLBmb7j6oKfp5f+mrIi6xTe2pLTFWOEJ15qbfYXsNPgShLsehQpiWPHAAtM+TLJl2nfgsbHXWUq50tn1F+5pETL3EHP5C4VS14dD6hi8L8PVhzvhksaRqASX5bgLy3ZZ7vcfFhRjsEUM6Tuo/yJWU6k/Vp2qYrBekWH9cS7Gq/z270nccPyo20o2sEWcL/CrzrF4p4/0ELWdiAQ+k/vdNJcr8opdYmHSP8FdHE27eaxHv6pgKYqKXC85IbO8yoWaugExXURUrxzNsrA80ZDd4FRCLDT/k6K3VbOjFAidxR+iB581RwZv0jKSHNL3IiLaS4P1X2hfPSJQl9wsAerza45n8yXqRf+wnnPnl6l9JNUZqbl9G+2lDqzHwGX53RqoJYRsP9IY2im4VNz7vVQCgvO9uk5M6RvUt/g=
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
IPV:NLI; SFV:NSPM; H:MN2PR04MB6176.namprd04.prod.outlook.com; PTR:; CAT:NONE;
SFS:(4636009)(376002)(346002)(39860400002)(366004)(136003)(396003)(31696002)(53546011)(66946007)(16526019)(31686004)(75432002)(186003)(8936002)(66556008)(83380400001)(52116002)(6486002)(5660300002)(478600001)(786003)(86362001)(2906002)(8676002)(66476007)(2616005)(36756003)(6916009)(316002)(966005)(21314003)(43740500002);
DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData: Scp91ypM/P6oxg/PX7EnyxcXVvciXKIknf/j6ikBjjOpqSBcVx1ZMPs28OxPLhjdcS23pLq0lg9wdPRxnQ6p/H/9q1h5KPXriV2DkzctbluXN7h59Pc+K0/6lx+dDitYRTp3DxxLwQ6f7QezM1vyRfm8s1HnEr7hOQ/rnWLmbnhO0NQZLGQDLl+4sejH1UgrX0bNxh9pNkzsH8gp9m1Vyn3x5HylJvuNwrZD2AfWJ7lfZSzZrDT0T6Cp78XdxRD9VqbNN37RuaMSwjd78W3ykEE1VUli9EJD8EAFb4UC6ct1OJ115ZCcL26GOch/ZfFavroSxLBx5kKjqxYfhbYK4Vb2pz2qGbVOs3clsCY1m1cHKO5QyyRFsNNHO6n7TAtSPck9DPKxnyZrqqrOT+2rdFKsT8IuafvziScCYv+azfdjNudv95EM8nGRV+7CTXAEkejUcXAoW7igiYC+d9F1uajxcLxobzNDj7Iwyy6KfxeajH28lbk9I/szp+Ut45r0j0ivSmJnK9lj4Z2m3CzcU77fg8TLY2BGzcu/ZCxpqI33VqHowTGuXmqZma53osbCauUtj+CkCVqpiGReM5hOKrz5v5qNgIQTzPpkbdEE8UOG7eVfdmcKq27JdUi2iHkgpCsLf6X6fElHTQvupZc2r/fXgyQUNPPbu9UrkjhbATJZVpfXp7ot/FKd+rwnrIjgVBgXTwjksBAyoolAgreyfg==
X-OriginatorOrg: cornell.edu
X-MS-Exchange-CrossTenant-Network-Message-Id: 38bb1abc-5083-4a79-a2c9-08d850d78919
X-MS-Exchange-CrossTenant-AuthSource: MN2PR04MB6176.namprd04.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Sep 2020 13:36:32.6002 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 5d7e4366-1b9b-45cf-8e79-b14b27df46e1
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: rBDyCqana3+0RwPi1sXLwkV/ldp0PkYKkKJ21IL486gdDsCrpOlJZS20/FFcpjqv3uBhPL8Y777JAPPKKOpSvw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR04MB5488
X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00, BODY_8BITS,
DKIM_INVALID, DKIM_SIGNED, KAM_DMARC_STATUS, MSGID_FROM_MTA_HEADER,
NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS,
TXREP autolearn=ham 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 <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Ken Brown via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Ken Brown <kbrown AT cornell DOT edu>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 084Db5iu028427

On 9/3/2020 12:43 AM, Bernd Prager wrote:
> 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?

The particular error message you quoted above comes from the fact that 
/usr/include/w32api/intsafe.h was included.  This is unlikely to be appropriate 
in a Cygwin build.  So you should track down why that happens and disable it.

Maybe you'll be lucky and the build will succeed after that.  More likely, there 
will be other places where the build system treats Cygwin as though it were 
Windows, and you'll just have to fix them one by one.  It can be very tedious.

If you succeed, I hope you'll offer to become the Cygwin maintainer of that package.

Ken
--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019