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

Colin Watson cjwatson at ubuntu.com
Fri Oct 4 15:45:30 UTC 2013


Package: node-xmlhttprequest
Version: 1.5.0-1
Severity: important
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch saucy

node-xmlhttprequest 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-xmlhttprequest's 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-xmlhttprequest-1.5.0/debian/control node-xmlhttprequest-1.5.0/debian/control
--- node-xmlhttprequest-1.5.0/debian/control	2013-05-18 20:41:23.000000000 +0100
+++ node-xmlhttprequest-1.5.0/debian/control	2013-10-04 16:44:42.000000000 +0100
@@ -7,6 +7,7 @@
  Mike Gabriel <sunweaver at debian.org>,
 Build-Depends:
  debhelper (>= 8.0.0),
+ nodejs,
 Standards-Version: 3.9.4
 Homepage: http://github.com/driverdan/node-xmlhttprequest
 Vcs-Git: git://git.debian.org/collab-maint/node-xmlhttprequest.git

Thanks,

-- 
Colin Watson                                       [cjwatson at ubuntu.com]



More information about the Pkg-javascript-devel mailing list