[Pkg-mozext-maintainers] Bug#732254: dh_xul-ext -a fails if "dpkg-vendor --query Vendor" returns anything other then "Debian" or "Ubuntu"
peter green
plugwash at p10link.net
Mon Dec 16 01:36:09 UTC 2013
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.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mozilla-devscripts.debdiff
URL: <http://lists.alioth.debian.org/pipermail/pkg-mozext-maintainers/attachments/20131216/6d8dfa81/attachment.ksh>
More information about the Pkg-mozext-maintainers
mailing list