Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build using Guix #174

Merged
merged 5 commits into from
Mar 31, 2022
Merged

Build using Guix #174

merged 5 commits into from
Mar 31, 2022

Conversation

vertiond
Copy link
Member

This PR enables bootstrappable Vertcoin-Core builds using Guix for the following hosts.

Those wishing to provide attestations, please checkout this PR and add checksums as a comment.

Issues #166 and #165 are being mitigated by passing extra compilation flags.

@vertiond vertiond added this to the 0.18.0 milestone Mar 26, 2022
@vertiond vertiond mentioned this pull request Mar 26, 2022
8 tasks
@vertiond
Copy link
Member Author

~/github/vertcoin$ find output/ -type f -print0 | sort -z | xargs -r0 sha256sum
4ca9431a3fc1df9479bfb99d60b795bbeb03c764d589f2870afe997b79e1de20  output/src/vertcoin-679107eb1d9c.tar.gz
1b1e375de6efeaea092d2bf1f913f38326a65fcc6327ee7c3b4a4a4f15a3afde  output/vertcoin-679107eb1d9c-aarch64-linux-gnu-debug.tar.gz
4d0a96e264ac1233fccb540e8e7587b82413147c57180d81c3a1ca54d9c04d49  output/vertcoin-679107eb1d9c-aarch64-linux-gnu.tar.gz
591113c1f85e85baabf70b1f27619bfa65fcec4e1ab296ed0cfa2efec55ae0ae  output/vertcoin-679107eb1d9c-arm-linux-gnueabihf-debug.tar.gz
90886848d0b2bc9229af27a36952e196f9fa058299584bb7bb69f7bc470e9686  output/vertcoin-679107eb1d9c-arm-linux-gnueabihf.tar.gz
eeaae909e758d1ca4f81f55df599de443c10157a6ee5b7ce5d39dcbdda803f78  output/vertcoin-679107eb1d9c-riscv64-linux-gnu-debug.tar.gz
267aa4910cde36615f4058c9a078c3d3f1a778764a5cbbea68209b3cc2cc800f  output/vertcoin-679107eb1d9c-riscv64-linux-gnu.tar.gz
318017da897011e61d9d9bf0dd8b6d2a95eb8d41414f3230833646bd3bdc9ad9  output/vertcoin-679107eb1d9c-win64-debug.zip
df3fdf9f7dcab9652feae57f4d3f34421e3ca9738b6852a36621813133a7e537  output/vertcoin-679107eb1d9c-win64-setup-unsigned.exe
9b0bb57c5a7b45ea54697dcb70489ac0a5a2375fc0dd503d1c669ad312b70791  output/vertcoin-679107eb1d9c-win64.zip
c0a577690cfcbc4c8d281962c59c8737b1942649ae0385d6a76324b6336dccb7  output/vertcoin-679107eb1d9c-win-unsigned.tar.gz
3dc561d1aba252e1a694b1bbb14e8b82844cf7c59b0aba9134ea32fd928b157c  output/vertcoin-679107eb1d9c-x86_64-linux-gnu-debug.tar.gz
387f3f9c01cfb1f9cb913ce400f7fce34cee19ab576d8bd9644c684f07344207  output/vertcoin-679107eb1d9c-x86_64-linux-gnu.tar.gz

@vertiond
Copy link
Member Author

Will resolve #163

@vertiond vertiond requested a review from gertjaap March 28, 2022 19:32
@Alvie
Copy link

Alvie commented Mar 30, 2022

Can confirm I have the same checksums for the following files:

alvie@pop-os:~/Documents/vtc-core/vertcoin-core$ find output/ -type f -print0 | sort -z | xargs -r0 sha256sum
4ca9431a3fc1df9479bfb99d60b795bbeb03c764d589f2870afe997b79e1de20  output/src/vertcoin-679107eb1d9c.tar.gz
1b1e375de6efeaea092d2bf1f913f38326a65fcc6327ee7c3b4a4a4f15a3afde  output/vertcoin-679107eb1d9c-aarch64-linux-gnu-debug.tar.gz
4d0a96e264ac1233fccb540e8e7587b82413147c57180d81c3a1ca54d9c04d49  output/vertcoin-679107eb1d9c-aarch64-linux-gnu.tar.gz
591113c1f85e85baabf70b1f27619bfa65fcec4e1ab296ed0cfa2efec55ae0ae  output/vertcoin-679107eb1d9c-arm-linux-gnueabihf-debug.tar.gz
90886848d0b2bc9229af27a36952e196f9fa058299584bb7bb69f7bc470e9686  output/vertcoin-679107eb1d9c-arm-linux-gnueabihf.tar.gz
eeaae909e758d1ca4f81f55df599de443c10157a6ee5b7ce5d39dcbdda803f78  output/vertcoin-679107eb1d9c-riscv64-linux-gnu-debug.tar.gz
267aa4910cde36615f4058c9a078c3d3f1a778764a5cbbea68209b3cc2cc800f  output/vertcoin-679107eb1d9c-riscv64-linux-gnu.tar.gz
b2dc235ad051ffc636da0c160105cd928cf8fa7b4badee51f0622dceaf835a34  output/vertcoin-679107eb1d9c-win64-debug.zip
df3fdf9f7dcab9652feae57f4d3f34421e3ca9738b6852a36621813133a7e537  output/vertcoin-679107eb1d9c-win64-setup-unsigned.exe
c0db901647b2e574ff9edf44cc47b073fb4bd6bcb1e2d66cd1bcd6568651fe8a  output/vertcoin-679107eb1d9c-win64.zip
c0a577690cfcbc4c8d281962c59c8737b1942649ae0385d6a76324b6336dccb7  output/vertcoin-679107eb1d9c-win-unsigned.tar.gz
3dc561d1aba252e1a694b1bbb14e8b82844cf7c59b0aba9134ea32fd928b157c  output/vertcoin-679107eb1d9c-x86_64-linux-gnu-debug.tar.gz
387f3f9c01cfb1f9cb913ce400f7fce34cee19ab576d8bd9644c684f07344207  output/vertcoin-679107eb1d9c-x86_64-linux-gnu.tar.gz

output/vertcoin-679107eb1d9c-win64.zip and output/vertcoin-679107eb1d9c-win64-debug.zip are different but output/vertcoin-679107eb1d9c-win64-setup-unsigned.exe is the same. From what I can see the rest of the linux ones are the same

@KforG
Copy link
Contributor

KforG commented Mar 30, 2022

I get the same checksums as Alvie, with a discrepancy between the win64.zip and win64-debug.zip builds.

kg@KG:~/vertcoin-core$ find output/ -type f -print0 | sort -z | xargs -r0 sha256sum
4ca9431a3fc1df9479bfb99d60b795bbeb03c764d589f2870afe997b79e1de20  output/src/vertcoin-679107eb1d9c.tar.gz
1b1e375de6efeaea092d2bf1f913f38326a65fcc6327ee7c3b4a4a4f15a3afde  output/vertcoin-679107eb1d9c-aarch64-linux-gnu-debug.tar.gz
4d0a96e264ac1233fccb540e8e7587b82413147c57180d81c3a1ca54d9c04d49  output/vertcoin-679107eb1d9c-aarch64-linux-gnu.tar.gz
591113c1f85e85baabf70b1f27619bfa65fcec4e1ab296ed0cfa2efec55ae0ae  output/vertcoin-679107eb1d9c-arm-linux-gnueabihf-debug.tar.gz
90886848d0b2bc9229af27a36952e196f9fa058299584bb7bb69f7bc470e9686  output/vertcoin-679107eb1d9c-arm-linux-gnueabihf.tar.gz
eeaae909e758d1ca4f81f55df599de443c10157a6ee5b7ce5d39dcbdda803f78  output/vertcoin-679107eb1d9c-riscv64-linux-gnu-debug.tar.gz
267aa4910cde36615f4058c9a078c3d3f1a778764a5cbbea68209b3cc2cc800f  output/vertcoin-679107eb1d9c-riscv64-linux-gnu.tar.gz
b2dc235ad051ffc636da0c160105cd928cf8fa7b4badee51f0622dceaf835a34  output/vertcoin-679107eb1d9c-win64-debug.zip
df3fdf9f7dcab9652feae57f4d3f34421e3ca9738b6852a36621813133a7e537  output/vertcoin-679107eb1d9c-win64-setup-unsigned.exe
c0db901647b2e574ff9edf44cc47b073fb4bd6bcb1e2d66cd1bcd6568651fe8a  output/vertcoin-679107eb1d9c-win64.zip
c0a577690cfcbc4c8d281962c59c8737b1942649ae0385d6a76324b6336dccb7  output/vertcoin-679107eb1d9c-win-unsigned.tar.gz
3dc561d1aba252e1a694b1bbb14e8b82844cf7c59b0aba9134ea32fd928b157c  output/vertcoin-679107eb1d9c-x86_64-linux-gnu-debug.tar.gz
387f3f9c01cfb1f9cb913ce400f7fce34cee19ab576d8bd9644c684f07344207  output/vertcoin-679107eb1d9c-x86_64-linux-gnu.tar.gz

@vertiond
Copy link
Member Author

I re-ran just the windows host and got matching checksums as Alvie and KforG.

~/github/vertcoin$ HOSTS="x86_64-w64-mingw32" ./contrib/guix/guix-build.sh 
~/github/vertcoin$ find output/ -type f -print0 | sort -z | xargs -r0 sha256sum
4ca9431a3fc1df9479bfb99d60b795bbeb03c764d589f2870afe997b79e1de20  output/src/vertcoin-679107eb1d9c.tar.gz
b2dc235ad051ffc636da0c160105cd928cf8fa7b4badee51f0622dceaf835a34  output/vertcoin-679107eb1d9c-win64-debug.zip
df3fdf9f7dcab9652feae57f4d3f34421e3ca9738b6852a36621813133a7e537  output/vertcoin-679107eb1d9c-win64-setup-unsigned.exe
c0db901647b2e574ff9edf44cc47b073fb4bd6bcb1e2d66cd1bcd6568651fe8a  output/vertcoin-679107eb1d9c-win64.zip
c0a577690cfcbc4c8d281962c59c8737b1942649ae0385d6a76324b6336dccb7  output/vertcoin-679107eb1d9c-win-unsigned.tar.gz

@cruelnovo
Copy link
Contributor

novo@cruelnovo-build:~/vertcoin-core$ find output/ -type f -print0 | sort -z | xargs -r0 sha256sum
4ca9431a3fc1df9479bfb99d60b795bbeb03c764d589f2870afe997b79e1de20  output/src/vertcoin-679107eb1d9c.tar.gz
1b1e375de6efeaea092d2bf1f913f38326a65fcc6327ee7c3b4a4a4f15a3afde  output/vertcoin-679107eb1d9c-aarch64-linux-gnu-debug.tar.gz
4d0a96e264ac1233fccb540e8e7587b82413147c57180d81c3a1ca54d9c04d49  output/vertcoin-679107eb1d9c-aarch64-linux-gnu.tar.gz
591113c1f85e85baabf70b1f27619bfa65fcec4e1ab296ed0cfa2efec55ae0ae  output/vertcoin-679107eb1d9c-arm-linux-gnueabihf-debug.tar.gz
90886848d0b2bc9229af27a36952e196f9fa058299584bb7bb69f7bc470e9686  output/vertcoin-679107eb1d9c-arm-linux-gnueabihf.tar.gz
eeaae909e758d1ca4f81f55df599de443c10157a6ee5b7ce5d39dcbdda803f78  output/vertcoin-679107eb1d9c-riscv64-linux-gnu-debug.tar.gz
267aa4910cde36615f4058c9a078c3d3f1a778764a5cbbea68209b3cc2cc800f  output/vertcoin-679107eb1d9c-riscv64-linux-gnu.tar.gz
b2dc235ad051ffc636da0c160105cd928cf8fa7b4badee51f0622dceaf835a34  output/vertcoin-679107eb1d9c-win64-debug.zip
df3fdf9f7dcab9652feae57f4d3f34421e3ca9738b6852a36621813133a7e537  output/vertcoin-679107eb1d9c-win64-setup-unsigned.exe
c0db901647b2e574ff9edf44cc47b073fb4bd6bcb1e2d66cd1bcd6568651fe8a  output/vertcoin-679107eb1d9c-win64.zip
c0a577690cfcbc4c8d281962c59c8737b1942649ae0385d6a76324b6336dccb7  output/vertcoin-679107eb1d9c-win-unsigned.tar.gz
3dc561d1aba252e1a694b1bbb14e8b82844cf7c59b0aba9134ea32fd928b157c  output/vertcoin-679107eb1d9c-x86_64-linux-gnu-debug.tar.gz
387f3f9c01cfb1f9cb913ce400f7fce34cee19ab576d8bd9644c684f07344207  output/vertcoin-679107eb1d9c-x86_64-linux-gnu.tar.gz

@sylvesternumski
Copy link
Contributor

numski@numski:~/vertcoin-core$ find output/ -type f -print0 | sort -z | xargs -r0 sha256sum
4ca9431a3fc1df9479bfb99d60b795bbeb03c764d589f2870afe997b79e1de20 output/src/vertcoin-679107eb1d9c.tar.gz
1b1e375de6efeaea092d2bf1f913f38326a65fcc6327ee7c3b4a4a4f15a3afde output/vertcoin-679107eb1d9c-aarch64-linux-gnu-debug.tar.gz
4d0a96e264ac1233fccb540e8e7587b82413147c57180d81c3a1ca54d9c04d49 output/vertcoin-679107eb1d9c-aarch64-linux-gnu.tar.gz
591113c1f85e85baabf70b1f27619bfa65fcec4e1ab296ed0cfa2efec55ae0ae output/vertcoin-679107eb1d9c-arm-linux-gnueabihf-debug.tar.gz
90886848d0b2bc9229af27a36952e196f9fa058299584bb7bb69f7bc470e9686 output/vertcoin-679107eb1d9c-arm-linux-gnueabihf.tar.gz
eeaae909e758d1ca4f81f55df599de443c10157a6ee5b7ce5d39dcbdda803f78 output/vertcoin-679107eb1d9c-riscv64-linux-gnu-debug.tar.gz
267aa4910cde36615f4058c9a078c3d3f1a778764a5cbbea68209b3cc2cc800f output/vertcoin-679107eb1d9c-riscv64-linux-gnu.tar.gz
c0a577690cfcbc4c8d281962c59c8737b1942649ae0385d6a76324b6336dccb7 output/vertcoin-679107eb1d9c-win-unsigned.tar.gz
b2dc235ad051ffc636da0c160105cd928cf8fa7b4badee51f0622dceaf835a34 output/vertcoin-679107eb1d9c-win64-debug.zip
df3fdf9f7dcab9652feae57f4d3f34421e3ca9738b6852a36621813133a7e537 output/vertcoin-679107eb1d9c-win64-setup-unsigned.exe
c0db901647b2e574ff9edf44cc47b073fb4bd6bcb1e2d66cd1bcd6568651fe8a output/vertcoin-679107eb1d9c-win64.zip
3dc561d1aba252e1a694b1bbb14e8b82844cf7c59b0aba9134ea32fd928b157c output/vertcoin-679107eb1d9c-x86_64-linux-gnu-debug.tar.gz
387f3f9c01cfb1f9cb913ce400f7fce34cee19ab576d8bd9644c684f07344207 output/vertcoin-679107eb1d9c-x86_64-linux-gnu.tar.gz

@vertiond vertiond changed the base branch from master to 0.18.x March 31, 2022 18:12
@vertiond vertiond merged commit 087f4a4 into vertcoin-project:0.18.x Mar 31, 2022
@vertiond vertiond deleted the master-guix branch April 7, 2022 20:22
vertiond added a commit to vertiond/vertcoin-core that referenced this pull request May 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants