ubiquity-2.13.13.1 cannot generate deb packages
I had used two ways to get ubiquity source codes, one is the command of "bzr branch lp:ubiquity", the other is the command of "apt-get source ubiquity". I found there was no different between their codes, and the version is 2.13.1.3.1.
I want to generate deb packages from source codes, so I use the command of "dpkg-buildpackage -rfakeroot". If I use the codes which from apt-get, I can get the deb packages successfully. But if I use the codes which from bzr branch, error occured.
My OS information is :
DistroRelease: Ubuntu 13.04 Ubuntu Raring Ringtail (development barnch)
Package: ubiquity_2.13.13.1
ProcVersionSi
Uname: Linux 3.8.0-9-generic i686
Date: Wed, 13 Mar 2013 14:02:01 +0800
Here is the error information:
lixiang@
dpkg-buildpackage: 源码包 ubiquity
dpkg-buildpackage: 源码版本 2.13.13.1
dpkg-buildpackage: 源码修改者 Dmitrijs Ledkovs <email address hidden>
dpkg-buildpackage: 主机架构 i386
dpkg-source --before-build ubiquity
dpkg-source: info: using options from ubiquity/
fakeroot debian/rules clean
/bin/sh: 1: cd: can't cd to d-i/source/
# Sanity-check before upload.
find -name debian -prune -o -name \*.py -print | xargs py3compile
find -type f \( -name \*.pyc -o -name \*.pyo \) -print0 | xargs -0r rm -f
find -name __pycache__ -print0 | xargs -0r rm -rf
# Check the syntax of any shell scripts.
set -e; for x in $(find -type f \! -name \*.po \! -name \*.pot -print0 | xargs -0 file -i | grep "text/x-
sh -n $x; \
done
# Check the syntax of any Python scripts.
./tests/
./tests/run-pep8
dh_testdir
dh_testroot
/usr/bin/make -C d-i clean
make[1]: 正在进入目录 `/home/
rm -rf apt
for dir in source/*; do \
if [ "${dir##*/}" != console-setup ] && [ -d "$dir" ]; then \
(cd "$dir" && debian/rules clean) || exit 1; \
fi; \
done
/usr/bin/make -C source/
make:正在进入一个未知的目录
make: *** source/
make:正在离开一个未知的目录
make[1]: *** [clean] 错误 2
make[1]:正在离开目录 `/home/
make: *** [clean] 错误 2
dpkg-buildpackage: 错误: fakeroot debian/rules clean 提供错误退出状态 2
I don't understand why it is happened? So I need your help.
Thanks,
Kobe Lee.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu ubiquity Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- kobe
- Solved:
- Last query:
- Last reply: