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

Re: FYI, extra-depends possibly broken



Hi,

Am Sonntag, den 31.05.2015, 23:35 +0200 schrieb Iustin Pop:
> 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.

I haven’t touched this either. Judging from the changelog, Giovanni
Mascellani wrote this code. Gio, can you comment on that?

Iustin, did you see the manpage for dh_haskell_extra_depends? But as you
say, it does not say a lot.

> 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?

Judging from the manpage, that seems to be the idea.

Greetings,
Joachim
-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: F0FBF51F
  JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: