Duncan Coutts | 13 Nov 17:42
Gravatar

Re: Re: Weird dependency failure log

On Fri, 2009-11-13 at 12:08 -0200, Maurí­cio CA wrote:
> >> There's one thing special about bindings-DSL. It's
> >> a package with a set of macros for hsc2hs, and contains
> >> no Haskell code. Maybe this revealed some hidden error
> >> in package dependency checking.
> > 
> > This is a package with no library and no executables.
> > That's not supposed to work.
> 
> It contains hsc2hs data all dependent packages use.
> 
> Why shouldn't this be supposed to work? It does install needed
> files (two include files for hsc2hs), and they do stand for
> themselves to justify a package of its own.

Header files are associated with a library. If there is no library then
nothing gets registered. This is by design.

> And other packages could also want to distribute just data. Say, a
> database of daytime saving dates to be used by a clock package.

If it's not a library, nothing can depend on it.

Duncan

Gmane