zef icon indicating copy to clipboard operation
zef copied to clipboard

Which rakudo versions does each Zef version support?

Open AlexDaniel opened this issue 5 years ago • 5 comments

OK so it could be that I forgot something but this is actually news to me. I was thinking that zef would be able to work on all rakudo releases after 2015.12, but apparently it doesn't:

Error while compiling /home/qhnwxdrpgyumlbzjekcs/zef/lib/Zef/Distribution.pm6
Distribution is not composable, so Zef::Distribution cannot compose it

That's the error message when trying to test JSON::Fast on 2015.12 using RakuDist.

Is it intentional? If so, what's the latest zef version that works on all releases after 2015.12?

CC @Altai-man

AlexDaniel avatar May 13 '20 23:05 AlexDaniel

I am putting the log here - https://gist.github.com/melezhik/821bc8982546844ddd5bc2d04e1b9f5e just because RakuDist probably won't be available tomorrow.

melezhik avatar May 14 '20 02:05 melezhik

At least starting from 2017.12 zef successfully compiles (I have not checked all older versions)

On version 2016.12 I could see another error:

[task check] stdout match <owner: <wsnejaxcqpmldibzruvf>> True
02:59:26 05/14/2020 [bash: git checkout https://github.com/ugexe/zef.git] /home/wsnejaxcqpmldibzruvf/zef
02:59:26 05/14/2020 [bash: git checkout https://github.com/ugexe/zef.git] stderr: Cloning into '.'...
02:59:45 05/14/2020 [bash: Installing zef for user wsnejaxcqpmldibzruvf] stderr: ===SORRY!===
02:59:45 05/14/2020 [bash: Installing zef for user wsnejaxcqpmldibzruvf] stderr: Failed to find the zef config file at: /home/wsnejaxcqpmldibzruvf/.config/zef/config.json, /home/wsnejaxcqpmldibzruvf/resources
02:59:45 05/14/2020 [bash: Installing zef for user wsnejaxcqpmldibzruvf] stderr: /config.json
02:59:45 05/14/2020 [bash: Installing zef for user wsnejaxcqpmldibzruvf] <empty stdout>
02:59:45 05/14/2020 [bash: Installing zef for user wsnejaxcqpmldibzruvf] task exit status: 1
02:59:45 05/14/2020 [bash: Installing zef for user wsnejaxcqpmldibzruvf] task bash: Installing zef for user wsnejaxcqpmldibzruvf FAILED
The spawned command 'docker exec -i debian-rakudist sh /root/.sparrowdo/env/debian/.sparrowdo/sparrowrun.sh' exited unsuccessfully (exit code: 1)
  in block <unit> at /home/scheck/.perl6/resources/8559FE47B4BF78E564CD92DF041AEA038C859845 line 17

HTH

melezhik avatar May 14 '20 03:05 melezhik

There have been many breakages of zef by rakudo core (especially in the early years), so no there is no one version of zef that works on all rakudo versions.

ugexe avatar May 14 '20 11:05 ugexe

As for which versions support which versions... I dunno. I’ve always used a version from around the same time range as a given rakudo version. Of course you still have to make e.g. Blin understand the stdout changes, the bugs that have since been fixed in zef, etc.

ugexe avatar May 14 '20 11:05 ugexe

maybe one of the *6 bots can be used to figure out the compatible versions.

coke avatar Sep 21 '22 23:09 coke