depends: Make less assumptions about build env #15581
pull dongcarl wants to merge 3 commits into bitcoin:master from dongcarl:2019-03-true-neutral-depends changing 4 files +11 −10-
dongcarl commented at 6:02 pm on March 11, 2019: memberRemoves some implicit assumptions that the depends system has about its environment and, as a side-effect, makes it possible to build the depends tree under severely privilege-limited environments such as containers built by Guix.
-
dongcarl added the label Build system on Mar 11, 2019
-
dongcarl added the label Needs gitian build on Mar 11, 2019
-
DrahtBot commented at 9:57 pm on March 11, 2019: member
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Conflicts
Reviewers, this pull request conflicts with the following ones:
- #14137 (gui: Add Windows taskbar progress by ken2812221)
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
-
fanquake commented at 2:21 am on March 12, 2019: memberConcept ACK
-
MarcoFalke commented at 3:49 pm on March 12, 2019: memberutACK d46af06eae0cac3202d013e196045cce30b0ec77
-
in depends/funcs.mk:78 in bef1df5230 outdated
76@@ -77,7 +77,7 @@ $(1)_download_path_fixed=$(subst :,\:,$$($(1)_download_path)) 77 78 #default commands
ryanofsky commented at 7:25 pm on March 12, 2019:In commit “depends: tar: Always extract as yourself” (bef1df52301e57ba53ed38cbc038529f76c7ee5b)
Could mention purpose of
--no-same-owner
in a comment here (tar will try to set ownership when running as uid 0 and may not succeed), since it’s not so obviousryanofsky approvedryanofsky commented at 7:33 pm on March 12, 2019: memberutACK d46af06eae0cac3202d013e196045cce30b0ec77ryanofsky approvedryanofsky commented at 3:26 pm on March 13, 2019: memberutACK d93414c8ba81adb15f43023402be5941ea4960d0, only change since last review is adding commentDrahtBot commented at 1:56 pm on March 14, 2019: memberGitian builds for commit c3b1cb958f7c57c5d87db663f2b1a83e3471d354 (master):
5f3ef0027c1346f85a0dd0511da9f800...
bitcoin-0.18.99-aarch64-linux-gnu-debug.tar.gz9aae7dfd3a9dcb55adb6c4c67757e0f1...
bitcoin-0.18.99-aarch64-linux-gnu.tar.gzd48fcea175de8b04199f009760b652b7...
bitcoin-0.18.99-arm-linux-gnueabihf-debug.tar.gz13b761d368e70f486bedd592a3084282...
bitcoin-0.18.99-arm-linux-gnueabihf.tar.gzce6300558cfe06f9f9d0267a26a8dfe1...
bitcoin-0.18.99-i686-pc-linux-gnu-debug.tar.gzb8da00cb2d82d88f4671344475ea6b90...
bitcoin-0.18.99-i686-pc-linux-gnu.tar.gz04bb0f47e74144b22dd2dc1005d1ee86...
bitcoin-0.18.99-osx-unsigned.dmgf090c86b943698e8c61402a6df875729...
bitcoin-0.18.99-osx64.tar.gz216d77c5ce75c9ce46454b0998b9572d...
bitcoin-0.18.99-riscv64-linux-gnu-debug.tar.gz83460f229573229597042f55e2dc538a...
bitcoin-0.18.99-riscv64-linux-gnu.tar.gz7ed6f2ce5173c9077dd485352fe98151...
bitcoin-0.18.99-win32-debug.zip3a544d7f47d6b491ed5fdb246272e608...
bitcoin-0.18.99-win32-setup-unsigned.exe5c626df97461f8eb7f4742b1d552524e...
bitcoin-0.18.99-win32.zip6ffcf3ba214c322f37fceed244f25e95...
bitcoin-0.18.99-win64-debug.zip24ea6e1ee82d3027c8782d3aae2bb75a...
bitcoin-0.18.99-win64-setup-unsigned.exe350dad584654b2db58453d0656faf8d8...
bitcoin-0.18.99-win64.zip6a3bc1fa4b50f5abf7ed5f8ab637d3ae...
bitcoin-0.18.99-x86_64-linux-gnu-debug.tar.gzb2affb19f4e4dbce548a377c4be38c2a...
bitcoin-0.18.99-x86_64-linux-gnu.tar.gz93fc1264d8ac668be89c253f48e7ee88...
bitcoin-0.18.99.tar.gza5aac00f2a4678408efb1b302134134c...
bitcoin-core-linux-0.19-res.yml72b1cba7e8922acf1a3553e259124c02...
bitcoin-core-osx-0.19-res.yml5896985efdc7c24576ba8e5cc1c5a9a5...
bitcoin-core-win-0.19-res.yml772ad65bea678423daeb8acdfe6017b8...
bitcoin-linux-build.log9aa69b4fc6be7249e2f1402074585f1e...
bitcoin-osx-build.log3d5b6abe1071d88632bccef8e0d4d7e5...
bitcoin-win-build.log
Gitian builds for commit 73322baa5872de7c835727c65b143fc765f5cb26 (master and this pull):
d77cfa6af1b5271d1c7a4a0f52c7d213...
bitcoin-0.18.99-aarch64-linux-gnu-debug.tar.gzb31578cb165703ab9ff27fe85a853c31...
bitcoin-0.18.99-aarch64-linux-gnu.tar.gz231e4f78dbe20e5f7bfacca4d717ac02...
bitcoin-0.18.99-arm-linux-gnueabihf-debug.tar.gz225066d9745efbf33a2747e522ea8e9a...
bitcoin-0.18.99-arm-linux-gnueabihf.tar.gzd5501dcb4af908cb7bfbb3c54c790a69...
bitcoin-0.18.99-i686-pc-linux-gnu-debug.tar.gz7411943a601653a87c9f4ea9871fe743...
bitcoin-0.18.99-i686-pc-linux-gnu.tar.gzb050c31254ae025fae864caeabcc0ea0...
bitcoin-0.18.99-riscv64-linux-gnu-debug.tar.gz6395edfc07f86926b160780b84e724bb...
bitcoin-0.18.99-riscv64-linux-gnu.tar.gz467795c9b841502d611d2acb8e547315...
bitcoin-0.18.99-win32-debug.zip861220765d9226b4a5f5fde1d80060df...
bitcoin-0.18.99-win32-setup-unsigned.exea9724e9c741a6150862d0963d50092bb...
bitcoin-0.18.99-win32.zipde698960e3a9c7dbe3570cdd83d5b7ab...
bitcoin-0.18.99-win64-debug.zipa433c731112d694211e0020375e24bc4...
bitcoin-0.18.99-win64-setup-unsigned.exe58f4074c28941b0108e3a8520041d82f...
bitcoin-0.18.99-win64.zip41a5f9bf2c7f97926e9f0b602cef8fda...
bitcoin-0.18.99-x86_64-linux-gnu-debug.tar.gzc8dd6b71081447063aad2f541b347aee...
bitcoin-0.18.99-x86_64-linux-gnu.tar.gz161c6a76a4c9301ced03ed18ba428779...
bitcoin-0.18.99.tar.gz01eaa7e0be1f4ca43961038bd3ec329b...
bitcoin-core-linux-0.19-res.ymlb3f28cb57865c1b4a7789d24cb670837...
bitcoin-core-win-0.19-res.ymld78f59bc2ad16eb5cad514740114ef98...
bitcoin-linux-build.log7349839e8b59680e50ef304fdc30cc24...
bitcoin-osx-build.logd30c2ccf200a36a4aca1542063b988aa...
bitcoin-win-build.log
DrahtBot removed the label Needs gitian build on Mar 14, 2019fanquake commented at 6:15 am on March 15, 2019: memberutACK https://github.com/bitcoin/bitcoin/pull/15581/commits/d93414c8ba81adb15f43023402be5941ea4960d0 after squashing the
fixup!
.Ran a depends build and compiled Core on macOS.
tar
-no-same-owner / -o
:When extracting an archive, do not attempt to preserve the owner specified in the tar archive. This the default behavior for ordinary users.
dongcarl force-pushed on Mar 18, 2019depends: Defer to Python detected by autoconf
Since autoconf already detects the correct python binary path, we should use that instead of going around it. Also has the benefit of working in extremely restricted environments where /usr/bin/env might not be available.
depends: tar: Always extract as yourself
For normal users, --no-same-owner is default, but not so for root, where it is assumed that root can change ownership willy-nilly. This is not the case for privilege-limited container environments where we gaslight the process into thinking it's root.
depends: qt: Don't hardcode pwd path
Let a man use his builtins if he wants to! Also, removes the unnecessary assumption that pwd lives under /bin/pwd.
dongcarl commented at 3:05 pm on March 18, 2019: memberSquashed.MarcoFalke commented at 3:29 pm on March 18, 2019: memberre-utACK f7696e6183ec58b5362ccc05e7c4e923caa77230 (only change is rebase and adding the comment)MarcoFalke merged this on Mar 18, 2019MarcoFalke closed this on Mar 18, 2019
MarcoFalke referenced this in commit 2c336a9ccd on Mar 18, 2019zkbot referenced this in commit a96942e809 on Dec 11, 2019deadalnix referenced this in commit ee1c4e3d09 on Mar 31, 2020ftrader referenced this in commit 1df4359146 on Aug 17, 2020PastaPastaPasta referenced this in commit 069df0cbfe on Jun 27, 2021PastaPastaPasta referenced this in commit 87587f27d2 on Jun 28, 2021PastaPastaPasta referenced this in commit 83bda0e314 on Jun 29, 2021PastaPastaPasta referenced this in commit 6cd4c3aca2 on Jul 1, 2021PastaPastaPasta referenced this in commit 8fe843f391 on Jul 1, 2021PastaPastaPasta referenced this in commit b73836f454 on Jul 8, 2021PastaPastaPasta referenced this in commit 4a543ac7ea on Jul 10, 2021DrahtBot locked this on Dec 16, 2021
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-17 18:12 UTC
More mirrored repositories can be found on mirror.b10c.me