fedmsg: FTBFS: ImportError: No module named core.error

Bug #1277575 reported by Andreas Moog
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fedmsg (Debian)
Fix Released
Unknown
fedmsg (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Imported from Debian bug http://bugs.debian.org/738058:

Package: fedmsg
Version: 0.7.1-1
Severity: serious

Hi there,

your package fails to build in a clean sbuild chroot:

> ======================================================================
> ERROR: Failure: ImportError (No module named core.error)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 413, in loadTestsFromName
> addr.filename, addr.module)
> File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath
> return self.importFromDir(dir_path, fqname)
> File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir
> mod = load_module(part_fqname, fh, filename, desc)
> File "/«PKGBUILDDIR»/fedmsg/tests/test_commands.py", line 16, in <module>
> from fedmsg.commands.relay import RelayCommand
> File "/«PKGBUILDDIR»/fedmsg/commands/relay.py", line 23, in <module>
> import zmq.core.error
> ImportError: No module named core.error
> -------------------- >> begin captured logging << --------------------
> moksha.hub: WARNING: Cannot find qpid python module. Make sure you have python-qpid installed.
> --------------------- >> end captured logging << ---------------------
>
> ----------------------------------------------------------------------
> Ran 86 tests in 15.075s
>
> FAILED (errors=1, skipped=38)
> make[1]: *** [override_dh_auto_test] Error 1
> make[1]: Leaving directory `/«PKGBUILDDIR»'
> make: *** [build] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> ────────────────────────────────────────────────────────────────────────────────
> Build finished at 20140207-1655

Adding python-qpid to the Build-Depends removes the moksha.hub warning,
but the build still fails due to the ImportError above.

Full buildlog attached.

--
Andreas Moog, Berliner Str. 29, 36205 Sontra/Germany
PGP-encrypted mails preferred (Key-ID: 74DE6624)
PGP Fingerprint: 74CD D9FE 5BCB FE0D 13EE 8EEA 61F3 4426 74DE 6624

Tags: ftbfs trusty
Andreas Moog (ampelbein)
Changed in fedmsg (Ubuntu):
importance: Undecided → High
tags: added: ftbfs trusty
Changed in fedmsg (Debian):
importance: Undecided → Unknown
Changed in fedmsg (Debian):
status: New → Fix Released
Revision history for this message
Andreas Moog (ampelbein) wrote :

This is fixed in the current Ubuntu development release.

Changed in fedmsg (Ubuntu):
status: New → 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.