Niklas Hambüchen | 11 Jan 01:27 2013

Parallel cabal install ignores order

I have "jobs: 4" enabled in my cabal config to get parallel installs
with cabal-install >= 1.16.

When I do cabal install --reinstall --force-reinstalls world to
reinstall all packages (e.g. to enable profiling or shared), it fails
after some point, complaining that the required dependency package is
not compiled with the needed flag (for profiling / -dyn).

It looks like for reinstalls, parallel cabal-install simply ignores the
necessary order.

Can somebody confirm this or tell me if this is known?
If not, where should it be reported?

Thanks
Niklas
Ivan Lazar Miljenovic | 11 Jan 01:50 2013
Picon

Re: Parallel cabal install ignores order

On 11 January 2013 10:27, Niklas Hambüchen <mail <at> nh2.me> wrote:
> I have "jobs: 4" enabled in my cabal config to get parallel installs
> with cabal-install >= 1.16.
>
> When I do cabal install --reinstall --force-reinstalls world to
> reinstall all packages (e.g. to enable profiling or shared), it fails
> after some point, complaining that the required dependency package is
> not compiled with the needed flag (for profiling / -dyn).
>
> It looks like for reinstalls, parallel cabal-install simply ignores the
> necessary order.
>
> Can somebody confirm this or tell me if this is known?
> If not, where should it be reported?

As an off-the-cuff guess (not having had anything to do with
developing cabal-install, etc.), it probably _does_ take dependencies
into account... but it sees that the packages are all installed and
thus order isn't sufficient.  What it seemingly isn't taking into
account is the new requirement to have profiling or dynamic builds of
existing packages.

>
> Thanks
> Niklas
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe <at> haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
(Continue reading)

Niklas Hambüchen | 11 Jan 01:51 2013

Re: Parallel cabal install ignores order

Done: https://github.com/haskell/cabal/issues/1174

On 11/01/13 01:50, Ivan Lazar Miljenovic wrote:
> On 11 January 2013 10:27, Niklas Hambüchen <mail <at> nh2.me> wrote:
>> I have "jobs: 4" enabled in my cabal config to get parallel installs
>> with cabal-install >= 1.16.
>>
>> When I do cabal install --reinstall --force-reinstalls world to
>> reinstall all packages (e.g. to enable profiling or shared), it fails
>> after some point, complaining that the required dependency package is
>> not compiled with the needed flag (for profiling / -dyn).
>>
>> It looks like for reinstalls, parallel cabal-install simply ignores the
>> necessary order.
>>
>> Can somebody confirm this or tell me if this is known?
>> If not, where should it be reported?
> 
> As an off-the-cuff guess (not having had anything to do with
> developing cabal-install, etc.), it probably _does_ take dependencies
> into account... but it sees that the packages are all installed and
> thus order isn't sufficient.  What it seemingly isn't taking into
> account is the new requirement to have profiling or dynamic builds of
> existing packages.
> 
>>
>> Thanks
>> Niklas
>>
>> _______________________________________________
(Continue reading)


Gmane