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
macOS generates ._
files that cause unwanted checkbuild complaints
#72
Comments
the problematic file is coming into existence here #Pax.rakumod...
method ls($file) {
my $p = run 'pax', '-c', '-z', '-f', $file, :out, :err; specifically, it's present in the if i then run I also see the
BUT
So. it looks like this is either a bug in EDIT: the problem is that Fez is correctly complaining about that file missing from the meta6. However, it's still a problem for fez in that that the chosen tool for inspecting the tar file isn't producing the expected results. I believe the correct solution here is to use If i run Related bug in fez though: If i run This means that the checkbuild isn't performing a "valid" test. In that it doesn't produce the same warnings as the checkbuild that's run prior to upload. if no-one gets to it before me I guess i'll file that as a separate bug. EDIT: new ticket for that problem here note. the following discoveries were made against fez 37. The release is fez 38 but that doesn't seem to be in this repo. There are also no tags in this repo which is going to make it very difficult to find out when a bug was introduced in the future. |
News from the internet:
Very nice Stack Exchange answer here explaining what those files are. With that being said... it's still a problem. 3 potential solutions:
Two sounds easy, but i think it's dangerous. It seems easy to screw up the handling of the edge case of a user actually having a file that starts with Three is probably the best solution, but if it doesn't work I'm inclined to suggest we switch to I'm very dissatisfied by this answer because I really don't like using tools that lie to me about directory contents but I'm not seeing a better practical solution. Non solutions:implementing tar in rakuNot a solution because including those files is actually "correct" behavior from the perspective of tar. The problem is that |
._
files that cause unwanted checkbuild complaints
thank you for the detailed report, will find my macbook and fix this in the next few days as a work around, does adding the following |
my replication instructions were flawed and wouldn't work for others. the following should work first, add extended attributes to a file in resources
second, abuse ditto to convert them to an AppleDouble file (
now you should have an AppleDouble file that "should" error out in the
I can't say definitively. Since filing this ticket I've upgraded to Ventura from Monterrey and now I can't get it to EVER use pax. And now we have 2 new issues:
the What i can say is that it is using tar and it is not causing an error (not surprising since it's just a symlink to How slow?
746 seconds == 12 minutes. ~99% of that is in |
I can't seem to reproduce with tar or pax:
In this case it seems to just ignore the the double file |
@masukomi are you able to provide more insight to this issue? |
I'm having an issue that may be related. It occurs when I try to release a module with mi6 which uses fez: https://stackoverflow.com/questions/75190418/no-single-root-directory-found-all-dists-must-extract-to-a-single-directory-e Oddly, it worked fine on my m1 mac. |
Just to clarify: we did try to nail that issue down and we did reach to the odd "._"-prefixed file returned by the pax command, so it's not a random guess in that sense. |
given this in the resources section of META6.json
and this resources dir tree
I get this error on upload
Note the
._
that prefaceshey.db
That shouldn't be there.note that there is no hidden file in that directory
To test/replicate:
[edit deleted replication instructions because they wouldn't work for other people. see new instructions in comments below]
The text was updated successfully, but these errors were encountered: