Package: src:basemap Version: 1.0.7+dfsg-3 User: [email protected] Usertags: binary-indep Severity: important
Dear maintainer: I tried to build this package with "dpkg-buildpackage -A" (i.e. only architecture-independent packages), and it failed: -------------------------------------------------------------------------------- [...] debian/rules build-indep # HACK: we need to import axes_grid1 but we need to import it from the "local" # mpl_toolkits namespace ln -s $(dirname $(python -c "import mpl_toolkits.axes_grid1 as p; print p.__file__")) /<<BUILDDIR>>/basemap-1.0.7+dfsg/$(python -c "from distutils.command.build import build ; from distutils.core import Distribution ; b = build(Distribution()) ; b.finalize_options() ; print b.build_platlib")/mpl_toolkits/ ln: target '/<<BUILDDIR>>/basemap-1.0.7+dfsg/build/lib.linux-x86_64-2.7/mpl_toolkits/' is not a directory: No such file or directory debian/rules:39: recipe for target 'build-indep' failed make: *** [build-indep] Error 1 dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2 -------------------------------------------------------------------------------- Sorry not to have a fix, as I am reporting many bugs similar to this one. The common hints are: * If the only architecture-independent packages are dummy transitional ones and they were released with jessie, the easy fix is to drop them now. * When using "dh", it is allowed to use (independently) optional targets override_dh_foo-arch and override_dh_foo-indep (for several values of "foo"). Once that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B" work properly, the package would be suitable to be uploaded in source-only form if you wish. Thanks.

