On 2021/02/17 6:17, Lev Serebryakov wrote:
> On 16.02.2021 23:52, Yasuhito FUTATSUKI wrote:
>>
>
>>> However, I don't think it is not an issue of Subversion release tarball
>>> but an issue of FreeBSD ports.
>>
>> This may be incorrect. It seems it is caused by wrong rule of
>> copy-swig-py: target.
>
> Yep, it is wrong in case of multi-job build. It works for single-job
> non-parallel build on FreeBSD.
>
> Quick fix for FreeBSD ports will be to disable parallel build of bindings.
Thank you for the confirmation. I've commited the fix of dependency rule
on trunk[1]. Then I'll nominate it to backport for 1.14.x branch.
Also I attached a patch against 1.14.x branch which is expected to
be applied to 1.14.1 clearly.
[1] https://svn.apache.org/viewvc?view=revision&revision=1886708
Cheers,
--
Yasuhito FUTATSUKI <[email protected]>
Index: Makefile.in
===================================================================
--- Makefile.in (revision 1886708)
+++ Makefile.in (working copy)
@@ -928,10 +928,12 @@
extraclean-swig-pl: clean-swig-pl
$(EXTRACLEAN_SWIG_PL)
+swig-py: autogen-swig-py
+
$(SWIG_PY_DIR)/libsvn:
mkdir $(SWIG_PY_DIR)/libsvn
-copy-swig-py: autogen-swig-py $(SWIG_PY_DIR)/libsvn
+copy-swig-py: autogen-swig-py swig-py $(SWIG_PY_DIR)/libsvn
@for f in $(SWIG_PY_SRC_DIR)/*.py $(SWIG_PY_DIR)/*.py; do \
! [ -f "$$f" ] || cp -pf $$f $(SWIG_PY_DIR)/libsvn; \
done
@@ -938,9 +940,7 @@
@cd $(SWIG_PY_DIR)/libsvn;ln -sf ../.libs/*.so .
@touch $(SWIG_PY_DIR)/libsvn/__init__.py
-swig-py: autogen-swig-py copy-swig-py
-
-check-swig-py: swig-py
+check-swig-py: swig-py copy-swig-py
$(TEST_SHLIB_VAR_SWIG_PY) \
cd $(SWIG_PY_DIR); \
$(PYTHON) $(SWIG_PY_SRC_DIR)/tests/run_all.py
Index: .
===================================================================
--- . (revision 1886708)
+++ . (working copy)
Property changes on: .
___________________________________________________________________
Modified: svn:mergeinfo
## -0,0 +0,1 ##
Merged /subversion/trunk:r1886708