[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ITP: glib2, gtk2, inti



Michèl Alexandre Salim <salimma1@yahoo.co.uk> writes:

> Have another problem though, when building libpango0 dpkg-gencontrol
> complained thus:
> 
> dpkg-gencontrol: warning: unknown substitution
> variable ${shlibs:Depends}

The line
	dh_shlibdeps -plibpango$(version)
should generate either substvars or libpango0.substvars. If it does,
dh_gencontrol is for some reason not picking that up. If it doesn't it
is either broken, or libpango0 does not depend on any library. You
check the latter case by using "ldd" on the shared library. It should
usually return at least the C library.

dh_* commands can be run by hand and with -v to get more information.
Or set DH_VERBOSE=1 for running debian/rules.

> Attached are the debian/control and debian/rules
> files.

Seem ok in looking over. One problem I saw is that you can't safely
run any of the binary targets twice (for example, because you just
fixed an error): install will not be re-run, because install-stamp is
up-to-date, but debian/tmp may not be intact due to "rm -rf" or
"dh_movefiles" in the binary targets. I'd remove install-stamp after
altering debian/tmp. Or do all moving around of files from debian/tmp
to pkg-dirs in the install target.

-- 
Robbe

Attachment: signature.ng
Description: PGP signature


Reply to: