Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 2014 15:09:30 +0200
From:      Willem Jan Withagen <wjw@digiware.nl>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        ports@freebsd.org
Subject:   Re: Building subversion-1.8.10 under poudriere
Message-ID:  <53FDD88A.9030001@digiware.nl>
In-Reply-To: <7C47458A-8B41-47FB-8091-00CA301DDA5B@FreeBSD.org>
References:  <53FDCBD8.4060306@digiware.nl> <7C47458A-8B41-47FB-8091-00CA301DDA5B@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2014-08-27 14:41, Dimitry Andric wrote:
> On 27 Aug 2014, at 14:15, Willem Jan Withagen <wjw@digiware.nl> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53FDD88A.9030001>