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

FYI, extra-depends possibly broken



Hi all,

Unless I'm mistaken, the extra-depends mechanism seems broken at the
moment, due to a bug introduced in the migration from makefiles rules to
Dh_Haskell.sh:

  $ debuild
  …
  dh_installdirs -plibghc-js-flot-dev 
  . /usr/share/haskell-devscripts/Dh_Haskell.sh && \
  install_dev_recipe "libghc-js-flot-dev"
  Running cd debian/tmp-inst-ghc
  Running mkdir -p usr/lib/haskell-packages/ghc/lib
  Running find usr/lib/haskell-packages/ghc/lib/ \( \! -name \*_p.a \! -name \*.p_hi \! -type d \) -exec install -Dm 644 \{\} ../libghc-js-flot-dev/\{\} \;
  Running install -Dm 644 js-flot-0.8.3.conf debian/libghc-js-flot-dev/var/lib/ghc/package.conf.d/js-flot-0.8.3.conf
  Running rm -f js-flot-0.8.3.conf
  /usr/share/haskell-devscripts/Dh_Haskell.sh: line 452: notdir: command not found
  Running mkdir -p debian//usr/lib/haskell-packages/extra-packages
  /usr/share/haskell-devscripts/Dh_Haskell.sh: line 453: debian/libghc-js-flot-dev/usr/lib/haskell-packages/extra-packages/js-flot-0.8.3: No such file or directory
  Running dh_haskell_provides -plibghc-js-flot-dev
  
With the result that the mechanism doesn't work - that, or I don't
understand how it's supposed to work, as the documentation is pretty
thin. I don't see any special configuration generated in the dev
package, so I presume it is broken.

There's another bug in the same function, so before committing a fix: is
the mechanism expected to generate a file
/usr/lib/haskell-packages/extra-packages/$PACKAGE-$VERSION containing
dpendencies in apt format?

regards,
iustin

Attachment: signature.asc
Description: Digital signature


Reply to: