Bug#163517: libc6: provides/depends asymmetry when building "local" glibc versions
> --- locales.mk-orig 2002-10-06 12:40:15.000000000 +0200
> +++ locales.mk 2002-10-06 12:40:37.000000000 +0200
> @@ -44,7 +44,7 @@
> perl -i -pe 'BEGIN {undef $$/; open(IN, "'"$(tmpdir)/$@$(datadir)/i18n/SUPPORTED"'"); $$j=<IN>;} s/__SUPPORTED_LOCALES__/$$j/g;' $(tmpdir)/$@/DEBIAN/config
>
> dpkg-gencontrol -isp -p$@ -P$(tmpdir)/$@ $($@_control_flags) \
> - -DDepends="glibc-$(DEBVERSION), debconf (>= 0.2.26)"
> + -DDepends="$(shell perl debian/debver2localesdep.pl $(DEBVERSION)), debconf (>= 0.2.26)"
> chown -R root.root $(tmpdir)/$@
> chmod -R go=rX $(tmpdir)/$@
> dpkg --build $(tmpdir)/$@ ..
This patch breaks binary-only NMU's, because they do not provide a
symetrical locales package (which is binary-all and isn't built for
binary-only builds).
If you want to build your own local version of glibc, take different
approach. For example, make the version 2:2.2.5-1 (note the epoch).
This relationship between locales/libc6 is too brittle already to worry
about local builds.
--
Debian - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
Deqo - http://www.deqo.com/
Reply to: