Sync 1.0.0-2 from debian testing, fixes FTBFS due to unit tests failing to run
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | python-linecache2 (Ubuntu) |
Undecided
|
Łukasz Zemczak | ||
Bug Description
As per the test-rebuild [1] for wily, this package now fails to build from source due to some errors while running unit tests. The Debian version of this package has the bug fixed - requesting syncing.
Source package name: python-linecache2
Source package version number to sync: 1.0.0-2
Where to sync from: Debian testing
Log:
===> Testing with python2.7 (python2)
Traceback (most recent call last):
File "/usr/bin/
load_
File "/usr/lib/
main(
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.test = loader.
File "/usr/lib/
tests = list(self.
File "/usr/lib/
for test in path_tests:
File "/usr/lib/
for test in path_tests:
File "/usr/lib/
full_path, pattern, namespace)
File "/usr/lib/
msg % (mod_name, module_dir, expected_dir))
ImportError: 'test_linecache' module incorrectly imported from '/usr/lib/
debian/rules:37: recipe for target 'override_
[1] people.
| description: | updated |
| Łukasz Zemczak (sil2100) wrote : | #1 |
| summary: |
- FTBFS due to unit tests failing to run + Sync 1.0.0-2 from debian testing, fixes FTBFS due to unit tests failing + to run |
| description: | updated |
| Barry Warsaw (barry) wrote : | #2 |
I'll do a local test and syncpackage if that passes.
| Barry Warsaw (barry) wrote : | #3 |
LGTM, syncing dropping the Ubuntu delta.
| Changed in python-linecache2 (Ubuntu): | |
| status: | In Progress → Fix Released |
| Barry Warsaw (barry) wrote : | #4 |
This bug was fixed in the package python-linecache2 - 1.0.0-2
---------------
python-linecache2 (1.0.0-2) unstable; urgency=medium
* Runs unit tests during build, thanks to a patch from James Page
(Closes: #795889).
-- Thomas Goirand <email address hidden> Fri, 28 Aug 2015 15:46:28 +0000


Requesting a package sync from Debian. It has all Ubuntu changes and it also has the fix for this FTBFS (addition of PYTHONPATH=. in debian/rules). Could anyone sponsor the sync?