BrianGallew / cassandra_range_repair

python script to repair the primary range of a node in N discrete steps
MIT License
109 stars 47 forks source link

Unable to build Debian package #58

Open JensRantil opened 6 years ago

JensRantil commented 6 years ago
$ make debian
rm -rf debian/rangerepair
rm -rf debian/rangerepair.debhelper.log
rm -rf debian/rangerepair.substvars
rm -rf debian/rangerepair.postinst.debhelper
find ../ -maxdepth 1 -iname 'rangerepair_*_amd64.changes' -exec rm -f {} +
find ../ -maxdepth 1 -iname 'rangerepair_*_amd64.deb' -exec rm -f {} +
find ../ -maxdepth 1 -iname 'rangerepair_*.dsc' -exec rm -f {} +
find ../ -maxdepth 1 -iname 'rangerepair_*.tar.gz' -exec rm -f {} +
sh make_deb.sh
+ python setup.py sdist
running sdist
[pbr] Writing ChangeLog
[pbr] Generating ChangeLog
[pbr] ChangeLog complete (0.0s)
[pbr] Generating AUTHORS
[pbr] AUTHORS complete (0.0s)
running egg_info
writing pbr to cassandra_range_repair.egg-info/pbr.json
writing requirements to cassandra_range_repair.egg-info/requires.txt
writing cassandra_range_repair.egg-info/PKG-INFO
writing top-level names to cassandra_range_repair.egg-info/top_level.txt
writing dependency_links to cassandra_range_repair.egg-info/dependency_links.txt
[pbr] Processing SOURCES.txt
[pbr] In git context, generating filelist from git
warning: no previously-included files found matching '.gitreview'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
writing manifest file 'cassandra_range_repair.egg-info/SOURCES.txt'
warning: sdist: standard file not found: should have one of README, README.rst, README.txt

running check
warning: check: missing required meta-data: url

creating cassandra_range_repair-0.0.1.dev124
creating cassandra_range_repair-0.0.1.dev124/cassandra_range_repair.egg-info
creating cassandra_range_repair-0.0.1.dev124/debian
creating cassandra_range_repair-0.0.1.dev124/src
creating cassandra_range_repair-0.0.1.dev124/tests
making hard links in cassandra_range_repair-0.0.1.dev124...
hard linking .travis.yml -> cassandra_range_repair-0.0.1.dev124
hard linking AUTHORS -> cassandra_range_repair-0.0.1.dev124
hard linking ChangeLog -> cassandra_range_repair-0.0.1.dev124
hard linking LICENSE.md -> cassandra_range_repair-0.0.1.dev124
hard linking Makefile -> cassandra_range_repair-0.0.1.dev124
hard linking README.md -> cassandra_range_repair-0.0.1.dev124
hard linking make_deb.sh -> cassandra_range_repair-0.0.1.dev124
hard linking requirements.txt -> cassandra_range_repair-0.0.1.dev124
hard linking setup.cfg -> cassandra_range_repair-0.0.1.dev124
hard linking setup.py -> cassandra_range_repair-0.0.1.dev124
hard linking cassandra_range_repair.egg-info/PKG-INFO -> cassandra_range_repair-0.0.1.dev124/cassandra_range_repair.egg-info
hard linking cassandra_range_repair.egg-info/SOURCES.txt -> cassandra_range_repair-0.0.1.dev124/cassandra_range_repair.egg-info
hard linking cassandra_range_repair.egg-info/dependency_links.txt -> cassandra_range_repair-0.0.1.dev124/cassandra_range_repair.egg-info
hard linking cassandra_range_repair.egg-info/not-zip-safe -> cassandra_range_repair-0.0.1.dev124/cassandra_range_repair.egg-info
hard linking cassandra_range_repair.egg-info/pbr.json -> cassandra_range_repair-0.0.1.dev124/cassandra_range_repair.egg-info
hard linking cassandra_range_repair.egg-info/requires.txt -> cassandra_range_repair-0.0.1.dev124/cassandra_range_repair.egg-info
hard linking cassandra_range_repair.egg-info/top_level.txt -> cassandra_range_repair-0.0.1.dev124/cassandra_range_repair.egg-info
hard linking debian/changelog -> cassandra_range_repair-0.0.1.dev124/debian
hard linking debian/compat -> cassandra_range_repair-0.0.1.dev124/debian
hard linking debian/control -> cassandra_range_repair-0.0.1.dev124/debian
hard linking debian/files -> cassandra_range_repair-0.0.1.dev124/debian
hard linking debian/rangerepair.install -> cassandra_range_repair-0.0.1.dev124/debian
hard linking debian/rangerepair.postinst -> cassandra_range_repair-0.0.1.dev124/debian
hard linking debian/rules -> cassandra_range_repair-0.0.1.dev124/debian
hard linking src/__init__.py -> cassandra_range_repair-0.0.1.dev124/src
hard linking src/range_repair.py -> cassandra_range_repair-0.0.1.dev124/src
hard linking src/repair_failed_ranges.py -> cassandra_range_repair-0.0.1.dev124/src
hard linking tests/__init__.py -> cassandra_range_repair-0.0.1.dev124/tests
hard linking tests/mock_nodetool_script -> cassandra_range_repair-0.0.1.dev124/tests
hard linking tests/rangerepair_test.py -> cassandra_range_repair-0.0.1.dev124/tests
hard linking tests/test_execution_counts.py -> cassandra_range_repair-0.0.1.dev124/tests
hard linking tests/test_ranges.py -> cassandra_range_repair-0.0.1.dev124/tests
hard linking tests/test_retry.py -> cassandra_range_repair-0.0.1.dev124/tests
copying setup.cfg -> cassandra_range_repair-0.0.1.dev124
Writing cassandra_range_repair-0.0.1.dev124/setup.cfg
Creating tar archive
removing 'cassandra_range_repair-0.0.1.dev124' (and everything under it)
+ grep PACKAGE.*:= Makefile
+ sed -e s/[ \t]*//g -e s/.*:=//
+ PACKAGE=rangerepair
+ ls dist/rangerepair-*.tar.gz
ls: cannot access 'dist/rangerepair-*.tar.gz': No such file or directory
+ VERSION_BUILDER=
Makefile:44: recipe for target 'debian' failed
make: *** [debian] Error 2

Notice I've added set -ex at the top of make_deb.sh to get more verbose output.