Zandronum Chat on our Discord Server Get the latest version: 3.2
Source Code

View Revisions: Issue #3841 All Revisions ] Back to Issue ]
Summary 0003841: Source code tarball downloads from DRDTeam often use non-portable tar extensions (GNU)
Revision 2020-07-03 07:07 by WubTheCaptain
Additional Information 'https://dev.gentoo.org/~mgorny/articles/portability-of-tar-features.html [^]'
'https://pubs.opengroup.org/onlinepubs/9699919799/utilities/pax.html [^]'

file 1:5.38-5 formats explained:
$ file doomseeker-{v7,ustar,pax,gnutar}.tar
doomseeker-v7.tar:     tar archive
doomseeker-ustar.tar:  POSIX tar archive
doomseeker-pax.tar:    POSIX tar archive
doomseeker-gnu.tar:    POSIX tar archive (GNU)

These tarballs were created like so (/home/wub/.local/src/doomseeker/doomseeker being the Git repository's master branch HEAD, with no build/ directory):
$ pwd
/home/wub/.local/src/doomseeker
$ tar --version
tar (GNU tar) 1.30
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
$ tar --format=v7 -cf doomseeker-v7.tar doomseeker/
tar: doomseeker/tools/updateinstaller/external/TinyThread/doc/html/classtthread_1_1chrono_1_1duration-members.html: 
file name is too long (max 99); not dumped
tar: doomseeker/tools/updateinstaller/external/TinyThread/doc/html/classtthread_1_1condition__variable-members.html: 
file name
is too long (max 99); not dumped
tar: doomseeker/tools/updateinstaller/external/TinyThread/doc/html/classtthread_1_1condition__variable.html: 
file name is too long (max 99); not dumped
tar: doomseeker/tools/updateinstaller/external/TinyThread/doc/html/classtthread_1_1thread_1_1id-members.html: 
file name is too
long (max 99); not dumped
tar: doomseeker/tools/updateinstaller/external/TinyThread/doc/html/classtthread_1_1lock__guard-members.html: 
file name is too long (max 99); not dumped
tar: doomseeker/tools/updateinstaller/external/TinyThread/doc/html/classtthread_1_1fast__mutex-members.html: 
file name is too long (max 99); not dumped
tar: doomseeker/tools/updateinstaller/external/TinyThread/doc/html/classtthread_1_1chrono_1_1duration.html: 
file name is too long (max 99); not dumped
tar: doomseeker/tools/updateinstaller/external/TinyThread/doc/html/classtthread_1_1recursive__mutex-members.html: 
file name is
too long (max 99); not dumped
tar: doomseeker/tools/updateinstaller/external/win32cpp/tutorials/Tutorial2/Tutorial2_2010.vcxproj.filters: 
file name is too long (max 99); not dumped
tar: doomseeker/tools/updateinstaller/external/win32cpp/tutorials/Tutorial1/Tutorial1_2010.vcxproj.filters: 
file name is too long (max 99); not dumped
tar: doomseeker/tools/updateinstaller/external/win32cpp/tutorials/Tutorial3/Tutorial3_2010.vcxproj.filters: 
file name is too long (max 99); not dumped
tar: doomseeker/tools/updateinstaller/external/win32cpp/tutorials/Tutorial8/Tutorial8_2010.vcxproj.filters: 
file name is too long (max 99); not dumped
tar: doomseeker/tools/updateinstaller/external/win32cpp/tutorials/Tutorial6/Tutorial6_2010.vcxproj.filters: 
file name is too long (max 99); not dumped
tar: doomseeker/tools/updateinstaller/external/win32cpp/tutorials/Tutorial4/Tutorial4_2010.vcxproj.filters: 
file name is too long (max 99); not dumped
tar: doomseeker/tools/updateinstaller/external/win32cpp/tutorials/Tutorial7/Tutorial7_2010.vcxproj.filters: 
file name is too long (max 99); not dumped
tar: doomseeker/tools/updateinstaller/external/win32cpp/tutorials/Tutorial9/Tutorial9_2010.vcxproj.filters: 
file name is too long (max 99); not dumped
tar: doomseeker/tools/updateinstaller/external/win32cpp/tutorials/Tutorial5/Tutorial5_2010.vcxproj.filters: 
file name is too long (max 99); not dumped
tar: Exiting with failure status due to previous errors
$ tar --format=ustar -cf doomseeker-ustar.tar doomseeker/
$ tar --format=pax -cf doomseeker-pax.tar doomseeker/
$ tar --format=gnu -cf doomseeker-gnu.tar doomseeker/

Less common tar formats such as star and sun formats were untested.
Revision 2020-07-03 07:01 by WubTheCaptain
Additional Information 'https://dev.gentoo.org/~mgorny/articles/portability-of-tar-features.html [^]'
'https://pubs.opengroup.org/onlinepubs/9699919799/utilities/pax.html [^]'

file 1:5.38-5 formats explained:
$ file doomseeker-{v7,ustar,pax,gnutar}.tar
doomseeker-v7.tar:     tar archive
doomseeker-ustar.tar:  POSIX tar archive
doomseeker-pax.tar:    POSIX tar archive
doomseeker-gnu.tar:    POSIX tar archive (GNU)

These tarballs were created like so (/home/wub/.local/src/doomseeker/doomseeker being the Git repository's master branch HEAD, with no build/ directory):
$ pwd
/home/wub/.local/src/doomseeker
$ tar --version
tar (GNU tar) 1.30
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
$ tar --format=v7 -cf doomseeker-v7.tar doomseeker/
tar: doomseeker/tools/updateinstaller/external/TinyThread/doc/html/classtthread_1_1chrono_1_1duration-members.html: 
file name is too long (max 99); not dumped
tar: doomseeker/tools/updateinstaller/external/TinyThread/doc/html/classtthread_1_1condition__variable-members.html: 
file name
is too long (max 99); not dumped
tar: doomseeker/tools/updateinstaller/external/TinyThread/doc/html/classtthread_1_1condition__variable.html: 
file name is too long (max 99); not dumped
tar: doomseeker/tools/updateinstaller/external/TinyThread/doc/html/classtthread_1_1thread_1_1id-members.html: 
file name is too
long (max 99); not dumped
tar: doomseeker/tools/updateinstaller/external/TinyThread/doc/html/classtthread_1_1lock__guard-members.html: 
file name is too long (max 99); not dumped
tar: doomseeker/tools/updateinstaller/external/TinyThread/doc/html/classtthread_1_1fast__mutex-members.html: 
file name is too long (max 99); not dumped
tar: doomseeker/tools/updateinstaller/external/TinyThread/doc/html/classtthread_1_1chrono_1_1duration.html: 
file name is too long (max 99); not dumped
tar: doomseeker/tools/updateinstaller/external/TinyThread/doc/html/classtthread_1_1recursive__mutex-members.html: 
file name is
too long (max 99); not dumped
tar: doomseeker/tools/updateinstaller/external/win32cpp/tutorials/Tutorial2/Tutorial2_2010.vcxproj.filters: 
file name is too long (max 99); not dumped
tar: doomseeker/tools/updateinstaller/external/win32cpp/tutorials/Tutorial1/Tutorial1_2010.vcxproj.filters: 
file name is too long (max 99); not dumped
tar: doomseeker/tools/updateinstaller/external/win32cpp/tutorials/Tutorial3/Tutorial3_2010.vcxproj.filters: 
file name is too long (max 99); not dumped
tar: doomseeker/tools/updateinstaller/external/win32cpp/tutorials/Tutorial8/Tutorial8_2010.vcxproj.filters: 
file name is too long (max 99); not dumped
tar: doomseeker/tools/updateinstaller/external/win32cpp/tutorials/Tutorial6/Tutorial6_2010.vcxproj.filters: 
file name is too long (max 99); not dumped
tar: doomseeker/tools/updateinstaller/external/win32cpp/tutorials/Tutorial4/Tutorial4_2010.vcxproj.filters: 
file name is too long (max 99); not dumped
tar: doomseeker/tools/updateinstaller/external/win32cpp/tutorials/Tutorial7/Tutorial7_2010.vcxproj.filters: 
file name is too long (max 99); not dumped
tar: doomseeker/tools/updateinstaller/external/win32cpp/tutorials/Tutorial9/Tutorial9_2010.vcxproj.filters: 
file name is too long (max 99); not dumped
tar: doomseeker/tools/updateinstaller/external/win32cpp/tutorials/Tutorial5/Tutorial5_2010.vcxproj.filters: 
file name is too long (max 99); not dumped
tar: Exiting with failure status due to previous errors
$ tar --format=ustar -cf doomseeker-ustar.tar doomseeker/
$ tar --format=pax -cf doomseeker-pax.tar doomseeker/
$ tar --format=gnu -cf doomseeker-gnu.tar doomseeker/






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker