Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install fails on windows #4

Closed
coke opened this issue Dec 5, 2024 · 14 comments
Closed

Install fails on windows #4

coke opened this issue Dec 5, 2024 · 14 comments

Comments

@coke
Copy link

coke commented Dec 5, 2024

My versions:

PS C:\dev\Log-Timeline> raku --version
Welcome to Rakudo™ v2024.10.
Implementing the Raku® Programming Language v6.d.
Built on MoarVM version 2024.10.
PS C:\dev\Log-Timeline> sw_vers

C:\dev\Log-Timeline>systeminfo   | findstr /B /C:"OS Name" /C:"OS Version"
OS Name:                   Microsoft Windows 11 Enterprise
OS Version:                10.0.22631 N/A Build 22631

Installing via zef:

PS C:\dev\Log-Timeline> zef install --deps-only .
===> Searching for missing dependencies: CBOR::Simple
===> Staging CBOR::Simple:ver<0.1.3>:auth<zef:japhb>
===> Staging [OK] for CBOR::Simple:ver<0.1.3>:auth<zef:japhb>
===> Testing: CBOR::Simple:ver<0.1.3>:auth<zef:japhb>
[CBOR::Simple] ===SORRY!=== Error while compiling C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3/t\00-use.rakutest
[CBOR::Simple] ===SORRY!=== Error while compiling C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3\t\lib\CodecMatches.rakumod (CodecMatches)
[CBOR::Simple] Failed to open file C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3\t\lib\.precomp\680F99BD865C3D766C794A0EC4B97228EFDC44AE\53\53FF1C9FC46928B77B0E7C9827274288ED080164.repo-id.BZH6F7F4IL3K6YH9GQ0TD61GG.tmp: No such file or directory
[CBOR::Simple] at C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3\t\lib\CodecMatches.rakumod (CodecMatches):2
[CBOR::Simple] Actually thrown at:
[CBOR::Simple]   in method throw at 'SETTING::'src/core.c/Exception.rakumod line 65
[CBOR::Simple]   in method throw at 'SETTING::'src/core.c/Failure.rakumod line 65
[CBOR::Simple]   in method sink at 'SETTING::'src/core.c/Failure.rakumod line 120
[CBOR::Simple]   in method store-repo-id at 'SETTING::'src/core.c/CompUnit/PrecompilationStore/FileSystem.rakumod line 216
[CBOR::Simple]   in method load-dependencies at 'SETTING::'src/core.c/CompUnit/PrecompilationRepository.rakumod line 247
[CBOR::Simple]   in method load at 'SETTING::'src/core.c/CompUnit/PrecompilationRepository.rakumod line 282
[CBOR::Simple]   in method try-load at 'SETTING::'src/core.c/CompUnit/PrecompilationRepository.rakumod line 60
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/Installation.rakumod line 618
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/Installation.rakumod line 670
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/Installation.rakumod line 670
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/Installation.rakumod line 670
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/Installation.rakumod line 670
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/FileSystem.rakumod line 139
[CBOR::Simple]   in any statement_control at C:\rakubrew\versions\moar-2024.10\bin\..\share\perl6\lib/Perl6/Grammar.moarvm line 1
[CBOR::Simple] at C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3/t\00-use.rakutest:10
[CBOR::Simple] ===SORRY!=== Error while compiling C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3/t\01-basic.rakutest
[CBOR::Simple] ===SORRY!=== Error while compiling C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3\t\lib\CodecMatches.rakumod (CodecMatches)
[CBOR::Simple] Failed to open file C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3\t\lib\.precomp\680F99BD865C3D766C794A0EC4B97228EFDC44AE\53\53FF1C9FC46928B77B0E7C9827274288ED080164.repo-id.8QNGFVGIYHCRIO3UJ3Q6NWZXZ.tmp: No such file or directory
[CBOR::Simple] at C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3\t\lib\CodecMatches.rakumod (CodecMatches):2
[CBOR::Simple] Actually thrown at:
[CBOR::Simple]   in method throw at 'SETTING::'src/core.c/Exception.rakumod line 65
[CBOR::Simple]   in method throw at 'SETTING::'src/core.c/Failure.rakumod line 65
[CBOR::Simple]   in method sink at 'SETTING::'src/core.c/Failure.rakumod line 120
[CBOR::Simple]   in method store-repo-id at 'SETTING::'src/core.c/CompUnit/PrecompilationStore/FileSystem.rakumod line 216
[CBOR::Simple]   in method load-dependencies at 'SETTING::'src/core.c/CompUnit/PrecompilationRepository.rakumod line 247
[CBOR::Simple]   in method load at 'SETTING::'src/core.c/CompUnit/PrecompilationRepository.rakumod line 282
[CBOR::Simple]   in method try-load at 'SETTING::'src/core.c/CompUnit/PrecompilationRepository.rakumod line 60
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/Installation.rakumod line 618
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/Installation.rakumod line 670
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/Installation.rakumod line 670
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/Installation.rakumod line 670
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/Installation.rakumod line 670
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/FileSystem.rakumod line 139
[CBOR::Simple]   in any statement_control at C:\rakubrew\versions\moar-2024.10\bin\..\share\perl6\lib/Perl6/Grammar.moarvm line 1
[CBOR::Simple] at C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3/t\01-basic.rakutest:3
[CBOR::Simple] ===SORRY!=== Error while compiling C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3/t\02-malformed.rakutest
[CBOR::Simple] ===SORRY!=== Error while compiling C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3\t\lib\CodecMatches.rakumod (CodecMatches)
[CBOR::Simple] Failed to open file C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3\t\lib\.precomp\680F99BD865C3D766C794A0EC4B97228EFDC44AE\53\53FF1C9FC46928B77B0E7C9827274288ED080164.repo-id.4OUS6GDCOQOXPL1G83SRCFQLB.tmp: No such file or directory
[CBOR::Simple] at C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3\t\lib\CodecMatches.rakumod (CodecMatches):2
[CBOR::Simple] Actually thrown at:
[CBOR::Simple]   in method throw at 'SETTING::'src/core.c/Exception.rakumod line 65
[CBOR::Simple]   in method throw at 'SETTING::'src/core.c/Failure.rakumod line 65
[CBOR::Simple]   in method sink at 'SETTING::'src/core.c/Failure.rakumod line 120
[CBOR::Simple]   in method store-repo-id at 'SETTING::'src/core.c/CompUnit/PrecompilationStore/FileSystem.rakumod line 216
[CBOR::Simple]   in method load-dependencies at 'SETTING::'src/core.c/CompUnit/PrecompilationRepository.rakumod line 247
[CBOR::Simple]   in method load at 'SETTING::'src/core.c/CompUnit/PrecompilationRepository.rakumod line 282
[CBOR::Simple]   in method try-load at 'SETTING::'src/core.c/CompUnit/PrecompilationRepository.rakumod line 60
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/Installation.rakumod line 618
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/Installation.rakumod line 670
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/Installation.rakumod line 670
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/Installation.rakumod line 670
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/Installation.rakumod line 670
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/FileSystem.rakumod line 139
[CBOR::Simple]   in any statement_control at C:\rakubrew\versions\moar-2024.10\bin\..\share\perl6\lib/Perl6/Grammar.moarvm line 1
[CBOR::Simple] at C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3/t\02-malformed.rakutest:3
[CBOR::Simple] ===SORRY!=== Error while compiling C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3/t\03-diagnostic.rakutest
[CBOR::Simple] ===SORRY!=== Error while compiling C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3\t\lib\CodecMatches.rakumod (CodecMatches)
[CBOR::Simple] Failed to open file C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3\t\lib\.precomp\680F99BD865C3D766C794A0EC4B97228EFDC44AE\53\53FF1C9FC46928B77B0E7C9827274288ED080164.repo-id.41X4G49AVZLSKJ31R2C4OGNRK.tmp: No such file or directory
[CBOR::Simple] at C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3\t\lib\CodecMatches.rakumod (CodecMatches):2
[CBOR::Simple] Actually thrown at:
[CBOR::Simple]   in method throw at 'SETTING::'src/core.c/Exception.rakumod line 65
[CBOR::Simple]   in method throw at 'SETTING::'src/core.c/Failure.rakumod line 65
[CBOR::Simple]   in method sink at 'SETTING::'src/core.c/Failure.rakumod line 120
[CBOR::Simple]   in method store-repo-id at 'SETTING::'src/core.c/CompUnit/PrecompilationStore/FileSystem.rakumod line 216
[CBOR::Simple]   in method load-dependencies at 'SETTING::'src/core.c/CompUnit/PrecompilationRepository.rakumod line 247
[CBOR::Simple]   in method load at 'SETTING::'src/core.c/CompUnit/PrecompilationRepository.rakumod line 282
[CBOR::Simple]   in method try-load at 'SETTING::'src/core.c/CompUnit/PrecompilationRepository.rakumod line 60
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/Installation.rakumod line 618
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/Installation.rakumod line 670
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/Installation.rakumod line 670
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/Installation.rakumod line 670
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/Installation.rakumod line 670
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/FileSystem.rakumod line 139
[CBOR::Simple]   in any statement_control at C:\rakubrew\versions\moar-2024.10\bin\..\share\perl6\lib/Perl6/Grammar.moarvm line 1
[CBOR::Simple] at C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3/t\03-diagnostic.rakutest:3
[CBOR::Simple] ===SORRY!=== Error while compiling C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3/t\04-tags.rakutest
[CBOR::Simple] ===SORRY!=== Error while compiling C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3\t\lib\CodecMatches.rakumod (CodecMatches)
[CBOR::Simple] Failed to open file C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3\t\lib\.precomp\680F99BD865C3D766C794A0EC4B97228EFDC44AE\53\53FF1C9FC46928B77B0E7C9827274288ED080164.repo-id.15YXY8MTKQEH96IYCVQMPJE6F.tmp: No such file or directory
[CBOR::Simple] at C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3\t\lib\CodecMatches.rakumod (CodecMatches):2
[CBOR::Simple] Actually thrown at:
[CBOR::Simple]   in method throw at 'SETTING::'src/core.c/Exception.rakumod line 65
[CBOR::Simple]   in method throw at 'SETTING::'src/core.c/Failure.rakumod line 65
[CBOR::Simple]   in method sink at 'SETTING::'src/core.c/Failure.rakumod line 120
[CBOR::Simple]   in method store-repo-id at 'SETTING::'src/core.c/CompUnit/PrecompilationStore/FileSystem.rakumod line 216
[CBOR::Simple]   in method load-dependencies at 'SETTING::'src/core.c/CompUnit/PrecompilationRepository.rakumod line 247
[CBOR::Simple]   in method load at 'SETTING::'src/core.c/CompUnit/PrecompilationRepository.rakumod line 282
[CBOR::Simple]   in method try-load at 'SETTING::'src/core.c/CompUnit/PrecompilationRepository.rakumod line 60
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/Installation.rakumod line 618
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/Installation.rakumod line 670
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/Installation.rakumod line 670
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/Installation.rakumod line 670
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/Installation.rakumod line 670
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/FileSystem.rakumod line 139
[CBOR::Simple]   in any statement_control at C:\rakubrew\versions\moar-2024.10\bin\..\share\perl6\lib/Perl6/Grammar.moarvm line 1
[CBOR::Simple] at C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3/t\04-tags.rakutest:3
[CBOR::Simple] ===SORRY!=== Error while compiling C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3/t\05-malformed-tags.rakutest
[CBOR::Simple] ===SORRY!=== Error while compiling C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3\t\lib\CodecMatches.rakumod (CodecMatches)
[CBOR::Simple] Failed to open file C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3\t\lib\.precomp\680F99BD865C3D766C794A0EC4B97228EFDC44AE\53\53FF1C9FC46928B77B0E7C9827274288ED080164.repo-id.AE7ZX0BHVRYDGAYVRUF2TIQHK.tmp: No such file or directory
[CBOR::Simple] at C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3\t\lib\CodecMatches.rakumod (CodecMatches):2
[CBOR::Simple] Actually thrown at:
[CBOR::Simple]   in method throw at 'SETTING::'src/core.c/Exception.rakumod line 65
[CBOR::Simple]   in method throw at 'SETTING::'src/core.c/Failure.rakumod line 65
[CBOR::Simple]   in method sink at 'SETTING::'src/core.c/Failure.rakumod line 120
[CBOR::Simple]   in method store-repo-id at 'SETTING::'src/core.c/CompUnit/PrecompilationStore/FileSystem.rakumod line 216
[CBOR::Simple]   in method load-dependencies at 'SETTING::'src/core.c/CompUnit/PrecompilationRepository.rakumod line 247
[CBOR::Simple]   in method load at 'SETTING::'src/core.c/CompUnit/PrecompilationRepository.rakumod line 282
[CBOR::Simple]   in method try-load at 'SETTING::'src/core.c/CompUnit/PrecompilationRepository.rakumod line 60
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/Installation.rakumod line 618
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/Installation.rakumod line 670
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/Installation.rakumod line 670
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/Installation.rakumod line 670
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/Installation.rakumod line 670
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/FileSystem.rakumod line 139
[CBOR::Simple]   in any statement_control at C:\rakubrew\versions\moar-2024.10\bin\..\share\perl6\lib/Perl6/Grammar.moarvm line 1
[CBOR::Simple] at C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3/t\05-malformed-tags.rakutest:3
[CBOR::Simple] ===SORRY!=== Error while compiling C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3/t\06-typed-arrays.rakutest
[CBOR::Simple] ===SORRY!=== Error while compiling C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3\t\lib\CodecMatches.rakumod (CodecMatches)
[CBOR::Simple] Failed to open file C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3\t\lib\.precomp\680F99BD865C3D766C794A0EC4B97228EFDC44AE\53\53FF1C9FC46928B77B0E7C9827274288ED080164.repo-id.2XZBQ87YFKJYJTUH0S0G932A1.tmp: No such file or directory
[CBOR::Simple] at C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3\t\lib\CodecMatches.rakumod (CodecMatches):2
[CBOR::Simple] Actually thrown at:
[CBOR::Simple]   in method throw at 'SETTING::'src/core.c/Exception.rakumod line 65
[CBOR::Simple]   in method throw at 'SETTING::'src/core.c/Failure.rakumod line 65
[CBOR::Simple]   in method sink at 'SETTING::'src/core.c/Failure.rakumod line 120
[CBOR::Simple]   in method store-repo-id at 'SETTING::'src/core.c/CompUnit/PrecompilationStore/FileSystem.rakumod line 216
[CBOR::Simple]   in method load-dependencies at 'SETTING::'src/core.c/CompUnit/PrecompilationRepository.rakumod line 247
[CBOR::Simple]   in method load at 'SETTING::'src/core.c/CompUnit/PrecompilationRepository.rakumod line 282
[CBOR::Simple]   in method try-load at 'SETTING::'src/core.c/CompUnit/PrecompilationRepository.rakumod line 60
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/Installation.rakumod line 618
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/Installation.rakumod line 670
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/Installation.rakumod line 670
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/Installation.rakumod line 670
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/Installation.rakumod line 670
[CBOR::Simple]   in method need at 'SETTING::'src/core.c/CompUnit/Repository/FileSystem.rakumod line 139
[CBOR::Simple]   in any statement_control at C:\rakubrew\versions\moar-2024.10\bin\..\share\perl6\lib/Perl6/Grammar.moarvm line 1
[CBOR::Simple] at C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3/t\06-typed-arrays.rakutest:3
===> Testing [FAIL]: CBOR::Simple:ver<0.1.3>:auth<zef:japhb>
Aborting due to test failure: CBOR::Simple:ver<0.1.3>:auth<zef:japhb> (use --force-test to override)
@japhb
Copy link
Owner

japhb commented Dec 5, 2024

Appears to be a precompilation failure of some sort? The key lines seem to be:

[CBOR::Simple] ===SORRY!=== Error while compiling C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3\t\lib\CodecMatches.rakumod (CodecMatches)
[CBOR::Simple] Failed to open file C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3\t\lib\.precomp\680F99BD865C3D766C794A0EC4B97228EFDC44AE\53\53FF1C9FC46928B77B0E7C9827274288ED080164.repo-id.2XZBQ87YFKJYJTUH0S0G932A1.tmp: No such file or directory
[CBOR::Simple] at C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3\t\lib\CodecMatches.rakumod (CodecMatches):2

I'm not sure how to diagnose this on Windows ... any ideas?

@patrickbkr
Copy link

patrickbkr commented Dec 5, 2024

I'm pretty sure that's the long paths issue again. Note that
C:\Users\coke\AppData\Local\Temp\.zef.1733411245.31960\f0640a9ba1b191d9666727022af93768f4d8268c.tar.gz\CBOR-Simple-0.1.3\t\lib\.precomp\680F99BD865C3D766C794A0EC4B97228EFDC44AE\53\53FF1C9FC46928B77B0E7C9827274288ED080164.repo-id.2XZBQ87YFKJYJTUH0S0G932A1.tmp has 258 characters. The maximum is 255 IIRC. (Do note that a fix for this has recently beed added to Moar, but did not yet make it into a release.)

@japhb
Copy link
Owner

japhb commented Dec 5, 2024

Oh for pity's sake ... thanks @patrickbkr !

@coke Can you try doing the install with a Rakudo built from Moar HEAD?

@coke
Copy link
Author

coke commented Dec 5, 2024

No, because I cannot build rakudo on windows at the moment due to other issues, I'm using a prebuilt rakubrew. - @patrickbkr can you? (or if there is a prebuilt one that matches, tell me how to get to it?)

@patrickbkr
Copy link

I can. Maybe I can give it a shot tonight.

@japhb
Copy link
Owner

japhb commented Dec 5, 2024

++(@patrickbkr)

@patrickbkr
Copy link

Installs successfully for me on latest main. (Actually before that fix I was barely able to install any distribution without disabling the tests.)

@japhb
Copy link
Owner

japhb commented Dec 5, 2024

Glad to hear it's working now, @patrickbkr . What version range of Rakudo was affected by this problem?

@patrickbkr
Copy link

I think it's never not been an issue. Maybe there have been supporting factors that worsened the effect. But nothing comes to mind that could have caused such a worsening (i.e. something that caused filepaths to become longer in general.) It's going to be fixed in 2024.12.

@japhb
Copy link
Owner

japhb commented Dec 5, 2024

@patrickbkr OK, gotcha.

FWIW, Back In The Day ™️ Jonathan did his development on a Windows box, and I remember a few years ago having some of my modules do CI on Windows (though I haven't in years), so at some point it all worked there. Clearly some change in precomp or in Windows default path locations broke it at some point (I mention the latter since you found a path just over 256 characters, but it's a path Windows didn't use back in the previous century).

@patrickbkr
Copy link

FWIW, Back In The Day ™️ Jonathan did his development on a Windows box, and I remember a few years ago having some of my modules do CI on Windows (though I haven't in years), so at some point it all worked there.

The good old days... (Sigh) I do hope we'll be able to get back to the glory of old again. I am actually working on getting Rakudo on Windows back in shape. In the beginning I only wanted to get the PTY implementation I'm working on ported to Windows, then noticed more patches were needed in the Terminal:: stack for it to work on Windows (this is mostly done), and then realized there is a set of core Rakudo issues on Windows we need to fix.
Specifically I'm now working on fixing the wrappers we generate when installing modules that contain scripts. (ps#455)

@japhb
Copy link
Owner

japhb commented Dec 6, 2024

Clearly @patrickbkr you are a gentleman and a scholar. 😉

@patrickbkr
Copy link

@coke I believe this issue is fixed in 2025.01. Can you verify and close this issue?

@coke
Copy link
Author

coke commented Feb 6, 2025

No error using raku 2025.01, powershell, same module version.

@coke coke closed this as completed Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants