Skip to content

Conversation

elichai
Copy link
Contributor

@elichai elichai commented Dec 3, 2019

Related: #17599

This adds qemu support just like we have in arm and compile the depends.

other than that I also fixed some missing includes to make the depends compile.

@fanquake fanquake added the Tests label Dec 3, 2019
@DrahtBot
Copy link
Contributor

DrahtBot commented Dec 4, 2019

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts

No conflicts as of last run.

Copy link
Member

@maflcko maflcko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sweet

@elichai
Copy link
Contributor Author

elichai commented Dec 4, 2019

@MarcoFalke arghh it looks like the rebase screwed some stuff up. fixing

@maflcko maflcko added Build system and removed Tests labels Dec 4, 2019
@maflcko maflcko changed the title ci: compile and fix depends for s390x build: fix depends for s390x and use it in ci Dec 4, 2019
@elichai
Copy link
Contributor Author

elichai commented Dec 4, 2019

I don't get it.
the exact same commit passes on my private travis but fails here.
https://travis-ci.org/elichai/bitcoin/builds/620711066

@maflcko
Copy link
Member

maflcko commented Dec 4, 2019

the exact same commit passes on my private travis but fails here.

The depends cache is never invalidated. See bug #17248 . So when it is created once, you can break the build, but travis won't fail.

@elichai
Copy link
Contributor Author

elichai commented Dec 5, 2019

The depends cache is never invalidated. See bug #17248 . So when it is created once, you can break the build, but travis won't fail.

That's bad. I guess I need to remove my cache, and it might also mean that most of the testing i've done were moot :(

@elichai
Copy link
Contributor Author

elichai commented Dec 5, 2019

Lol, I don't really know what happened but i'll clean the commits up now and then it should be ready

@maflcko
Copy link
Member

maflcko commented Dec 5, 2019

ACK a817928 (didn't review depends build changes)

@maflcko
Copy link
Member

maflcko commented Dec 11, 2019

@elichai 🙏 Trivial rebase. I can pick it up after that.

Copy link
Member

@maflcko maflcko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK after applying my diff to fix the build and adjusting OP

@DrahtBot
Copy link
Contributor

Gitian builds

File commit c5e318a
(master)
commit 0061b7b
(master and this pull)
bitcoin-0.19.99-aarch64-linux-gnu-debug.tar.gz bea40f9a3e1e3d15... a98f522b7e7ff91b...
bitcoin-0.19.99-aarch64-linux-gnu.tar.gz 6062abc6a838a5a6... ebc4dbe686d18f80...
bitcoin-0.19.99-arm-linux-gnueabihf-debug.tar.gz 69dcc7a49e222ca9... 2a552d16d640fadc...
bitcoin-0.19.99-arm-linux-gnueabihf.tar.gz d0e369041d9fe9b5... c0018bacd165877e...
bitcoin-0.19.99-i686-pc-linux-gnu-debug.tar.gz d3b7c55ff3c2bc2f... 84a0133ad9aa9f2c...
bitcoin-0.19.99-i686-pc-linux-gnu.tar.gz ae365922d91820b9... ce52b8ba3748167e...
bitcoin-0.19.99-osx-unsigned.dmg d5388aa2474ac73e... 3d5701d1b95e353c...
bitcoin-0.19.99-osx64.tar.gz 4baf8f214f059caf... 2f8d4aca89d2725d...
bitcoin-0.19.99-riscv64-linux-gnu-debug.tar.gz 6b0e20d11cb5fe6b... 55b967d9ccc17e21...
bitcoin-0.19.99-riscv64-linux-gnu.tar.gz 0d45828e7aac5e93... e67889265ed13b9a...
bitcoin-0.19.99-win64-debug.zip 5669c48e3fad4bc5... 507713b1cb0230a8...
bitcoin-0.19.99-win64-setup-unsigned.exe 6fc70664b2973325... 3f49d90170510f93...
bitcoin-0.19.99-win64.zip 576846961cf26ff2... db60fc2d1312a0a7...
bitcoin-0.19.99-x86_64-linux-gnu-debug.tar.gz 591688b38863b8b4... c938e51ff29b599a...
bitcoin-0.19.99-x86_64-linux-gnu.tar.gz e8dcc933264b4d6c... 4c3b2c21eec6a881...
bitcoin-0.19.99.tar.gz 9d45221fe86cb679... 6166d27f5215b5b5...
bitcoin-core-linux-0.20-res.yml 2efef3cbffb806a2... b3b604fe76703726...
bitcoin-core-osx-0.20-res.yml d2ea6d1607e9fd97... 2f8687cf09b7a1cc...
bitcoin-core-win-0.20-res.yml 93ecd38034110860... bc8819618d3b2a1d...
linux-build.log b3d2ce067eb93baa... 10693a0201957226...
osx-build.log f3e9977f0c38cddd... 8dd6cc0ef0f7e3cf...
win-build.log 91466d2d19dec4e6... 3bf8f42281562e0c...
bitcoin-core-linux-0.20-res.yml.diff fea7b047d0e61a81...
bitcoin-core-osx-0.20-res.yml.diff fc8e5feb98279eea...
bitcoin-core-win-0.20-res.yml.diff 0e7fe61b8dc92eee...
linux-build.log.diff 1b744686269d5ca2...
osx-build.log.diff 6d66ed27e8c6b710...
win-build.log.diff b9ba672e8d39be29...

@maflcko
Copy link
Member

maflcko commented Dec 16, 2019

ACK e190000 (first commit only, didn't look at second commit)

@maflcko
Copy link
Member

maflcko commented Dec 16, 2019

Why is the second commit needed? Travis passes without it, no?

@elichai
Copy link
Contributor Author

elichai commented Dec 16, 2019

Why is the second commit needed? Travis passes without it, no?

Hmm is it possible that one of your fixes somehow fixed this too?
I'll reset my travis cache (to avoid the bug you talked about) and rerun the tests on that commit only.
Because when I opened the PR this was definitely a problem

@maflcko
Copy link
Member

maflcko commented Dec 16, 2019

I tried it in my repo and it worked: https://travis-ci.org/MarcoFalke/bitcoin-core/jobs/625746803

@elichai
Copy link
Contributor Author

elichai commented Dec 17, 2019

I tried it in my repo and it worked: https://travis-ci.org/MarcoFalke/bitcoin-core/jobs/625746803

Done. don't think I understand what's going on in the depends anymore.

@maflcko
Copy link
Member

maflcko commented Dec 17, 2019

Done. don't think I understand what's going on in the depends anymore.

No one does, that I am aware of

@maflcko maflcko changed the title build: fix depends for s390x and use it in ci ci: use depends for s390x Dec 17, 2019
@dongcarl
Copy link
Contributor

On my TODO list to take a look at this week

@maflcko
Copy link
Member

maflcko commented Dec 17, 2019

I'll probably just merge this. All it does is set the proper cross compile HOST, remove NO_DEPENDS=1 and remove all the packages from apt to install.

I broke the qemu-wrapper script in the ci system I wrote, so for proper cross-compilation and cross-running the tests in qemu (e.g. on aarch64, riscv64 or x86_64 architecture) I'll need to do a follow up pull anyway.

maflcko pushed a commit to maflcko/bitcoin-core that referenced this pull request Dec 17, 2019
e190000 ci-s390x: Add qemu and depends support in the ci script (Elichai Turkel)

Pull request description:

  Related: bitcoin#17599

  This adds qemu support just like we have in arm and compile the depends.

  other than that I also fixed some missing includes to make the depends compile.

ACKs for top commit:
  MarcoFalke:
    ACK e190000 (first commit only, didn't look at second commit)

Tree-SHA512: 2b8a39772b86408569f52cdc33832dbce7e5e9cdd710524295f3d259628cdfc017e740f6f94941307d7f8e413236814a95ba851153c617eb5fb75b4bd9a7e52f
@maflcko maflcko merged commit e190000 into bitcoin:master Dec 17, 2019
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Dec 17, 2019
e190000 ci-s390x: Add qemu and depends support in the ci script (Elichai Turkel)

Pull request description:

  Related: bitcoin#17599

  This adds qemu support just like we have in arm and compile the depends.

  other than that I also fixed some missing includes to make the depends compile.

ACKs for top commit:
  MarcoFalke:
    ACK e190000 (first commit only, didn't look at second commit)

Tree-SHA512: 2b8a39772b86408569f52cdc33832dbce7e5e9cdd710524295f3d259628cdfc017e740f6f94941307d7f8e413236814a95ba851153c617eb5fb75b4bd9a7e52f
@elichai elichai deleted the 2019-11-s390x branch December 18, 2019 12:27
sidhujag pushed a commit to syscoin-core/syscoin that referenced this pull request Nov 10, 2020
e190000 ci-s390x: Add qemu and depends support in the ci script (Elichai Turkel)

Pull request description:

  Related: bitcoin#17599

  This adds qemu support just like we have in arm and compile the depends.

  other than that I also fixed some missing includes to make the depends compile.

ACKs for top commit:
  MarcoFalke:
    ACK e190000 (first commit only, didn't look at second commit)

Tree-SHA512: 2b8a39772b86408569f52cdc33832dbce7e5e9cdd710524295f3d259628cdfc017e740f6f94941307d7f8e413236814a95ba851153c617eb5fb75b4bd9a7e52f
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Dec 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants