Cloud build fails during prebuild steps

1: Running Prebuild steps
2: In quiet period, build will start momentarily…
3: Agent pid 18403
4: All identities removed.
5: Building native extensions. This could take a while…
6: ERROR: Error installing bvr:
7: ERROR: Failed to build gem native extension.
8: /BUILD_PATH/.rvm/rubies/ruby-2.1.1/bin/ruby extconf.rb
9: *** extconf.rb failed ***
10: Could not create Makefile due to some reason, probably lack of necessary
11: libraries and/or headers. Check the mkmf.log file for more details. You may
12: need configuration options.
13: Provided configuration options:
14: --with-opt-dir
15: --with-opt-include
16: --without-opt-include={opt-dir}/include 17: --with-opt-lib 18: --without-opt-lib={opt-dir}/lib
19: --with-make-prog
20: --without-make-prog
21: --srcdir=.
22: --curdir
23: --ruby=/BUILD_PATH/.rvm/rubies/ruby-2.1.1/bin/ruby
24: --with-p4api-dir
25: --without-p4api-dir
26: --enable-p4api-download
27: --disable-p4api-download
28: /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/protocol.rb:153:in read_nonblock': Connection reset by peer (Errno::ECONNRESET) 29: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/protocol.rb:153:in rbuf_fill’
30: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/protocol.rb:134:in readuntil' 31: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:1111:in readline’
32: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:290:in getline' 33: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:301:in getmultiline’
34: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:319:in getresp' 35: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:352:in block in sendcmd’
36: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize' 37: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:350:in sendcmd’
38: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:395:in makepasv' 39: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:407:in transfercmd’
40: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:488:in block (2 levels) in retrbinary' 41: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:199:in with_binary’
42: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:486:in block in retrbinary' 43: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize’
44: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:485:in retrbinary' 45: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:618:in getbinaryfile’
46: from extconf.rb:508:in download_api_via_ftp' 47: from extconf.rb:363:in resolve_p4api_dir’
48: from extconf.rb:549:in <main>' 49: p4osname DARWIN 50: p4osver 15 51: $CFLAGS $(cflags) -fno-common -pipe 52: downloading p4api.tgz from perforce/r15.2/bin.darwin90x86_64 on ftp.perforce.com 53: extconf failed, exit code 1 54: Gem files will remain installed in /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/p4ruby-2015.2.1313860 for inspection. 55: Results logged to /BUILD_PATH/.rvm/gems/ruby-2.1.1/extensions/x86_64-darwin-15/2.1.0/p4ruby-2015.2.1313860/gem_make.out 56: Before retry #1: sleeping 5.0 seconds 57: Building native extensions. This could take a while... 58: ERROR: Error installing bvr: 59: ERROR: Failed to build gem native extension. 60: /BUILD_PATH/.rvm/rubies/ruby-2.1.1/bin/ruby extconf.rb 61: *** extconf.rb failed *** 62: Could not create Makefile due to some reason, probably lack of necessary 63: libraries and/or headers. Check the mkmf.log file for more details. You may 64: need configuration options. 65: Provided configuration options: 66: --with-opt-dir 67: --with-opt-include 68: --without-opt-include=${opt-dir}/include 69: --with-opt-lib 70: --without-opt-lib=${opt-dir}/lib 71: --with-make-prog 72: --without-make-prog 73: --srcdir=. 74: --curdir 75: --ruby=/BUILD_PATH/.rvm/rubies/ruby-2.1.1/bin/ruby 76: --with-p4api-dir 77: --without-p4api-dir 78: --enable-p4api-download 79: --disable-p4api-download 80: /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/protocol.rb:153:in read_nonblock’: Connection reset by peer (Errno::ECONNRESET)
81: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/protocol.rb:153:in rbuf_fill' 82: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/protocol.rb:134:in readuntil’
83: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:1111:in readline' 84: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:290:in getline’
85: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:301:in getmultiline' 86: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:319:in getresp’
87: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:352:in block in sendcmd' 88: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize’
89: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:350:in sendcmd' 90: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:395:in makepasv’
91: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:407:in transfercmd' 92: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:488:in block (2 levels) in retrbinary’
93: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:199:in with_binary' 94: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:486:in block in retrbinary’
95: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize' 96: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:485:in retrbinary’
97: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:618:in getbinaryfile' 98: from extconf.rb:508:in download_api_via_ftp’
99: from extconf.rb:363:in resolve_p4api_dir' 100: from extconf.rb:549:in
101: p4osname DARWIN
102: p4osver 15
103: CFLAGS (cflags) -fno-common -pipe
104: downloading p4api.tgz from perforce/r15.2/bin.darwin90x86_64 on ftp.perforce.com
105: extconf failed, exit code 1
106: Gem files will remain installed in /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/p4ruby-2015.2.1313860 for inspection.
107: Results logged to /BUILD_PATH/.rvm/gems/ruby-2.1.1/extensions/x86_64-darwin-15/2.1.0/p4ruby-2015.2.1313860/gem_make.out
108: Before retry #2: sleeping 10.0 seconds
109: Building native extensions. This could take a while…
110: ERROR: Error installing bvr:
111: ERROR: Failed to build gem native extension.
112: /BUILD_PATH/.rvm/rubies/ruby-2.1.1/bin/ruby extconf.rb
113: *** extconf.rb failed ***
114: Could not create Makefile due to some reason, probably lack of necessary
115: libraries and/or headers. Check the mkmf.log file for more details. You may
116: need configuration options.
117: Provided configuration options:
118: --with-opt-dir
119: --with-opt-include
120: --without-opt-include={opt-dir}/include 121: --with-opt-lib 122: --without-opt-lib={opt-dir}/lib
123: --with-make-prog
124: --without-make-prog
125: --srcdir=.
126: --curdir
127: --ruby=/BUILD_PATH/.rvm/rubies/ruby-2.1.1/bin/ruby
128: --with-p4api-dir
129: --without-p4api-dir
130: --enable-p4api-download
131: --disable-p4api-download
132: /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/protocol.rb:153:in read_nonblock': Connection reset by peer (Errno::ECONNRESET) 133: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/protocol.rb:153:in rbuf_fill’
134: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/protocol.rb:134:in readuntil' 135: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:1111:in readline’
136: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:290:in getline' 137: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:301:in getmultiline’
138: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:319:in getresp' 139: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:352:in block in sendcmd’
140: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize' 141: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:350:in sendcmd’
142: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:395:in makepasv' 143: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:407:in transfercmd’
144: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:488:in block (2 levels) in retrbinary' 145: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:199:in with_binary’
146: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:486:in block in retrbinary' 147: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize’
148: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:485:in retrbinary' 149: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:618:in getbinaryfile’
150: from extconf.rb:508:in download_api_via_ftp' 151: from extconf.rb:363:in resolve_p4api_dir’
152: from extconf.rb:549:in <main>' 153: p4osname DARWIN 154: p4osver 15 155: $CFLAGS $(cflags) -fno-common -pipe 156: downloading p4api.tgz from perforce/r15.2/bin.darwin90x86_64 on ftp.perforce.com 157: extconf failed, exit code 1 158: Gem files will remain installed in /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/p4ruby-2015.2.1313860 for inspection. 159: Results logged to /BUILD_PATH/.rvm/gems/ruby-2.1.1/extensions/x86_64-darwin-15/2.1.0/p4ruby-2015.2.1313860/gem_make.out 160: Before retry #3: sleeping 20.0 seconds 161: Building native extensions. This could take a while... 162: ERROR: Error installing bvr: 163: ERROR: Failed to build gem native extension. 164: /BUILD_PATH/.rvm/rubies/ruby-2.1.1/bin/ruby extconf.rb 165: *** extconf.rb failed *** 166: Could not create Makefile due to some reason, probably lack of necessary 167: libraries and/or headers. Check the mkmf.log file for more details. You may 168: need configuration options. 169: Provided configuration options: 170: --with-opt-dir 171: --with-opt-include 172: --without-opt-include=${opt-dir}/include 173: --with-opt-lib 174: --without-opt-lib=${opt-dir}/lib 175: --with-make-prog 176: --without-make-prog 177: --srcdir=. 178: --curdir 179: --ruby=/BUILD_PATH/.rvm/rubies/ruby-2.1.1/bin/ruby 180: --with-p4api-dir 181: --without-p4api-dir 182: --enable-p4api-download 183: --disable-p4api-download 184: /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/protocol.rb:153:in read_nonblock’: Connection reset by peer (Errno::ECONNRESET)
185: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/protocol.rb:153:in rbuf_fill' 186: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/protocol.rb:134:in readuntil’
187: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:1111:in readline' 188: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:290:in getline’
189: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:301:in getmultiline' 190: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:319:in getresp’
191: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:352:in block in sendcmd' 192: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize’
193: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:350:in sendcmd' 194: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:395:in makepasv’
195: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:407:in transfercmd' 196: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:488:in block (2 levels) in retrbinary’
197: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:199:in with_binary' 198: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:486:in block in retrbinary’
199: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize' 200: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:485:in retrbinary’
201: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:618:in getbinaryfile' 202: from extconf.rb:508:in download_api_via_ftp’
203: from extconf.rb:363:in resolve_p4api_dir' 204: from extconf.rb:549:in
205: p4osname DARWIN
206: p4osver 15
207: CFLAGS (cflags) -fno-common -pipe
208: downloading p4api.tgz from perforce/r15.2/bin.darwin90x86_64 on ftp.perforce.com
209: extconf failed, exit code 1
210: Gem files will remain installed in /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/p4ruby-2015.2.1313860 for inspection.
211: Results logged to /BUILD_PATH/.rvm/gems/ruby-2.1.1/extensions/x86_64-darwin-15/2.1.0/p4ruby-2015.2.1313860/gem_make.out
212: Before retry #4: sleeping 40.0 seconds
213: Building native extensions. This could take a while…
214: ERROR: Error installing bvr:
215: ERROR: Failed to build gem native extension.
216: /BUILD_PATH/.rvm/rubies/ruby-2.1.1/bin/ruby extconf.rb
217: *** extconf.rb failed ***
218: Could not create Makefile due to some reason, probably lack of necessary
219: libraries and/or headers. Check the mkmf.log file for more details. You may
220: need configuration options.
221: Provided configuration options:
222: --with-opt-dir
223: --with-opt-include
224: --without-opt-include={opt-dir}/include 225: --with-opt-lib 226: --without-opt-lib={opt-dir}/lib
227: --with-make-prog
228: --without-make-prog
229: --srcdir=.
230: --curdir
231: --ruby=/BUILD_PATH/.rvm/rubies/ruby-2.1.1/bin/ruby
232: --with-p4api-dir
233: --without-p4api-dir
234: --enable-p4api-download
235: --disable-p4api-download
236: /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:325:in getresp': 421 There are too many connections from your internet address. (Net::FTPTempError) 237: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:339:in voidresp’
238: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:249:in block in connect' 239: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize’
240: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:247:in connect' 241: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:160:in initialize’
242: from extconf.rb:495:in new' 243: from extconf.rb:495:in download_api_via_ftp’
244: from extconf.rb:363:in resolve_p4api_dir' 245: from extconf.rb:549:in
246: p4osname DARWIN
247: p4osver 15
248: CFLAGS (cflags) -fno-common -pipe
249: extconf failed, exit code 1
250: Gem files will remain installed in /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/p4ruby-2015.2.1313860 for inspection.
251: Results logged to /BUILD_PATH/.rvm/gems/ruby-2.1.1/extensions/x86_64-darwin-15/2.1.0/p4ruby-2015.2.1313860/gem_make.out
252: Before retry #5: sleeping 80.0 seconds
253: Building native extensions. This could take a while…
254: ERROR: Error installing bvr:
255: ERROR: Failed to build gem native extension.
256: /BUILD_PATH/.rvm/rubies/ruby-2.1.1/bin/ruby extconf.rb
257: *** extconf.rb failed ***
258: Could not create Makefile due to some reason, probably lack of necessary
259: libraries and/or headers. Check the mkmf.log file for more details. You may
260: need configuration options.
261: Provided configuration options:
262: --with-opt-dir
263: --with-opt-include
264: --without-opt-include={opt-dir}/include 265: --with-opt-lib 266: --without-opt-lib={opt-dir}/lib
267: --with-make-prog
268: --without-make-prog
269: --srcdir=.
270: --curdir
271: --ruby=/BUILD_PATH/.rvm/rubies/ruby-2.1.1/bin/ruby
272: --with-p4api-dir
273: --without-p4api-dir
274: --enable-p4api-download
275: --disable-p4api-download
276: /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/protocol.rb:153:in read_nonblock': Connection reset by peer (Errno::ECONNRESET) 277: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/protocol.rb:153:in rbuf_fill’
278: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/protocol.rb:134:in readuntil' 279: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:1111:in readline’
280: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:290:in getline' 281: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:301:in getmultiline’
282: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:319:in getresp' 283: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:352:in block in sendcmd’
284: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize' 285: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:350:in sendcmd’
286: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:395:in makepasv' 287: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:407:in transfercmd’
288: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:488:in block (2 levels) in retrbinary' 289: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:199:in with_binary’
290: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:486:in block in retrbinary' 291: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize’
292: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:485:in retrbinary' 293: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:618:in getbinaryfile’
294: from extconf.rb:508:in download_api_via_ftp' 295: from extconf.rb:363:in resolve_p4api_dir’
296: from extconf.rb:549:in `’
297: p4osname DARWIN
298: p4osver 15
299: CFLAGS (cflags) -fno-common -pipe
300: downloading p4api.tgz from perforce/r15.2/bin.darwin90x86_64 on ftp.perforce.com
301: extconf failed, exit code 1
302: Gem files will remain installed in /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/p4ruby-2015.2.1313860 for inspection.
303: Results logged to /BUILD_PATH/.rvm/gems/ruby-2.1.1/extensions/x86_64-darwin-15/2.1.0/p4ruby-2015.2.1313860/gem_make.out
304: Retries exhausted
305: Command Failed: bvr
306: ERROR: failed to update buildpacks!
307: ERROR: pre-build step failed to setup environment
308: Finished: FAILURE

I’m getting the same errors too

6: ERROR: Error installing bvr:
7: ERROR: Failed to build gem native extension.

This was a problem on our end and should be addressed now. See updates here: UCB Team: Cloud Build errors December 26-27 - Unity Services - Unity Discussions