From owner-freebsd-ports@FreeBSD.ORG Wed Aug 27 13:09:54 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 28809619; Wed, 27 Aug 2014 13:09:54 +0000 (UTC) Received: from smtp.digiware.nl (unknown [IPv6:2001:4cb8:90:ffff::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DAF143EA5; Wed, 27 Aug 2014 13:09:53 +0000 (UTC) Received: from rack1.digiware.nl (unknown [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id A94211534ED; Wed, 27 Aug 2014 15:09:50 +0200 (CEST) X-Virus-Scanned: amavisd-new at digiware.nl Received: from smtp.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DTQFW3mwRjx0; Wed, 27 Aug 2014 15:09:48 +0200 (CEST) Received: from [IPv6:2001:4cb8:3:1:d0d6:3810:b54e:7558] (unknown [IPv6:2001:4cb8:3:1:d0d6:3810:b54e:7558]) by smtp.digiware.nl (Postfix) with ESMTP id 3014B1534C4; Wed, 27 Aug 2014 15:09:48 +0200 (CEST) Message-ID: <53FDD88A.9030001@digiware.nl> Date: Wed, 27 Aug 2014 15:09:30 +0200 From: Willem Jan Withagen Organization: Digiware Management b.v. User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Dimitry Andric Subject: Re: Building subversion-1.8.10 under poudriere References: <53FDCBD8.4060306@digiware.nl> <7C47458A-8B41-47FB-8091-00CA301DDA5B@FreeBSD.org> In-Reply-To: <7C47458A-8B41-47FB-8091-00CA301DDA5B@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2014 13:09:54 -0000 On 2014-08-27 14:41, Dimitry Andric wrote: > On 27 Aug 2014, at 14:15, Willem Jan Withagen wrote: >> Starting to use poudriere, and I'm pleasantly surprised. And even more after the first install steps. Don't have to go to all the different servers copy my ports-configs, and build... >> >> So I'm trying to get subversion build in poudriere for 9.3 amd and I keep running into: >> >> ---- >> cd subversion/svn && /bin/sh /wrkdirs/usr/ports/devel/subversion/work/subversion-1.8.10/libtool --tag=CC --silent --mode=link clang -all-static -Werror=unknown-warning-option -O2 -pipe -fpic -DPIC -fno-strict-aliasing -L/usr/local/lib -L/usr/local/lib/db5 -L/usr/local/lib -rpath /usr/local/lib -o svn add-cmd.lo blame-cmd.lo cat-cmd.lo changelist-cmd.lo checkout-cmd.lo cl-conflicts.lo cleanup-cmd.lo commit-cmd.lo conflict-callbacks.lo copy-cmd.lo delete-cmd.lo deprecated.lo diff-cmd.lo export-cmd.lo file-merge.lo help-cmd.lo import-cmd.lo info-cmd.lo list-cmd.lo lock-cmd.lo log-cmd.lo merge-cmd.lo mergeinfo-cmd.lo mkdir-cmd.lo move-cmd.lo notify.lo patch-cmd.lo propdel-cmd.lo propedit-cmd.lo propget-cmd.lo proplist-cmd.lo props.lo propset-cmd.lo relocate-cmd.lo resolve-cmd.lo resolved-cmd.lo revert-cmd.lo status-cmd.lo status.lo svn.lo switch-cmd.lo unlock-cmd.lo update-cmd.lo upgrade-cmd.lo util.lo ../../subversion/libsvn_client/libsvn_client-1.la ../../subversion/libsvn_wc /libsvn_wc-1.la ../../subversion/libsvn_ra/libsvn_ra-1.la ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_diff/libsvn_diff-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la -L/usr/local/lib -laprutil-1 -ldb-5.3 -lgdbm -lexpat -liconv -L/usr/local/lib -lapr-1 -lcrypt -pthread -lintl >> /usr/local/lib/libapr-1.a(apr_snprintf.o): In function `apr_vformatter': >> strings/apr_snprintf.c:(.text+0x61c): undefined reference to `isnan' >> clang: error: linker command failed with exit code 1 (use -v to see invocation) > > This is a problem in the devel/apr1 port. It checks for modf(), finds > it in libc, then assumes isnan() also comes from libc. However, that > does not work for static linking. > > Please apply the attached patch for apr1, which I have been using for > some time now. Hi Dimitry, So this is due to me wanting to link things static? Then I'll reconfig subversion to dynamic linking. Because I don't have a clue (yet) as to how to get (and keep) custom patches in a poudriere environment. Thanx for the reply, --WjW