delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/05/14/08:35:32

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=pVB3/KYucMFO9/M8
XyUrtoh/tOOzVAzr8wa1lYlcj6VMn+4CyJOgcQ+BLxwK7KNx/B7Hk0Yt8iIL8M2B
uijcYmuV+8ia9hRlLd+sWgmXnkOPBErAztrcI5WCNud+Ru1F0610JvVpcRQ2sal3
18qMA+yPKMjJXaVV5zsJJZrTc8k=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=bnmdMvxiirCG6Lnwt5ztZJ
YoKjk=; b=vY0Djabqxn4EvEatqMyW5D48RIssEQqUNkmCB5uBMYM7V1CNKrQuM2
G7kMUp0EmjpHLEqfMNWiFLbLgQrHJXYFMmpLsgEUy+YO7UcGPR4OQtNzQ36GCemL
dFD+0siobcuBHOgK3Jz5iOqsJirMTlBLg7Nz4GnjUJcoKaJRSTnBc=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1523
X-HELO: limerock02.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Subject: =?UTF-8?Q?Re:_/usr/include/ssp/wchar.h:78:1:_error:_unknown_type_na?= =?UTF-8?Q?me_=e2=80=98FILE=e2=80=99_=28during_cygport_package_build=29?=
To: cygwin AT cygwin DOT com
References: <95ce9d0aaca770f8e88d661cac91ce5d AT xs4all DOT nl>
From: Ken Brown <kbrown AT cornell DOT edu>
Message-ID: <f3b8dc0d-38ad-a7a5-d3bb-a8d23e9a6118@cornell.edu>
Date: Mon, 14 May 2018 08:35:19 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <95ce9d0aaca770f8e88d661cac91ce5d@xs4all.nl>
X-PMX-Cornell-Gauge: Gauge=XXXXX
X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none;
X-IsSubscribed: yes

On 5/13/2018 12:01 PM, waterlan wrote:
> Hi,
> 
> I'm trying to create a new wcd package, but I get compile errors during
> the cygport build of the wcd package.
> 
> gcc -ggdb -O2 -pipe -Wall -Werror=format-security
> -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong
> --param=ssp-buffer-size=4
> -fdebug-prefix-map=/cygdrive/c/Users/waterlan/src/cygwin/wcd/wcd-6.0.2-1.x86_64/build=/usr/src/debug/wcd-6.0.2-1
> -fdebug-prefix-map=/cygdrive/c/Users/waterlan/src/cygwin/wcd/wcd-6.0.2-1.x86_64/src/wcd-6.0.2=/usr/src/debug/wcd-6.0.2-1
> -O2 -Wall -Wextra -Wno-unused-parameter -Wconversion    -Ic3po
> -DVERSION=\"6.0.2\" -DVERSION_DATE=\"2018-05-10\"  -std=gnu99
> -DWCD_UNICODE -DWCD_UNINORM -DENABLE_NLS
> -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"wcd\"
> -I/usr/include/ncursesw -I/usr/include -DDEBUG=0 -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -DUNIX -DWCD_USECURSES  -D_XOPEN_SOURCE
> -D_XOPEN_SOURCE_EXTENDED  -c wcwidth.c -o wcwidth.o
> 
> In file included from /usr/include/ssp/wchar.h:5:0,
>                   from /usr/include/wchar.h:336,
>                   from wcwidth.c:62:
> /usr/include/ssp/wchar.h:78:1: error: unknown type name 'FILE'
>   __ssp_decl(wchar_t *, fgetws, (wchar_t *__restrict __buf, int __wlen,
> FILE *__restrict __fp))

This is a newlib issue that has been fixed:

https://cygwin.com/git/gitweb.cgi?p=newlib-cygwin.git;a=commitdiff;h=829820af6e5bccefe93485023e93821807fb99b8;hp=e494b560350cabef94126a4478096aae89ae35a0

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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