<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">Hi,<br>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.<br><br>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. In Launchpad, I had asked the question already, the site is : https://answers.launchpad.net/ubuntu/+source/ubiquity/+question/224117<br><br>My OS information is :<br>  DistroRelease: Ubuntu 13.04                 Ubuntu Raring Ringtail (development barnch)<br>  Package: ubiquity_2.13.13.1<br>  ProcVersionSignature: Ubuntu 3.8.0-9-generic<br>  Uname: Linux 3.8.0-9-generic i686<br>  Date: Wed, 13 Mar 2013 14:02:01 +0800<br><br>Here is the error information:<br>lixiang@lixiang-OptiPlex-380:~/ubiquity-test/ubiquity$ dpkg-buildpackage -rfakeroot<br>dpkg-buildpackage: 源码包 ubiquity<br>dpkg-buildpackage: 源码版本 2.13.13.1<br>dpkg-buildpackage: 源码修改者 Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com><br>dpkg-buildpackage: 主机架构 i386<br> dpkg-source --before-build ubiquity<br>dpkg-source: info: using options from ubiquity/debian/source/options: --compression=xz --tar-ignore=.bzr-builddeb<br> fakeroot debian/rules clean<br>/bin/sh: 1: cd: can't cd to d-i/source/console-setup<br># Sanity-check before upload.<br>find -name debian -prune -o -name \*.py -print | xargs py3compile<br>find -type f \( -name \*.pyc -o -name \*.pyo \) -print0 | xargs -0r rm -f<br>find -name __pycache__ -print0 | xargs -0r rm -rf<br># Check the syntax of any shell scripts.<br>set -e; for x in $(find -type f \! -name \*.po \! -name \*.pot -print0 | xargs -0 file -i | grep "text/x-shellscript" | cut -d':' -f1); do \<br>        sh -n $x; \<br>    done<br># Check the syntax of any Python scripts.<br>./tests/run-pyflakes<br>./tests/run-pep8<br>dh_testdir<br>dh_testroot<br>/usr/bin/make -C d-i clean<br>make[1]: 正在进入目录 `/home/lixiang/ubiquity-test/ubiquity/d-i'<br>rm -rf apt<br>for dir in source/*; do \<br>        if [ "${dir##*/}" != console-setup ] && [ -d "$dir" ]; then \<br>            (cd "$dir" && debian/rules clean) || exit 1; \<br>        fi; \<br>    done<br>/usr/bin/make -C source/console-setup/Keyboard clean<br>make:正在进入一个未知的目录<br>make: *** source/console-setup/Keyboard: 没有那个文件或目录。 停止。<br>make:正在离开一个未知的目录<br>make[1]: *** [clean] 错误 2<br>make[1]:正在离开目录 `/home/lixiang/ubiquity-test/ubiquity/d-i'<br>make: *** [clean] 错误 2<br>dpkg-buildpackage: 错误: fakeroot debian/rules clean 提供错误退出状态 2<br><br><br>I don't understand why it is happened? So I need your help.<br>Thanks,<br>Kobe Lee.</div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>