On Fedora, python 2.7 & ctypesgen==0.post125 When I attempt to compile I get this error message:
$ make ctypes-python /bin/sh /home/tscurti/working/oss/subversion/releases/test2/subversion-1.9.10/build/run_ctypesgen.sh "/bin/sh "/home/tscurti/working/oss/subversion/releases/test2/subversion-1.9.10/libtool" $ -tag=CC --silent --mode=execute `for f in /home/tscurti/working/oss/subversion/releases/test2/subversion-1.9.10/subversion/*/*.la; do echo -dlopen $f; done`" "-DLINUX -D_REENTRANT -D_GNU_SOU$ CE " "" "/usr/bin/python" "/home/tscurti/.local/bin/ctypesgen.py" "/home/tscurti/working/oss/subversion/releases/test2/subversion-1.9.10" "/home/tscurti/working/oss/subversion/releases/test2$ subversion-1.9.10" "/usr/local/lib" "apr-1-config" "apu-1-config" "gcc -E" /bin/sh /home/tscurti/working/oss/subversion/releases/test2/subversion-1.9.10/libtool --tag=CC --silent --mode=execute -dlopen /home/tscurti/working/oss/subversion/releases/test2/subversion-$ .9.10/subversion/libsvn_client/libsvn_client-1.la -dlopen /home/tscurti/working/oss/subversion/releases/test2/subversion-1.9.10/subversion/libsvn_delta/ libsvn_delta-1.la -dlopen /home/tscurt$ /working/oss/subversion/releases/test2/subversion-1.9.10/subversion/libsvn_diff/ libsvn_diff-1.la -dlopen /home/tscurti/working/oss/subversion/releases/test2/subversion-1.9.10/subversion/libs$ n_fs_base/libsvn_fs_base-1.la -dlopen /home/tscurti/working/oss/subversion/releases/test2/subversion-1.9.10/subversion/libsvn_fs_fs/ libsvn_fs_fs-1.la -dlopen /home/tscurti/working/oss/subver$ ion/releases/test2/subversion-1.9.10/subversion/libsvn_fs/libsvn_fs-1.la -dlopen /home/tscurti/working/oss/subversion/releases/test2/subversion-1.9.10/subversion/libsvn_fs_util/libsvn_fs_uti$ -1.la -dlopen /home/tscurti/working/oss/subversion/releases/test2/subversion-1.9.10/subversion/libsvn_fs_x/ libsvn_fs_x-1.la -dlopen /home/tscurti/working/oss/subversion/releases/test2/subver$ ion-1.9.10/subversion/libsvn_ra/libsvn_ra-1.la -dlopen /home/tscurti/working/oss/subversion/releases/test2/subversion-1.9.10/subversion/libsvn_ra_local/ libsvn_ra_local-1.la -dlopen /home/tsc$ rti/working/oss/subversion/releases/test2/subversion-1.9.10/subversion/libsvn_ra_serf/ libsvn_ra_serf-1.la -dlopen /home/tscurti/working/oss/subversion/releases/test2/subversion-1.9.10/subver$ ion/libsvn_ra_svn/libsvn_ra_svn-1.la -dlopen /home/tscurti/working/oss/subversion/releases/test2/subversion-1.9.10/subversion/libsvn_repos/ libsvn_repos-1.la -dlopen /home/tscurti/working/oss$ subversion/releases/test2/subversion-1.9.10/subversion/libsvn_subr/ libsvn_subr-1.la -dlopen /home/tscurti/working/oss/subversion/releases/test2/subversion-1.9.10/subversion/libsvn_wc/libsvn_$ c-1.la -dlopen /home/tscurti/working/oss/subversion/releases/test2/subversion-1.9.10/subversion/mod_authz_svn/ mod_authz_svn.la -dlopen /home/tscurti/working/oss/subversion/releases/test2/sub$ ersion-1.9.10/subversion/mod_dav_svn/mod_dav_svn.la -dlopen /home/tscurti/working/oss/subversion/releases/test2/subversion-1.9.10/subversion/tests/ libsvn_test-1.la /usr/bin/python /home/tscu$ ti/.local/bin/ctypesgen.py --cpp gcc -E -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 -Isubversion/include -L/usr/local/lib $ lapr-1 -L/usr/lib64 -laprutil-1 -lsvn_subr-1 -lsvn_diff-1 -lsvn_delta-1 -lsvn_fs-1 -lsvn_repos-1 -lsvn_wc-1 -lsvn_ra-1 -lsvn_client-1 subversion/include/svn_auth.h subversion/include/svn_bas$ 64.h subversion/include/svn_cache_config.h subversion/include/svn_checksum.h subversion/include/svn_client.h subversion/include/svn_cmdline.h subversion/include/svn_compat.h subversion/inclu$ e/svn_config.h subversion/include/svn_ctype.h subversion/include/svn_dav.h subversion/include/svn_delta.h subversion/include/svn_diff.h subversion/include/svn_dirent_uri.h subversion/include$ svn_dso.h subversion/include/svn_error_codes.h subversion/include/svn_error.h subversion/include/svn_fs.h subversion/include/svn_hash.h subversion/include/svn_io.h subversion/include/svn_ite$ .h subversion/include/svn_md5.h subversion/include/svn_mergeinfo.h subversion/include/svn_nls.h subversion/include/svn_opt.h subversion/include/svn_path.h subversion/include/svn_pools.h subv$ rsion/include/svn_props.h subversion/include/svn_quoprint.h subversion/include/svn_ra.h subversion/include/svn_ra_svn.h subversion/include/svn_repos.h subversion/include/svn_sorts.h subversi$ n/include/svn_string.h subversion/include/svn_subst.h subversion/include/svn_time.h subversion/include/svn_types.h subversion/include/svn_user.h subversion/include/svn_utf.h subversion/inclu$ e/svn_version.h subversion/include/svn_wc.h subversion/include/svn_x509.h subversion/include/svn_xml.h /usr/include/apr-1/apr_allocator.h /usr/include/apr-1/apr_anylock.h /usr/include/apr-1/$ pr_atomic.h /usr/include/apr-1/apr_base64.h /usr/include/apr-1/apr_buckets.h /usr/include/apr-1/apr_crypto.h /usr/include/apr-1/apr_cstr.h /usr/include/apr-1/apr_date.h /usr/include/apr-1/ap$ _dbd.h /usr/include/apr-1/apr_dbm.h /usr/include/apr-1/apr_dso.h /usr/include/apr-1/apr_env.h /usr/include/apr-1/apr_errno.h /usr/include/apr-1/apr_escape.h /usr/include/apr-1/apr_file_info.$ /usr/include/apr-1/apr_file_io.h /usr/include/apr-1/apr_fnmatch.h /usr/include/apr-1/apr_general.h /usr/include/apr-1/apr_getopt.h /usr/include/apr-1/apr_global_mutex.h /usr/include/apr-1/a$ r_hash.h /usr/include/apr-1/apr_hooks.h /usr/include/apr-1/apr_inherit.h /usr/include/apr-1/apr_ldap.h /usr/include/apr-1/apr_ldap_init.h /usr/include/apr-1/apr_ldap_option.h /usr/include/ap$ -1/apr_ldap_rebind.h /usr/include/apr-1/apr_ldap_url.h /usr/include/apr-1/apr_lib.h /usr/include/apr-1/apr_md4.h /usr/include/apr-1/apr_md5.h /usr/include/apr-1/apr_memcache.h /usr/include/a$ r-1/apr_mmap.h /usr/include/apr-1/apr_network_io.h /usr/include/apr-1/apr_optional.h /usr/include/apr-1/apr_optional_hooks.h /usr/include/apr-1/apr_perms_set.h /usr/include/apr-1/apr_poll.h $ usr/include/apr-1/apr_pools.h /usr/include/apr-1/apr_portable.h /usr/include/apr-1/apr_proc_mutex.h /usr/include/apr-1/apr_queue.h /usr/include/apr-1/apr_random.h /usr/include/apr-1/apr_redi$ .h /usr/include/apr-1/apr_reslist.h /usr/include/apr-1/apr_ring.h /usr/include/apr-1/apr_rmm.h /usr/include/apr-1/apr_sdbm.h /usr/include/apr-1/apr_sha1.h /usr/include/apr-1/apr_shm.h /usr/i$ clude/apr-1/apr_signal.h /usr/include/apr-1/apr_siphash.h /usr/include/apr-1/apr_skiplist.h /usr/include/apr-1/apr_strings.h /usr/include/apr-1/apr_strmatch.h /usr/include/apr-1/apr_support.$ /usr/include/apr-1/apr_tables.h /usr/include/apr-1/apr_thread_cond.h /usr/include/apr-1/apr_thread_mutex.h /usr/include/apr-1/apr_thread_pool.h /usr/include/apr-1/apr_thread_proc.h /usr/inc$ ude/apr-1/apr_thread_rwlock.h /usr/include/apr-1/apr_time.h /usr/include/apr-1/apr_uri.h /usr/include/apr-1/apr_user.h /usr/include/apr-1/apr_uuid.h /usr/include/apr-1/apr_version.h /usr/inc$ ude/apr-1/apr_want.h /usr/include/apr-1/apr_xlate.h /usr/include/apr-1/apr_xml.h /usr/include/apr-1/apu_errno.h /usr/include/apr-1/apu_version.h /usr/include/apr-1/apu_want.h -o subversion/bi ndings/ctypes-python/svn_all.py --no-macro-warnings --strip-build-path=/home/tscurti/working/oss/subversion/releases/test2/subversion-1.9.10 Status: Preprocessing /tmp/tmpyJ6Tz1.h Status: gcc -E -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 -Isubversion/include -U __GNUC__ -dD "-Dinline=" "-D__inline__=" "-D__extension__=" "-D_Bool=uint8_t" "-D__const=const" "-D__asm__(x)=" "-D__asm(x)=" "-DCTYPESGEN=1" /tmp/tmpyJ6Tz1.h Traceback (most recent call last): File "/home/tscurti/.local/bin/ctypesgen.py", line 136, in <module> descriptions=ctypesgencore.parser.parse(options.headers,options) File "/home/tscurti/.local/lib/python2.7/site-packages/ctypesgencore/parser/__init__.py", line 21, in parse parser.parse() File "/home/tscurti/.local/lib/python2.7/site-packages/ctypesgencore/parser/datacollectingparser.py", line 69, in parse ctypesparser.CtypesParser.parse(self, fname, None) File "/home/tscurti/.local/lib/python2.7/site-packages/ctypesgencore/parser/cparser.py", line 113, in parse self.preprocessor_parser.parse(filename) File "/home/tscurti/.local/lib/python2.7/site-packages/ctypesgencore/parser/preprocessor.py", line 200, in parse token = self.lexer.token() File "/home/tscurti/.local/lib/python2.7/site-packages/ctypesgencore/parser/preprocessor.py", line 51, in token result = lex.Lexer.token(self) File "/home/tscurti/.local/lib/python2.7/site-packages/ctypesgencore/parser/lex.py", line 297, in token newtok = func(tok) File "/home/tscurti/.local/lib/python2.7/site-packages/ctypesgencore/parser/pplexer.py", line 218, in t_ANY_int g1 = str(long(g1,8)) ValueError: invalid literal for long() with base 8: '08420217248550443400745280086994171' sed: can't read subversion/bindings/ctypes-python/svn_all.py: No such file or directory