As part of trying to learn more about the bitcoin builds, I am trying to recreate the travis CI build system using TeamCity.
Some of the builds work fine, but the windows builds seem to be having a problem with getting mingw dev:
[08:31:21][Step 3/3] E: Package 'mingw-w64-dev' has no installation candidate
I'm using the same exports env vars as the travis script, and actually using the travis script inside teamcity , incuding adding the PPA for the mingw packages.
The PPA seems to be importing fine during the build:
[Step 3/3] gpg: keyring `/tmp/tmp_nolyfrh/secring.gpg' created
[08:30:48][Step 3/3] gpg: keyring `/tmp/tmp_nolyfrh/pubring.gpg' created
[08:30:48][Step 3/3] gpg: /tmp/tmp_nolyfrh/trustdb.gpg: trustdb created
[08:30:48][Step 3/3] gpg: key F9CB8DB0: public key "Launchpad PPA for Ubuntu Wine Team" imported
[08:30:48][Step 3/3] gpg: no ultimately trusted keys found
[08:30:48][Step 3/3] gpg: Total number processed: 1
[08:30:48][Step 3/3] gpg: imported: 1 (RSA: 1)
Any ideas why this seems to be working on travis and not on the teamcity build agent?
The agent is running inside docker image based on ubuntu.
The full log of the failed build can be found at :
same problem appears in win32 build.
there are the env vars:
Name | Value passed to build |
---|
env.BASE_OUTDIR | %system.teamcity.build.checkoutDir% |
env.BITCOIN_CONFIG | --enable-gui --enable-reduce-exports |
env.BOOST_TEST_RANDOM | %build.number% |
env.CCACHE_COMPRESS | 1 |
env.CCACHE_SIZE | 100M |
env.CCACHE_TEMPDIR | /tmp/.ccache-temp |
env.GOAL | deploy |
env.HOST | x86_64-w64-mingw32 |
env.MAKEJOBS | -j2 |
env.PACKAGES | nsis gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 binutils-mingw-w64-x86-64 mingw-w64-dev wine1.7 bc |
env.PPA | ppa:ubuntu-wine/ppa |
env.PYTHON_DEBUG | 1 |
env.RUN_TESTS | true |
env.SDK_URL | https://bitcoincore.org/depends-sources/sdks |
env.WINEDEBUG
|
--