[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#849943: matplotlib: Circular build dependency with basemap



Source: matplotlib
Version: 2.0.0~rc2-1
Severity: important
User: debian-68k@lists.debian.org
Usertags: m68k

Hi!

It's currently impossible to build matplotlib for new architectures
(i.e., to bootstrap the package) since there is a circular build
dependency with src:basemap:

(sid-m68k-sbuild)root@ikarus:~# apt-get build-dep matplotlib
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 builddeps:matplotlib : Depends: python3-mpltoolkits.basemap but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
(sid-m68k-sbuild)root@ikarus:~# apt install python3-mpltoolkits.basemap
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-mpltoolkits.basemap is already the newest version (1.0.7+dfsg-4).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 python3-mpltoolkits.basemap : Depends: python3-matplotlib but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
(sid-m68k-sbuild)root@ikarus:~#

A proper way to fix this problem is to use build profiles [1] which
have been supported in the build infrastructure and build tools
like sbuild for a while now.

Build profiles have been added to various source packages like
src:avahi [2]. More on circular build dependencies can be found
in [3].

Cheers,
Adrian

> [1] https://wiki.debian.org/BuildProfileSpec
> [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734669
> [3] https://wiki.debian.org/CircularBuildDependencies

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: