Description of issue: Build fails immediately (prebuild)
Unity version: 5.5.0f3
XCode version: Only UCB
Source control: bitbucket (private)
Local build platform: Building to web / standalone app works as expected
Build target: iPhone / iPad (iOS only at this point)
Relevant plugins being used (i.e. Google Play Game Services, other plugins that may perform automatic post-build behaviors)
Behavior seemed to start when I enabled Chartboost and/or Gamesparks - However reverting back to a previously working revision has not changed this behavior…
Build log (relevant chunk): (BOLD added by me)
Running Prebuild steps
In quiet period, build will start momentarily…
Agent pid 7938
All identities removed.
Building native extensions. This could take a while…
ERROR: Error installing bvr:
ERROR: Failed to build gem native extension.
/BUILD_PATH/.rvm/rubies/ruby-2.1.1/bin/ruby extconf.rb
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
–with-opt-dir
–with-opt-include
–without-opt-include={opt-dir}/include
--with-opt-lib
--without-opt-lib={opt-dir}/lib
–with-make-prog
–without-make-prog
–srcdir=.
–curdir
–ruby=/BUILD_PATH/.rvm/rubies/ruby-2.1.1/bin/ruby
–with-p4api-dir
–without-p4api-dir
–enable-p4api-download
–disable-p4api-download
/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) from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/protocol.rb:153:in rbuf_fill’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/protocol.rb:134:in readuntil' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:1111:in readline’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:290:in getline' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:301:in getmultiline’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:319:in getresp' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:352:in block in sendcmd’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:350:in sendcmd’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:395:in makepasv' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:407:in transfercmd’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:488:in block (2 levels) in retrbinary' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:199:in with_binary’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:486:in block in retrbinary' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:485:in retrbinary' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:618:in getbinaryfile’
from extconf.rb:508:in download_api_via_ftp' from extconf.rb:363:in resolve_p4api_dir’
from extconf.rb:549:in <main>' p4osname DARWIN p4osver 15 $CFLAGS $(cflags) -fno-common -pipe downloading p4api.tgz from perforce/r15.2/bin.darwin90x86_64 on ftp.perforce.com extconf failed, exit code 1 Gem files will remain installed in /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/p4ruby-2015.2.1313860 for inspection. 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 Before retry #1: sleeping 5.0 seconds Building native extensions. This could take a while... ERROR: Error installing bvr: ERROR: Failed to build gem native extension. /BUILD_PATH/.rvm/rubies/ruby-2.1.1/bin/ruby extconf.rb *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/BUILD_PATH/.rvm/rubies/ruby-2.1.1/bin/ruby --with-p4api-dir --without-p4api-dir --enable-p4api-download --disable-p4api-download **/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)**
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:339:in voidresp' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:249:in block in connect’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:247:in connect’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:160:in initialize' from extconf.rb:495:in new’
from extconf.rb:495:in download_api_via_ftp' from extconf.rb:363:in resolve_p4api_dir’
from extconf.rb:549:in <main>' p4osname DARWIN p4osver 15 $CFLAGS $(cflags) -fno-common -pipe extconf failed, exit code 1 Gem files will remain installed in /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/p4ruby-2015.2.1313860 for inspection. 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 Before retry #2: sleeping 10.0 seconds Building native extensions. This could take a while... ERROR: Error installing bvr: ERROR: Failed to build gem native extension. /BUILD_PATH/.rvm/rubies/ruby-2.1.1/bin/ruby extconf.rb *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/BUILD_PATH/.rvm/rubies/ruby-2.1.1/bin/ruby --with-p4api-dir --without-p4api-dir --enable-p4api-download --disable-p4api-download **/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)**
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:339:in voidresp' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:249:in block in connect’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:247:in connect’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:160:in initialize' from extconf.rb:495:in new’
from extconf.rb:495:in download_api_via_ftp' from extconf.rb:363:in resolve_p4api_dir’
from extconf.rb:549:in <main>' p4osname DARWIN p4osver 15 $CFLAGS $(cflags) -fno-common -pipe extconf failed, exit code 1 Gem files will remain installed in /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/p4ruby-2015.2.1313860 for inspection. 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 Before retry #3: sleeping 20.0 seconds Building native extensions. This could take a while... ERROR: Error installing bvr: ERROR: Failed to build gem native extension. /BUILD_PATH/.rvm/rubies/ruby-2.1.1/bin/ruby extconf.rb *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/BUILD_PATH/.rvm/rubies/ruby-2.1.1/bin/ruby --with-p4api-dir --without-p4api-dir --enable-p4api-download --disable-p4api-download **/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)**
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/protocol.rb:153:in rbuf_fill' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/protocol.rb:134:in readuntil’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:1111:in readline' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:290:in getline’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:301:in getmultiline' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:319:in getresp’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:352:in block in sendcmd' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:350:in sendcmd' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:395:in makepasv’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:407:in transfercmd' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:488:in block (2 levels) in retrbinary’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:199:in with_binary' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:486:in block in retrbinary’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:485:in retrbinary’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:618:in getbinaryfile' from extconf.rb:508:in download_api_via_ftp’
from extconf.rb:363:in resolve_p4api_dir' from extconf.rb:549:in ’
p4osname DARWIN
p4osver 15
CFLAGS (cflags) -fno-common -pipe
downloading p4api.tgz from perforce/r15.2/bin.darwin90x86_64 on ftp.perforce.com
extconf failed, exit code 1
Gem files will remain installed in /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/p4ruby-2015.2.1313860 for inspection.
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
Before retry #4: sleeping 40.0 seconds
Building native extensions. This could take a while…
ERROR: Error installing bvr:
ERROR: Failed to build gem native extension.
/BUILD_PATH/.rvm/rubies/ruby-2.1.1/bin/ruby extconf.rb
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
–with-opt-dir
–with-opt-include
–without-opt-include={opt-dir}/include
--with-opt-lib
--without-opt-lib={opt-dir}/lib
–with-make-prog
–without-make-prog
–srcdir=.
–curdir
–ruby=/BUILD_PATH/.rvm/rubies/ruby-2.1.1/bin/ruby
–with-p4api-dir
–without-p4api-dir
–enable-p4api-download
–disable-p4api-download
/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)** from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/protocol.rb:153:in rbuf_fill’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/protocol.rb:134:in readuntil' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:1111:in readline’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:290:in getline' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:301:in getmultiline’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:319:in getresp' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:352:in block in sendcmd’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:350:in sendcmd’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:395:in makepasv' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:407:in transfercmd’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:488:in block (2 levels) in retrbinary' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:199:in with_binary’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:486:in block in retrbinary' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:485:in retrbinary' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:618:in getbinaryfile’
from extconf.rb:508:in download_api_via_ftp' from extconf.rb:363:in resolve_p4api_dir’
from extconf.rb:549:in <main>' p4osname DARWIN p4osver 15 $CFLAGS $(cflags) -fno-common -pipe downloading p4api.tgz from perforce/r15.2/bin.darwin90x86_64 on ftp.perforce.com extconf failed, exit code 1 Gem files will remain installed in /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/p4ruby-2015.2.1313860 for inspection. 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 Before retry #5: sleeping 80.0 seconds Building native extensions. This could take a while... ERROR: Error installing bvr: ERROR: Failed to build gem native extension. /BUILD_PATH/.rvm/rubies/ruby-2.1.1/bin/ruby extconf.rb *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/BUILD_PATH/.rvm/rubies/ruby-2.1.1/bin/ruby --with-p4api-dir --without-p4api-dir --enable-p4api-download --disable-p4api-download **/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)
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/protocol.rb:153:in rbuf_fill' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/protocol.rb:134:in readuntil’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:1111:in readline' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:290:in getline’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:301:in getmultiline' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:319:in getresp’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:352:in block in sendcmd' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:350:in sendcmd' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:395:in makepasv’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:407:in transfercmd' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:488:in block (2 levels) in retrbinary’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:199:in with_binary' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:486:in block in retrbinary’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize' from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:485:in retrbinary’
from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/ftp.rb:618:in getbinaryfile' from extconf.rb:508:in download_api_via_ftp’
from extconf.rb:363:in resolve_p4api_dir' from extconf.rb:549:in ’
p4osname DARWIN
p4osver 15
CFLAGS (cflags) -fno-common -pipe
downloading p4api.tgz from perforce/r15.2/bin.darwin90x86_64 on ftp.perforce.com
extconf failed, exit code 1
Gem files will remain installed in /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/p4ruby-2015.2.1313860 for inspection.
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
Retries exhausted
Command Failed: bvr
ERROR: failed to update buildpacks!
ERROR: pre-build step failed to setup environment
Finished: FAILURE