[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Broken 'make clean' if 'make swig-py' isn't run first

From: Branko Čibej <brane_at_apache.org>
Date: Sun, 29 Nov 2020 22:50:05 +0100

On 29.11.2020 21:31, Yasuhito FUTATSUKI wrote:
> On 2020/11/30 4:29, Branko Čibej wrote:
>> $ .../configure ...
>> $ nice make -s clean
>> /bin/sh: line 0: cd: .../subversion/bindings/swig/python: No such file or directory
>> /bin/sh: line 0: cd: .../subversion/bindings/swig/python/libsvn_swig_py: No such file or directory
>> make: *** [clean-swig-py] Error 1
>>
>>
>> This happens if I run 'make clean' before running 'make swig-py' (or anything else). The patch below seems to fix it the Python-related part, although I still get this afterwards, but these at least don't cause make to return an error:
> Though it is already resolved and I have no objection to the solution....
>
> It seems that it happens only when run configure out of source tree and
> do 'make clean' before mkdir-init target has done. In this case,
> $(SWIG_PY_DIR) does not exists.

Yes, it happens only in out-of-source builds, really only if I run 'make
clean' before anything else. 'clean-swig-py' wasn't the only target that
had this problem. It's fixed now.

-- Brane
Received on 2020-11-29 22:50:08 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.