PBR

Folders inside packages aren't installed

Bug #1419860 reported by Thomas Goirand
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PBR
Invalid
Undecided
Unassigned

Bug Description

Hi,

I had the issue with at least 2 packages: oslo.utils and oslo.messaging. Though the issue seems global (I haven't had time to check for this completely).

Anyway, let me describe the issue. Somehow, when building my package, folders inside the oslo_messaging don't get installed by "python setup.py install". For example, oslo_messaging/rpc should be installed in debian/python-oslo.messaging/usr/lib/python2.7/dist-packages/oslo_messaging/rpc, but it isn't there. If you want to reproduce the issue, do (on a Jessie machine):

echo "deb http://kilo-jessie.pkgs.mirantis.com/debian/ jessie-kilo-backports main
deb-src http://kilo-jessie.pkgs.mirantis.com/debian/ jessie-kilo-backports main

deb http://archive.gplhost.com/debian kilo-backports main
deb-src http://archive.gplhost.com/debian kilo-backports main" >>/etc/apt/sources.list

apt-get update
apt-get install git-builldackage fakeroot build-essential
apt-get build-dep oslo.messaging
git clone git://git.debian.org/openstack/oslo.messaging.git
cd oslo.messaging
rm -rf debian/patches # <--- This is to remove my patch of the MANIFEST.in to fix the issue
git commit -a # <--- Commit the removal of the patches
./debian/rules gen-orig-xz
git-buildpackage

If you have any question, I'm available on IRC as zigo...

Revision history for this message
Doug Hellmann (doug-hellmann) wrote :

I think based on our conversation on IRC this problem was fixed in a more recent pbr than the one you were using, wasn't it?

Changed in pbr:
status: New → Incomplete
Revision history for this message
Thomas Goirand (thomas-goirand) wrote :

Hi,

I still experienced issues with oslo.messaging and oslo.concurency, for which I had to patch the MANIFEST.in.

FYI, you can find instructions on how to reproduce my build env here:

http://openstack.alioth.debian.org/

Revision history for this message
Robert Collins (lifeless) wrote :

@zigo dhellmans' question - have you tried with pbr 0.11 (current master)

Revision history for this message
Robert Collins (lifeless) wrote :

Closing due to no feedback.

Changed in pbr:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.