New question #294946 on Duplicity: https://answers.launchpad.net/duplicity/+question/294946
I tried to create a debian package from the duplicity source code, but it didn't work. I am new to launchpad and bazaar, so maybe I just did some basic things wrong. I'm using Debian 8. As described in http://adminberlin.de/build-duplicity-debian-packages-from-source/ I tried the following steps: tar xvf duplicity-0.7.07.1.tar.gz cd duplicity-0.7.07.1 python setup.py --command-packages=stdeb.command bdist_deb Here is the output: ----------------------- running bdist_deb running sdist_dsc running egg_info creating duplicity.egg-info writing requirements to duplicity.egg-info/requires.txt writing duplicity.egg-info/PKG-INFO writing top-level names to duplicity.egg-info/top_level.txt writing dependency_links to duplicity.egg-info/dependency_links.txt writing requirements to duplicity.egg-info/requires.txt writing duplicity.egg-info/PKG-INFO writing top-level names to duplicity.egg-info/top_level.txt writing dependency_links to duplicity.egg-info/dependency_links.txt writing manifest file 'duplicity.egg-info/SOURCES.txt' reading manifest file 'duplicity.egg-info/SOURCES.txt' writing manifest file 'duplicity.egg-info/SOURCES.txt' running sdist Processing version 0.7.07.1 bzr: ERROR: Not a branch: "/home/xxx/xxx/duplicity-0.7.07.1/". fatal: Not a git repository (or any parent up to mount point /home) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). Traceback (most recent call last): File "/home/xxx/xxx/duplicity-0.7.07.1/dist/makedist", line 124, in <module> Main() File "/home/xxx/xxx/duplicity-0.7.07.1/dist/makedist", line 115, in Main tarfile = MakeTar() File "/home/xxx/xxx/duplicity-0.7.07.1/dist/makedist", line 87, in MakeTar assert not os.mkdir(os.path.join(tardir, "po", lang)), lang OSError: [Errno 2] No such file or directory: 'duplicity-0.7.07.1/po/bg' mv: cannot stat ‘duplicity-0.7.07.1.tar.gz’: No such file or directory Traceback (most recent call last): File "setup.py", line 200, in <module> 'build_scripts': BSCommand}, File "/usr/lib/python2.7/distutils/core.py", line 151, in setup dist.run_commands() File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib/python2.7/dist-packages/stdeb/command/bdist_deb.py", line 22, in run self.run_command('sdist_dsc') File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib/python2.7/dist-packages/stdeb/command/sdist_dsc.py", line 43, in run for archive_file in sdist_cmd.get_archive_files(): TypeError: 'NoneType' object is not iterable ------------------- The error message indicated to me that i should check out the source code via bazaar - even though I thought it should work just fine with the tar.gz So I did: bzr branch lp:duplicity cd duplicity python setup.py --command-packages=stdeb.command bdist_deb Here is the output: -------------------- running bdist_deb running sdist_dsc running egg_info creating duplicity.egg-info writing requirements to duplicity.egg-info/requires.txt writing duplicity.egg-info/PKG-INFO writing top-level names to duplicity.egg-info/top_level.txt writing dependency_links to duplicity.egg-info/dependency_links.txt writing requirements to duplicity.egg-info/requires.txt writing duplicity.egg-info/PKG-INFO writing top-level names to duplicity.egg-info/top_level.txt writing dependency_links to duplicity.egg-info/dependency_links.txt writing manifest file 'duplicity.egg-info/SOURCES.txt' reading manifest file 'duplicity.egg-info/SOURCES.txt' writing manifest file 'duplicity.egg-info/SOURCES.txt' running sdist Processing version 0.0dev Made tar file duplicity-0.0dev.tar.gz Traceback (most recent call last): File "setup.py", line 200, in <module> 'build_scripts': BSCommand}, File "/usr/lib/python2.7/distutils/core.py", line 151, in setup dist.run_commands() File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib/python2.7/dist-packages/stdeb/command/bdist_deb.py", line 22, in run self.run_command('sdist_dsc') File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib/python2.7/dist-packages/stdeb/command/sdist_dsc.py", line 43, in run for archive_file in sdist_cmd.get_archive_files(): TypeError: 'NoneType' object is not iterable ------------- Now I'm lost, and have no further idea what I'm supposed to do. Hope any one can help. Thanks a lot in advance, Frank. -- You received this question notification because your team duplicity-team is an answer contact for Duplicity. _______________________________________________ Mailing list: https://launchpad.net/~duplicity-team Post to : [email protected] Unsubscribe : https://launchpad.net/~duplicity-team More help : https://help.launchpad.net/ListHelp

