Package: glibc Version: 2.28-10 Tags: patch https://wiki.debian.org/BuildProfileSpec documents noudeb specifically to disable building .udeb packages, but the glibc sources only honor the (deprecated!) stage1 profile. The attached patch disables building udebs if stage1 isn't given but noudeb is (stage1 already disabled them).
Cheers, Sven
--- debian/rules.orig 2019-06-19 13:59:00.249150884 +0200 +++ debian/rules 2019-06-19 14:00:35.224406795 +0200 @@ -138,7 +138,11 @@ else DEB_ARCH_REGULAR_PACKAGES = $(libc) $(libc)-dev $(libc)-dbg $(libc)-pic libc-bin libc-dev-bin multiarch-support DEB_INDEP_REGULAR_PACKAGES = glibc-doc glibc-source libc-l10n locales - DEB_UDEB_PACKAGES = $(libc)-udeb + ifneq ($(filter noudeb,$(DEB_BUILD_PROFILES)),) + DEB_UDEB_PACKAGES = + else + DEB_UDEB_PACKAGES = $(libc)-udeb + endif ## Locales can only be pre-generated during native compiles ifeq ($(DEB_HOST_ARCH),$(DEB_BUILD_ARCH)) DEB_ARCH_REGULAR_PACKAGES += locales-all