Your message dated Sat, 21 Dec 2013 22:34:29 +0000
with message-id <[email protected]>
and subject line Bug#732254: fixed in mozilla-devscripts 0.35
has caused the Debian Bug report #732254,
regarding dh_xul-ext -a fails if "dpkg-vendor --query Vendor" returns anything
other then "Debian" or "Ubuntu"
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
732254: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732254
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mozilla-devscripts
While building enigmail for raspbian one of our autobuilders ran into
the following error.
make[1]: Leaving directory `/«PKGBUILDDIR»'
dh_xul-ext -a
dh_xul-ext: Unknown vendor "Raspbian" specified.
Some investigation revealed that the code uses "dpkg-vendor --query
Vendor" to determine the vendor name. It then looks for a file called
/usr/share/mozilla-devscripts/xul-app-data.csv.<Vendor>, if it doesn't
find it it fails.
It appears the intent of this is to use different options on Debian and
Ubuntu. However it leads to failure on other derivatives which is
obviously undesirable.
You could try and add entries for all derivatives explicitly but I don't
think that is a good soloution (in particular I belive we should strive
to make life as easy as possible for new derivatives). IMO what you
should be doing is distinguishing Ubuntu and it's derivatives from
Debian and it's non-ubuntu based derivatives by using "dpkg-vendor
--derives-from Ubuntu". I went ahead and implemented this.
Debdiff attatched, no intent to NMU.
diff -Nru mozilla-devscripts-0.34/debian/changelog
mozilla-devscripts-0.34+rpi1/debian/changelog
--- mozilla-devscripts-0.34/debian/changelog 2013-04-15 10:55:22.000000000
+0000
+++ mozilla-devscripts-0.34+rpi1/debian/changelog 2013-12-16
01:25:26.000000000 +0000
@@ -1,3 +1,11 @@
+mozilla-devscripts (0.34+rpi1) jessie-staging; urgency=medium
+
+ * Use dpkg-vendor --derives-from Ubuntu instead of dpkg-vendor --query vendor
+ in dh_xul-ext so Ubuntu derivatives get treated like Ubuntu and non-ubuntu
+ based debian derivatives get treated like debian.
+
+ -- Peter Michael Green <[email protected]> Mon, 16 Dec 2013 01:24:15
+0000
+
mozilla-devscripts (0.34) unstable; urgency=low
* Add Iceowl to xpi:Depends auto-detection. Thanks to Matthias Schmitz for
diff -Nru mozilla-devscripts-0.34/dh_xul-ext
mozilla-devscripts-0.34+rpi1/dh_xul-ext
--- mozilla-devscripts-0.34/dh_xul-ext 2012-12-07 00:57:57.000000000 +0000
+++ mozilla-devscripts-0.34+rpi1/dh_xul-ext 2013-12-16 01:08:33.000000000
+0000
@@ -125,9 +125,18 @@
if _VENDOR_ENV in os.environ:
vendor = os.environ[_VENDOR_ENV]
else:
- cmd = ["dpkg-vendor", "--query", "Vendor"]
- process = subprocess.Popen(cmd, stdout=subprocess.PIPE)
- vendor = process.communicate()[0].strip()
+ #cmd = ["dpkg-vendor", "--query", "Vendor"]
+ #process = subprocess.Popen(cmd, stdout=subprocess.PIPE)
+ #vendor = process.communicate()[0].strip()
+ #Use dpkg-vendor --derives-from Ubuntu rathe than dpkg-vendor --query
+ #So Ubuntu derivatives get treated like ubuntu and non-ubuntu based
+ #Debian derivatives get treated like Debian.
+ cmd = ["dpkg-vendor", "--derives-from", "Ubuntu"]
+ retval = subprocess.call(cmd);
+ if (retval == 0):
+ vendor = "Ubuntu"
+ else:
+ vendor = "Debian"
return vendor
def get_xul_apps(script_name, all_distros):
--- End Message ---
--- Begin Message ---
Source: mozilla-devscripts
Source-Version: 0.35
We believe that the bug you reported is fixed in the latest version of
mozilla-devscripts, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Benjamin Drung <[email protected]> (supplier of updated mozilla-devscripts
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 21 Dec 2013 22:36:07 +0100
Source: mozilla-devscripts
Binary: mozilla-devscripts
Architecture: source all
Version: 0.35
Distribution: unstable
Urgency: low
Maintainer: Debian Mozilla Extension Maintainers
<[email protected]>
Changed-By: Benjamin Drung <[email protected]>
Description:
mozilla-devscripts - Development scripts used by Mozilla's addons packages
Closes: 732254
Changes:
mozilla-devscripts (0.35) unstable; urgency=low
.
* dh_xul-ext: Use "dpkg-vendor --derives-from Ubuntu" instead of
"dpkg-vendor --query vendor" so Ubuntu derivatives get treated like
Ubuntu and non-Ubuntu based Debian derivatives get treated like Debian.
Thanks to Peter Michael Green for the patch (Closes: #732254)
* Bump Standards-Version to 3.9.5 (no changes required).
* Use debhelper 9.
Checksums-Sha1:
7b5d1f8ea4ec5f558d5a909055515d178bf61d0b 1767 mozilla-devscripts_0.35.dsc
91e6611ea70fc34bab4efd2d4f18512a5dc128bb 44564 mozilla-devscripts_0.35.tar.gz
92d5429c7197a94cefb109ef65f03a20d8a48663 35016 mozilla-devscripts_0.35_all.deb
Checksums-Sha256:
8be7e0983e98c70f7a879fc6a4deaf3cb821235fedd141fef5ca02a0badaa362 1767
mozilla-devscripts_0.35.dsc
2f344014dc27acc745e5aa726357c6e3bd8f6020ba6f29ca128a96a367b16bd5 44564
mozilla-devscripts_0.35.tar.gz
1fc642ef2cf1c63e2683ba8288772cb8b1bd463d920ed674c9ed736963167d2f 35016
mozilla-devscripts_0.35_all.deb
Files:
229fe52d3fc82ca1a2c461df9552a8eb 1767 devel optional
mozilla-devscripts_0.35.dsc
df8a8f48a3e09688a4769b1e018bbd24 44564 devel optional
mozilla-devscripts_0.35.tar.gz
8118998524954c10a8b118676b7515b5 35016 devel optional
mozilla-devscripts_0.35_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
iQIcBAEBCgAGBQJSthXuAAoJEBWetcTvyHdMbjYP/RiE3AtRIHGP/UVXkW4/7x0q
7CxgKwc4yWUjxN70KtVTLi4WWSd5xLna7OEtPL8SrEm7cLiSOoZV5wL4W1v+BR7h
9O3aBv6V+2LZp2lzc40FN3EKPfUVvSBcJYMaBkK0z7dIqAFLd7NI0sfdRr6UY3vp
54AwfFNXAp+fZz6unvXrYNEo2vFKyYuQ3cALs2GycUvDK3bcrLBqL0FJsZgJCKuH
q3hXpCOHuLy4SgVl4N3iITKyVolZcn/9jnUAEGim4DV7kGt4RGghqqnRik7gJPTv
1W7cn+IgLlqTgxUxIzL29e9zCuCdoAA5o7VXxY9N+L38SIYgAsNRu4dFUCMv4sq1
W3eBc286EVgu21MAaoQQEGOXy8J6TkDSYRMvwTy4UwO5yNGFzi2SMfxr30paFU2D
jAN+HrqqfzLtZipzUi948L8teLt28/0eYJhCFU25v+80LHAj6x3QENfb3u8+ScQs
E/VydMbr4Pbe9xDMvLd332CdQ/02m3l1o2v0lZTABq9TRJF1VjnlJiIb6lnv9/hn
t4GMAr27NFdrg+Y4QSoCxAZOUjS4s203FOIuH0Femv0OSI1brOlFeeH+rwzYi5mQ
yUYnngesdgfSf9AE+3MBcKeYI3ZrHhps7DEigFV2teVQ6Wf+6WypJpgZNZSz7Reh
NlWTSts6rW0wb/GKD5Cl
=u44t
-----END PGP SIGNATURE-----
--- End Message ---