photutils: fix build failure in 16.04 LTS

Bug #1598140 reported by Matthias Klose on 2016-07-01
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
photutils (Ubuntu)
Undecided
Unassigned
Xenial
Undecided
Unassigned

Bug Description

fixed in yakkety, backport the version from yakkety

 fakeroot debian/rules clean
dh clean --with python2,python3 --buildsystem=pybuild
   dh_testdir -O--buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:184: python2.7 setup.py clean
running clean
removing '/«PKGBUILDDIR»/.pybuild/pythonX.Y_2.7/build' (and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-2.7' does not exist -- can't clean it
I: pybuild base:184: python3.5 setup.py clean
Traceback (most recent call last):
  File "setup.py", line 25, in <module>
    conf = config.ConfigParser()
AttributeError: module 'distutils.config' has no attribute 'ConfigParser'
E: pybuild pybuild:274: clean: plugin distutils failed with: exit code=1: python3.5 setup.py clean
dh_auto_clean: pybuild --clean --test-pytest -i python{version} -p 3.5 --dir . returned exit code 13
debian/rules:10: recipe for target 'clean' failed
make: *** [clean] Error 25

Hello Matthias, or anyone else affected,

Accepted photutils into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/photutils/0.2.1-5~16.04 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in photutils (Ubuntu):
status: New → Incomplete
status: Incomplete → Fix Committed
Changed in photutils (Ubuntu Xenial):
status: New → Fix Committed
tags: added: verification-needed
Matthias Klose (doko) wrote :

package built successfully.

tags: added: verification-done
removed: verification-needed
Martin Pitt (pitti) wrote :

The new version regresses its tests, apparently it needs a new test dep?

autopkgtest [22:58:22]: test python3-photutils: [-----------------------
Traceback (most recent call last):
  File "/tmp/autopkgtest.zV3JcH/build.D6D/photutils-0.2.1/debian/tests/python3-photutils", line 6, in <module>
    import matplotlib
ImportError: No module named 'matplotlib'

tags: added: verification-failed
removed: verification-done
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package photutils - 0.2.1-5ubuntu1

---------------
photutils (0.2.1-5ubuntu1) yakkety; urgency=medium

  * Add python*-matplotlib to the autopkg test dependencies.

 -- Matthias Klose <email address hidden> Tue, 05 Jul 2016 10:26:09 +0200

Changed in photutils (Ubuntu):
status: Fix Committed → Fix Released
Martin Pitt (pitti) wrote :

Accepted Matthias' followup fix, thanks!

tags: added: verification-neededd
removed: verification-failed
tags: added: verification-needed
removed: verification-neededd
Matthias Klose (doko) wrote :

package successfully built, and autopkg tests pass

tags: added: verification-done
removed: verification-needed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package photutils - 0.2.1-5ubuntu1~16.04

---------------
photutils (0.2.1-5ubuntu1~16.04) xenial-proposed; urgency=medium

  * SRU: LP: #1598140, fix build failure.

photutils (0.2.1-5ubuntu1) yakkety; urgency=medium

  * Add python*-matplotlib to the autopkg test dependencies.

 -- Matthias Klose <email address hidden> Tue, 05 Jul 2016 13:09:48 +0200

Changed in photutils (Ubuntu Xenial):
status: Fix Committed → Fix Released

The verification of the Stable Release Update for photutils has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers