Skip to content
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

Extract mongodb-1.6.2.tgz error #1144

Closed
jingjingxyk opened this issue Aug 18, 2023 · 1 comment
Closed

Extract mongodb-1.6.2.tgz error #1144

jingjingxyk opened this issue Aug 18, 2023 · 1 comment

Comments

@jingjingxyk
Copy link

Bug Report

curl  --connect-timeout 15 --retry 5  --retry-delay 5  -Lo '/work/pool/ext/mongodb-1.6.2.tgz' 'https://pecl.php.net/get/mongodb-1.6.2.tgz' 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    34  100    34    0     0     29      0  0:00:01  0:00:01 --:--:--    29

tar --strip-components=1 -C /work/ext/mongodb -xf /work/pool/ext/mongodb-1.6.2.tgz
tar: This does not look like a tar archive

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

Environment

alpine 3.17 mongodb-1.6.2.tgz

Test Script

curl  --connect-timeout 15 --retry 5  --retry-delay 5  -Lo '/work/pool/ext/mongodb-1.6.2.tgz' 'https://pecl.php.net/get/mongodb-1.6.2.tgz'

tar --strip-components=1 -C /work/ext/mongodb -xf /work/pool/ext/mongodb-1.6.2.tgz

Expected and Actual Behavior

use mongodb-1.6.1.tgz no error

curl  --connect-timeout 15 --retry 5  --retry-delay 5  -Lo '/work/pool/ext/mongodb-1.6.1.tgz' 'https://pecl.php.net/get/mongodb-1.6.1.tgz' 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1068k  100 1068k    0     0   428k      0  0:00:02  0:00:02 --:--:--  428k

tar --strip-components=1 -C /work/ext/mongodb -xf /work/pool/ext/mongodb-1.6.1.tgz

Debug Log

@jingjingxyk
Copy link
Author

here mongodb/mongo-php-driver#1459

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant