Your message dated Sun, 30 Dec 2007 17:32:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#457686: fixed in haskell-devscripts 0.6.0
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: haskell-devscripts
Version: 0.5.19
Tags: patch

The message "ghc-pkg: cannot find package <packagename>" appears when
installing or removing a package that uses dh_haskell.

The messages are somewhat misleading, as either you are trying to install that
particular package and you are told that the package doesn't exist ("That's
why I'm installing it!") or upon removing a package you are told that the
package doesn't exist ("I know, I just removed it!")

Patch attached.

  (The "|| true" suffix can be removed from postinst-ghc, as the exit code of
  a pipe is the exit code of the last element of it--sed--which will always
  return true in this case.)


Regards,

-- 
Chris Lamb, UK                                       [EMAIL PROTECTED]
                                                            GPG: 0x634F9A20
--- prerm-ghc.orig      2007-12-24 13:12:31.000000000 +0000
+++ prerm-ghc   2007-12-24 13:14:11.000000000 +0000
@@ -7,8 +7,7 @@
     deconfigure|remove)
        $GHC_PKG unregister #CABALNAME#-#CABALVERSION#
        rm -vf #PKGLIBDIR#/HS#CABALNAME#-#CABALVERSION#.o
-       OLDPACKAGE=`$GHC_PKG --global latest #CABALNAME#` \
-           2> /dev/null || true
+       OLDPACKAGE=`$GHC_PKG --global latest #CABALNAME# 2> /dev/null` || true
        if [ -n "$OLDPACKAGE" ] ; then
            $GHC_PKG expose $OLDPACKAGE || true
        fi

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: haskell-devscripts
Source-Version: 0.6.0

We believe that the bug you reported is fixed in the latest version of
haskell-devscripts, which is due to be installed in the Debian FTP archive:

haskell-devscripts_0.6.0.dsc
  to pool/main/h/haskell-devscripts/haskell-devscripts_0.6.0.dsc
haskell-devscripts_0.6.0.tar.gz
  to pool/main/h/haskell-devscripts/haskell-devscripts_0.6.0.tar.gz
haskell-devscripts_0.6.0_all.deb
  to pool/main/h/haskell-devscripts/haskell-devscripts_0.6.0_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Arjan Oosting <[EMAIL PROTECTED]> (supplier of updated haskell-devscripts 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 30 Dec 2007 18:07:23 +0100
Source: haskell-devscripts
Binary: haskell-devscripts
Architecture: source all
Version: 0.6.0
Distribution: unstable
Urgency: low
Maintainer: Arjan Oosting <[EMAIL PROTECTED]>
Changed-By: Arjan Oosting <[EMAIL PROTECTED]>
Description: 
 haskell-devscripts - Tools to help Debian developers build Haskell packages
Closes: 457686
Changes: 
 haskell-devscripts (0.6.0) unstable; urgency=low
 .
   * New version with the following features:
     - Separate build directories for each package haskell-devscripts
       handles. Users can properly split the monolithic dh_haskell call
       into a configure (dh_haskell_configure), build (dh_haskell_build)
       and install (dh_haskell_install) step.
     - Generates haddock generated API documentation, if the debian/control
       files contains a package section which name matches
       "haskell|libghc6)-.+-doc". The generated documentation is then
       install in that package.
     - Adds a new dh_haskell_depends command which generates the
       ${haskell:Depends} substitution variable for each library package.
       + For GHC6 libraries and GHC6 profiling libraries package this
         substitution variable contains a dependency on respectively ghc6
         or ghc6-prof AND the (profiling) libraries the library depends on.
       + For Hugs libraries it only contains a dependency on hugs.
   * Changes to generate haddock API documentation:
     - Change Dh_haskell.pm to recognize packages which match
       "haskell|libghc6)-.+-doc" as 'handled' packages.
     - dh_haskell_build generates haddock API documentation.
     - dh_haskell_install installs haddock API documentation.
   * Stop shipping empty directories in generated libghc6-* packages:
     - dh_haskell_install removes directories which are empty after the
       installation step.
   * Add dh_haskell_depends script to package.
   * Drop all code handling GHC 5 or nhc98 as Debian does not ship GHC5
     anymore, and the code will most likely be broken now anyway:
     - Cleanup dh_haskell_prep.
     - Cleanup Dh_Haskell.pm.
   * debian/control:
     - Add xutils-dev to the Depends as dh_haskell_configure needs lndir.
     - Add dctrl-tools to the Depends as dh_haskell_depends needs
       grep-dctrl.
     - Make myself the official maintainer and add John to the uploaders.
   * {postinst-ghc, prerm-ghc}:
     - Suppress confusing message from ghc-pkg when removing or upgrading
       package. Thanks Chris Lamb (Closes: #457686)
Files: 
 02cb139494e745408445514d628012b3 597 devel optional 
haskell-devscripts_0.6.0.dsc
 44675bcacdceebd48f5694f2a0110ba3 116652 devel optional 
haskell-devscripts_0.6.0.tar.gz
 9092c773ac1dd9e0fdea9a58d2688108 16142 devel optional 
haskell-devscripts_0.6.0_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHd9C7UALvsZYuOJARAgzmAJ0VL0fNQ1/TxA258tdvHpjPIuEiyQCfZlyU
88bXSQS9sMOGBqcOwMKHwAU=
=EDH5
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to