1
0
mirror of https://github.com/pavel-odintsov/fastnetmon synced 2024-11-23 13:22:36 +01:00

Enabled logging for s3cmd to debug issues with gcc download for Debian 10: Cannot download dependency file from Google Storage. Exit code: 127

This commit is contained in:
Pavel Odintsov 2023-05-22 21:43:18 +01:00
parent 866ac8ce3a
commit ca0082ec0e

@ -129,7 +129,7 @@ sub get_library_binary_build_from_google_storage {
# print "Will use following path to retrieve dependency: $binary_path\n";
my $download_file_return_code =
system("s3cmd --disable-multipart --host=storage.googleapis.com --host-bucket=\"%(bucket).storage.googleapis.com\" get $binary_path /tmp/$dependency_archive_name >/dev/null 2>&1");
system("s3cmd --disable-multipart --host=storage.googleapis.com --host-bucket=\"%(bucket).storage.googleapis.com\" get $binary_path /tmp/$dependency_archive_name");
if ($download_file_return_code != 0) {
my $real_exit_code = $download_file_return_code >> 8;