Bug#939303: matplotlib2: FTBFS unsatisfied b-d

2019-09-10 Thread Rebecca N. Palmer

Control: tags -1 patch

The dependency chain involved is

matplotlib2 -> python-mpltoolkits.basemap -> python-pyproj, python-pyshp

where all but the first no longer exist as Python 2 packages (and pyproj 
has also moved to a Python 3 only new upstream version).


Searching the code suggests that matplotlib2 no longer uses basemap 
(doc/pyplots/plotmap.py no longer even exists), and hence that a fix is 
to simply remove the build-dependency:


diff --git a/debian/control b/debian/control
index 65917e83..fd7795fc 100644
--- a/debian/control
+++ b/debian/control
@@ -27,7 +27,6 @@ Build-Depends: debhelper (>= 7),
python-kiwisolver,
python-kiwisolver-dbg,
python-mock,
-   python-mpltoolkits.basemap ,
python-nose,
python-numpy,
python-numpy-dbg,

The package builds and passes autopkgtests with this, but that's all the 
testing it's had.  (The build-time tests are skipped with TypeError: 
object of type 'MarkDecorator' has no len().  I suspect this is an 
unrelated incompatibility with the current version of pytest, but 
haven't investigated.)




Bug#939303: matplotlib2: FTBFS unsatisfied b-d on python-pyshp

2019-09-02 Thread Johannes 'josch' Schauer
Source: matplotlib2
Version: 2.2.3-6
Severity: serious
Justification: fails to build from source

Hi,

src:matplotlib2 currently FTBFS because its build dependencies cannot be
satisfied in Debian unstable. It follows some evidence:

$ dose-builddebcheck --explain --failures --deb-native-arch amd64 
--checkonly=matplotlib2 Packages_main_amd64 Sources
output-version: 1.2
native-architecture: amd64
report:
 -
  package: matplotlib2
  version: 2.2.3-6
  architecture: any,all
  type: src
  status: broken
  reasons:
   -
missing:
 pkg:
  package: python-mpltoolkits.basemap
  version: 1.2.0+dfsg-1
  architecture: amd64
  unsat-dependency: python-pyshp:amd64
 depchains:
  -
   depchain:
-
 package: matplotlib2
 version: 2.2.3-6
 architecture: any,all
 type: src
 depends: python-mpltoolkits.basemap:amd64
 
binary-packages: 90294
source-packages: 30649
broken-packages: 1

Or the debcheck results:

https://qa.debian.org/dose/debcheck/src_unstable_main/1567400407/packages/matplotlib2.html

This failure is also important, because matplotlib2 is necessary to
compile build-essential. See the dependency graph here:

http://paste.debian.net/1098490/

Thanks!

cheers, josch