[racket] package dependancies, version exceptions, version dependancies, and pkg-build
On Jan 31, 2015, at 12:29 PM, Matthew Flatt <mflatt at cs.utah.edu> wrote:
> No, the version exception appears to be working fine, but it looks like
> there's a bug in the way that "pkg-build" decides which packages to
> retry.
Oh, okay.
> I see that the current pkg-build results for "typed-big-bang" are from
> yesterday, and the v6.1.1-specific mapping for "2htdp-typed" was added
> later.
I guess I missed that. I had just noticed that it was different from what it was before then.
> The change to "2htdp-typed" was correctly detected by the pkg-build
> service, which today tried to build out of the "v6.1.1" branch of
> "2htdp-typed". It ran into a problem, and it looks like the reported
> error really is a problem with the "v6.1.1" branch when running on
> v6.1.1.
Yes but this has been fixed now.
> Meanwhile, the pkg-build service today should have tried to rebuild
> "typed-big-bang", given that it had pulled an update to "2htdp-typed",
> and given that "typed-big-bang" declares a dependency on "2htdp-typed".
> When I try running pkg-build service again (I didn't let it run to
> completion), it does detect that "typed-big-bang" needs to be retried.
> So, the bug seems to be in "pkg-build" and its computation of the
> packages that need to be retried.
>
> I'll work on the "pkg-build" bug. Meanwhile, if "2htdp-typed" is
> changed further to work for v6.1.1, I expect that the pkg-build service
> will catch up within an extra day.
Ok, thanks!
> At Sat, 31 Jan 2015 11:45:49 -0500, "Alexander D. Knauth" wrote:
>> Weird things are happening with the pkg-build service with package
>> dependancies and version exceptions.
>> I have a package, typed-big-bang, which depends on another package,
>> 2htdp-typed.
>> 2htdp-typed has a version exception, so that for 6.1.1, which is what the
>> pkg-build service is using, it depends on htdp-lib, but for other versions, it
>> depends on htdp-lib version 1.2.
>> The pkg-build service builds the version for 6.1.1, which just depends on
>> htdp-lib, (not the 1.2), but when it starts building typed-big-bang, it says
>> that it can’t install it because 2htdp-typed depends on htdp-lib v1.2 and it’s
>> installed as 1.1 in a different scope. But shouldn’t it look at the version
>> exception for 6.1.1, which doesn’t have the dependency on htdp-lib 1.2, just
>> htdp-lib? Is this a bug, or are packages not supposed to depend on version
>> 1.2 of htdp-lib (even they have version exceptions that don’t), or what?
>>
>>
>> ____________________
>> Racket Users list:
>> http://lists.racket-lang.org/users