Hello Kari, Op maandag 31-03-2008 om 13:04 uur [tijdzone +0300], schreef Kari Pahula: > dh_haskell_depends fails when processing dependencies on Debian native > Haskell library packages (CosmicRay, I'm looking at you). > > As an example, take libghc6-hslogger-dev. Its version is 1.0.5.0 as > of this writing. dh_haskell_depends tries to run sed -e 's/-[^-]*$/+/' > on that to add a plus after the string, which will fail. > > Consequently, this is the dependency I got for a library I'm > packaging: libghc6-hslogger-dev (>= 1.0.5.0), libghc6-hslogger-dev (<< > 1.0.5.0) > > That's not installable. A patch for this: > --- /usr/bin/dh_haskell_depends 2008-03-22 22:28:43.000000000 +0200 > +++ dh_haskell_depends 2008-03-31 12:59:39.000000000 +0300 > @@ -68,8 +68,8 @@ > local next_upstream_version > package=$1 > version=`dpkg-query --showformat='${Version}' -W $package` > - next_upstream_version=`echo $version | sed -e 's/-[^-]*$/+/'` > - echo "$package (>= $version), $package (<< $next_upstream_version)" > + next_upstream_version=`echo $version | sed -e 's/-[^-]*$//'` > + echo "$package (>= $version), $package (<< $next_upstream_version+)" > } > > dependencies(){ >
Thanks for the bug report and the patch. I will upload a fixed version in the next couple of days. Greetings Arjan
signature.asc
Description: Dit berichtdeel is digitaal ondertekend