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

Fails installation with latest version of Raku in a Mac #35

Open
JJ opened this issue Sep 29, 2023 · 8 comments
Open

Fails installation with latest version of Raku in a Mac #35

JJ opened this issue Sep 29, 2023 · 8 comments
Labels
Milestone

Comments

@JJ
Copy link
Collaborator

JJ commented Sep 29, 2023

[Text::CSV]  (HANDLED) Failed to open file /tmp/.zef/1696003118.31611/591b90e7350d176a77aa3fcd4b6bc9acc2c537e9.tar.gz/dist/files/utf8.csv: No such file or directory
[Text::CSV]   in block <unit> at t/50_utf8.t line 53
[Text::CSV] Final error:
[Text::CSV]  Cannot resolve caller getline(Text::CSV:D: Failure:U); none of these signatures matches:
[Text::CSV]     (Text::CSV: Str $str, Bool :$meta = Code.new, *%_)
[Text::CSV]     (Text::CSV: IO::Handle:D $io, Bool :$meta = Code.new, *%_)
[Text::CSV]   in block <unit> at t/50_utf8.t line 55
===> Testing [FAIL]: Text::CSV:ver<0.015>:auth<zef:Tux>
Aborting due to test failure: Text::CSV:ver<0.015>:auth<zef:Tux> (use --force-test to override)

This fails in Mac as well as Ubuntu.

@JJ JJ added the bug label Sep 29, 2023
@Tux
Copy link
Owner

Tux commented Sep 30, 2023

What was the command? What was the script?
I cannot reproduce: just upped raku to most recent from git and all was and is fine.
$ make test also passes
Rakudo v2023.09-22-g4701845c8 (v6.d) on MoarVM 2023.09-1-g7abf85f94
The test on line 55 could be summarized as

Text-CSV6 🐧 raku -Ilib -I. -MText::CSV -e 'dd csv(in=>"files/utf8.csv")'
Array @in = [["Øl/Vin", "0"],]

@JJ
Copy link
Collaborator Author

JJ commented Sep 30, 2023 via email

@JJ
Copy link
Collaborator Author

JJ commented Oct 8, 2023

You're right, it does not fail locally, but that only means that you might need to create a new release with whatever is in master so that it does not fail. I'll prepare the release and create a PR for that, since that seems to fix it.

@JJ JJ closed this as completed in d7f00a6 Oct 23, 2023
@JJ JJ reopened this Oct 23, 2023
@JJ
Copy link
Collaborator Author

JJ commented Oct 23, 2023

I'm reopening this since I don't have the privs to upload this distro under zef:Tux. If there's no easy way to authorize me, you can download the tagged version and upload it yourself, is that possible?

@JJ
Copy link
Collaborator Author

JJ commented Oct 23, 2023

Looks like it worked. So closing now for realsies.

@JJ JJ closed this as completed Oct 23, 2023
@JJ
Copy link
Collaborator Author

JJ commented Oct 27, 2023

Still getting the same error in a Mac:

[Text::CSV] Earlier failures:
[Text::CSV]  (HANDLED) Failed to open file /private/var/folders/dc/_mmcqrns0rq67rf86wmgyskc0000gn/T/.zef/1698312452.36776/3031210a47326b38e6660c92f7e325ac4ac23780.tar.gz/dist/files/utf8.csv: No such file or directory
[Text::CSV]   in block <unit> at t/50_utf8.t line 53
[Text::CSV] Final error:
[Text::CSV]  Cannot resolve caller getline(Text::CSV:D: Failure:U); none of these signatures matches:
[Text::CSV]     (Text::CSV: Str $str, Bool :$meta = Code.new, *%_)
[Text::CSV]     (Text::CSV: IO::Handle:D $io, Bool :$meta = Code.new, *%_)
[Text::CSV]   in block <unit> at t/50_utf8.t line 55
===> Testing [FAIL]: Text::CSV:ver<0.019>:auth<zef:Tux>

And this is version 0.019. Reopening.

@JJ JJ reopened this Oct 27, 2023
@JJ JJ changed the title Fails installation with latest version of Raku Fails installation with latest version of Raku in a Mac Oct 27, 2023
@JJ
Copy link
Collaborator Author

JJ commented Oct 27, 2023

This is related to #44 actually. There are unneeded files, and some needed files are not there.

@JJ JJ added this to the v0.020 milestone Oct 28, 2023
@JJ JJ closed this as completed in 9f33d8e Oct 28, 2023
@JJ
Copy link
Collaborator Author

JJ commented Oct 30, 2023

Reopening this since 0.021 does not include again files/utf8.csv

@JJ JJ reopened this Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants