From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2115.outbound.protection.outlook.com [40.107.93.115]) by sourceware.org (Postfix) with ESMTPS id D03803857C5F for ; Sat, 15 May 2021 13:37:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org D03803857C5F ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HUqvD2z3V+0wiDGvOr5WQIHH0VhBuD5ZqCTWeJIePZ601DlPApuyq2KU4eXhRCZaL1b7tFUxmm8y6qy0vbV9ZYcaCtFOhcMcph0tIUlE231mzZvxkD5KVoI4NwZQK/BbYzP1S/hMK+RPI5UAHblapzbBvp4cnKPMy5dt+xVVHrTfLGBDADbZVnRiP6AWmy4CB8v+6hhVIhQeOwAf89BABQnOBNkneRayo7VoFChuOERlQC6Eky3Uc0bxe/TQyQUxeKouCA6o0dIjP67cl7pa6quU6oqWzj/EkYheu32zILClAGeyd/GLeFWCRT8R6bQTxNSVyNC2xpuueYqdyPz79Q== 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=OK3XKUZ8/IDKfTB+duGbrPD9pOIdueerVcQpWQzM81Q=; b=kJvJw8sJgJR5vR5StosZTrd/la/qH9j7IznOkvpdlTZCuOowBmktIsyHnVvZNXJWQk+UN7wZbcw0HOBI8Kt/EhGJD/xR91QDR2YTipqT/z6xGt6AIgifc4Me1P472Xg8WexX/nHoO2ynQGo9vO3f6Z87VzCMUtzFDU9ERVOt0fy8hrIhEPrvHtSX7wuaXbs9CLas767+BXM6HFtKkh19jvFnSDC94kXbx1FAeDn2/kHOpKH/ZK+0x0sFJofp/1J2LwE2VKyC4LIudg3xZhtix8rnLJ/9f7pvMOAELEKLHenq31Koer5VQ/xY14SgDlW3LpJSKwDrDXHs/uzqjgnIFw== 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 Received: from BN7PR04MB4388.namprd04.prod.outlook.com (2603:10b6:406:f8::19) by BN6PR04MB1029.namprd04.prod.outlook.com (2603:10b6:405:3c::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.26; Sat, 15 May 2021 13:37:32 +0000 Received: from BN7PR04MB4388.namprd04.prod.outlook.com ([fe80::d452:659e:43f2:812b]) by BN7PR04MB4388.namprd04.prod.outlook.com ([fe80::d452:659e:43f2:812b%7]) with mapi id 15.20.4129.029; Sat, 15 May 2021 13:37:32 +0000 Subject: Re: cygport i686/x86 library build undefined type in sys/stat.h To: cygwin@cygwin.com References: <08857c84-dbfe-8bf4-f7f8-40f64a3edda0@SystematicSw.ab.ca> From: Ken Brown Message-ID: <8c21e5c9-25fc-0de3-1b87-8dc31e3f15a4@cornell.edu> Date: Sat, 15 May 2021 09:36:47 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 In-Reply-To: <08857c84-dbfe-8bf4-f7f8-40f64a3edda0@SystematicSw.ab.ca> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [24.194.34.31] X-ClientProxiedBy: CH2PR16CA0029.namprd16.prod.outlook.com (2603:10b6:610:50::39) To BN7PR04MB4388.namprd04.prod.outlook.com (2603:10b6:406:f8::19) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.0.18] (24.194.34.31) by CH2PR16CA0029.namprd16.prod.outlook.com (2603:10b6:610:50::39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25 via Frontend Transport; Sat, 15 May 2021 13:37:31 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a6adfa14-08c1-44d4-2bd1-08d917a69745 X-MS-TrafficTypeDiagnostic: BN6PR04MB1029: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4714; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7jT1mafSm2r3s4ZrbfnXp51xvwuqPSuNOccjJJX7utg3eNKaEBdZbEs4JuvOGZtoBqH3b/ZI+h2ER1X8g3FkDhJz6r36LIG8AbBKXD2xt7Yz5EeXtzmA+Y/ALjBF68/OptLm8XX2TefmzXpCmKWMIRafid7O178PqgKgzE/gq9mq03LqFwCSn4sP8X5bkcTtvBhAM488Gy9bz2Ab+HbHr6o1nc45HOGUrYbKxpKQUaUai8EzmzNQcDNKdi0Z/Pvwjvunxd5XxlkZ/GyQrYzdxULBTfWF1+8CX+2Bd3ZNMhHjSE7E9P1ZRXR+iNWyFfF3ELgaWnw2PdGHTpEpVZ1qO5avEOCn9pzGB0vvVScZsFkMsOAsftBrgeVhW6F2lcQHSewmRqusZAx37AJTQWqXSR9E0StpC+2i7sP2J4/mILAko7OyrR1cKIEE4cwn6iGrGqIdViJhjbt8mgIBMChhalYpiZ2c/N1sN/bNA05ZNX93I4H8zGuU7Ba+2wVkFrZ5YzLqjD+nL1WpLhmF86jHuwlpEiYL4kbM7TToWe8cc/ey3Hk+9yfLqV9xiuQJ1zbgCtpx0GeCftXfpl6x1JOE+GFDWWb/3RATIjXnlb+tg2Zc6xfgbKwHQf3cc1B+a+8eW+BZXjiqBX+6PoyMS/ZvI9OtRePjCwMvnktmwZWJHdGycqDoO/74rE1k3OuMzNB7T37DdgM21dQWfUD7ejashQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN7PR04MB4388.namprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(136003)(39860400002)(396003)(346002)(366004)(66476007)(75432002)(16526019)(2906002)(186003)(66556008)(478600001)(8676002)(53546011)(38100700002)(6486002)(38350700002)(86362001)(36756003)(786003)(26005)(66946007)(956004)(5660300002)(31686004)(16576012)(316002)(31696002)(2616005)(6666004)(8936002)(6916009)(52116002)(45980500001)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: =?Windows-1252?Q?VozckpEGJYlrMZ3GGepYD5TcyY1LBT9X7pVNjqQ67I/K7I5SzWCw3qKp?= =?Windows-1252?Q?qxl+LmdcU/HGlzO9q1GK02nmxUzA+K79Z9frTIc5HlARpMEwx52kHUuT?= =?Windows-1252?Q?ucoTlNTiWCNnjpL43ZY7cRn4NilOAqW9iG2m5Fetqim0g8N8WRYQR8BE?= =?Windows-1252?Q?vF3swt9AKUkxswA4zaNVvn010ovqsdTufKdHoYpK3wyrIIt86Z5NivnN?= =?Windows-1252?Q?LLrEc+4adkoojhqnmWQ8/BPm9MBevak66kyRvuVDcc97yZSQRMGPFa+v?= =?Windows-1252?Q?tLVNIcv4aEiv2VzLYjeLmJzs3ITPXlCuOVg//0lZ/Mtj+QE6vlgTioY+?= =?Windows-1252?Q?DMs1EZE6lExCvK2jiRYjDiMJG4dVc8pnh3TA9wsVgxq9srnZGTssJBJN?= =?Windows-1252?Q?DRigcq7Rqm95AE/VrWQ63NO6EqiJqbxL96rSuDClmr3NL9xX2BTf+PFW?= =?Windows-1252?Q?yRkgxw9ypEDmJu44S3CxVfdXUhtoEb8v2Tm/PVEdTF92FFUDiT1Nu1jR?= =?Windows-1252?Q?Icwh46ak4JydszwH7DP8ssAC7LeZ7yiwAnKksKTFSyEIonuWrqAAMajG?= =?Windows-1252?Q?zfFi2vEfmUi+hWlNY7ZZVy9wNeYtLmRsDsvlETEzYrLgjHwwfmcTAKTt?= =?Windows-1252?Q?nwnfeG679r8/vO4Af5Zp8e9wWjQeG7yM5J0+8FedtfBNM1ZRfuEsV9aA?= =?Windows-1252?Q?QY/SMTFVtAyL+kGenaooJct1RoKAUol0DuEC3BAFPYJGWqy/+4YKUXEm?= =?Windows-1252?Q?M9d275oz91OcTdgnoGjVfWMOI5RbnoTV4ZM8LhO+tAXADGFV72N9g0Nl?= =?Windows-1252?Q?qET4tu+3jT9f3MQg8CdLJk5fYVSYch0uCP1G4VCl/VWssAjggaLw9uq9?= =?Windows-1252?Q?mR1WiW/dTXwfbhAfDfIzf7fObSEmTz0ONrG4pWUqxq02Xh3Hyewe29SP?= =?Windows-1252?Q?1FzKQo22dp1q2br7DTtqdzUpaR5PndWmofS3GEhnGY8PbJly8rCtfnwc?= =?Windows-1252?Q?AvV5pSIO1CsuVbiKV1LDR6SbFDw5OQE6ipKkZ/Kva5XfUSOVwejQQxdx?= =?Windows-1252?Q?CN7N3FXD9XIEWf6eksBj/lSUEg+D/Yn5/bliEJeesUgrsRFJumaZMnCz?= =?Windows-1252?Q?qTU2sGS8MRulOMbO7ZvE2k2xYlHmg5sR8mATw2QrxFFKILh+k4VUnTfn?= =?Windows-1252?Q?ZmTO6FWMcEsVT3aJwXN3AEFLeq4Lzv/3CPobCMYca0EO3iejMc1ZNSuX?= =?Windows-1252?Q?8zBpO/Fy20DWFWNnGK/oK04hTubBGNPt8G/Sz/uGLx7CAQ1j7Aww4IZQ?= =?Windows-1252?Q?5F9DDwVJSFw1A0vD3A/eF/vywezKchYB5qsWEv/VZ7j+1fDaj5XIbzus?= =?Windows-1252?Q?Z1gy/nwjAVTeALzf/s1fhDUMn98DPXDfAxjF6ymgRK0EEkNLK6OHzXwA?= X-OriginatorOrg: cornell.edu X-MS-Exchange-CrossTenant-Network-Message-Id: a6adfa14-08c1-44d4-2bd1-08d917a69745 X-MS-Exchange-CrossTenant-AuthSource: BN7PR04MB4388.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 May 2021 13:37:32.1647 (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: KcfEfMPI+xDVamTSgLBLtXjbw5PIFn4RmtKRLUQQ2lptgDQmOS1LtUhBgCHHlq3jFkx4gIbfmikvRHIwqalN4g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR04MB1029 X-Spam-Status: No, score=1.4 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=no autolearn_force=no version=3.4.2 X-Spam-Level: * 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 13:37:36 -0000 On 5/15/2021 12:16 AM, Brian Inglis wrote: > 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: It looks like something went wrong with the install of your test build. In particular, the headers went to the wrong place. > $ 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? Not only is it safe, but I would say it's mandatory. You should also look for other remnants of your test install and remove them. In general, I think it's a bad idea to do test installs in the same Cygwin installation that you use for building packages. Ken