Kurt Roeckx <k...@roeckx.be> (30/12/2009):
> > Here is the debdiff of the quick fix I just uploaded. This is
> > _not_ intended as the correct permanent fix, but rather something
> > to keep the buildd chroots from breaking several times a
> > day... hence the emergency.
> It's broken again:
> Setting up fontconfig (2.8.0-1) ...
> /var/lib/dpkg/info/fontconfig.postinst: 27: defoma-app: not found
> dpkg: error processing fontconfig (--configure):
>  subprocess installed post-installation script returned error exit status 127
> [...]
> Removing fontconfig ...
> /var/lib/dpkg/info/fontconfig.prerm: 13: defoma-app: not found
> dpkg: error processing fontconfig (--purge):
>  subprocess installed pre-removal script returned error exit status 127

Same cause, same effect.

Please, Keith, could you, as package maintainer, please:
 1. reply to RC bugs filed against your packages;
 2. optionally fix them;
 3. or acknowledge NMUs instead of trashing the related changes, and
    triggering again RC bugs that were worked around, leading to
    uninstallable packages, broken buildds, etc.

I've just uploaded a package re-introducing Riku's changes to prevent
buildds to be fucked again after a couple of builds (which I repeat
needs manual intervention, which is not nice).

Please find the source debdiff attached.

Mraw,
KiBi.
diff -u fontconfig-2.8.0/debian/changelog fontconfig-2.8.0/debian/changelog
--- fontconfig-2.8.0/debian/changelog
+++ fontconfig-2.8.0/debian/changelog
@@ -1,3 +1,12 @@
+fontconfig (2.8.0-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Re-apply Riku's band-aid (introduced in 2.6.0-4.1 and 2.6.0-4.2, which
+    were not ACK'd) to unbreak the buildds again: Use “set +e” in postinst
+    and prerm instead of “set -e” (Closes: #559136).
+
+ -- Cyril Brulebois <k...@debian.org>  Wed, 30 Dec 2009 23:36:50 +0100
+
 fontconfig (2.8.0-1) unstable; urgency=low
 
   * upstream release of 2.8
diff -u fontconfig-2.8.0/debian/fontconfig.postinst fontconfig-2.8.0/debian/fontconfig.postinst
--- fontconfig-2.8.0/debian/fontconfig.postinst
+++ fontconfig-2.8.0/debian/fontconfig.postinst
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-set -e
+set +e
 
 if [ "$1" = triggered ]; then
   # Force regeneration of all fontconfig cache files.
@@ -10,8 +10,8 @@
 fi
 
 if [ "$1" = configure ]; then
-  # If defoma is installed, ensure Defoma subst file exists, with some default substitutions
-  if which defoma-subst > /dev/null && ! defoma-subst check-rule fontconfig; then
+  # Ensure Defoma subst file exists, with some default substitutions
+  if ! defoma-subst check-rule fontconfig; then
     defoma-subst new-rule fontconfig \
       'serif --GeneralFamily,* Roman --Shape Serif Upright --Weight Medium' \
       'sans-serif --GeneralFamily,* SansSerif --Shape NoSerif Upright --Weight Medium' \
only in patch2:
unchanged:
--- fontconfig-2.8.0.orig/debian/fontconfig.prerm
+++ fontconfig-2.8.0/debian/fontconfig.prerm
@@ -0,0 +1,7 @@
+#! /bin/sh
+
+set +e
+
+#DEBHELPER#
+
+exit 0

Attachment: signature.asc
Description: Digital signature

Reply via email to