[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#882158: stretch-pu: package glibc/2.24-11+deb9u2



control: retitle -1 stretch-pu: package glibc/2.24-11+deb9u3
control: tag -1 - pending
control: tag -1 - confirmed

On 2017-12-02 19:23, Adam D. Barratt wrote:
> Control: tags -1 + pending
> 
> On Fri, 2017-12-01 at 21:15 +0100, Aurelien Jarno wrote:
> > On 2017-12-01 19:49, Cyril Brulebois wrote:
> > > Adam D. Barratt <adam@adam-barratt.org.uk> (2017-11-24):
> > > > This looks OK to me, but will need a KiBi-ack; CCing.
> > > 
> > > lgtm; apologies for the delay.
> > 
> > Thanks, I have just uploaded it.
> 
> Flagged for acceptance.
> 

Unfortunately it didn't make in 9.3 due to the regression introduced wrt
/etc/ld.so.nohwcap (see bug#883394). The issue is due to the conversion
of libc6-i686 into a transitional package between jessie and stretch, and
dropping the postinst and postrm script handling the removal of
/etc/ld.so.nohwcap after the upgrade. The problem always existed in
stretch, but the probability for it to happen has been greatly increased
by the fix for #882272. The issue doesn't affect buster/sid as the
transitional package has been removed.

I have fixed the issue in version 2.24-11+deb9u3 by reintroducing the
postinst and postrm scripts in the transitional package. You will find
below the corresponding patch.

Thanks for considering it for 9.4.

Regards,
Aurelien


diff --git a/debian/changelog b/debian/changelog
index 15d804c1..bd4f4115 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+glibc (2.24-11+deb9u3) UNRELEASED; urgency=medium
+
+  [ Aurelien Jarno ]
+  * debian/rules.d/debhelper.mk: install the libc-otherbuild postinst and
+    postrm in the libc6-i686 transitional package, to make sure
+    /etc/ld.so.nohwcap is correctly removed after an upgrade.  Closes:
+    #883394.
+
+ -- Aurelien Jarno <aurel32@debian.org>  Wed, 06 Dec 2017 21:58:24 +0100
+
 glibc (2.24-11+deb9u2) stretch; urgency=medium
 
   [ Aurelien Jarno ]
diff --git a/debian/rules.d/debhelper.mk b/debian/rules.d/debhelper.mk
index 23de2220..97429175 100644
--- a/debian/rules.d/debhelper.mk
+++ b/debian/rules.d/debhelper.mk
@@ -147,6 +147,12 @@ $(stamp)debhelper-common:
 	  esac; \
 	done
 
+	# We need the NOHWCAP code also for the transitional libc6-i686 package
+ifeq ($(DEB_HOST_ARCH),i386)
+	cp debian/libc-otherbuild.postinst debian/libc6-i686.postinst
+	cp debian/libc-otherbuild.postrm debian/libc6-i686.postrm
+endif
+
 	# Install nscd systemd files on linux
 ifeq ($(DEB_HOST_ARCH_OS),linux)
 	cp nscd/nscd.service debian/nscd.service


-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net


Reply to: