ubiquity-2.13.13.1 cannot generate deb packages

kobe24_lixiang kobe24_lixiang at 126.com
Wed Mar 13 06:07:02 UTC 2013


Hi,
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. In Launchpad, I had asked the question already, the site is : https://answers.launchpad.net/ubuntu/+source/ubiquity/+question/224117

My OS information is :
  DistroRelease: Ubuntu 13.04                 Ubuntu Raring Ringtail (development barnch)
  Package: ubiquity_2.13.13.1
  ProcVersionSignature: Ubuntu 3.8.0-9-generic
  Uname: Linux 3.8.0-9-generic i686
  Date: Wed, 13 Mar 2013 14:02:01 +0800

Here is the error information:
lixiang at lixiang-OptiPlex-380:~/ubiquity-test/ubiquity$ dpkg-buildpackage -rfakeroot
dpkg-buildpackage: 源码包 ubiquity
dpkg-buildpackage: 源码版本 2.13.13.1
dpkg-buildpackage: 源码修改者 Dmitrijs Ledkovs <dmitrij.ledkov at ubuntu.com>
dpkg-buildpackage: 主机架构 i386
 dpkg-source --before-build ubiquity
dpkg-source: info: using options from ubiquity/debian/source/options: --compression=xz --tar-ignore=.bzr-builddeb
 fakeroot debian/rules clean
/bin/sh: 1: cd: can't cd to d-i/source/console-setup
# 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-shellscript" | cut -d':' -f1); do \
        sh -n $x; \
    done
# Check the syntax of any Python scripts.
./tests/run-pyflakes
./tests/run-pep8
dh_testdir
dh_testroot
/usr/bin/make -C d-i clean
make[1]: 正在进入目录 `/home/lixiang/ubiquity-test/ubiquity/d-i'
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/console-setup/Keyboard clean
make:正在进入一个未知的目录
make: *** source/console-setup/Keyboard: 没有那个文件或目录。 停止。
make:正在离开一个未知的目录
make[1]: *** [clean] 错误 2
make[1]:正在离开目录 `/home/lixiang/ubiquity-test/ubiquity/d-i'
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-installer/attachments/20130313/d7a7f02a/attachment.html>


More information about the Ubuntu-installer mailing list