From owner-freebsd-ports@FreeBSD.ORG Wed Feb 15 19:49:45 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79DE11065730 for ; Wed, 15 Feb 2012 19:49:45 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 163FD8FC08 for ; Wed, 15 Feb 2012 19:49:43 +0000 (UTC) Received: by werm13 with SMTP id m13so1367443wer.13 for ; Wed, 15 Feb 2012 11:49:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:content-type; bh=7P6Qxw6iQ3lwS3eSAaNPwdDcSeQg/0OOEGFt5n3E24A=; b=baWaUSAnrNU4DQ4PeXPNtdoCu4S+BIjqzNKgnZLAjN0Y+ZyLZDIqXU6YxOhJ0OwDgv huM1EvM/9mQJToIZ7jBeLJTUz85Hsh6f5DbJGffCFj7ofgIhtjl8jq0fmjnuY7HKYua8 Mo4EnEBXwE7S7VI7TtmI6B02Dn4cgvzBb1zH0= MIME-Version: 1.0 Received: by 10.180.81.66 with SMTP id y2mr37253012wix.20.1329335383177; Wed, 15 Feb 2012 11:49:43 -0800 (PST) Received: by 10.180.126.69 with HTTP; Wed, 15 Feb 2012 11:49:42 -0800 (PST) Date: Wed, 15 Feb 2012 19:49:42 +0000 Message-ID: From: "b. f." To: freebsd-ports@freebsd.org, David Wolfskill Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: math/R vs. devel/pcre X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Feb 2012 19:49:45 -0000 > I had a problem rebuilding math/R this morning after updating > devel/pcre; I'm wondering if there's something obvious (to folks > other than me) that I did incorrectly. ... >gcc46 -std=gnu99 -export-dynamic -fopenmp -Wl,-rpath=/usr/local/lib/gcc46 -o R.bin > Rmain.o -L../../lib -lR -lRblas > ../../lib/libR.so: undefined reference to `_pcre_valid_utf8' > collect2: ld returned 1 exit status > *** Error code 1 I can reproduce this without portmaster. The pcre ABI changed with pcre 8.30, and R may need to be patched in order to use it -- or there may be a problem with the pcre port. I will look into this. In the meantime, you will probably be able to build R by selecting WITHOUT_PCRE_PORT, so that the version of pcre that is bundled with R is used, rather than devel/pcre. Thank you for reporting the problem. However, in the future, if you believe there is a problem with R, please send a message directly to me (the port maintainer, bf@FreeBSD.org), so that I will see it sooner. b.