← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1323383] Re: Ubuntu source package for neutron can not be rebuild

 

This is a package issue rather than a neutron one.

** Changed in: neutron
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1323383

Title:
  Ubuntu source package for neutron can not be rebuild

Status in OpenStack Neutron (virtual network service):
  Invalid

Bug description:
  Ubuntu's source package for neutron can not be rebuild twice:

  1. There is no proper clean target.
  2. neutron.egg-info included in neutron_2013.2.3.orig.tar.gz (regardless of .gitignore in original git).

  That cause problem when package is build twice from same source. 1st
  build is fine, 2nd cause following errors:

  (each type of error cited once)
  1. dpkg-source: warning: newly created empty file 'build/lib.linux-x86_64-2.7/neutron/openstack/common/__init__.py' will not be represented in diff
  2. dpkg-source: error: cannot represent change to neutron/__init__.pyc: binary file contents changed

  3. dpkg-source: info: local changes detected, the modified files are:
   neutron-2013.2.3/neutron.egg-info/entry_points.txt
   neutron-2013.2.3/neutron.egg-info/requires.txt

  1 and 2 caused by lack of clean target.

  3rd error is more problematic: 
  tar -tzvf neutron_2013.2.3.orig.tar.gz|grep egg
  drwxrwxr-x jenkins/jenkins      0 2014-04-03 20:49 neutron-2013.2.3/neutron.egg-info/
  -rw-rw-r-- jenkins/jenkins   1800 2014-04-03 20:49 neutron-2013.2.3/neutron.egg-info/PKG-INFO
  -rw-rw-r-- jenkins/jenkins      1 2014-04-03 20:49 neutron-2013.2.3/neutron.egg-info/dependency_links.txt
  -rw-rw-r-- jenkins/jenkins     16 2014-04-03 20:49 neutron-2013.2.3/neutron.egg-info/top_level.txt
  -rw-rw-r-- jenkins/jenkins  52753 2014-04-03 20:49 neutron-2013.2.3/neutron.egg-info/SOURCES.txt
  -rw-rw-r-- jenkins/jenkins   3654 2014-04-03 20:49 neutron-2013.2.3/neutron.egg-info/entry_points.txt
  -rw-rw-r-- jenkins/jenkins      1 2014-04-03 20:49 neutron-2013.2.3/neutron.egg-info/not-zip-safe
  -rw-rw-r-- jenkins/jenkins    406 2014-04-03 20:49 neutron-2013.2.3/neutron.egg-info/requires.txt

  But git repository stated it should not be included to source/git:
  https://github.com/openstack/neutron/blob/stable/havana/.gitignore
  (neutron.egg-info/).

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1323383/+subscriptions


References