From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.138]) by sourceware.org (Postfix) with ESMTPS id 2B3573848007 for ; Sat, 15 May 2021 04:16:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2B3573848007 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSw.ab.ca Authentication-Results: sourceware.org; spf=none smtp.mailfrom=brian.inglis@systematicsw.ab.ca Received: from [192.168.1.104] ([68.147.0.90]) by shaw.ca with ESMTP id hlj0l2BeViLmnhlj1lr4hK; Fri, 14 May 2021 22:16:27 -0600 X-Authority-Analysis: v=2.4 cv=W+Nb6Tak c=1 sm=1 tr=0 ts=609f4b1b a=T+ovY1NZ+FAi/xYICV7Bgg==:117 a=T+ovY1NZ+FAi/xYICV7Bgg==:17 a=IkcTkHD0fZMA:10 a=94nOnFI1EgyDtX4ev68A:9 a=QEXdDO2ut3YA:10 Reply-To: cygwin@cygwin.com To: cygwin@cygwin.com From: Brian Inglis Organization: Systematic Software Subject: cygport i686/x86 library build undefined type in sys/stat.h Message-ID: <08857c84-dbfe-8bf4-f7f8-40f64a3edda0@SystematicSw.ab.ca> Date: Fri, 14 May 2021 22:16:26 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-CA Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfC73oGd03C56kULUUPblOVbe63IK0VtaBBUZDdFzvzAVOq4hgreSj4f5gRFK7xwofkN0uBe5WlWe2yr66R5P1cpbHSUSCTBoerMrZhQTrnvOXE1MmezT WsUgNfsYca7t2Wj1Uc6/VZg7Zp5sKlmBVEOwXniUIbJmhKJ5rrUPrWBKlKXSsbDQLnmtvKnZ9ZTF/V6BN9UrexItXII/8DXNW3w= X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_NONE, TXREP 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 May 2021 04:16:30 -0000 Trying to build latest libssh2 1.9.0 using cygport, works under x86_64, but under i686/x86 fails with: In file included from */usr/i686-pc-cygwin/include/sys/stat.h*:22, from ...: /usr/include/cygwin/stat.h:27:3: error: unknown type name ‘timestruc_t’ 27 | timestruc_t st_atim; | ^~~~~~~~~~~ The equivalent include path to */usr/i686-pc-cygwin/include/sys/stat.h* does not exist under 64 bit as /usr/x86_64-pc-cygwin/include, and cygcheck -f does not come up with a hit. The only obvious work around the timeframe of these files appears to be a local test newlib-cygwin build and install for format_proc_cpuinfo and format_proc_swaps testing: $ head -v /proc/version ==> /proc/version <== CYGWIN_NT-10.0-19042-WOW64 version 3.2.1-340.i686 (...@...) (gcc version 10.2.0 (GCC) ) 2021-04-30 12:55 UTC Has anyone any idea, from seeing anything similar happen on their installs, where this directory and these files may have come from, what may have installed them, and whether it is likely to be safe to rename or remove them? -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in binary units and prefixes, physical quantities in SI.]