Created attachment 184277 [details] patch For build application with static library SQLite, with FTS5 extension, required dependencies to libm.a library. For used log() function.
Created attachment 184278 [details] poudriere log
A commit references this bug: Author: lev Date: Fri Aug 11 14:12:44 UTC 2017 New revision: 447763 URL: https://svnweb.freebsd.org/changeset/ports/447763 Log: Add '-lm' for FTS5 for log() function. PR: 220660 Submitted by: pavelivolkov@gmail.com (maintainer) Changes: head/databases/sqlite3/Makefile
Forgotten to close?
(In reply to w.schwarzenfeld from comment #3) Looks like it, by looking at the updated Makefile
It is still a problem for subversion, which prevents static build cd tools/diff && /bin/sh "/usr/local/build/ports/usr/ports/devel/subversion/work/subversion-1.10.2/libtool" --tag=CC --silent --mode=link cc -all-static -Werror=unknown-warning-option -O2 -pipe -fpic -DPIC -fstack-protector -fno-strict-aliasing -O2 -pipe -fpic -DPIC -fstack-protector -fno-strict-aliasing -fstack-protector -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -rpath /usr/local/lib -o diff diff.lo ../../subversion/libsvn_diff/libsvn_diff-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la -L/usr/local/lib -laprutil-1 -lexpat -L/usr/local/lib -lapr-1 -lcrypt -lpthread --- tools/dev/fsfs-access-map --- /usr/local/lib/libsqlite3.a(sqlite3.o): In function `fts5Bm25Function': (.text+0x12dc18): undefined reference to `log' --- subversion/tests/afl/afl-x509 --- /usr/local/lib/libsqlite3.a(sqlite3.o): In function `fts5Bm25Function': (.text+0x12dc18): undefined reference to `log' cc: error: linker command failed with exit code 1 (use -v to see invocation) *** [subversion/tests/afl/afl-x509] Error code 1 make[2]: stopped in /usr/local/build/ports/usr/ports/devel/subversion/work/subversion-1.10.2
Created attachment 197210 [details] patch for devel/subversion To fix the subversion compilation, you need to apply the patch to the devel/subversion port. Look at the attached file.
A commit references this bug: Author: lev Date: Wed Oct 10 15:39:54 UTC 2018 New revision: 481744 URL: https://svnweb.freebsd.org/changeset/ports/481744 Log: (1) Update to 1.10.3. (2) Fix STATIC build. (3) Expand FreeBSD template for better explanation of "Sponsored by" PR: (2) 220660, (3) 228362 Changes: head/devel/p5-subversion/Makefile head/devel/py-subversion/Makefile head/devel/ruby-subversion/Makefile head/devel/subversion/Makefile head/devel/subversion/Makefile.common head/devel/subversion/distinfo head/devel/subversion/files/extra-patch-fbsd-template head/devel/subversion/files/patch-subversion-libsvn_client-conflicts.c head/java/java-subversion/Makefile head/security/subversion-gnome-keyring/Makefile head/security/subversion-kwallet/Makefile head/www/mod_dav_svn/Makefile
Committed, thxn!