Ubuntu source package for neutron can not be rebuild

Bug #1324856 reported by George Shuklin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron (Ubuntu)
Fix Released
Medium
Unassigned
Utopic
Won't Fix
Medium
Unassigned

Bug Description

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

1. There is no proper clean target.
2. neutron.egg-info changes after build

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

Revision history for this message
Robie Basak (racb) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

I presume a workaround is to use sbuild or pbuilder? Assuming that this is the case, I'll set the Importance to Medium as a workaround is available.

Changed in neutron (Ubuntu):
importance: Undecided → Medium
Revision history for this message
George Shuklin (george-shuklin) wrote :

Yes, rebuilding from clean sources is working. But still, this is 'broken source package' according to debian guys.

James Page (james-page)
Changed in neutron (Ubuntu Utopic):
status: New → Triaged
James Page (james-page)
Changed in neutron (Ubuntu):
status: Triaged → Fix Committed
Changed in neutron (Ubuntu Utopic):
status: Triaged → Won't Fix
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package neutron - 2:7.0.0~b2-0ubuntu2

---------------
neutron (2:7.0.0~b2-0ubuntu2) wily; urgency=medium

  * d/neutron-plugin-cisco.install: Remove neutron-cisco-apic-service-agent
    and neutron-cisco-apic-host-agent as upstream has removed the apic ML2
    driver code and replaced by its version in the openstack/networking-cisco.
  * d/neutron-plugin-metaplugin.install: Removed as upstream has removed
    metaplugin code in Liberty.
  * d/tests/control: Drop python-mysqldb.
  * d/control: Add python-pymysql to (build-)depends.

 -- Corey Bryant <email address hidden> Thu, 27 Aug 2015 08:21:31 -0400

Changed in neutron (Ubuntu):
status: Fix Committed → Fix Released
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.