Advertisement
Guest User

swift:5.6-focal crash when building for arm64 on amd64 in QEMU

a guest
Mar 21st, 2022
14
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.61 KB | None
  1. docker buildx build --platform linux/arm64 --build-arg ALPINE_VERSION=3.15 --build-arg DART_PROTOBUF_VERSION=2.0.1 --build-arg DART_VERSION=2.16.1 --build-arg GO_VERSION=1.17.5 --build-arg GOOGLE_API_VERSION=d9b32e92fa57c37e5af0dc03badfe741170c5849 --build-arg GOTEMPLATE_VERSION=1.11.2 --build-arg GRPC_GATEWAY_VERSION=2.7.2 --build-arg GRPC_JAVA_VERSION=1.43.1 --build-arg GRPC_RUST_VERSION=0.8.3 --build-arg GRPC_SWIFT_VERSION=1.7.1 --build-arg GRPC_VERSION=1.43.0 --build-arg GRPC_WEB_VERSION=1.3.0 --build-arg JSONSCHEMA_VERSION=1.3.5 --build-arg NODE_VERSION=17.3.0 --build-arg PROTOBUF_C_VERSION=1.4.0 --build-arg PROTOC_GEN_DOC_VERSION=1.5.0 --build-arg PROTOC_GEN_GO_GRPC_VERSION=1.43.0 --build-arg PROTOC_GEN_GO_VERSION=1.27.1 --build-arg PROTOC_GEN_GOGO_VERSION=1.3.2 --build-arg PROTOC_GEN_GOVALIDATORS_VERSION=0.3.2 --build-arg PROTOC_GEN_GQL_VERSION=0.8.0 --build-arg PROTOC_GEN_LINT_VERSION=0.2.4 --build-arg PROTOC_GEN_VALIDATE_VERSION=0.6.2 --build-arg RUST_PROTOBUF_VERSION=2.25.2 --build-arg RUST_VERSION=1.57.0 --build-arg SWIFT_VERSION=5.6-focal --build-arg TS_PROTOC_GEN_VERSION=0.15.0 --build-arg UPX_VERSION=3.96 -t strophy/build.sh:3.3.2-arm64 --progress plain --target swift_builder .
  2. WARNING: No output specified for docker-container driver. Build result will only remain in the build cache. To push result image into registry use --push or to load image into docker use --load
  3. #1 [internal] load build definition from Dockerfile
  4. #1 transferring dockerfile: 15.79kB done
  5. #1 DONE 0.1s
  6.  
  7. #2 [internal] load .dockerignore
  8. #2 transferring context: 2B done
  9. #2 DONE 0.0s
  10.  
  11. #3 [internal] load metadata for docker.io/library/swift:5.6-focal
  12. #3 ...
  13.  
  14. #4 [auth] library/swift:pull token for registry-1.docker.io
  15. #4 DONE 0.0s
  16.  
  17. #3 [internal] load metadata for docker.io/library/swift:5.6-focal
  18. #3 DONE 3.9s
  19.  
  20. #5 [swift_builder 1/3] FROM docker.io/library/swift:5.6-focal@sha256:a2174c5a2354ce36c697fcecfe1cd6e12dd19de918b9786f51e98faa9541fab2
  21. #5 resolve docker.io/library/swift:5.6-focal@sha256:a2174c5a2354ce36c697fcecfe1cd6e12dd19de918b9786f51e98faa9541fab2 0.0s done
  22. #5 sha256:07d28452570ce50f90dab3a1eced9782520e13521c360fa7cb38a1400a3a5a4e 0B / 204B 0.2s
  23. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 0B / 495.76MB 0.2s
  24. #5 sha256:04e85602af6b9b07c2428e384f0c0e66c487d4e2e5f2f26ea9908e2d29f1ed90 0B / 116.79MB 0.2s
  25. #5 sha256:57d0418fe9dcc5262d8c4fcb06c852ad2d0407b541c64d0f5f2e6ec01fd411ba 0B / 27.17MB 0.2s
  26. #5 sha256:07d28452570ce50f90dab3a1eced9782520e13521c360fa7cb38a1400a3a5a4e 204B / 204B 0.3s done
  27. #5 sha256:57d0418fe9dcc5262d8c4fcb06c852ad2d0407b541c64d0f5f2e6ec01fd411ba 2.10MB / 27.17MB 4.1s
  28. #5 sha256:57d0418fe9dcc5262d8c4fcb06c852ad2d0407b541c64d0f5f2e6ec01fd411ba 4.19MB / 27.17MB 4.8s
  29. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 4.19MB / 495.76MB 5.3s
  30. #5 sha256:04e85602af6b9b07c2428e384f0c0e66c487d4e2e5f2f26ea9908e2d29f1ed90 4.19MB / 116.79MB 5.3s
  31. #5 sha256:57d0418fe9dcc5262d8c4fcb06c852ad2d0407b541c64d0f5f2e6ec01fd411ba 6.29MB / 27.17MB 5.6s
  32. #5 sha256:57d0418fe9dcc5262d8c4fcb06c852ad2d0407b541c64d0f5f2e6ec01fd411ba 8.39MB / 27.17MB 6.3s
  33. #5 sha256:57d0418fe9dcc5262d8c4fcb06c852ad2d0407b541c64d0f5f2e6ec01fd411ba 10.49MB / 27.17MB 7.2s
  34. #5 sha256:57d0418fe9dcc5262d8c4fcb06c852ad2d0407b541c64d0f5f2e6ec01fd411ba 12.58MB / 27.17MB 8.3s
  35. #5 sha256:57d0418fe9dcc5262d8c4fcb06c852ad2d0407b541c64d0f5f2e6ec01fd411ba 14.68MB / 27.17MB 9.0s
  36. #5 sha256:57d0418fe9dcc5262d8c4fcb06c852ad2d0407b541c64d0f5f2e6ec01fd411ba 16.78MB / 27.17MB 10.1s
  37. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 6.29MB / 495.76MB 10.4s
  38. #5 sha256:04e85602af6b9b07c2428e384f0c0e66c487d4e2e5f2f26ea9908e2d29f1ed90 8.39MB / 116.79MB 10.4s
  39. #5 sha256:57d0418fe9dcc5262d8c4fcb06c852ad2d0407b541c64d0f5f2e6ec01fd411ba 18.87MB / 27.17MB 11.0s
  40. #5 sha256:57d0418fe9dcc5262d8c4fcb06c852ad2d0407b541c64d0f5f2e6ec01fd411ba 20.97MB / 27.17MB 11.9s
  41. #5 sha256:57d0418fe9dcc5262d8c4fcb06c852ad2d0407b541c64d0f5f2e6ec01fd411ba 23.07MB / 27.17MB 12.9s
  42. #5 sha256:57d0418fe9dcc5262d8c4fcb06c852ad2d0407b541c64d0f5f2e6ec01fd411ba 25.17MB / 27.17MB 14.0s
  43. #5 sha256:57d0418fe9dcc5262d8c4fcb06c852ad2d0407b541c64d0f5f2e6ec01fd411ba 27.17MB / 27.17MB 14.8s done
  44. #5 extracting sha256:57d0418fe9dcc5262d8c4fcb06c852ad2d0407b541c64d0f5f2e6ec01fd411ba
  45. #5 extracting sha256:57d0418fe9dcc5262d8c4fcb06c852ad2d0407b541c64d0f5f2e6ec01fd411ba 0.6s done
  46. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 10.49MB / 495.76MB 15.5s
  47. #5 sha256:04e85602af6b9b07c2428e384f0c0e66c487d4e2e5f2f26ea9908e2d29f1ed90 11.53MB / 116.79MB 15.5s
  48. #5 sha256:04e85602af6b9b07c2428e384f0c0e66c487d4e2e5f2f26ea9908e2d29f1ed90 17.83MB / 116.79MB 18.6s
  49. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 18.87MB / 495.76MB 20.6s
  50. #5 sha256:04e85602af6b9b07c2428e384f0c0e66c487d4e2e5f2f26ea9908e2d29f1ed90 24.12MB / 116.79MB 22.4s
  51. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 28.31MB / 495.76MB 25.7s
  52. #5 sha256:04e85602af6b9b07c2428e384f0c0e66c487d4e2e5f2f26ea9908e2d29f1ed90 30.41MB / 116.79MB 26.3s
  53. #5 sha256:04e85602af6b9b07c2428e384f0c0e66c487d4e2e5f2f26ea9908e2d29f1ed90 36.70MB / 116.79MB 29.9s
  54. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 36.70MB / 495.76MB 30.9s
  55. #5 sha256:04e85602af6b9b07c2428e384f0c0e66c487d4e2e5f2f26ea9908e2d29f1ed90 42.99MB / 116.79MB 33.6s
  56. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 45.09MB / 495.76MB 36.0s
  57. #5 sha256:04e85602af6b9b07c2428e384f0c0e66c487d4e2e5f2f26ea9908e2d29f1ed90 49.28MB / 116.79MB 37.7s
  58. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 54.53MB / 495.76MB 41.3s
  59. #5 sha256:04e85602af6b9b07c2428e384f0c0e66c487d4e2e5f2f26ea9908e2d29f1ed90 55.57MB / 116.79MB 41.3s
  60. #5 sha256:04e85602af6b9b07c2428e384f0c0e66c487d4e2e5f2f26ea9908e2d29f1ed90 61.87MB / 116.79MB 44.9s
  61. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 62.91MB / 495.76MB 46.4s
  62. #5 sha256:04e85602af6b9b07c2428e384f0c0e66c487d4e2e5f2f26ea9908e2d29f1ed90 68.16MB / 116.79MB 48.6s
  63. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 72.35MB / 495.76MB 51.5s
  64. #5 sha256:04e85602af6b9b07c2428e384f0c0e66c487d4e2e5f2f26ea9908e2d29f1ed90 74.45MB / 116.79MB 52.5s
  65. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 80.74MB / 495.76MB 56.7s
  66. #5 sha256:04e85602af6b9b07c2428e384f0c0e66c487d4e2e5f2f26ea9908e2d29f1ed90 80.74MB / 116.79MB 56.6s
  67. #5 sha256:04e85602af6b9b07c2428e384f0c0e66c487d4e2e5f2f26ea9908e2d29f1ed90 87.03MB / 116.79MB 60.3s
  68. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 90.18MB / 495.76MB 61.8s
  69. #5 sha256:04e85602af6b9b07c2428e384f0c0e66c487d4e2e5f2f26ea9908e2d29f1ed90 93.32MB / 116.79MB 64.2s
  70. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 99.61MB / 495.76MB 66.9s
  71. #5 sha256:04e85602af6b9b07c2428e384f0c0e66c487d4e2e5f2f26ea9908e2d29f1ed90 99.61MB / 116.79MB 68.3s
  72. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 108.00MB / 495.76MB 72.2s
  73. #5 sha256:04e85602af6b9b07c2428e384f0c0e66c487d4e2e5f2f26ea9908e2d29f1ed90 105.91MB / 116.79MB 72.0s
  74. #5 sha256:04e85602af6b9b07c2428e384f0c0e66c487d4e2e5f2f26ea9908e2d29f1ed90 112.20MB / 116.79MB 75.6s
  75. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 116.39MB / 495.76MB 77.3s
  76. #5 sha256:04e85602af6b9b07c2428e384f0c0e66c487d4e2e5f2f26ea9908e2d29f1ed90 116.79MB / 116.79MB 78.3s done
  77. #5 extracting sha256:04e85602af6b9b07c2428e384f0c0e66c487d4e2e5f2f26ea9908e2d29f1ed90
  78. #5 extracting sha256:04e85602af6b9b07c2428e384f0c0e66c487d4e2e5f2f26ea9908e2d29f1ed90 2.5s done
  79. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 132.12MB / 495.76MB 82.5s
  80. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 149.95MB / 495.76MB 87.6s
  81. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 166.72MB / 495.76MB 92.7s
  82. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 184.55MB / 495.76MB 98.0s
  83. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 202.38MB / 495.76MB 103.1s
  84. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 219.15MB / 495.76MB 108.2s
  85. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 236.98MB / 495.76MB 113.4s
  86. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 253.76MB / 495.76MB 118.7s
  87. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 272.63MB / 495.76MB 123.9s
  88. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 289.41MB / 495.76MB 129.0s
  89. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 306.18MB / 495.76MB 134.1s
  90. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 324.01MB / 495.76MB 139.4s
  91. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 341.84MB / 495.76MB 144.5s
  92. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 358.61MB / 495.76MB 149.6s
  93. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 375.39MB / 495.76MB 154.7s
  94. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 392.17MB / 495.76MB 159.8s
  95. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 411.04MB / 495.76MB 165.0s
  96. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 427.82MB / 495.76MB 170.3s
  97. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 445.64MB / 495.76MB 175.4s
  98. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 462.42MB / 495.76MB 180.5s
  99. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 480.25MB / 495.76MB 185.6s
  100. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 495.76MB / 495.76MB 190.7s
  101. #5 sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 495.76MB / 495.76MB 192.6s done
  102. #5 extracting sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0
  103. #5 extracting sha256:479c41d2ad6e64b039dd5b8584dfec72b5a01bd97605b2a85691e17db83543f0 7.1s done
  104. #5 DONE 199.9s
  105.  
  106. #5 [swift_builder 1/3] FROM docker.io/library/swift:5.6-focal@sha256:a2174c5a2354ce36c697fcecfe1cd6e12dd19de918b9786f51e98faa9541fab2
  107. #5 extracting sha256:07d28452570ce50f90dab3a1eced9782520e13521c360fa7cb38a1400a3a5a4e 0.0s done
  108. #5 DONE 199.9s
  109.  
  110. #6 [swift_builder 2/3] RUN apt-get update && apt-get install -y unzip patchelf libnghttp2-dev curl libssl-dev zlib1g-dev build-essential
  111. #6 1.217 Get:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease [265 kB]
  112. #6 2.816 Get:2 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease [114 kB]
  113. #6 3.188 Get:3 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease [108 kB]
  114. #6 3.542 Get:4 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease [114 kB]
  115. #6 5.207 Get:5 http://ports.ubuntu.com/ubuntu-ports focal/multiverse arm64 Packages [139 kB]
  116. #6 5.722 Get:6 http://ports.ubuntu.com/ubuntu-ports focal/restricted arm64 Packages [1317 B]
  117. #6 5.727 Get:7 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 Packages [1234 kB]
  118. #6 6.471 Get:8 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 Packages [11.1 MB]
  119. #6 10.46 Get:9 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe arm64 Packages [1079 kB]
  120. #6 10.78 Get:10 http://ports.ubuntu.com/ubuntu-ports focal-updates/restricted arm64 Packages [4150 B]
  121. #6 10.79 Get:11 http://ports.ubuntu.com/ubuntu-ports focal-updates/multiverse arm64 Packages [9066 B]
  122. #6 10.79 Get:12 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 Packages [1448 kB]
  123. #6 11.21 Get:13 http://ports.ubuntu.com/ubuntu-ports focal-backports/universe arm64 Packages [26.0 kB]
  124. #6 11.22 Get:14 http://ports.ubuntu.com/ubuntu-ports focal-backports/main arm64 Packages [51.1 kB]
  125. #6 12.04 Get:15 http://ports.ubuntu.com/ubuntu-ports focal-security/restricted arm64 Packages [3913 B]
  126. #6 12.40 Get:16 http://ports.ubuntu.com/ubuntu-ports focal-security/multiverse arm64 Packages [3254 B]
  127. #6 12.41 Get:17 http://ports.ubuntu.com/ubuntu-ports focal-security/main arm64 Packages [1091 kB]
  128. #6 12.70 Get:18 http://ports.ubuntu.com/ubuntu-ports focal-security/universe arm64 Packages [796 kB]
  129. #6 16.76 Fetched 17.6 MB in 16s (1080 kB/s)
  130. #6 16.76 Reading package lists...
  131. #6 24.42 Reading package lists...
  132. #6 31.33 Building dependency tree...
  133. #6 32.37 Reading state information...
  134. #6 33.15 zlib1g-dev is already the newest version (1:1.2.11.dfsg-2ubuntu1.2).
  135. #6 33.15 The following additional packages will be installed:
  136. #6 33.15 cpp cpp-9 dpkg-dev fakeroot g++ g++-9 gcc gcc-9 libalgorithm-diff-perl
  137. #6 33.15 libalgorithm-diff-xs-perl libalgorithm-merge-perl libcc1-0 libfakeroot
  138. #6 33.16 libisl22 libmpc3 libmpfr6 make
  139. #6 33.17 Suggested packages:
  140. #6 33.17 cpp-doc gcc-9-locales debian-keyring gcc-9-doc gcc-multilib autoconf
  141. #6 33.17 automake libtool flex bison gdb gcc-doc libnghttp2-doc libssl-doc make-doc
  142. #6 33.17 zip
  143. #6 33.52 The following NEW packages will be installed:
  144. #6 33.52 build-essential cpp cpp-9 curl dpkg-dev fakeroot g++ g++-9 gcc gcc-9
  145. #6 33.52 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
  146. #6 33.52 libcc1-0 libfakeroot libisl22 libmpc3 libmpfr6 libnghttp2-dev libssl-dev
  147. #6 33.52 make patchelf unzip
  148. #6 34.40 0 upgraded, 23 newly installed, 0 to remove and 1 not upgraded.
  149. #6 34.40 Need to get 23.4 MB of archives.
  150. #6 34.40 After this operation, 80.1 MB of additional disk space will be used.
  151. #6 34.40 Get:1 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libisl22 arm64 0.22.1-1 [537 kB]
  152. #6 36.49 Get:2 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libmpfr6 arm64 4.0.2-1 [212 kB]
  153. #6 36.60 Get:3 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libmpc3 arm64 1.1.0-1 [37.2 kB]
  154. #6 36.79 Get:4 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 cpp-9 arm64 9.4.0-1ubuntu1~20.04 [5985 kB]
  155. #6 38.90 Get:5 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 cpp arm64 4:9.3.0-1ubuntu2 [27.6 kB]
  156. #6 38.90 Get:6 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 libcc1-0 arm64 10.3.0-1ubuntu1~20.04 [46.4 kB]
  157. #6 38.91 Get:7 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 gcc-9 arm64 9.4.0-1ubuntu1~20.04 [6739 kB]
  158. #6 41.00 Get:8 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 gcc arm64 4:9.3.0-1ubuntu2 [5228 B]
  159. #6 41.00 Get:9 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 g++-9 arm64 9.4.0-1ubuntu1~20.04 [6844 kB]
  160. #6 43.01 Get:10 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 g++ arm64 4:9.3.0-1ubuntu2 [1592 B]
  161. #6 43.01 Get:11 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 make arm64 4.2.1-1.2 [154 kB]
  162. #6 43.04 Get:12 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 dpkg-dev all 1.19.7ubuntu3 [679 kB]
  163. #6 43.24 Get:13 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 build-essential arm64 12.8ubuntu1.1 [4664 B]
  164. #6 43.24 Get:14 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 curl arm64 7.68.0-1ubuntu2.7 [157 kB]
  165. #6 43.29 Get:15 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libfakeroot arm64 1.24-1 [26.0 kB]
  166. #6 43.29 Get:16 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 fakeroot arm64 1.24-1 [61.9 kB]
  167. #6 43.31 Get:17 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libalgorithm-diff-perl all 1.19.03-2 [46.6 kB]
  168. #6 43.33 Get:18 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libalgorithm-diff-xs-perl arm64 0.04-6 [11.1 kB]
  169. #6 43.33 Get:19 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libalgorithm-merge-perl all 0.08-3 [12.0 kB]
  170. #6 43.34 Get:20 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libnghttp2-dev arm64 1.40.0-1build1 [94.6 kB]
  171. #6 43.62 Get:21 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 libssl-dev arm64 1.1.1f-1ubuntu2.12 [1462 kB]
  172. #6 44.04 Get:22 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 patchelf arm64 0.10-2build1 [47.5 kB]
  173. #6 44.06 Get:23 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 unzip arm64 6.0-25ubuntu1 [163 kB]
  174. #6 45.34 debconf: delaying package configuration, since apt-utils is not installed
  175. #6 45.55 Fetched 23.4 MB in 11s (2218 kB/s)
  176. #6 45.79 Selecting previously unselected package libisl22:arm64.
  177. (Reading database ... 17003 files and directories currently installed.)
  178. #6 45.83 Preparing to unpack .../00-libisl22_0.22.1-1_arm64.deb ...
  179. #6 45.85 Unpacking libisl22:arm64 (0.22.1-1) ...
  180. #6 46.36 Selecting previously unselected package libmpfr6:arm64.
  181. #6 46.37 Preparing to unpack .../01-libmpfr6_4.0.2-1_arm64.deb ...
  182. #6 46.37 Unpacking libmpfr6:arm64 (4.0.2-1) ...
  183. #6 46.71 Selecting previously unselected package libmpc3:arm64.
  184. #6 46.71 Preparing to unpack .../02-libmpc3_1.1.0-1_arm64.deb ...
  185. #6 46.72 Unpacking libmpc3:arm64 (1.1.0-1) ...
  186. #6 46.96 Selecting previously unselected package cpp-9.
  187. #6 46.96 Preparing to unpack .../03-cpp-9_9.4.0-1ubuntu1~20.04_arm64.deb ...
  188. #6 46.97 Unpacking cpp-9 (9.4.0-1ubuntu1~20.04) ...
  189. #6 50.29 Selecting previously unselected package cpp.
  190. #6 50.30 Preparing to unpack .../04-cpp_4%3a9.3.0-1ubuntu2_arm64.deb ...
  191. #6 50.30 Unpacking cpp (4:9.3.0-1ubuntu2) ...
  192. #6 50.54 Selecting previously unselected package libcc1-0:arm64.
  193. #6 50.55 Preparing to unpack .../05-libcc1-0_10.3.0-1ubuntu1~20.04_arm64.deb ...
  194. #6 50.55 Unpacking libcc1-0:arm64 (10.3.0-1ubuntu1~20.04) ...
  195. #6 50.81 Selecting previously unselected package gcc-9.
  196. #6 50.82 Preparing to unpack .../06-gcc-9_9.4.0-1ubuntu1~20.04_arm64.deb ...
  197. #6 50.82 Unpacking gcc-9 (9.4.0-1ubuntu1~20.04) ...
  198. #6 54.32 Selecting previously unselected package gcc.
  199. #6 54.33 Preparing to unpack .../07-gcc_4%3a9.3.0-1ubuntu2_arm64.deb ...
  200. #6 54.33 Unpacking gcc (4:9.3.0-1ubuntu2) ...
  201. #6 54.56 Selecting previously unselected package g++-9.
  202. #6 54.56 Preparing to unpack .../08-g++-9_9.4.0-1ubuntu1~20.04_arm64.deb ...
  203. #6 54.57 Unpacking g++-9 (9.4.0-1ubuntu1~20.04) ...
  204. #6 58.13 Selecting previously unselected package g++.
  205. #6 58.13 Preparing to unpack .../09-g++_4%3a9.3.0-1ubuntu2_arm64.deb ...
  206. #6 58.14 Unpacking g++ (4:9.3.0-1ubuntu2) ...
  207. #6 58.36 Selecting previously unselected package make.
  208. #6 58.37 Preparing to unpack .../10-make_4.2.1-1.2_arm64.deb ...
  209. #6 58.38 Unpacking make (4.2.1-1.2) ...
  210. #6 58.67 Selecting previously unselected package dpkg-dev.
  211. #6 58.67 Preparing to unpack .../11-dpkg-dev_1.19.7ubuntu3_all.deb ...
  212. #6 58.68 Unpacking dpkg-dev (1.19.7ubuntu3) ...
  213. #6 59.20 Selecting previously unselected package build-essential.
  214. #6 59.21 Preparing to unpack .../12-build-essential_12.8ubuntu1.1_arm64.deb ...
  215. #6 59.21 Unpacking build-essential (12.8ubuntu1.1) ...
  216. #6 59.43 Selecting previously unselected package curl.
  217. #6 59.44 Preparing to unpack .../13-curl_7.68.0-1ubuntu2.7_arm64.deb ...
  218. #6 59.44 Unpacking curl (7.68.0-1ubuntu2.7) ...
  219. #6 59.74 Selecting previously unselected package libfakeroot:arm64.
  220. #6 59.74 Preparing to unpack .../14-libfakeroot_1.24-1_arm64.deb ...
  221. #6 59.75 Unpacking libfakeroot:arm64 (1.24-1) ...
  222. #6 59.99 Selecting previously unselected package fakeroot.
  223. #6 59.99 Preparing to unpack .../15-fakeroot_1.24-1_arm64.deb ...
  224. #6 60.00 Unpacking fakeroot (1.24-1) ...
  225. #6 60.25 Selecting previously unselected package libalgorithm-diff-perl.
  226. #6 60.25 Preparing to unpack .../16-libalgorithm-diff-perl_1.19.03-2_all.deb ...
  227. #6 60.26 Unpacking libalgorithm-diff-perl (1.19.03-2) ...
  228. #6 60.49 Selecting previously unselected package libalgorithm-diff-xs-perl.
  229. #6 60.50 Preparing to unpack .../17-libalgorithm-diff-xs-perl_0.04-6_arm64.deb ...
  230. #6 60.50 Unpacking libalgorithm-diff-xs-perl (0.04-6) ...
  231. #6 60.73 Selecting previously unselected package libalgorithm-merge-perl.
  232. #6 60.73 Preparing to unpack .../18-libalgorithm-merge-perl_0.08-3_all.deb ...
  233. #6 60.74 Unpacking libalgorithm-merge-perl (0.08-3) ...
  234. #6 60.96 Selecting previously unselected package libnghttp2-dev.
  235. #6 60.97 Preparing to unpack .../19-libnghttp2-dev_1.40.0-1build1_arm64.deb ...
  236. #6 60.97 Unpacking libnghttp2-dev (1.40.0-1build1) ...
  237. #6 61.26 Selecting previously unselected package libssl-dev:arm64.
  238. #6 61.26 Preparing to unpack .../20-libssl-dev_1.1.1f-1ubuntu2.12_arm64.deb ...
  239. #6 61.27 Unpacking libssl-dev:arm64 (1.1.1f-1ubuntu2.12) ...
  240. #6 62.22 Selecting previously unselected package patchelf.
  241. #6 62.22 Preparing to unpack .../21-patchelf_0.10-2build1_arm64.deb ...
  242. #6 62.23 Unpacking patchelf (0.10-2build1) ...
  243. #6 62.48 Selecting previously unselected package unzip.
  244. #6 62.48 Preparing to unpack .../22-unzip_6.0-25ubuntu1_arm64.deb ...
  245. #6 62.49 Unpacking unzip (6.0-25ubuntu1) ...
  246. #6 62.82 Setting up libnghttp2-dev (1.40.0-1build1) ...
  247. #6 62.84 Setting up libalgorithm-diff-perl (1.19.03-2) ...
  248. #6 62.86 Setting up unzip (6.0-25ubuntu1) ...
  249. #6 63.20 Setting up libfakeroot:arm64 (1.24-1) ...
  250. #6 63.23 Setting up fakeroot (1.24-1) ...
  251. #6 63.31 update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
  252. #6 63.31 update-alternatives: warning: skip creation of /usr/share/man/man1/fakeroot.1.gz because associated file /usr/share/man/man1/fakeroot-sysv.1.gz (of link group fakeroot) doesn't exist
  253. #6 63.31 update-alternatives: warning: skip creation of /usr/share/man/man1/faked.1.gz because associated file /usr/share/man/man1/faked-sysv.1.gz (of link group fakeroot) doesn't exist
  254. #6 63.31 update-alternatives: warning: skip creation of /usr/share/man/es/man1/fakeroot.1.gz because associated file /usr/share/man/es/man1/fakeroot-sysv.1.gz (of link group fakeroot) doesn't exist
  255. #6 63.31 update-alternatives: warning: skip creation of /usr/share/man/es/man1/faked.1.gz because associated file /usr/share/man/es/man1/faked-sysv.1.gz (of link group fakeroot) doesn't exist
  256. #6 63.31 update-alternatives: warning: skip creation of /usr/share/man/fr/man1/fakeroot.1.gz because associated file /usr/share/man/fr/man1/fakeroot-sysv.1.gz (of link group fakeroot) doesn't exist
  257. #6 63.31 update-alternatives: warning: skip creation of /usr/share/man/fr/man1/faked.1.gz because associated file /usr/share/man/fr/man1/faked-sysv.1.gz (of link group fakeroot) doesn't exist
  258. #6 63.32 update-alternatives: warning: skip creation of /usr/share/man/sv/man1/fakeroot.1.gz because associated file /usr/share/man/sv/man1/fakeroot-sysv.1.gz (of link group fakeroot) doesn't exist
  259. #6 63.32 update-alternatives: warning: skip creation of /usr/share/man/sv/man1/faked.1.gz because associated file /usr/share/man/sv/man1/faked-sysv.1.gz (of link group fakeroot) doesn't exist
  260. #6 63.38 Setting up make (4.2.1-1.2) ...
  261. #6 63.40 Setting up libmpfr6:arm64 (4.0.2-1) ...
  262. #6 63.42 Setting up libssl-dev:arm64 (1.1.1f-1ubuntu2.12) ...
  263. #6 63.44 Setting up libmpc3:arm64 (1.1.0-1) ...
  264. #6 63.46 Setting up libisl22:arm64 (0.22.1-1) ...
  265. #6 63.47 Setting up curl (7.68.0-1ubuntu2.7) ...
  266. #6 63.49 Setting up patchelf (0.10-2build1) ...
  267. #6 63.51 Setting up libalgorithm-diff-xs-perl (0.04-6) ...
  268. #6 63.53 Setting up libcc1-0:arm64 (10.3.0-1ubuntu1~20.04) ...
  269. #6 63.54 Setting up libalgorithm-merge-perl (0.08-3) ...
  270. #6 63.56 Setting up dpkg-dev (1.19.7ubuntu3) ...
  271. #6 63.59 Setting up cpp-9 (9.4.0-1ubuntu1~20.04) ...
  272. #6 63.61 Setting up gcc-9 (9.4.0-1ubuntu1~20.04) ...
  273. #6 63.63 Setting up g++-9 (9.4.0-1ubuntu1~20.04) ...
  274. #6 63.66 Setting up cpp (4:9.3.0-1ubuntu2) ...
  275. #6 63.76 Setting up gcc (4:9.3.0-1ubuntu2) ...
  276. #6 63.95 Setting up g++ (4:9.3.0-1ubuntu2) ...
  277. #6 64.23 update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
  278. #6 64.23 update-alternatives: warning: skip creation of /usr/share/man/man1/c++.1.gz because associated file /usr/share/man/man1/g++.1.gz (of link group c++) doesn't exist
  279. #6 64.25 Setting up build-essential (12.8ubuntu1.1) ...
  280. #6 64.27 Processing triggers for libc-bin (2.31-0ubuntu9.7) ...
  281. #6 64.42 Processing triggers for mime-support (3.64ubuntu1) ...
  282. #6 DONE 65.1s
  283.  
  284. #7 [swift_builder 3/3] RUN case arm64 in "amd64") SWIFT_LIB_DIR=/lib64 && SWIFT_LINKER=ld-linux-x86-64.so.2 ;; "arm64") SWIFT_LIB_DIR=/lib && SWIFT_LINKER=ld-linux-aarch64.so.1 ;; *) echo "ERROR: Machine arch arm64 not supported." ;; esac && mkdir -p /grpc-swift && curl -sSL https://api.github.com/repos/grpc/grpc-swift/tarball/1.7.1 | tar xz --strip 1 -C /grpc-swift && cd /grpc-swift && make && make plugins && install -Ds /grpc-swift/protoc-gen-swift /protoc-gen-swift/protoc-gen-swift && install -Ds /grpc-swift/protoc-gen-grpc-swift /protoc-gen-swift/protoc-gen-grpc-swift && cp $SWIFT_LIB_DIR/$SWIFT_LINKER $(ldd /protoc-gen-swift/protoc-gen-swift /protoc-gen-swift/protoc-gen-grpc-swift | awk '{print $3}' | grep /lib | sort | uniq) /protoc-gen-swift/ && find /protoc-gen-swift/ -name 'lib*.so*' -exec patchelf --set-rpath /protoc-gen-swift {} ; && for p in protoc-gen-swift protoc-gen-grpc-swift; do patchelf --set-interpreter /protoc-gen-swift/$SWIFT_LINKER /protoc-gen-swift/${p}; done
  285. #7 2.335 swift build --build-path=./.build --configuration=debug --enable-test-discovery
  286. #7 26.94 Fetching https://github.com/apple/swift-argument-parser.git
  287. #7 26.94 Fetching https://github.com/apple/swift-protobuf.git
  288. #7 26.94 Fetching https://github.com/apple/swift-nio-ssl.git
  289. #7 28.67 [1/7965] Fetching objects
  290. #7 33.60 Fetched https://github.com/apple/swift-argument-parser.git (6.66s)
  291. #7 33.62 Fetching https://github.com/apple/swift-log.git
  292. #7 35.01 Fetched https://github.com/apple/swift-nio-ssl.git (8.08s)
  293. #7 35.01 Fetching https://github.com/apple/swift-nio-extras.git
  294. #7 36.56 Fetched https://github.com/apple/swift-log.git (2.94s)
  295. #7 36.56 Fetching https://github.com/apple/swift-nio-http2.git
  296. #7 37.41 Fetched https://github.com/apple/swift-nio-extras.git (2.40s)
  297. #7 37.41 Fetching https://github.com/apple/swift-nio.git
  298. #7 45.29 Fetched https://github.com/apple/swift-nio-http2.git (8.73s)
  299. #7 45.30 Fetching https://github.com/apple/swift-nio-transport-services.git
  300. #7 48.11 Fetched https://github.com/apple/swift-nio-transport-services.git (2.81s)
  301. #7 54.12 Fetched https://github.com/apple/swift-protobuf.git (27.19s)
  302. #7 66.31 Fetched https://github.com/apple/swift-nio.git (28.90s)
  303. #7 66.40 Computing version for https://github.com/apple/swift-nio-http2.git
  304. #7 72.65 Computed https://github.com/apple/swift-nio-http2.git at 1.20.0 (6.25s)
  305. #7 72.67 Computing version for https://github.com/apple/swift-log.git
  306. #7 78.45 Computed https://github.com/apple/swift-log.git at 1.4.2 (5.77s)
  307. #7 78.47 Computing version for https://github.com/apple/swift-nio-transport-services.git
  308. #7 84.50 Computed https://github.com/apple/swift-nio-transport-services.git at 1.11.4 (6.03s)
  309. #7 84.51 Computing version for https://github.com/apple/swift-nio.git
  310. #7 91.89 Computed https://github.com/apple/swift-nio.git at 2.38.0 (7.37s)
  311. #7 91.90 Computing version for https://github.com/apple/swift-argument-parser.git
  312. #7 98.00 Computed https://github.com/apple/swift-argument-parser.git at 1.1.1 (6.10s)
  313. #7 98.01 Computing version for https://github.com/apple/swift-nio-ssl.git
  314. #7 104.9 Computed https://github.com/apple/swift-nio-ssl.git at 2.17.2 (6.88s)
  315. #7 104.9 Computing version for https://github.com/apple/swift-protobuf.git
  316. #7 117.3 Computed https://github.com/apple/swift-protobuf.git at 1.19.0 (12.36s)
  317. #7 117.3 Computing version for https://github.com/apple/swift-nio-extras.git
  318. #7 124.2 Computed https://github.com/apple/swift-nio-extras.git at 1.10.2 (6.97s)
  319. #7 128.6 Creating working copy for https://github.com/apple/swift-nio-http2.git
  320. #7 130.8 Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.20.0
  321. #7 130.9 Creating working copy for https://github.com/apple/swift-nio-extras.git
  322. #7 132.4 Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.10.2
  323. #7 132.6 Creating working copy for https://github.com/apple/swift-nio-ssl.git
  324. #7 134.5 Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.17.2
  325. #7 134.7 Creating working copy for https://github.com/apple/swift-log.git
  326. #7 136.2 Working copy of https://github.com/apple/swift-log.git resolved at 1.4.2
  327. #7 136.5 Creating working copy for https://github.com/apple/swift-nio.git
  328. #7 138.6 Working copy of https://github.com/apple/swift-nio.git resolved at 2.38.0
  329. #7 138.8 Creating working copy for https://github.com/apple/swift-argument-parser.git
  330. #7 140.6 Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.1.1
  331. #7 140.8 Creating working copy for https://github.com/apple/swift-protobuf.git
  332. #7 142.6 Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.19.0
  333. #7 142.8 Creating working copy for https://github.com/apple/swift-nio-transport-services.git
  334. #7 144.1 Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.11.4
  335. #7 171.8 Building for debugging...
  336. #7 177.8 [1/487] Compiling CNIOWindows WSAStartup.c
  337. #7 177.8 [2/487] Compiling CNIOWindows shim.c
  338. #7 191.7 [3/565] Compiling CNIOLinux shim.c
  339. #7 191.7 [4/565] Compiling CNIOLinux liburing_shims.c
  340. #7 191.7 [5/565] Compiling CNIOHTTPParser c_nio_http_parser.c
  341. #7 191.7 [6/565] Compiling CNIODarwin shim.c
  342. #7 191.7 [7/565] Compiling CNIOBoringSSLShims shims.c
  343. #7 202.8 [8/567] Emitting module ArgumentParserToolInfo
  344. #7 217.1 [8/567] Compiling tls13_server.cc
  345. #7 217.1 [8/567] Compiling tls_method.cc
  346. #7 217.1 [9/567] Compiling a_int.c
  347. #7 217.1 [10/567] Compiling a_gentm.c
  348. #7 217.2 [11/567] Compiling a_i2d_fp.c
  349. #7 217.2 [11/567] Compiling tls_record.cc
  350. #7 217.2 [12/567] Compiling a_bitstr.c
  351. #7 217.2 [12/567] Compiling c-atomics.c
  352. #7 217.2 [13/567] Compiling a_bool.c
  353. #7 217.2 [14/567] Compiling c-nioatomics.c
  354. #7 217.6 make: *** [Makefile:25: all] Error 1
  355. #7 ERROR: process "/bin/sh -c case ${TARGETARCH} in \"amd64\") SWIFT_LIB_DIR=/lib64 && SWIFT_LINKER=ld-linux-x86-64.so.2 ;; \"arm64\") SWIFT_LIB_DIR=/lib && SWIFT_LINKER=ld-linux-aarch64.so.1 ;; *) echo \"ERROR: Machine arch ${TARGETARCH} not supported.\" ;; esac && mkdir -p /grpc-swift && curl -sSL https://api.github.com/repos/grpc/grpc-swift/tarball/${GRPC_SWIFT_VERSION} | tar xz --strip 1 -C /grpc-swift && cd /grpc-swift && make && make plugins && install -Ds /grpc-swift/protoc-gen-swift /protoc-gen-swift/protoc-gen-swift && install -Ds /grpc-swift/protoc-gen-grpc-swift /protoc-gen-swift/protoc-gen-grpc-swift && cp $SWIFT_LIB_DIR/$SWIFT_LINKER $(ldd /protoc-gen-swift/protoc-gen-swift /protoc-gen-swift/protoc-gen-grpc-swift | awk '{print $3}' | grep /lib | sort | uniq) /protoc-gen-swift/ && find /protoc-gen-swift/ -name 'lib*.so*' -exec patchelf --set-rpath /protoc-gen-swift {} \\; && for p in protoc-gen-swift protoc-gen-grpc-swift; do patchelf --set-interpreter /protoc-gen-swift/$SWIFT_LINKER /protoc-gen-swift/${p}; done" did not complete successfully: exit code: 2
  356. ------
  357. > [swift_builder 3/3] RUN case arm64 in "amd64") SWIFT_LIB_DIR=/lib64 && SWIFT_LINKER=ld-linux-x86-64.so.2 ;; "arm64") SWIFT_LIB_DIR=/lib && SWIFT_LINKER=ld-linux-aarch64.so.1 ;; *) echo "ERROR: Machine arch arm64 not supported." ;; esac && mkdir -p /grpc-swift && curl -sSL https://api.github.com/repos/grpc/grpc-swift/tarball/1.7.1 | tar xz --strip 1 -C /grpc-swift && cd /grpc-swift && make && make plugins && install -Ds /grpc-swift/protoc-gen-swift /protoc-gen-swift/protoc-gen-swift && install -Ds /grpc-swift/protoc-gen-grpc-swift /protoc-gen-swift/protoc-gen-grpc-swift && cp $SWIFT_LIB_DIR/$SWIFT_LINKER $(ldd /protoc-gen-swift/protoc-gen-swift /protoc-gen-swift/protoc-gen-grpc-swift | awk '{print $3}' | grep /lib | sort | uniq) /protoc-gen-swift/ && find /protoc-gen-swift/ -name 'lib*.so*' -exec patchelf --set-rpath /protoc-gen-swift {} ; && for p in protoc-gen-swift protoc-gen-grpc-swift; do patchelf --set-interpreter /protoc-gen-swift/$SWIFT_LINKER /protoc-gen-swift/${p}; done:
  358. #7 217.1 [8/567] Compiling tls_method.cc
  359. #7 217.1 [9/567] Compiling a_int.c
  360. #7 217.1 [10/567] Compiling a_gentm.c
  361. #7 217.2 [11/567] Compiling a_i2d_fp.c
  362. #7 217.2 [11/567] Compiling tls_record.cc
  363. #7 217.2 [12/567] Compiling a_bitstr.c
  364. #7 217.2 [12/567] Compiling c-atomics.c
  365. #7 217.2 [13/567] Compiling a_bool.c
  366. #7 217.2 [14/567] Compiling c-nioatomics.c
  367. #7 217.6 make: *** [Makefile:25: all] Error 1
  368. ------
  369. Dockerfile:202
  370. --------------------
  371. 201 | ARG TARGETARCH
  372. 202 | >>> RUN case ${TARGETARCH} in \
  373. 203 | >>> "amd64") SWIFT_LIB_DIR=/lib64 && SWIFT_LINKER=ld-linux-x86-64.so.2 ;; \
  374. 204 | >>> "arm64") SWIFT_LIB_DIR=/lib && SWIFT_LINKER=ld-linux-aarch64.so.1 ;; \
  375. 205 | >>> *) echo "ERROR: Machine arch ${TARGETARCH} not supported." ;; \
  376. 206 | >>> esac && \
  377. 207 | >>> mkdir -p /grpc-swift && \
  378. 208 | >>> curl -sSL https://api.github.com/repos/grpc/grpc-swift/tarball/${GRPC_SWIFT_VERSION} | tar xz --strip 1 -C /grpc-swift && \
  379. 209 | >>> cd /grpc-swift && make && make plugins && \
  380. 210 | >>> install -Ds /grpc-swift/protoc-gen-swift /protoc-gen-swift/protoc-gen-swift && \
  381. 211 | >>> install -Ds /grpc-swift/protoc-gen-grpc-swift /protoc-gen-swift/protoc-gen-grpc-swift && \
  382. 212 | >>> cp $SWIFT_LIB_DIR/$SWIFT_LINKER \
  383. 213 | >>> $(ldd /protoc-gen-swift/protoc-gen-swift /protoc-gen-swift/protoc-gen-grpc-swift | awk '{print $3}' | grep /lib | sort | uniq) \
  384. 214 | >>> /protoc-gen-swift/ && \
  385. 215 | >>> find /protoc-gen-swift/ -name 'lib*.so*' -exec patchelf --set-rpath /protoc-gen-swift {} \; && \
  386. 216 | >>> for p in protoc-gen-swift protoc-gen-grpc-swift; do \
  387. 217 | >>> patchelf --set-interpreter /protoc-gen-swift/$SWIFT_LINKER /protoc-gen-swift/${p}; \
  388. 218 | >>> done
  389. 219 |
  390. --------------------
  391. error: failed to solve: process "/bin/sh -c case ${TARGETARCH} in \"amd64\") SWIFT_LIB_DIR=/lib64 && SWIFT_LINKER=ld-linux-x86-64.so.2 ;; \"arm64\") SWIFT_LIB_DIR=/lib && SWIFT_LINKER=ld-linux-aarch64.so.1 ;; *) echo \"ERROR: Machine arch ${TARGETARCH} not supported.\" ;; esac && mkdir -p /grpc-swift && curl -sSL https://api.github.com/repos/grpc/grpc-swift/tarball/${GRPC_SWIFT_VERSION} | tar xz --strip 1 -C /grpc-swift && cd /grpc-swift && make && make plugins && install -Ds /grpc-swift/protoc-gen-swift /protoc-gen-swift/protoc-gen-swift && install -Ds /grpc-swift/protoc-gen-grpc-swift /protoc-gen-swift/protoc-gen-grpc-swift && cp $SWIFT_LIB_DIR/$SWIFT_LINKER $(ldd /protoc-gen-swift/protoc-gen-swift /protoc-gen-swift/protoc-gen-grpc-swift | awk '{print $3}' | grep /lib | sort | uniq) /protoc-gen-swift/ && find /protoc-gen-swift/ -name 'lib*.so*' -exec patchelf --set-rpath /protoc-gen-swift {} \\; && for p in protoc-gen-swift protoc-gen-grpc-swift; do patchelf --set-interpreter /protoc-gen-swift/$SWIFT_LINKER /protoc-gen-swift/${p}; done" did not complete successfully: exit code: 2
  392.  
Advertisement
RAW Paste Data Copied
Advertisement