Page MenuHomePhabricator

depends: use latest config.guess and config.sub for libevent, cctools & sqlite
AbandonedPublic

Authored by PiRK on Mar 24 2023, 09:20.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

Using the newer config.guess and config.sub is needed when wanting to cross-compile for newer targets, like arm64-apple-darwin.

This is a partial backport of core#22526

Depends on D13453

Test Plan

CI builds

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 22659
Build 44938: Build Diff
Build 44937: arc lint + arc unit

Event Timeline

PiRK requested review of this revision.Mar 24 2023, 09:20
PiRK planned changes to this revision.Mar 24 2023, 09:27
PiRK planned changes to this revision.Mar 24 2023, 13:39
PiRK planned changes to this revision.Mar 30 2023, 13:33

@bot gitian-win gitian-osx gitian-linux

Tail of the build log:

[11:31:07] :	 [Step 1/1]  * [new tag]             phabricator/diff/39093 -> phabricator/diff/39093
[11:31:07] :	 [Step 1/1]  * [new tag]             phabricator/diff/39094 -> phabricator/diff/39094
[11:31:07] :	 [Step 1/1]  * [new tag]             phabricator/diff/8992  -> phabricator/diff/8992
[11:31:07] :	 [Step 1/1]  * [new tag]             phabricator/diff/8993  -> phabricator/diff/8993
[11:31:07] :	 [Step 1/1]  * [new branch]          master                 -> master
[11:31:07] :	 [Step 1/1] --- Building for bullseye amd64 ---
[11:31:07] :	 [Step 1/1] Stopping target if it is up
[11:31:07] :	 [Step 1/1] Error response from daemon: No such container: gitian-target
[11:31:07] :	 [Step 1/1] Error: No such container: gitian-target
[11:31:07] :	 [Step 1/1] Making a new image copy
[11:31:07] :	 [Step 1/1] Starting target
[11:31:07] :	 [Step 1/1] Checking if target is up.
[11:31:07] :	 [Step 1/1] Preparing build environment
[11:31:07] :	 [Step 1/1] Updating apt-get repository (log in var/install.log)
[11:31:07] :	 [Step 1/1] Installing additional packages (log in var/install.log)
[11:31:07] :	 [Step 1/1] Upgrading system, may take a while (log in var/install.log)
[11:31:07] :	 [Step 1/1] Creating package manifest
[11:31:07] :	 [Step 1/1] Creating build script (var/build-script)
[11:31:07] :	 [Step 1/1] Running build script (log in var/build.log)
[11:31:07] :	 [Step 1/1] ./bin/gbuild:23:in `system!': failed to run on-target setarch x86_64 bash -x < var/build-script > var/build.log 2>&1 (RuntimeError)
[11:31:07] :	 [Step 1/1] 	from ./bin/gbuild:185:in `build_one_configuration'
[11:31:07] :	 [Step 1/1] 	from ./bin/gbuild:339:in `block (2 levels) in <main>'
[11:31:07] :	 [Step 1/1] 	from ./bin/gbuild:334:in `each'
[11:31:07] :	 [Step 1/1] 	from ./bin/gbuild:334:in `block in <main>'
[11:31:07] :	 [Step 1/1] 	from ./bin/gbuild:332:in `each'
[11:31:07] :	 [Step 1/1] 	from ./bin/gbuild:332:in `<main>'
[11:31:07] :	 [Step 1/1] Build gitian-osx failed with exit code 1
[11:31:07] :	 [Step 1/1] ~/infra ~/buildAgent/work/jailed-build/bitcoin-abc ~/buildAgent/work/jailed-build
[11:31:07]W:	 [Step 1/1] + RESULT=1
[11:31:07]W:	 [Step 1/1] + pushd /home/teamcity/infra
[11:31:07]W:	 [Step 1/1] + docker-compose stop apt-cache-proxy
[11:31:07]W:	 [Step 1/1] Stopping abc-apt-cache-proxy ... 
[11:31:18] :	 [Step 1/1] ~/buildAgent/work/jailed-build/bitcoin-abc ~/buildAgent/work/jailed-build
[11:31:18]W:	 [Step 1/1]  [1A [2K
[11:31:18]W:	 [Step 1/1] Stopping abc-apt-cache-proxy ...  [32mdone [0m
[11:31:18]W:	 [Step 1/1]  [1B+ popd
[11:31:18]W:	 [Step 1/1] + exit 1
[11:31:18]W:	 [Step 1/1] Process exited with code 1
[11:31:18]E:	 [Step 1/1] Process exited with code 1 (Step: Command Line)
[11:31:18] :	 [Step 1/1] Waiting for 1 service processes to complete
[11:31:18]E:	 [Step 1/1] Ant JUnit report watcher
[11:31:18]E:		 [Ant JUnit report watcher] No reports found for paths:
[11:31:18]E:		 [Ant JUnit report watcher] /home/teamcity/buildAgent/work/jailed-build/results/artifacts/junit/*.xml
[11:31:19]E:	 [Step 1/1] Step Command Line failed
[11:31:19]E: Ant JUnit report watcher
[11:31:19]E:	 [Ant JUnit report watcher] No reports found for paths:
[11:31:19]E:	 [Ant JUnit report watcher] +:results/test_bitcoin.xml
[11:31:19]E:	 [Ant JUnit report watcher] +:results/**/junit_results*.xml
[11:31:19] : Publishing internal artifacts
[11:31:19] :	 [Publishing internal artifacts] Publishing 1 file using [WebPublisher]
[11:31:20] :	 [Publishing internal artifacts] Publishing 1 file using [ArtifactsCachePublisher]
[11:31:19]W: Publishing artifacts (2s)
[11:31:19] :	 [Publishing artifacts] Collecting files to publish: [+:results/**/junit_results*.xml, +:bitcoin-abc/abc-ci-builds/gitian-osx/gitian-results => gitian-osx.tar.gz]
[11:31:19]W:	 [Publishing artifacts] Artifacts path 'results/**/junit_results*.xml' not found
[11:31:19] :	 [Publishing artifacts] Creating archive gitian-osx.tar.gz
[11:31:19] :		 [Creating archive gitian-osx.tar.gz] Creating /home/teamcity/buildAgent/temp/buildTmp/TarPreprocessor7285082526677896033/gitian-osx.tar.gz
[11:31:19] :		 [Creating archive gitian-osx.tar.gz] Archive was created, file size 11.15 KB (11418 bytes)
[11:31:21] :	 [Publishing artifacts] Publishing 1 file using [WebPublisher]: bitcoin-abc/abc-ci-builds/gitian-osx/gitian-results => gitian-osx.tar.gz
[11:31:21] :	 [Publishing artifacts] Publishing 1 file using [ArtifactsCachePublisher]: bitcoin-abc/abc-ci-builds/gitian-osx/gitian-results => gitian-osx.tar.gz
[11:31:22] : Build finished

Abandoning this for now, as it will only be needed when we support ARM Mac OS.
Things to investigate when this is reopened: