From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by sourceware.org (Postfix) with ESMTPS id AD38B389853B for ; Thu, 30 Apr 2020 20:17:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org AD38B389853B Received: by mail-wr1-x42c.google.com with SMTP id d17so8754307wrg.11 for ; Thu, 30 Apr 2020 13:17:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=YbShLG3IKt3O0yPNE4meeFkQmFSSoeeLL9IPxtGN/hc=; b=ZvkSkDEJDfH3ZYQxM1zgpaNvBs6LgOa+cz4hv0839knAFfF7HxeI34w7+aflTyBYXC yuLSFhhluXRr+MIPu89jsNJoAA6NGxp2mdWV8IiQ4EAavxRCjIDwbDaWklT2kH13R6FS zJ3qvd3IJveFH8b5b25Lv46LWDna5bfWElAcLC4ROLJnDaKmUzgQZMZcX4HfGAozMayW q6UdtRtdx4J2ZdZqFaM4rK6F/+uV/E2uizsXXeB8TBz+XCvvAkh35KLioM9sl+pPUpw0 L3my4RZMa6fiI+XSVH2jmc9ljrnMFHLHolokXvXP5luZ8bWhZXH2xE+jeUk5nwDZdQ/X dcDQ== X-Gm-Message-State: AGi0Pubv9mfTs9MS0ukjsx/2FC8ADxv88FN7whfAnnLw4ZSjlPpm22c2 /CuEZbJadc58aJulzYHfBAoQJlSLe1M= X-Google-Smtp-Source: APiQypI6Asg29paK6x65zuQXH1+49/4NomICko7iVOE6WStDFSgzyXNf+G2lvJqpBr7cfEXyeuKvtA== X-Received: by 2002:adf:decb:: with SMTP id i11mr333686wrn.140.1588277869374; Thu, 30 Apr 2020 13:17:49 -0700 (PDT) Received: from [192.168.2.121] (p5DDA1DC3.dip0.t-ipconnect.de. [93.218.29.195]) by smtp.gmail.com with ESMTPSA id w4sm1201652wro.28.2020.04.30.13.17.48 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 30 Apr 2020 13:17:48 -0700 (PDT) Subject: Re: R does not handle package non-ASCII DESCRIPTION files properly To: cygwin@cygwin.com References: <9164cff70d13d9f7ca451f42fc868a14@mhoenicka.de> From: Marco Atzeri Message-ID: <129c4e64-4051-0cc2-0706-c39eaacbdc9e@gmail.com> Date: Thu, 30 Apr 2020 22:17:46 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <9164cff70d13d9f7ca451f42fc868a14@mhoenicka.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, 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@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: Thu, 30 Apr 2020 20:18:06 -0000 Am 30.04.2020 um 17:28 schrieb Markus Hoenicka: > Hi, > > I've contacted the processx package maintainer on a problem reported > here previously (see > https://cygwin.com/pipermail/cygwin/2020-April/244667.html). He > suggested to try the github version but that triggered a different type > of error which does not seem to be package-specific. > > 1st try: build from a local copy of the github package sources with > default locale settings on a German Windows 10 system > > >> install.packages("/cygdrive/c/Temp/processx-master",repos=NULL,type="source") >> > Installing package into ‘/usr/lib/R/site-library’ > (as ‘lib’ is unspecified) > * installing *source* package ‘processx’ ... > ** using staged installation > Error : Invalid DESCRIPTION file > > Authors@R field gives no person with maintainer role, valid email > address and non-empty name. > > See section 'The DESCRIPTION file' in the 'Writing R Extensions' > manual. > > ERROR: installing package DESCRIPTION failed for package ‘processx’ > * removing ‘/usr/lib/R/site-library/processx’ > Warning message: > In install.packages("/cygdrive/c/Temp/processx-master", repos = NULL,  : >   installation of package ‘/cygdrive/c/Temp/processx-master’ had > non-zero exit status > > > 2nd try: same as above, but with LC_ALL=en_US.UTF-8 > same result as above > > 3rd try: edit DESCRIPTION file and remove accented characters in author > name > (change "Gábor", "Csárdi" to "Gabor", "Csardi") > >> install.packages("/cygdrive/c/Temp/processx-master",repos=NULL,type="source") >> > Installing package into ‘/usr/lib/R/site-library’ > (as ‘lib’ is unspecified) > * installing *source* package ‘processx’ ... > ** using staged installation > ** libs > gcc -ggdb -O2 -pipe -Wall -Werror=format-security > -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong > --param=ssp-buffer-size=4 -std=gnu99 > -fdebug-prefix-map=/cygdrive/d/cyg_pub/devel/R/R-3.6.3-1.x86_64/build=/usr/src/debug/R-3.6.3-1 > -fdebug-prefix-map=/cygdrive/d/cyg_pub/devel/R/R-3.6.3-1.x86_64/src/R-3.6.3=/usr/src/debug/R-3.6.3-1 >  -Wall tools/px.c -o tools/px > [...] > > So this circumvents the problems in processing the non-ASCII description > file (which is properly tagged as UTF-8 BTW), but it results in the same > compilation failure as reported in the message above. > > As mentioned in the other report, Cygwin is a fresh installation as of > April 28, R package version is R 3.6.3.1. > > regards, > Markus > Noted. I will look on both the two issues but it could take a bit. I never looked at the build process of R packages in such details Marco R cygwin package maintainer