[Openstack-devel] Bug#717628: keystone: Fail to debuild after debuild clean.

Kouhei Maeda mkouhei at palmtb.net
Tue Jul 23 07:14:01 UTC 2013


Package: keystone
Version: 2013.1.2-5
Severity: normal

Dear Maintainer,

There is a problem that occurs when you build from source package.
It fails to build once, when I try to build again after running the debuild clean.

I work around the problem by modifying as follows.

--

$ debdiff 
(snip)
diff -Nru keystone-2013.1.2/debian/changelog keystone-2013.1.2/debian/changelog
--- keystone-2013.1.2/debian/changelog  2013-07-19 03:47:22.000000000 +0900
+++ keystone-2013.1.2/debian/changelog  2013-07-23 15:48:35.000000000 +0900
@@ -1,3 +1,16 @@
+keystone (2013.1.2-5.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/rules:
+    - Delete sqlite files in override_dh_clean.
+    - Delete vendor directory in override_dh_clean.
+    - Delete doc/source/api directory in override_dh_clean.
+    - Delete pep8.txt file in override_dh_clean.
+  * debian/control:
+    - Append X-Python-Version, support over 2.6.
+
+ -- Kouhei Maeda <mkouhei at palmtb.net>  Tue, 23 Jul 2013 15:47:45 +0900
+
 keystone (2013.1.2-5) unstable; urgency=low
 
   * Calls usermod -s /bin/bash keystone to ensure wheezy upgraded box can run
diff -Nru keystone-2013.1.2/debian/control keystone-2013.1.2/debian/control
--- keystone-2013.1.2/debian/control    2013-07-19 03:47:22.000000000 +0900
+++ keystone-2013.1.2/debian/control    2013-07-23 15:45:23.000000000 +0900
@@ -51,6 +51,7 @@
                      python-webob (>= 1.2.3),
                      python-webtest
 Standards-Version: 3.9.3
+X-Python-Version: >= 2.6
 Homepage: http://keystone.openstack.org/
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/keystone.git;a=summary
 Vcs-Git: git://anonscm.debian.org/openstack/keystone.git
diff -Nru keystone-2013.1.2/debian/rules keystone-2013.1.2/debian/rules
--- keystone-2013.1.2/debian/rules      2013-07-19 03:47:22.000000000 +0900
+++ keystone-2013.1.2/debian/rules      2013-07-23 15:47:38.000000000 +0900
@@ -73,4 +73,8 @@
        rm -rf $(CURDIR)/doc/source/sourcecode
        rm -rf $(CURDIR)/admin.log $(CURDIR)/keystone-legacy-auth.log
        rm -f $(CURDIR)/debian/keystone.config $(CURDIR)/debian/keystone.postinst
+       find ./ -name "*.db" -delete
+       rm -rf $(CURDIR)/vendor
+       rm -rf $(CURDIR)/doc/source/api
+       rm -f $(CURDIR)/pep8.txt
        dh_clean


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.9-1-amd64 (SMP w/6 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages keystone depends on:
ii  adduser                3.113+nmu3
ii  dbconfig-common        1.8.47+nmu1
ii  debconf [debconf-2.0]  1.5.50
ii  dpkg                   1.16.10
ii  lsb-base               4.1+Debian12
ii  python                 2.7.5-2
ii  python-configobj       4.7.2+ds-5
ii  python-keystone        2013.1.2-5
ii  sqlite3                3.7.17-1
ii  ssl-cert               1.0.32

keystone recommends no packages.

keystone suggests no packages.

-- debconf information:
* keystone/admin-user: admin
* keystone/admin-tenant-name: admin
* keystone/region-name: regionOne
  keystone/passwords-do-not-match:
* keystone/endpoint-ip:
* keystone/register-endpoint: false
* keystone/admin-email: admin at example.org
* keystone/admin-role-name: admin
* keystone/configure_db: false
* keystone/create-admin-tenant: false

best regards,



More information about the Openstack-devel mailing list