subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Hett <ste...@egosoft.com>
Subject Re: building SVN trunk on Windows fails on python gen-make.py
Date Mon, 22 Jun 2015 13:12:31 GMT
Hi Johan,

thanks for the hint. That indeed seemed to have been the problem. Passes 
through the python script now when using Python 2.7.10.

Regards,
Stefan
> On Mon, Jun 22, 2015 at 12:45 PM, Stefan Hett <stefan@egosoft.com> wrote:
>> Sorry for the late response. Had to shift priorities the last month here,
>> before I could get back to this issue.
>>
>> Thanks for the additional information on ways to build SVN. I quickly
>> skimmed through the scripts/steps and might use them later when I can't get
>> the current steps to run...
>>
>> After build APR myself, it got passed the previous error. However I'm now
>> stuck with another one and can't make-up what's wrong now... Any hint
>> (couldn't find any reference on google or in the mail archive):
>> swig not found; skipping SWIG file generation...
>> Traceback (most recent call last):
>>    File "gen-make.py", line 325, in <module>    main(conf, gentype,
>> skip_depends=skip, other_options=rest.list)
>>    File "gen-make.py", line 65, in main generator.compute_hdr_deps()
>>    File "build\generator\gen_base.py", line 212, in compute_hdr_deps    for
>> include_file in include_deps.query(native_path(source.filename)):
>>    File "build\generator\gen_base.py", line 1167, in query c_includes,
>> swig_includes = self.query_swig(fname)
>>    File "build\generator\gen_base.py", line 1150, in query_swig hdrs =
>> self._scan_for_includes(fname)
>>    File "build\generator\gen_base.py", line 1203, in _scan_for_includes
>> for line in fileinput.input(fname):
>>    File "E:\Python34\lib\fileinput.py", line 263, in __next__ line =
>> self.readline()
>>    File "E:\Python34\lib\fileinput.py", line 363, in readline self._buffer =
>> self._file.readlines(self._bufsize)
>>    File "E:\Python34\lib\encodings\cp1252.py", line 23, in decode    return
>> codecs.charmap_decode(input,self.errors,decoding_table)[0]
>> UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 2116:
>> character maps to <undefined>
> Quick shot: perhaps it's related to the Python version. I'm using
> Python 2.7. Can you try that?
>


Mime
View raw message