TL;DR version: /usr/bin/ld: mod_python.so: No such file: No such file or directory Tail of poudriere build log: /usr/local/share/apr/build-1/libtool --silent --mode=compile cc -prefer-pic -O2 -pipe -I/usr/include -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/apache22 -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -I/usr/include -I/usr/local/include -I/wrkdirs/usr/ports/www/mod_python33/work/mod_python-3.3.1/src/include -I/usr/local/include/apache22 -I/usr/local/include/python2.7 -c -o connobject.lo connobject.c && touch connobject.slo /usr/local/share/apr/build-1/libtool --silent --mode=compile cc -prefer-pic -O2 -pipe -I/usr/include -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/apache22 -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -I/usr/include -I/usr/local/include -I/wrkdirs/usr/ports/www/mod_python33/work/mod_python-3.3.1/src/include -I/usr/local/include/apache22 -I/usr/local/include/python2.7 -c -o filterobject.lo filterobject.c && touch filterobject.slo /usr/local/share/apr/build-1/libtool --silent --mode=compile cc -prefer-pic -O2 -pipe -I/usr/include -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/apache22 -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -I/usr/include -I/usr/local/include -I/wrkdirs/usr/ports/www/mod_python33/work/mod_python-3.3.1/src/include -I/usr/local/include/apache22 -I/usr/local/include/python2.7 -c -o hlist.lo hlist.c && touch hlist.slo /usr/local/share/apr/build-1/libtool --silent --mode=compile cc -prefer-pic -O2 -pipe -I/usr/include -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/apache22 -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -I/usr/include -I/usr/local/include -I/wrkdirs/usr/ports/www/mod_python33/work/mod_python-3.3.1/src/include -I/usr/local/include/apache22 -I/usr/local/include/python2.7 -c -o hlistobject.lo hlistobject.c && touch hlistobject.slo /usr/local/share/apr/build-1/libtool --silent --mode=compile cc -prefer-pic -O2 -pipe -I/usr/include -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/apache22 -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -I/usr/include -I/usr/local/include -I/wrkdirs/usr/ports/www/mod_python33/work/mod_python-3.3.1/src/include -I/usr/local/include/apache22 -I/usr/local/include/python2.7 -c -o finfoobject.lo finfoobject.c && touch finfoobject.slo finfoobject.c:278:9: warning: incompatible pointer types initializing 'ssizeargfunc' (aka 'PyObject *(*)(PyObject *, Py_ssize_t)') with an expression of type 'intargfunc' (aka 'PyObject *(*)(PyObject *, int)') [-Wincompatible-pointer-types] (intargfunc)finfoseq_item, /* sq_item */ ^~~~~~~~~~~~~~~~~~~~~~~~~ finfoobject.c:278:10: warning: 'intargfunc' is deprecated [-Wdeprecated-declarations] (intargfunc)finfoseq_item, /* sq_item */ ^ /usr/local/include/python2.7/object.h:139:21: note: 'intargfunc' declared here typedef PyObject *(*intargfunc)(PyObject *, int) Py_DEPRECATED(2.5); ^ 2 warnings generated. /usr/local/share/apr/build-1/libtool --silent --mode=link cc -o mod_python.la -rpath /usr/local/libexec/apache22 -module -avoid-version finfoobject.lo hlistobject.lo hlist.lo filterobject.lo connobject.lo serverobject.lo util.lo tableobject.lo requestobject.lo _apachemodule.lo mod_python.lo -L/usr/local/lib -L/usr/local/lib/python2.7/config -Wl,--export-dynamic -pthread -Wl,-rpath -lm -lpython2.7 -lpython2.7 -lintl -lutil -lm -lthr /usr/bin/ld: mod_python.so: No such file: No such file or directory cc: error: linker command failed with exit code 1 (use -v to see invocation) apxs:Error: Command failed with rc=65536 . *** [mod_python.so] Error code 1 make[2]: stopped in /wrkdirs/usr/ports/www/mod_python33/work/mod_python-3.3.1/src 1 error make[2]: stopped in /wrkdirs/usr/ports/www/mod_python33/work/mod_python-3.3.1/src *** [do_dso] Error code 2 make[1]: stopped in /wrkdirs/usr/ports/www/mod_python33/work/mod_python-3.3.1 1 error make[1]: stopped in /wrkdirs/usr/ports/www/mod_python33/work/mod_python-3.3.1 ===> Compilation failed unexpectedly.
Created attachment 145291 [details] www_mod_python33.diff I was given this patch, which appears to work. http://pastebin.com/raw.php?i=2XnZWh2n
Created attachment 145292 [details] Reworked patch I cleaned up your patch. The original PyLIBS patch does not seem to be necessary anymore. Can you give it a try? For documentation purposes and reference: mod_python33 originally seems to strip the LDFLAGS in a wrong way (the cut -d= kills the -rpath= LDFLAGS), which causes the linker to break.
I think the original patch came from antoine@ - but I'm not sure about that. It was a pasted link via IRC. Definitely not any of my work. Your version works fine.
A commit references this bug: Author: mva Date: Sun Aug 3 08:07:21 UTC 2014 New revision: 363855 URL: http://svnweb.freebsd.org/changeset/ports/363855 Log: - Unbreak the build after the recent lang/python27 update. PR: 192348 Submitted by: peter@ Changes: head/www/mod_python33/Makefile head/www/mod_python33/files/patch-configure
Committed, thanks!