krunen / term-termios

termios routines for Rakudo Perl 6
Artistic License 2.0
7 stars 7 forks source link

Bug with zef temp dir #22

Open coke opened 8 months ago

coke commented 8 months ago

Came back after winter break to find that the REPL in raku was broken, complaining about a raku file missing from a temp dir.

Did a refresh install of raku latest with rakubrew, installed Terminal::LineEditor, worked.

Removed $TMPDIR/.zef, and the problem happened again. (assuming original problem was tmpdir getting cleaned after a reboot)

Did a force reinstall of Term::termios, and the problem was resolved. (This is one of the deps of Terminal::LineEditor)

This seems similar to https://github.com/ugexe/zef/issues/546

coke commented 8 months ago

Found this usage in LibraryMake, perhaps this is the culprit?

https://github.com/retupmoca/P6-LibraryMake/blob/0c77bfd6d730b9f7cc5990e53bade01817d84435/lib/LibraryMake.rakumod#L89

coke commented 3 months ago

Any progress on this? It's still impacting my local Raku installs on OS X

krunen commented 3 months ago

No, I have no idea how %?RESOURCES and LibraryMake actually works. If you know of a good working mod that does similar things, I can try to cargo-cult a different solution.