-
Notifications
You must be signed in to change notification settings - Fork 25
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
ArchiveTar plugin may fail on long filenames #13
Comments
Summary:
The bug I'm seeing happens on MSYS2 because the MSYS2 distribution uses a deep directory structure that pushes some of the MuPDF absolute path names over the 260 character limit of This is with MSYS2's C:\msys64\home\zaki\.cpanm\work\1494265370.19992\Alien-MuPDF-0.007_01\_alien\download_E5uH $ /mingw64/bin/perl -MArchive::Tar -E '$Archive::Tar::DEBUG = 1; my $t = Archive::Tar->new; $t->read("mupdf-1.11-source.tar.gz"); $t->extract("mupdf-1.11-source/thirdparty/harfbuzz/test/shaping/texts/in-tree/shaper-indic/indic/script-devanagari/utrrs/codepoint/IndicFontFeatureCodepoint-DevnagariSpecificAddition.txt")'
Could not open file 'C:\msys64\home\zaki\.cpanm\work\1494265370.19992\Alien-MuPDF-0.007_01\_alien\download_E5uH\mupdf-1.11-source\thirdparty\harfbuzz\test\shaping\texts\in-tree\shaper-indic\indic\script-devanagari\utrrs\codepoint\IndicFontFeatureCodepoint-DevnagariSpecificAddition.txt': No such file or directory at C:/msys64/mingw64/lib/perl5/site_perl/Archive/Tar.pm line 850.
Archive::Tar::_extract_file(Archive::Tar=HASH(0x76b330), Archive::Tar::File=HASH(0xa417750)) called at C:/msys64/mingw64/lib/perl5/site_perl/Archive/Tar.pm line 649
Archive::Tar::extract(Archive::Tar=HASH(0x76b330), "mupdf-1.11-source/thirdparty/harfbuzz/test/shaping/texts/in-t"...) called at -e line 1
at -e line 1.
Could not extract 'mupdf-1.11-source/thirdparty/harfbuzz/test/shaping/texts/in-tree/shaper-indic/indic/script-devanagari/utrrs/codepoint/IndicFontFeatureCodepoint-DevnagariSpecificAddition.txt' at C:/msys64/mingw64/lib/perl5/site_perl/Archive/Tar.pm line 650.
Archive::Tar::extract(Archive::Tar=HASH(0x76b330), "mupdf-1.11-source/thirdparty/harfbuzz/test/shaping/texts/in-t"...) called at -e line 1
at -e line 1. The error occurs at a call to This bug does not occur for me on Strawberry Perl with I have started a thread on p5p that asks what would need to be done to solve this in I also tried to use |
A small note for future reference: I have been using the MSYS2 |
@zmughal huh. Out of curiosity does the |
No, it does not: PS C:\Users\vagrant\Downloads> tar xf .\mupdf-1.17.0-source.tar.gz
mupdf-1.17.0-source/thirdparty/freeglut/progs/test-shapes-gles1/android_toolchain.cmake: Can't create '\\\\?\\C:\\Users\\vagrant\\Downloads\\mupdf-1.17.0-source\\thirdparty\\freeglut\\progs\\test-shapes-gles1\\android_toolchain.cmake'
mupdf-1.17.0-source/thirdparty/harfbuzz/README: Can't create '\\\\?\\C:\\Users\\vagrant\\Downloads\\mupdf-1.17.0-source\\thirdparty\\harfbuzz\\README'
tar.exe: Error exit delayed from previous errors.
PS C:\Users\vagrant\Downloads> echo $LASTEXITCODE
1 Also, that |
We only use |
As reported here:
https://metacpan.org/source/ZMUGHAL/Alien-MuPDF-0.007_02/alienfile#L15
The text was updated successfully, but these errors were encountered: