On Tue, 24 Jul 2018 04:26:26 -0700 ian_bruce--- via Inkscape-devel inkscape-devel@lists.sourceforge.net wrote:
On Tue, 24 Jul 2018 12:40:01 +0200 Marc Jeanmougin <marc@...3062...> wrote:
I think you should add the deb-src lines to sources.list
Is that really necessary? Presumably, the various "-dev" packages are what's needed for compilation.
$ grep deb-src /etc/apt/sources.list deb-src http://ftp.us.debian.org/debian/ stable main deb-src http://ftp.us.debian.org/debian/ testing main deb-src http://ftp.us.debian.org/debian/ unstable main deb-src http://ftp.us.debian.org/debian/ experimental main deb-src http://ftp.us.debian.org/debian/ stable-updates main deb-src http://security.debian.org/ stable/updates main
As you know deb-src repositories are for sources of Debian packages, not for sources of upstream software.
In theory `apt-get build-depend` should not require any source Debian packages, but it surely needs the info about the "inkscape" source package, maybe this is why deb-src repositories are necessary.
What does "apt-cache showsrc inkscape" tell when no deb-src URLs are configured?
Moreover, AFAIU, it also happens that some packages build-depend on other "source packages" instead of the single -dev ones, just for a matter of convenience.
That said, in any case be sure of two things: 1. always have an update package cache (apt-get update) 2. check that having multiple debian releases (stable, testing, unstable) at the same time do not result in conflicts. If these are _really_ needed set up pinning appropriately (man apt_preferences).
Ciao, Antonio