holland-coredev team mailing list archive
-
holland-coredev team
-
Mailing list archive
-
Message #00175
[Bug 768522] Re: builds_debs.py busted in 1.1 branch
** Changed in: holland-backup
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Holland
Build, which is subscribed to holland-backup.
https://bugs.launchpad.net/bugs/768522
Title:
builds_debs.py busted in 1.1 branch
Status in Holland Backup Framework:
Fix Released
Bug description:
Looks like the build_debs.py package is not working quite right. My
first problem was that Sphinx was putting the output in docs/build/man
but the script was wanting it in docs/man. It also cannot find the
README files. Here's some failure:
root@HollandBuild:~/git/holland# scripts/build_debs.py
dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package holland
dpkg-buildpackage: source version 1.1.0-1
dpkg-buildpackage: source changed by Andrew Garner <andrew.garner@xxxxxxxxxxxxx>
dpkg-buildpackage: host architecture amd64
fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
dh_clean
dpkg-source -b holland
dpkg-source: warning: source directory 'holland' is not <sourcepackage>-<upstreamversion> 'holland-1.1.0'
dpkg-source: info: using source format `1.0'
dpkg-source: info: building holland in holland_1.1.0-1.tar.gz
dpkg-source: info: building holland in holland_1.1.0-1.dsc
debian/rules build
dh_testdir
touch configure-stamp
dh_testdir
touch build-stamp
fakeroot debian/rules binary
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
cd docs && make text
make[1]: Entering directory `/root/git/holland/docs'
sphinx-build -b text -d build/doctrees source build/text
Making output directory...
Running Sphinx v1.0.7
loading pickled environment... not yet created
loading intersphinx inventory from http://docs.python.org/objects.inv...
building [text]: targets for 9 source files that are out of date
updating environment: 9 added, 0 changed, 0 removed
reading sources... [ 11%] commands
reading sources... [ 22%] config
reading sources... [ 33%] developer/cli
reading sources... [ 44%] developer/core
reading sources... [ 55%] developer/plugins
reading sources... [ 66%] hooks
reading sources... [ 77%] index
reading sources... [ 88%] intro
reading sources... [100%] user/cli
looking for now-outdated files... none found
pickling environment... done
checking consistency... /root/git/holland/docs/source/user/cli.rst:: WARNING: document isn't included in any toctree
done
preparing documents... done
writing output... [ 11%] commands
writing output... [ 22%] config
writing output... [ 33%] developer/cli
writing output... [ 44%] developer/core
writing output... [ 55%] developer/plugins
writing output... [ 66%] hooks
writing output... [ 77%] index
writing output... [ 88%] intro
writing output... [100%] user/cli
build succeeded, 1 warning.
Build finished. The text files are in build/text.
make[1]: Leaving directory `/root/git/holland/docs'
Skipping installation of /root/git/holland/debian/tmp/usr/lib/python2.6/dist-packages/holland/__init__.py (namespace package)
Skipping installation of /root/git/holland/debian/tmp/usr/lib/python2.6/dist-packages/holland/backup/__init__.py (namespace package)
Skipping installation of /root/git/holland/debian/tmp/usr/lib/python2.6/dist-packages/holland/__init__.py (namespace package)
Skipping installation of /root/git/holland/debian/tmp/usr/lib/python2.6/dist-packages/holland/backup/__init__.py (namespace package)
Skipping installation of /root/git/holland/debian/tmp/usr/lib/python2.6/dist-packages/holland/lib/__init__.py (namespace package)
Skipping installation of /root/git/holland/debian/tmp/usr/lib/python2.6/dist-packages/holland/__init__.py (namespace package)
Skipping installation of /root/git/holland/debian/tmp/usr/lib/python2.6/dist-packages/holland/backup/__init__.py (namespace package)
Skipping installation of /root/git/holland/debian/tmp/usr/lib/python2.6/dist-packages/holland/__init__.py (namespace package)
Skipping installation of /root/git/holland/debian/tmp/usr/lib/python2.6/dist-packages/holland/backup/__init__.py (namespace package)
Skipping installation of /root/git/holland/debian/tmp/usr/lib/python2.6/dist-packages/holland/__init__.py (namespace package)
Skipping installation of /root/git/holland/debian/tmp/usr/lib/python2.6/dist-packages/holland/backup/__init__.py (namespace package)
Skipping installation of /root/git/holland/debian/tmp/usr/lib/python2.6/dist-packages/holland/__init__.py (namespace package)
Skipping installation of /root/git/holland/debian/tmp/usr/lib/python2.6/dist-packages/holland/backup/__init__.py (namespace package)
Skipping installation of /root/git/holland/debian/tmp/usr/lib/python2.6/dist-packages/holland/__init__.py (namespace package)
Skipping installation of /root/git/holland/debian/tmp/usr/lib/python2.6/dist-packages/holland/lib/__init__.py (namespace package)
Skipping installation of /root/git/holland/debian/tmp/usr/lib/python2.6/dist-packages/holland/__init__.py (namespace package)
Skipping installation of /root/git/holland/debian/tmp/usr/lib/python2.6/dist-packages/holland/lib/__init__.py (namespace package)
Skipping installation of /root/git/holland/debian/tmp/usr/lib/python2.6/dist-packages/holland/__init__.py (namespace package)
Skipping installation of /root/git/holland/debian/tmp/usr/lib/python2.6/dist-packages/holland/lib/__init__.py (namespace package)
mkdir -p /root/git/holland/debian/tmp/etc/holland
mkdir -p /root/git/holland/debian/tmp/etc/holland/backupsets
mkdir -p /root/git/holland/debian/tmp/etc/holland/providers
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
cp: cannot stat `README': No such file or directory
dh_installdocs: cp -a README debian/holland/usr/share/doc/holland returned exit code 1
make: *** [binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
debuild: fatal error at line 1340:
dpkg-buildpackage -rfakeroot -D -us -uc failed
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
dh_clean
root@HollandBuild:~/git/holland#
I suspect that is because I was building on 10.04 and had to
easy_install the updated Sphinx package? I fixed that manually by
building the man pages myself and copying them to docs/man and then
simply creating a blank README file.
That allowed the DEBs to build, but after install I get:
root@mcp:/home/tim/holland# holland bk transtest
Traceback (most recent call last):
File "/usr/sbin/holland", line 9, in <module>
load_entry_point('holland==1.1.0', 'console_scripts', 'holland')()
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 299, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2229, in load_entry_point
return ep.load()
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1948, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
ImportError: No module named cli.main
References