[Pkg-javascript-devel] Bug#725362: node-bones: present but uninstallable on architectures lacking nodejs

Colin Watson cjwatson at ubuntu.com
Fri Oct 4 15:34:19 UTC 2013


Package: node-bones
Version: 2.0.1+ds1-4
Severity: important
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch saucy

node-bones is present but uninstallable on a number of Debian
architectures that lack nodejs.  There is no point shipping it on these
architectures, and it introduces noise for anything trying to do
dependency consistency checks.

While it would be possible to fix this by explicitly limiting
node-bones' architecture list, this would require keeping that in sync
with nodejs over time; so it's better to add an artificial
build-dependency on nodejs to ensure that the package will harmlessly
enter a dependency-wait state when it isn't available.  You'll probably
need to get an ftpmaster to manually remove the old binaries after
uploading this.

  * Artificially build-depend on nodejs, to ensure that this package only
    builds on architectures where nodejs is available.

diff -Nru node-bones-2.0.1+ds1/debian/control node-bones-2.0.1+ds1/debian/control
--- node-bones-2.0.1+ds1/debian/control	2012-09-20 10:00:20.000000000 +0100
+++ node-bones-2.0.1+ds1/debian/control	2013-10-04 16:26:06.000000000 +0100
@@ -6,6 +6,7 @@
 Build-Depends:
  debhelper (>= 8~)
  , dh-buildinfo
+ , nodejs
 Standards-Version: 3.9.4
 Homepage: https://github.com/developmentseed/bones
 Vcs-Git: git://git.debian.org/collab-maint/node-bones.git

Thanks,

-- 
Colin Watson                                       [cjwatson at ubuntu.com]



More information about the Pkg-javascript-devel mailing list