Skip to content

Commit a56784d

Browse files
authored
Merge pull request kivy#1015 from pts-dorianpula/issue-1013-fix-tarfile-large-user-id-failure
Fix packaging failure when user has large UID by using GNU format over USTAR format
2 parents b2e5bc3 + 43e3aa2 commit a56784d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

pythonforandroid/bootstraps/pygame/build/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def select(fn):
180180
if select(x)]
181181

182182
# create tar.gz of thoses files
183-
tf = tarfile.open(tfn, 'w:gz', format=tarfile.USTAR_FORMAT)
183+
tf = tarfile.open(tfn, 'w:gz', format=tarfile.GNU_FORMAT)
184184
dirs = []
185185
for fn, afn in files:
186186
# print('%s: %s' % (tfn, fn))

pythonforandroid/bootstraps/sdl2/build/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def select(fn):
178178
if select(x)]
179179

180180
# create tar.gz of thoses files
181-
tf = tarfile.open(tfn, 'w:gz', format=tarfile.USTAR_FORMAT)
181+
tf = tarfile.open(tfn, 'w:gz', format=tarfile.GNU_FORMAT)
182182
dirs = []
183183
for fn, afn in files:
184184
# print('%s: %s' % (tfn, fn))

pythonforandroid/bootstraps/service_only/build/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def select(fn):
175175
if select(x)]
176176

177177
# create tar.gz of thoses files
178-
tf = tarfile.open(tfn, 'w:gz', format=tarfile.USTAR_FORMAT)
178+
tf = tarfile.open(tfn, 'w:gz', format=tarfile.GNU_FORMAT)
179179
dirs = []
180180
for fn, afn in files:
181181
# print('%s: %s' % (tfn, fn))

pythonforandroid/bootstraps/webview/build/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def select(fn):
174174
if select(x)]
175175

176176
# create tar.gz of thoses files
177-
tf = tarfile.open(tfn, 'w:gz', format=tarfile.USTAR_FORMAT)
177+
tf = tarfile.open(tfn, 'w:gz', format=tarfile.GNU_FORMAT)
178178
dirs = []
179179
for fn, afn in files:
180180
# print('%s: %s' % (tfn, fn))

0 commit comments

Comments
 (0)