On 27 Aug 2014, at 14:15, Willem Jan Withagen <w...@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.

-Dimitry

Attachment: devel__apr1-3.diff
Description: Binary data


Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to