On Sun, Aug 04, 2019 at 10:39:31PM -0500, Douglas R. Reno wrote: > On 2019-08-04 21:21, Ken Moffat via blfs-dev wrote:
> > Deprecated command line option: -classic. This option is no longer > > supported. > > make: *** [build-outputs.mk:292: > > subversion/bindings/swig/python/svn_client.c] Error 1 > > > > I am, of course, happy to not build these bindings - but the book > > appears to be broken. Or, again, maybe it's just me. > > > > Hi Ken, > > That's most definitely not you. I think the seds were removed prematurely. > > Can you try these: > > sed -i '/define.*MEMORY/a#define SWIG_POINTER_NO_NULL 0x4' \ > subversion/bindings/swig/proxy/swigrun.swg && > sed -i 's/classic/nofastunpack/' build.conf > > And see if that allows it to build? Also, the tests for the Python bindings > are most likely still broken (it'll fail right away with a failed import) Did a main build, then with the sed I was able to buid the python bindings and do a DESTDIR install of those. Then I tested just the python bindings (did I mention that I think the output from the main testsuite is a bit excessive re SKIPPED and XFAILED tests ?). Looks good to me: ken@jtm1 /tmp/subversion-1.12.2$ make check-swig-py 2>&1 | tee testlog if [ "LD_LIBRARY_PATH" = "DYLD_LIBRARY_PATH" ]; then for d in /tmp/subversion-1.12.2/subversion/bindings/swig/python/libsvn_swig_py /tmp/subversion-1.12.2/subversion/bindings/swig/python/../../../libsvn_*; do if [ -n "$DYLD_LIBRARY_PATH" ]; then LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$d/.libs"; else LD_LIBRARY_PATH="$d/.libs"; fi; done; export LD_LIBRARY_PATH; fi; \ cd /tmp/subversion-1.12.2/subversion/bindings/swig/python; \ /usr/bin/python /tmp/subversion-1.12.2/subversion/bindings/swig/python/tests/run_all.py .................................................................................................................................... ---------------------------------------------------------------------- Ran 132 tests in 2.636s OK ĸen -- One pill makes you larger, And one pill makes you small. And the ones that mother gives you, Don't do anything at all. Go ask Alice, When she's ten feet tall. -- Jefferson Airplane, White Rabbit -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page