On Thu, 31 May 2012 10:51:52 +0200, Saint Germain <
sain...@gmail.com>
wrote :
> On 31 May 2012 01:10, Dan Stromberg <
stro...@gmail.com> wrote:
> > I've just added a page about ./configure'ing and installing
> > backshift:
> >
http://stromberg.dnsalias.org/~strombrg/backshift/documentation/for-all/installation.html ...but
> > it's mostly the usual "./configure && make install". �This on the
> > website, and in trunk, but was added after 1.01 was cut.
> >
Hello,
I have some problem building Backshift version 1.01 on Debian Testing
(with current Cpython).
1) it seems that exuberant-ctags and pylint are necessary
dependencies.
2) I have to change this_pylint:
--- this-pylint (r�vision 2361)
+++ this-pylint (copie de travail)
@@ -1,4 +1,4 @@
-#!/usr/local/cpython-3.2/bin/python3
+#!/usr/bin/env python
import os
import re
@@ -80,7 +80,7 @@
significant_found = False
messages_of_interest = []
- for pylint in [ '/usr/local/cpython-2.5/bin/pylint', '/usr/local/cpython-3.2/bin/pylint', ]:
+ for pylint in [ '/usr/bin/pylint',]:
if os.path.exists(pylint):
command = ('%s ' % pylint) + \
('--init-hook=\'import sys; sys.path.append("%s");
sys.path.append(".")\' ' % os.path.expanduser('~/lib')) +
3) I finally managed to get it started, but I got the following error:
./this-pylint --to-pylint backshift backshift_file_mod.py base255.py bloom_filter_mod.py bufsock.py cacher_mod.py chunk_mod_traditional.py compressed_file_mod.py compressed_string_mod.py constants_mod.py dohdbm.py dirops_mod.py escape_mod.py expire_mod.py file_count_mod.py hardlinks_mod.py main.py metadata_mod.py modunits.py py_treap_node.py py_treap.py readline0.py repo_mod.py rolling_checksum_py_mod.py saveset_files_mod.py saveset_summary_mod.py try_psyco.py xz_mod.py
************* Module backshift_file_mod
I:102,0: Locally disabling R0903
************* Module bloom_filter_mod
I: 48,0: Locally disabling W0232
I:240,0: Locally disabling R0902
I:500,0: Locally disabling R0913
************* Module bufsock
I:123,0: Locally disabling R0902
W:236,0: FIXME: This could be sped up a bit using slicing
************* Module chunk_mod_traditional
W:148,0: FIXME: On Jython 2.5.2 r7288, os.utime fails to raise an OSError if the file doesn't exist
************* Module compressed_file_mod
I: 22,0: Locally disabling R0913
W: 27,0: FIXME: We ignore perms - that's pretty safe for backshift, but should be examined if reused in other projects
************* Module constants_mod
I: 9,0: Locally disabling W0232
I: 9,0: Locally disabling R0903
************* Module dohdbm
I: 38,0: Locally disabling W0622
I: 61,0: Locally disabling R0902
I: 61,0: Locally disabling R0912
************* Module dirops_mod
I: 14,0: Locally disabling W0142
************* Module file_count_mod
I: 8,0: Locally disabling W0232
I: 8,0: Locally disabling R0903
************* Module hardlinks_mod
I: 29,0: Locally disabling R0903
************* Module main
I: 74,0: Locally disabling R0903
I:137,0: Locally disabling R0913
I:137,0: Locally disabling R0902
I:187,0: Locally disabling R0912
************* Module metadata_mod
I: 21,0: Locally disabling R0903
I:167,0: Locally disabling W0232
************* Module modunits
I: 40,0: Locally disabling R0903
I: 54,0: Locally disabling R0913
I:231,0: Locally disabling R0912
I:340,0: Locally disabling R0902
************* Module py_treap_node
I:146,0: Locally disabling R0201
W: 9,0: FIXME: nice for debugging, bad for real life
************* Module py_treap
I:198,0: Locally disabling R0913
I:249,0: Locally disabling R0903
************* Module readline0
I: 20,0: Locally disabling R0902
************* Module repo_mod
I: 35,0: Locally disabling E1101
I: 62,0: Locally disabling W0603
I:112,0: Locally disabling R0903
I:119,0: Locally disabling R0201
I:140,0: Locally disabling W0142
I:376,0: Locally disabling R0902
I:510,0: Locally disabling R0914
W: 79,0: FIXME: This might actually be erring too much on the safe side.
W:488,0: FIXME: Now we should optionally go through hardlink_data and warn about any hardlinks that don't show an ideal count
W:499,0: FIXME: Now we should optionally go through tar_state.hardlink_data and warn about any hardlinks that
W:605,0: FIXME: This 0.01 should probably be a user-specifiable parameter or something
************* Module rolling_checksum_py_mod
I: 51,0: Locally disabling R0912
I: 51,0: Locally disabling R0914
I:147,0: Locally disabling R0902
I:156,0: Locally disabling R0913
W: 12,0: Found indentation with tabs instead of spaces
W: 14,0: Found indentation with tabs instead of spaces
W: 15,0: Found indentation with tabs instead of spaces
W: 16,0: Found indentation with tabs instead of spaces
W: 18,0: Found indentation with tabs instead of spaces
W: 19,0: Found indentation with tabs instead of spaces
W: 20,0: Found indentation with tabs instead of spaces
W: 21,0: Found indentation with tabs instead of spaces
W: 22,0: Found indentation with tabs instead of spaces
W: 23,0: Found indentation with tabs instead of spaces
W: 25,0: Found indentation with tabs instead of spaces
W: 27,0: Found indentation with tabs instead of spaces
W: 29,0: Found indentation with tabs instead of spaces
W: 31,0: Found indentation with tabs instead of spaces
W: 33,0: Found indentation with tabs instead of spaces
W: 34,0: Found indentation with tabs instead of spaces
W: 35,0: Found indentation with tabs instead of spaces
W: 37,0: Found indentation with tabs instead of spaces
W: 39,0: Found indentation with tabs instead of spaces
W: 40,0: Found indentation with tabs instead of spaces
W: 41,0: Found indentation with tabs instead of spaces
W: 43,0: Found indentation with tabs instead of spaces
W: 45,0: Found indentation with tabs instead of spaces
W: 46,0: Found indentation with tabs instead of spaces
W: 55,0: Found indentation with tabs instead of spaces
W: 65,0: Found indentation with tabs instead of spaces
W: 68,0: Found indentation with tabs instead of spaces
W: 69,0: Found indentation with tabs instead of spaces
W: 71,0: Found indentation with tabs instead of spaces
W: 73,0: Found indentation with tabs instead of spaces
W: 74,0: Found indentation with tabs instead of spaces
W: 76,0: Found indentation with tabs instead of spaces
W: 78,0: Found indentation with tabs instead of spaces
W: 80,0: Found indentation with tabs instead of spaces
W: 81,0: Found indentation with tabs instead of spaces
W: 82,0: Found indentation with tabs instead of spaces
W: 84,0: Found indentation with tabs instead of spaces
W: 85,0: Found indentation with tabs instead of spaces
W: 87,0: Found indentation with tabs instead of spaces
W: 89,0: Found indentation with tabs instead of spaces
W: 90,0: Found indentation with tabs instead of spaces
W: 91,0: Found indentation with tabs instead of spaces
W: 92,0: Found indentation with tabs instead of spaces
W: 93,0: Found indentation with tabs instead of spaces
W: 94,0: Found indentation with tabs instead of spaces
W: 96,0: Found indentation with tabs instead of spaces
W: 97,0: Found indentation with tabs instead of spaces
W: 98,0: Found indentation with tabs instead of spaces
W: 99,0: Found indentation with tabs instead of spaces
W:101,0: Found indentation with tabs instead of spaces
W:103,0: Found indentation with tabs instead of spaces
W:104,0: Found indentation with tabs instead of spaces
W:105,0: Found indentation with tabs instead of spaces
W:106,0: Found indentation with tabs instead of spaces
W:107,0: Found indentation with tabs instead of spaces
W:109,0: Found indentation with tabs instead of spaces
W:110,0: Found indentation with tabs instead of spaces
W:111,0: Found indentation with tabs instead of spaces
W:112,0: Found indentation with tabs instead of spaces
W:114,0: Found indentation with tabs instead of spaces
W:116,0: Found indentation with tabs instead of spaces
W:118,0: Found indentation with tabs instead of spaces
W:119,0: Found indentation with tabs instead of spaces
W:121,0: Found indentation with tabs instead of spaces
W:122,0: Found indentation with tabs instead of spaces
W:124,0: Found indentation with tabs instead of spaces
W:127,0: Found indentation with tabs instead of spaces
W:129,0: Found indentation with tabs instead of spaces
W:130,0: Found indentation with tabs instead of spaces
W:131,0: Found indentation with tabs instead of spaces
W:150,0: Found indentation with tabs instead of spaces
W:155,0: Found indentation with tabs instead of spaces
W:158,0: Found indentation with tabs instead of spaces
W:159,0: Found indentation with tabs instead of spaces
W:160,0: Found indentation with tabs instead of spaces
W:161,0: Found indentation with tabs instead of spaces
W:162,0: Found indentation with tabs instead of spaces
W:163,0: Found indentation with tabs instead of spaces
W:164,0: Found indentation with tabs instead of spaces
W:166,0: Found indentation with tabs instead of spaces
W:167,0: Found indentation with tabs instead of spaces
W:168,0: Found indentation with tabs instead of spaces
W:169,0: Found indentation with tabs instead of spaces
W:171,0: Found indentation with tabs instead of spaces
W:172,0: Found indentation with tabs instead of spaces
W:173,0: Found indentation with tabs instead of spaces
W:174,0: Found indentation with tabs instead of spaces
W:175,0: Found indentation with tabs instead of spaces
W:177,0: Found indentation with tabs instead of spaces
W:178,0: Found indentation with tabs instead of spaces
W:179,0: Found indentation with tabs instead of spaces
************* Module saveset_files_mod
I: 28,0: Locally disabling W0142
I: 54,0: Locally disabling R0903
************* Module saveset_summary_mod
I:183,0: Locally disabling R0902
I:188,0: Locally disabling R0913
W:264,0: FIXME: Is this method needed for anything?
************* Module try_psyco
I: 4,0: Locally disabling F0401
************* Module xz_mod
I: 3,0: Locally disabling W0404
I: 3,0: Locally disabling F0401
I:256,0: Locally disabling R0914
I:349,0: Locally disabling W0142
E:339,42:compress: Module 'lzma' has no 'FORMAT_XZ' member
E:339,65:compress: Module 'lzma' has no 'PRESET_DEFAULT' member
E:339,92:compress: Module 'lzma' has no 'CHECK_CRC32' member
E:344,44:decompress: Module 'lzma' has no 'FORMAT_XZ' member
make: *** [static-analysis] Erreur 1
Hope that it helps,