On 2014-08-27 15:09, Willem Jan Withagen wrote:
On 2014-08-27 14:41, Dimitry Andric wrote:
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.

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.

Right,

At least that was also the different between building via poudriere or just natively on the host: Static linking.
Atleast I now have a set of packesg that I can distribute.

Thanx for fixing my problem,
--WjW

_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to