delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/05/01/06:45:23

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 81C9F3938C29
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1588329878;
bh=nriLX5Heh9Vbp8AgJwzuHekaki9Zz4utvu/j2faBrDE=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=os4Iege8tU0g5vOszDCowJ2T9KnbgKqYsUSJG6PHD1SaKB6tp+69DpcYMHW5sb1Kp
fKfAUY5r4qE241MtFJfBg2FLJeAuSfnghNKxwbMk9YcWXyl8d3tZsUBaPhG5gEMCVb
01JbEI8n+KM047F1n1o1X6HdhsXHbOYhVkMrjYBk=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6BF0D3938C06
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:subject:from:to:references:message-id:date
:user-agent:mime-version:in-reply-to:content-transfer-encoding;
bh=ZCX1t3oFGatXMVrYoa4RCDGBsh7JGoyGh+YevTTimDY=;
b=GjjZN9eab0RV5TTdE9743TmweJmEDHo5f9hZME5uKf5drKsUXQHCDigVty/WZkfuUG
QtTmSpI7ZxkhAR76RYXNslKh0l6BC6NKfqjQKYTkRDBDHJgjM/oI4cALZUvKrqpSUBy5
uj4kdr04omAj6kU+Oz5O7BK+9eJk77OgpHVmdqZPUu6I9a3j6fDE4IWO/LRK5dmP4dg5
UsVaEum+IGlOAvDWEdJKfvYknqydQwwQo5+NVBH9av9HEuflypaq3YQAiDAjSJI9//m3
JWRanlMKHLc8w3p7o+v60h2+ItPq7uziuvkEQ4yWiB4Fw7yPZb+PtljMgKfKX8mMa40P
RpxQ==
X-Gm-Message-State: AGi0PubWAVgqtnvV3srR/poXmpuTLGEtfHeIi2EXb8WpuNfX8NJQe4GD
F7NrxZSpmT44nuZMAA3SIk5ldVWuf8o=
X-Google-Smtp-Source: APiQypJIxWUSLDqj4HVC6Lee78c/or78/MICuZ23EU1rhSqR+F02oyIFeAaapJo4ZACBtLWOJEN76w==
X-Received: by 2002:a5d:5703:: with SMTP id a3mr1426267wrv.53.1588329874285;
Fri, 01 May 2020 03:44:34 -0700 (PDT)
Subject: Re: R does not handle package non-ASCII DESCRIPTION files properly
To: cygwin AT cygwin DOT com
References: <9164cff70d13d9f7ca451f42fc868a14 AT mhoenicka DOT de>
<129c4e64-4051-0cc2-0706-c39eaacbdc9e AT gmail DOT com>
Message-ID: <22ac49be-c6af-12ef-7f93-56b7151d08a3@gmail.com>
Date: Fri, 1 May 2020 12:44:31 +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: <129c4e64-4051-0cc2-0706-c39eaacbdc9e@gmail.com>
X-Spam-Status: No, score=-4.7 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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
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>
From: Marco Atzeri via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

Am 30.04.2020 um 22:17 schrieb Marco Atzeri:
> 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.

the original problem is caused by the lack of $(LIBR)
after $(CLIENT_OBJECTS) in src/Makevars

Cygwin as Windows need the link library after the objects.

$ grep SHLIB_LINK Makevars*
Makevars:       $(SHLIB_LINK) -o client$(SHLIB_EXT) $(CLIENT_OBJECTS) 
$(PKG_LIBS)
Makevars.win:   $(SHLIB_LINK) -o client$(SHLIB_EXT) $(CLIENT_OBJECTS) 
$(LIBR) $(SHLIB_LIBADD) $(PKG_LIBS)


the documentations

https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Using-Makevars

suggest the form

$(SHLIB): $(OBJECTS)
         $(SHLIB_LINK) -o $ $(OBJECTS) $(ALL_LIBS)

and this should work as
  /usr/lib/R/etc/Makeconf
defines

ALL_LIBS = $(PKG_LIBS) $(SHLIB_LIBADD) $(LIBR) $(LIBINTL) $(LIBS)


so try with
$(SHLIB_LINK) -o client$(SHLIB_EXT) $(CLIENT_OBJECTS) $(ALL_LIBS)
--
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