Page MenuHomePhabricator

build: MacOS toolchain bump (part 1)
AbandonedPublic

Authored by PiRK on Apr 25 2023, 14:06.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary
Test Plan

build-osx gitian-osx

contrib/guix/guix-build

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 23478
Build 46575: Build Diff
Build 46574: arc lint + arc unit

Event Timeline

PiRK requested review of this revision.Apr 25 2023, 14:06

Tail of the build log:

 * [new tag]             phabricator/diff/39804 -> phabricator/diff/39804
 * [new tag]             phabricator/diff/39805 -> phabricator/diff/39805
 * [new tag]             phabricator/diff/39806 -> phabricator/diff/39806
 * [new tag]             phabricator/diff/39812 -> phabricator/diff/39812
 * [new tag]             phabricator/diff/39814 -> phabricator/diff/39814
 * [new tag]             phabricator/diff/39816 -> phabricator/diff/39816
 * [new tag]             phabricator/diff/39817 -> phabricator/diff/39817
 * [new tag]             phabricator/diff/39819 -> phabricator/diff/39819
 * [new tag]             phabricator/diff/39832 -> phabricator/diff/39832
 * [new tag]             phabricator/diff/39840 -> phabricator/diff/39840
 * [new tag]             phabricator/diff/39843 -> phabricator/diff/39843
 * [new tag]             phabricator/diff/39844 -> phabricator/diff/39844
 * [new tag]             phabricator/diff/39846 -> phabricator/diff/39846
 * [new tag]             phabricator/diff/39847 -> phabricator/diff/39847
 * [new tag]             phabricator/diff/39853 -> phabricator/diff/39853
 * [new tag]             phabricator/diff/39863 -> phabricator/diff/39863
 * [new tag]             phabricator/diff/39865 -> phabricator/diff/39865
 * [new tag]             phabricator/diff/39866 -> phabricator/diff/39866
 * [new tag]             phabricator/diff/39868 -> phabricator/diff/39868
 * [new tag]             phabricator/diff/39869 -> phabricator/diff/39869
 * [new tag]             phabricator/diff/39871 -> phabricator/diff/39871
 * [new tag]             phabricator/diff/39880 -> phabricator/diff/39880
 * [new tag]             phabricator/diff/39881 -> phabricator/diff/39881
 * [new tag]             phabricator/diff/39885 -> phabricator/diff/39885
 * [new tag]             phabricator/diff/39886 -> phabricator/diff/39886
 * [new tag]             phabricator/diff/39891 -> phabricator/diff/39891
 * [new tag]             phabricator/diff/39903 -> phabricator/diff/39903
 * [new tag]             phabricator/diff/39904 -> phabricator/diff/39904
 * [new tag]             phabricator/diff/39905 -> phabricator/diff/39905
 * [new tag]             phabricator/diff/39914 -> phabricator/diff/39914
 * [new tag]             phabricator/diff/39921 -> phabricator/diff/39921
 * [new tag]             phabricator/diff/39925 -> phabricator/diff/39925
 * [new tag]             phabricator/diff/39926 -> phabricator/diff/39926
 * [new tag]             phabricator/diff/39928 -> phabricator/diff/39928
 * [new tag]             phabricator/diff/39929 -> phabricator/diff/39929
 * [new tag]             phabricator/diff/8992  -> phabricator/diff/8992
 * [new tag]             phabricator/diff/8993  -> phabricator/diff/8993
 * [new branch]          master                 -> master
--- Building for bullseye amd64 ---
Stopping target if it is up
Error response from daemon: No such container: gitian-target
Error: No such container: gitian-target
Making a new image copy
Starting target
Checking if target is up.
Preparing build environment
Updating apt-get repository (log in var/install.log)
Installing additional packages (log in var/install.log)
Upgrading system, may take a while (log in var/install.log)
Creating package manifest
Creating build script (var/build-script)
Running build script (log in var/build.log)
./bin/gbuild:23:in `system!': failed to run on-target setarch x86_64 bash -x < var/build-script > var/build.log 2>&1 (RuntimeError)
	from ./bin/gbuild:185:in `build_one_configuration'
	from ./bin/gbuild:339:in `block (2 levels) in <main>'
	from ./bin/gbuild:334:in `each'
	from ./bin/gbuild:334:in `block in <main>'
	from ./bin/gbuild:332:in `each'
	from ./bin/gbuild:332:in `<main>'
Build gitian-osx failed with exit code 1

Tail of the build log:

In file included from ../../src/./validation.h:17:
In file included from ../../src/./blockindexcomparators.h:8:
In file included from ../../src/./blockindex.h:10:
In file included from ../../src/./flatfile.h:9:
../../src/./fs.h:48:32: error: 'operator=' is unavailable: introduced in macOS 10.15
        std::filesystem::path::operator=(c);
                               ^
/work/depends/SDKs/Xcode-11.3.1-11C505-extracted-SDK-with-libcxx-headers/usr/include/c++/v1/filesystem:820:3: note: 'operator=' has been explicitly marked unavailable here
  operator=(const _Source& __src) {
  ^
In file included from ../../src/seeder/test/message_writer_tests.cpp:8:
In file included from ../../src/./seeder/messagewriter.h:9:
In file included from ../../src/./net.h:11:
In file included from ../../src/./avalanche/proofradixtreeadapter.h:8:
In file included from ../../src/./avalanche/proof.h:16:
In file included from ../../src/./validation.h:17:
In file included from ../../src/./blockindexcomparators.h:8:
In file included from ../../src/./blockindex.h:10:
In file included from ../../src/./flatfile.h:9:
../../src/./fs.h:48:32: error: 'operator=<const char *>' is unavailable: introduced in macOS 10.15
        std::filesystem::path::operator=(c);
                               ^
/work/depends/SDKs/Xcode-11.3.1-11C505-extracted-SDK-with-libcxx-headers/usr/include/c++/v1/filesystem:820:3: note: 'operator=<const char *>' has been explicitly marked unavailable here
  operator=(const _Source& __src) {
  ^
In file included from ../../src/seeder/test/message_writer_tests.cpp:8:
In file included from ../../src/./seeder/messagewriter.h:9:
In file included from ../../src/./net.h:11:
In file included from ../../src/./avalanche/proofradixtreeadapter.h:8:
In file included from ../../src/./avalanche/proof.h:16:
In file included from ../../src/./validation.h:17:
In file included from ../../src/./blockindexcomparators.h:8:
In file included from ../../src/./blockindex.h:10:
In file included from ../../src/./flatfile.h:9:
../../src/./fs.h:52:30: error: 'path' is unavailable: introduced in macOS 10.15
        std::filesystem::path::operator/=(c);
                             ^
/work/depends/SDKs/Xcode-11.3.1-11C505-extracted-SDK-with-libcxx-headers/usr/include/c++/v1/filesystem:739:24: note: 'path' has been explicitly marked unavailable here
class _LIBCPP_TYPE_VIS path {
                       ^
In file included from ../../src/seeder/test/message_writer_tests.cpp:8:
In file included from ../../src/./seeder/messagewriter.h:9:
In file included from ../../src/./net.h:11:
In file included from ../../src/./avalanche/proofradixtreeadapter.h:8:
In file included from ../../src/./avalanche/proof.h:16:
In file included from ../../src/./validation.h:17:
In file included from ../../src/./blockindexcomparators.h:8:
In file included from ../../src/./blockindex.h:10:
In file included from ../../src/./flatfile.h:9:
../../src/./fs.h:52:32: error: 'operator/=' is unavailable: introduced in macOS 10.15
        std::filesystem::path::operator/=(c);
                               ^
/work/depends/SDKs/Xcode-11.3.1-11C505-extracted-SDK-with-libcxx-headers/usr/include/c++/v1/filesystem:863:3: note: 'operator/=' has been explicitly marked unavailable here
  operator/=(const _Source& __src) {
  ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[523/828] Building CXX object src/seeder/test/CMakeFiles/test-seeder.dir/write_name_tests.cpp.o
ninja: build stopped: cannot make progress due to previous errors.
Build build-osx failed with exit code 1
PiRK planned changes to this revision.Apr 25 2023, 15:17
PiRK edited the summary of this revision. (Show Details)

rebase and remove qpainter patch

Tail of the build log:

 * [new tag]             phabricator/diff/39844 -> phabricator/diff/39844
 * [new tag]             phabricator/diff/39846 -> phabricator/diff/39846
 * [new tag]             phabricator/diff/39847 -> phabricator/diff/39847
 * [new tag]             phabricator/diff/39853 -> phabricator/diff/39853
 * [new tag]             phabricator/diff/39863 -> phabricator/diff/39863
 * [new tag]             phabricator/diff/39865 -> phabricator/diff/39865
 * [new tag]             phabricator/diff/39866 -> phabricator/diff/39866
 * [new tag]             phabricator/diff/39868 -> phabricator/diff/39868
 * [new tag]             phabricator/diff/39869 -> phabricator/diff/39869
 * [new tag]             phabricator/diff/39871 -> phabricator/diff/39871
 * [new tag]             phabricator/diff/39880 -> phabricator/diff/39880
 * [new tag]             phabricator/diff/39881 -> phabricator/diff/39881
 * [new tag]             phabricator/diff/39885 -> phabricator/diff/39885
 * [new tag]             phabricator/diff/39886 -> phabricator/diff/39886
 * [new tag]             phabricator/diff/39891 -> phabricator/diff/39891
 * [new tag]             phabricator/diff/39903 -> phabricator/diff/39903
 * [new tag]             phabricator/diff/39904 -> phabricator/diff/39904
 * [new tag]             phabricator/diff/39905 -> phabricator/diff/39905
 * [new tag]             phabricator/diff/39914 -> phabricator/diff/39914
 * [new tag]             phabricator/diff/39921 -> phabricator/diff/39921
 * [new tag]             phabricator/diff/39925 -> phabricator/diff/39925
 * [new tag]             phabricator/diff/39926 -> phabricator/diff/39926
 * [new tag]             phabricator/diff/39928 -> phabricator/diff/39928
 * [new tag]             phabricator/diff/39929 -> phabricator/diff/39929
 * [new tag]             phabricator/diff/39945 -> phabricator/diff/39945
 * [new tag]             phabricator/diff/39947 -> phabricator/diff/39947
 * [new tag]             phabricator/diff/39957 -> phabricator/diff/39957
 * [new tag]             phabricator/diff/39958 -> phabricator/diff/39958
 * [new tag]             phabricator/diff/39959 -> phabricator/diff/39959
 * [new tag]             phabricator/diff/39963 -> phabricator/diff/39963
 * [new tag]             phabricator/diff/39970 -> phabricator/diff/39970
 * [new tag]             phabricator/diff/39971 -> phabricator/diff/39971
 * [new tag]             phabricator/diff/39972 -> phabricator/diff/39972
 * [new tag]             phabricator/diff/39974 -> phabricator/diff/39974
 * [new tag]             phabricator/diff/39977 -> phabricator/diff/39977
 * [new tag]             phabricator/diff/8992  -> phabricator/diff/8992
 * [new tag]             phabricator/diff/8993  -> phabricator/diff/8993
 * [new branch]          master                 -> master
--- Building for bullseye amd64 ---
Stopping target if it is up
Error response from daemon: No such container: gitian-target
Error: No such container: gitian-target
Making a new image copy
Starting target
Checking if target is up.
Preparing build environment
Updating apt-get repository (log in var/install.log)
Installing additional packages (log in var/install.log)
Upgrading system, may take a while (log in var/install.log)
Creating package manifest
Creating build script (var/build-script)
Running build script (log in var/build.log)
./bin/gbuild:23:in `system!': failed to run on-target setarch x86_64 bash -x < var/build-script > var/build.log 2>&1 (RuntimeError)
	from ./bin/gbuild:185:in `build_one_configuration'
	from ./bin/gbuild:339:in `block (2 levels) in <main>'
	from ./bin/gbuild:334:in `each'
	from ./bin/gbuild:334:in `block in <main>'
	from ./bin/gbuild:332:in `each'
	from ./bin/gbuild:332:in `<main>'
Build gitian-osx failed with exit code 1

Tail of the build log:

 * [new tag]             phabricator/diff/39836 -> phabricator/diff/39836
 * [new tag]             phabricator/diff/39840 -> phabricator/diff/39840
 * [new tag]             phabricator/diff/39843 -> phabricator/diff/39843
 * [new tag]             phabricator/diff/39845 -> phabricator/diff/39845
 * [new tag]             phabricator/diff/39846 -> phabricator/diff/39846
 * [new tag]             phabricator/diff/39847 -> phabricator/diff/39847
 * [new tag]             phabricator/diff/39853 -> phabricator/diff/39853
 * [new tag]             phabricator/diff/39865 -> phabricator/diff/39865
 * [new tag]             phabricator/diff/39878 -> phabricator/diff/39878
 * [new tag]             phabricator/diff/39881 -> phabricator/diff/39881
 * [new tag]             phabricator/diff/39883 -> phabricator/diff/39883
 * [new tag]             phabricator/diff/39891 -> phabricator/diff/39891
 * [new tag]             phabricator/diff/39893 -> phabricator/diff/39893
 * [new tag]             phabricator/diff/39906 -> phabricator/diff/39906
 * [new tag]             phabricator/diff/39908 -> phabricator/diff/39908
 * [new tag]             phabricator/diff/39911 -> phabricator/diff/39911
 * [new tag]             phabricator/diff/39912 -> phabricator/diff/39912
 * [new tag]             phabricator/diff/39913 -> phabricator/diff/39913
 * [new tag]             phabricator/diff/39914 -> phabricator/diff/39914
 * [new tag]             phabricator/diff/39918 -> phabricator/diff/39918
 * [new tag]             phabricator/diff/39921 -> phabricator/diff/39921
 * [new tag]             phabricator/diff/39924 -> phabricator/diff/39924
 * [new tag]             phabricator/diff/39925 -> phabricator/diff/39925
 * [new tag]             phabricator/diff/39928 -> phabricator/diff/39928
 * [new tag]             phabricator/diff/39939 -> phabricator/diff/39939
 * [new tag]             phabricator/diff/39942 -> phabricator/diff/39942
 * [new tag]             phabricator/diff/39943 -> phabricator/diff/39943
 * [new tag]             phabricator/diff/39946 -> phabricator/diff/39946
 * [new tag]             phabricator/diff/39957 -> phabricator/diff/39957
 * [new tag]             phabricator/diff/39958 -> phabricator/diff/39958
 * [new tag]             phabricator/diff/39961 -> phabricator/diff/39961
 * [new tag]             phabricator/diff/39963 -> phabricator/diff/39963
 * [new tag]             phabricator/diff/39970 -> phabricator/diff/39970
 * [new tag]             phabricator/diff/39971 -> phabricator/diff/39971
 * [new tag]             phabricator/diff/39972 -> phabricator/diff/39972
 * [new tag]             phabricator/diff/8992  -> phabricator/diff/8992
 * [new tag]             phabricator/diff/8993  -> phabricator/diff/8993
 * [new branch]          master                 -> master
--- Building for bullseye amd64 ---
Stopping target if it is up
Error response from daemon: No such container: gitian-target
Error: No such container: gitian-target
Making a new image copy
Starting target
Checking if target is up.
Preparing build environment
Updating apt-get repository (log in var/install.log)
Installing additional packages (log in var/install.log)
Upgrading system, may take a while (log in var/install.log)
Creating package manifest
Creating build script (var/build-script)
Running build script (log in var/build.log)
./bin/gbuild:23:in `system!': failed to run on-target setarch x86_64 bash -x < var/build-script > var/build.log 2>&1 (RuntimeError)
	from ./bin/gbuild:185:in `build_one_configuration'
	from ./bin/gbuild:339:in `block (2 levels) in <main>'
	from ./bin/gbuild:334:in `each'
	from ./bin/gbuild:334:in `block in <main>'
	from ./bin/gbuild:332:in `each'
	from ./bin/gbuild:332:in `<main>'
Build gitian-osx failed with exit code 1
PiRK planned changes to this revision.Apr 26 2023, 15:40

I'm trying to see if bumping the SDK helps, in D13788, but there I'm getting other issues related to the new SDK.

rebase onto D13805 to support std::filesystem on Mac OS

Tail of the build log:

 * [new tag]             phabricator/diff/39805 -> phabricator/diff/39805
 * [new tag]             phabricator/diff/39806 -> phabricator/diff/39806
 * [new tag]             phabricator/diff/39813 -> phabricator/diff/39813
 * [new tag]             phabricator/diff/39815 -> phabricator/diff/39815
 * [new tag]             phabricator/diff/39817 -> phabricator/diff/39817
 * [new tag]             phabricator/diff/39822 -> phabricator/diff/39822
 * [new tag]             phabricator/diff/39832 -> phabricator/diff/39832
 * [new tag]             phabricator/diff/39843 -> phabricator/diff/39843
 * [new tag]             phabricator/diff/39845 -> phabricator/diff/39845
 * [new tag]             phabricator/diff/39846 -> phabricator/diff/39846
 * [new tag]             phabricator/diff/39853 -> phabricator/diff/39853
 * [new tag]             phabricator/diff/39865 -> phabricator/diff/39865
 * [new tag]             phabricator/diff/39868 -> phabricator/diff/39868
 * [new tag]             phabricator/diff/39869 -> phabricator/diff/39869
 * [new tag]             phabricator/diff/39871 -> phabricator/diff/39871
 * [new tag]             phabricator/diff/39889 -> phabricator/diff/39889
 * [new tag]             phabricator/diff/39903 -> phabricator/diff/39903
 * [new tag]             phabricator/diff/39904 -> phabricator/diff/39904
 * [new tag]             phabricator/diff/39905 -> phabricator/diff/39905
 * [new tag]             phabricator/diff/39908 -> phabricator/diff/39908
 * [new tag]             phabricator/diff/39918 -> phabricator/diff/39918
 * [new tag]             phabricator/diff/39926 -> phabricator/diff/39926
 * [new tag]             phabricator/diff/39936 -> phabricator/diff/39936
 * [new tag]             phabricator/diff/39945 -> phabricator/diff/39945
 * [new tag]             phabricator/diff/39947 -> phabricator/diff/39947
 * [new tag]             phabricator/diff/39958 -> phabricator/diff/39958
 * [new tag]             phabricator/diff/39959 -> phabricator/diff/39959
 * [new tag]             phabricator/diff/39963 -> phabricator/diff/39963
 * [new tag]             phabricator/diff/39982 -> phabricator/diff/39982
 * [new tag]             phabricator/diff/39983 -> phabricator/diff/39983
 * [new tag]             phabricator/diff/39986 -> phabricator/diff/39986
 * [new tag]             phabricator/diff/40009 -> phabricator/diff/40009
 * [new tag]             phabricator/diff/40011 -> phabricator/diff/40011
 * [new tag]             phabricator/diff/40012 -> phabricator/diff/40012
 * [new tag]             phabricator/diff/40013 -> phabricator/diff/40013
 * [new tag]             phabricator/diff/40014 -> phabricator/diff/40014
 * [new tag]             phabricator/diff/40015 -> phabricator/diff/40015
 * [new tag]             phabricator/diff/8992  -> phabricator/diff/8992
 * [new tag]             phabricator/diff/8993  -> phabricator/diff/8993
 * [new branch]          master                 -> master
--- Building for bullseye amd64 ---
Stopping target if it is up
Making a new image copy
Starting target
Checking if target is up.
Preparing build environment
Updating apt-get repository (log in var/install.log)
Installing additional packages (log in var/install.log)
Upgrading system, may take a while (log in var/install.log)
Creating package manifest
Creating build script (var/build-script)
Running build script (log in var/build.log)
./bin/gbuild:23:in `system!': failed to run on-target setarch x86_64 bash -x < var/build-script > var/build.log 2>&1 (RuntimeError)
	from ./bin/gbuild:185:in `build_one_configuration'
	from ./bin/gbuild:339:in `block (2 levels) in <main>'
	from ./bin/gbuild:334:in `each'
	from ./bin/gbuild:334:in `block in <main>'
	from ./bin/gbuild:332:in `each'
	from ./bin/gbuild:332:in `<main>'
Build gitian-osx failed with exit code 1

Tail of the build log:

In file included from ../../src/./blockindexcomparators.h:8:
In file included from ../../src/./blockindex.h:10:
In file included from ../../src/./flatfile.h:9:
../../src/./fs.h:48:32: error: 'operator=' is unavailable: introduced in macOS 10.15
        std::filesystem::path::operator=(c);
                               ^
/work/depends/SDKs/Xcode-11.3.1-11C505-extracted-SDK-with-libcxx-headers/usr/include/c++/v1/filesystem:820:3: note: 'operator=' has been explicitly marked unavailable here
  operator=(const _Source& __src) {
  ^
In file included from ../../src/seeder/test/message_writer_tests.cpp:8:
In file included from ../../src/./seeder/messagewriter.h:9:
In file included from ../../src/./net.h:11:
In file included from ../../src/./avalanche/proofradixtreeadapter.h:8:
In file included from ../../src/./avalanche/proof.h:16:
In file included from ../../src/./validation.h:17:
In file included from ../../src/./blockindexcomparators.h:8:
In file included from ../../src/./blockindex.h:10:
In file included from ../../src/./flatfile.h:9:
../../src/./fs.h:48:32: error: 'operator=<const char *>' is unavailable: introduced in macOS 10.15
        std::filesystem::path::operator=(c);
                               ^
/work/depends/SDKs/Xcode-11.3.1-11C505-extracted-SDK-with-libcxx-headers/usr/include/c++/v1/filesystem:820:3: note: 'operator=<const char *>' has been explicitly marked unavailable here
  operator=(const _Source& __src) {
  ^
In file included from ../../src/seeder/test/message_writer_tests.cpp:8:
In file included from ../../src/./seeder/messagewriter.h:9:
In file included from ../../src/./net.h:11:
In file included from ../../src/./avalanche/proofradixtreeadapter.h:8:
In file included from ../../src/./avalanche/proof.h:16:
In file included from ../../src/./validation.h:17:
In file included from ../../src/./blockindexcomparators.h:8:
In file included from ../../src/./blockindex.h:10:
In file included from ../../src/./flatfile.h:9:
../../src/./fs.h:52:30: error: 'path' is unavailable: introduced in macOS 10.15
        std::filesystem::path::operator/=(c);
                             ^
/work/depends/SDKs/Xcode-11.3.1-11C505-extracted-SDK-with-libcxx-headers/usr/include/c++/v1/filesystem:739:24: note: 'path' has been explicitly marked unavailable here
class _LIBCPP_TYPE_VIS path {
                       ^
In file included from ../../src/seeder/test/message_writer_tests.cpp:8:
In file included from ../../src/./seeder/messagewriter.h:9:
In file included from ../../src/./net.h:11:
In file included from ../../src/./avalanche/proofradixtreeadapter.h:8:
In file included from ../../src/./avalanche/proof.h:16:
In file included from ../../src/./validation.h:17:
In file included from ../../src/./blockindexcomparators.h:8:
In file included from ../../src/./blockindex.h:10:
In file included from ../../src/./flatfile.h:9:
../../src/./fs.h:52:32: error: 'operator/=' is unavailable: introduced in macOS 10.15
        std::filesystem::path::operator/=(c);
                               ^
/work/depends/SDKs/Xcode-11.3.1-11C505-extracted-SDK-with-libcxx-headers/usr/include/c++/v1/filesystem:863:3: note: 'operator/=' has been explicitly marked unavailable here
  operator/=(const _Source& __src) {
  ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[522/828] Building CXX object src/seeder/test/CMakeFiles/test-seeder.dir/write_name_tests.cpp.o
[523/828] Building CXX object src/seeder/test/CMakeFiles/test-seeder.dir/parse_name_tests.cpp.o
ninja: build stopped: cannot make progress due to previous errors.
Build build-osx failed with exit code 1
PiRK planned changes to this revision.Apr 27 2023, 11:11