Bug#881454: glibc: don't try build shared library packages when stage1
Package: src:glibc
Version: 2.24-17
Since libc6/libc6.1 etc are marked as
Build-Profiles: <!stage1>
So we need to disabled them in
DEB_ARCH_REGULAR_PACKAGES
--
YunQiang Su
diff --git a/debian/rules b/debian/rules
index a7a6ed1..a18e268 100755
--- a/debian/rules
+++ b/debian/rules
@@ -165,7 +165,11 @@ standard-add-ons = libidn,
ifeq ($(filter nobiarch,$(DEB_BUILD_PROFILES)),)
GLIBC_PASSES += $(GLIBC_MULTILIB_PASSES)
+ifeq ($(filter stage1,$(DEB_BUILD_PROFILES)),)
DEB_ARCH_REGULAR_PACKAGES += $(DEB_ARCH_MULTILIB_PACKAGES)
+else
+DEB_ARCH_REGULAR_PACKAGES += $(filter libc6-dev-%,$(DEB_ARCH_MULTILIB_PACKAGES))
+endif
endif
# Don't run dh_strip on this package
Reply to: