Bug#881636: fix stage1/stage2 builds with updated debhelper
Package: src:glibc
Version: 2.24-17
Tags: patch
debhelper got a bit more strict, and now fails to build libc6.1-alphaev67 during
stage1 and stage2. The solution is not to build this optimized package during
stage1 and stage2.
--- glibc-2.24/debian/sysdeps/alpha.mk~ 2017-06-19 17:36:06.000000000 +0200
+++ glibc-2.24/debian/sysdeps/alpha.mk 2017-11-13 20:01:11.276751435 +0100
@@ -2,8 +2,10 @@
libc = libc6.1
# build an ev67 optimized library
+ifeq (,$(filter stage1 stage2, $(DEB_BUILD_PROFILES)))
GLIBC_PASSES += alphaev67
DEB_ARCH_REGULAR_PACKAGES += libc6.1-alphaev67
+endif
alphaev67_configure_target = alphaev67-linux-gnu
alphaev67_CC = $(CC) -mcpu=ev67 -mtune=ev67
alphaev67_CXX = $(CXX) -mcpu=ev67 -mtune=ev67
Reply to: