[Build-common-hackers] Bug#609500: Bug#609500: cdbs: list-missing doesn't work well with multiple flavors

Emilio Pozuelo Monfort pochu at debian.org
Sat Jan 15 20:37:32 UTC 2011


[ Let's CC the bug ]

On 10/01/11 11:00, Jonas Smedegaard wrote:
> On Sun, Jan 09, 2011 at 11:45:53PM +0000, Emilio Pozuelo Monfort wrote:
>> When building multiple flavors and installing them somewhere else than
>> debian/tmp, e.g. with:
>>
>> DEB_MAKE_DESTDIRSKEL = $(CURDIR)/debian/install/@FLAVOR@
>> DEB_MAKE_FLAVORS = shared static udeb
>>
>> list-missing will think everything has been installed because it only
>> looks at debian/tmp.
>>
>> We should make it more intelligent so it works in these cases.
>>
>> (Reporting here so I don't forget, I'll try to cook up a patch for this.)
> 
> Indeed - list-missing only deals with use of debian/tmp as staging area.
> 
> Curious as to how you imagine that can sanely be widened.

I haven't thought about it yet. gtk+ deals with it with its own script
though. It has in debian/rules:

list-missing:
	perl -w debian/dh_listmissing.pl $(foreach f,$(DEB_MAKE_FLAVORS),debian/install/$(f)) 2>&1 | \
	    egrep -v '(\.la|$(LIBDIR)/gtk-3.0/$(GTK_BINARY_VERSION)/[^/]+/[^/]+\.a) has been installed' >&2


Where dh_listmissing.pl is the attached file.

The output of that is (for gtk+ 2.99.2)


perl -w debian/dh_listmissing.pl debian/install/shared debian/install/shared_udeb debian/install/static 2>&1 | \
            egrep -v '(\.la|usr/lib/gtk-3.0/3.0.0/[^/]+/[^/]+\.a) has been installed' >&2
dh_listmissing.pl: usr/share/man/man1/gtk-query-immodules-3.0.1 has been installed upstream but is not in any package
dh_listmissing.pl: usr/share/man/man1/gtk-update-icon-cache.1 has been installed upstream but is not in any package
dh_listmissing.pl: usr/share/man/man1/gtk-builder-convert.1 has been installed upstream but is not in any package
dh_listmissing.pl: usr/share/man/man1/gtk-query-immodules-3.0.1 has been installed upstream but is not in any package
dh_listmissing.pl: usr/share/man/man1/gtk-update-icon-cache.1 has been installed upstream but is not in any package
dh_listmissing.pl: usr/share/man/man1/gtk-builder-convert.1 has been installed upstream but is not in any package
dh_listmissing.pl: usr/share/man/man1/gtk-query-immodules-3.0.1 has been installed upstream but is not in any package
dh_listmissing.pl: usr/share/man/man1/gtk-update-icon-cache.1 has been installed upstream but is not in any package
dh_listmissing.pl: usr/share/man/man1/gtk-builder-convert.1 has been installed upstream but is not in any package
dh_listmissing.pl: usr/lib/gtk-3.0/modules/libgail.a has been installed upstream but is not in any package
dh_listmissing.pl: usr/lib/gtk-3.0/modules/libferret.a has been installed upstream but is not in any package


Cheers,
Emilio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dh_listmissing.pl
Type: application/x-perl
Size: 1952 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20110115/f0c068d1/attachment.bin>


More information about the Build-common-hackers mailing list