[Pkg-mozext-maintainers] build with webext

Ximin Luo infinity0 at debian.org
Sat Nov 30 23:06:39 GMT 2019


Hi Mechtilde, these are dpkg substitution variables. To fix these warnings, add something like this to debian/control:

Recommends: [..], ${xpi:Depends}, ${webext:Recommends}, [..]

and etc for the other warnings.

The warnings have the prefix "dpkg-gencontrol:" indicating it's this program that's generating the warnings. If you run "man dpkg-gencontrol" and search for "subst" you will see at the bottom it points to the other man page "deb-substvars".

The actual variables in your case are generated by dh_xul-ext and dh_webext which each have their own man pages (or at least --help text). I am slightly surprised to see both ${xpi:*} and ${webext:*} in the same package however, so you may want to compare your package against other similar packages to see how they are doing things.

Ximin

Mechtilde Stehmann:
> Hello,
> 
> To build my tree webext packages tbsync, dav4tbsync and eas4tbsync I get
> these warnings:
> 
> dpkg-gencontrol: warning: Depends field of package webext-tbsync:
> substitution variable ${xpi:Depends} used, but is not defined
> dpkg-gencontrol: warning: Recommends field of package webext-tbsync:
> substitution variable ${xpi:Recommends} used, but is not defined
> dpkg-gencontrol: warning: Enhances field of package webext-tbsync:
> substitution variable ${xpi:Enhances} used, but is not defined
> dpkg-gencontrol: warning: Breaks field of package webext-tbsync:
> substitution variable ${xpi:Breaks} used, but is not defined
> dpkg-gencontrol: warning: Provides field of package webext-tbsync:
> substitution variable ${xpi:Provides} used, but is not defined
> dpkg-gencontrol: warning: package webext-tbsync: substitution variable
> ${webext:Enhances} unused, but is defined
> dpkg-gencontrol: warning: package webext-tbsync: substitution variable
> ${webext:Provides} unused, but is defined
> dpkg-gencontrol: warning: package webext-tbsync: substitution variable
> ${webext:Recommends} unused, but is defined
> 
> Can someone point me to a documentation how to fix it in a proper way?
> 
> Kind reards
> 
> 
> _______________________________________________
> Pkg-mozext-maintainers mailing list
> Pkg-mozext-maintainers at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-mozext-maintainers
> 


-- 
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git



More information about the Pkg-mozext-maintainers mailing list