delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/05/15/00:16:33

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 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 DOT inglis AT systematicsw DOT ab DOT ca
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
To: cygwin AT cygwin DOT com
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
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
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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
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>
Reply-To: cygwin AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 14F4GX18004417

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.]

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