--- 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