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

Re: building SVN trunk on Windows fails on python gen-make.py

From: Johan Corveleyn <jcorvel_at_gmail.com>
Date: Mon, 22 Jun 2015 13:14:08 +0200

On Mon, Jun 22, 2015 at 12:45 PM, Stefan Hett <stefan_at_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?

-- 
Johan
Received on 2015-06-22 13:15:35 CEST

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

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