-
Notifications
You must be signed in to change notification settings - Fork 44
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
[BUG] Infinite recursion when extracting harchives with link pointing to itself #208
Comments
This is probably under python 3.7. There has been an issue with one recipe using scons that would also run into a stack overflow. I don't think it's an issue in HaikuPorter. Although if it does use recursion for extracting directories, it would lend itself to such problems and that would indeed be a problem (I haven't checked if it does). Can you try with python38 instead and see if it reproduces there? |
Using python3.8 I have not that fatal log anymore, but I still have this error
|
The tar file in question contains an entry for |
It is triggered by the translation of hardlinks to symlinks with the MyTarInfo here: haikuporter/HaikuPorter/Utils.py Line 32 in 35d0f2e
It looks like there are no further checks after us returning the modified info so that it can recurse here. |
Working on the recipe games-emulation/atari++ I've crushed into this fatal. It seems related to upacking the source files
Fact that this happens even with 1.81, which is on Haikuports Master already, suggests me this issue is not related to the recipe itself
The text was updated successfully, but these errors were encountered: