delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/04/30/11:29:08

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 F12F53898538
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=mhoenicka.de
Authentication-Results: sourceware.org;
spf=none smtp.mailfrom=markus DOT hoenicka AT mhoenicka DOT de
MIME-Version: 1.0
Date: Thu, 30 Apr 2020 17:28:16 +0200
From: Markus Hoenicka <markus DOT hoenicka AT mhoenicka DOT de>
To: cygwin AT cygwin DOT com
Subject: R does not handle package non-ASCII DESCRIPTION files properly
Message-ID: <9164cff70d13d9f7ca451f42fc868a14@mhoenicka.de>
X-Sender: markus DOT hoenicka AT mhoenicka DOT de
User-Agent: Roundcube Webmail
X-Df-Sender: bWFya3VzLmhvZW5pY2thQG1ob2VuaWNrYS5kZQ==
X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,
RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, 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: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 03UFSoDc031560

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


-- 
Markus Hoenicka
http://www.mhoenicka.de
AQ score 38
--
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