Building subversion-1.8.10 under poudriere
Willem Jan Withagen
wjw at digiware.nl
Wed Aug 27 12:16:12 UTC 2014
Hi,
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)
*** [subversion/svn/svn] Error code 1
Stop in /wrkdirs/usr/ports/devel/subversion/work/subversion-1.8.10.
*** [do-build] Error code 1
Stop in /usr/ports/devel/subversion.
===> Cleaning for subversion-1.8.10_1
----
If I build just "by hand" in /usr/ports it all just works fine.
Trashing the whole config and restarting does not help.
So one way or another the compiling/building oversees the fact that in
<math.h> isnan() is a macro, and expects to link against a function to
be supplied by a library.
Any suggestions as to how to fix this?
Normally I'd just try to whack the source into a working version, and go
make && make install.
But how to do something like this under poudriere
Thanx,
--WjW
More information about the freebsd-ports
mailing list