[Pkg-haskell-maintainers] Bug#563916: Bug#563916: No newer upstream version

Marco Túlio Gontijo e Silva marcot at riseup.net
Sat Jan 9 16:56:07 UTC 2010


Sáb, 2010-01-09 às 12:52 -0200, Marco Túlio Gontijo e Silva escreveu: 
> Hi!
> 
> I'd just like to add that there's no newer upstream version of this
> package, so the alternatives I see for fixing this bug are:
> 
> 1. Check if it really can't be used with the current version of
> haskell-hdbc and patch haskelldb-hdbc to use it.
> 
> 2. Downgrade haskell-hdbc.
> 
> 3. Remove haskelldb-hdbc from the archive.
> 
> 1 seems much better for me.

I noticed there's no package that depends on any binary package
generated by haskelldb-hdbc which is not strictly related to the
package, so maybe 3 is not a very bad option.  I've made a haskell
scripts to check this (sorry for not being Shell or Perl):

-- base
import Control.Monad (foldM)
import Data.List (isPrefixOf)
import System.Environment (getArgs)

-- process
import System.Process (readProcess)

main :: IO ()
main = getArgs >>= rdepends [] . head >>= putStr . unlines

rdepends :: [String] -> String -> IO [String]
rdepends actual package
  = readProcess "apt-cache" ["rdepends", package] ""
    >>= foldM rdepends (package : actual)
      . filter (not . flip elem actual)
      . map (drop 2)
      . filter (isPrefixOf "  ")
      . lines

Running it:

marcot at zezinho:~/trabalho/livre/debian/rdepends$ ./rdepends
libghc6-haskelldb-hdbc-dev
libghc6-haskelldb-hdbc-odbc-dev
libghc6-haskelldb-hdbc-odbc-doc
libghc6-haskelldb-hdbc-odbc-dev
libghc6-haskelldb-hdbc-postgresql-dev
libghc6-haskelldb-hdbc-postgresql-doc
libghc6-haskelldb-hdbc-postgresql-dev
libghc6-haskelldb-hdbc-sqlite3-dev
libghc6-haskelldb-hdbc-sqlite3-doc
libghc6-haskelldb-hdbc-sqlite3-dev
libghc6-haskelldb-hdbc-doc
libghc6-haskelldb-hdbc-prof
libghc6-haskelldb-hdbc-dev
marcot at zezinho:~/trabalho/livre/debian/rdepends$ ./rdepends
libghc6-haskelldb-hdbc-doc
libghc6-haskelldb-hdbc-odbc-dev
libghc6-haskelldb-hdbc-odbc-doc
libghc6-haskelldb-hdbc-odbc-dev
libghc6-haskelldb-hdbc-postgresql-dev
libghc6-haskelldb-hdbc-postgresql-doc
libghc6-haskelldb-hdbc-postgresql-dev
libghc6-haskelldb-hdbc-sqlite3-dev
libghc6-haskelldb-hdbc-sqlite3-doc
libghc6-haskelldb-hdbc-sqlite3-dev
libghc6-haskelldb-hdbc-prof
libghc6-haskelldb-hdbc-dev
libghc6-haskelldb-hdbc-doc
marcot at zezinho:~/trabalho/livre/debian/rdepends$ ./rdepends
libghc6-haskelldb-hdbc-prof
libghc6-haskelldb-hdbc-odbc-dev
libghc6-haskelldb-hdbc-odbc-doc
libghc6-haskelldb-hdbc-odbc-dev
libghc6-haskelldb-hdbc-postgresql-dev
libghc6-haskelldb-hdbc-postgresql-doc
libghc6-haskelldb-hdbc-postgresql-dev
libghc6-haskelldb-hdbc-sqlite3-dev
libghc6-haskelldb-hdbc-sqlite3-doc
libghc6-haskelldb-hdbc-sqlite3-dev
libghc6-haskelldb-hdbc-doc
libghc6-haskelldb-hdbc-dev
libghc6-haskelldb-hdbc-prof

Greetings.
-- 
marcot
http://marcot.iaaeee.org/







More information about the Pkg-haskell-maintainers mailing list