Page MenuHomePhabricator

try using system clang for gitian-osx
AbandonedPublicDraft

Authored by PiRK on Feb 28 2024, 13:12.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

Testing. This is done for the guix build

Test Plan

gitian-osx

Diff Detail

Repository
rABC Bitcoin ABC
Branch
test_gitian_force_use_system_clang
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 27497
Build 54557: Build Diff
Build 54556: arc lint + arc unit

Event Timeline

Tail of the build log:

 * [new tag]             phabricator/diff/45565 -> phabricator/diff/45565
 * [new tag]             phabricator/diff/45566 -> phabricator/diff/45566
 * [new tag]             phabricator/diff/45569 -> phabricator/diff/45569
 * [new tag]             phabricator/diff/45573 -> phabricator/diff/45573
 * [new tag]             phabricator/diff/45576 -> phabricator/diff/45576
 * [new tag]             phabricator/diff/45577 -> phabricator/diff/45577
 * [new tag]             phabricator/diff/45601 -> phabricator/diff/45601
 * [new tag]             phabricator/diff/45602 -> phabricator/diff/45602
 * [new tag]             phabricator/diff/45603 -> phabricator/diff/45603
 * [new tag]             phabricator/diff/45612 -> phabricator/diff/45612
 * [new tag]             phabricator/diff/45614 -> phabricator/diff/45614
 * [new tag]             phabricator/diff/45620 -> phabricator/diff/45620
 * [new tag]             phabricator/diff/45621 -> phabricator/diff/45621
 * [new tag]             phabricator/diff/45626 -> phabricator/diff/45626
 * [new tag]             phabricator/diff/45630 -> phabricator/diff/45630
 * [new tag]             phabricator/diff/45632 -> phabricator/diff/45632
 * [new tag]             phabricator/diff/45641 -> phabricator/diff/45641
 * [new tag]             phabricator/diff/45642 -> phabricator/diff/45642
 * [new tag]             phabricator/diff/45643 -> phabricator/diff/45643
 * [new tag]             phabricator/diff/45644 -> phabricator/diff/45644
 * [new tag]             phabricator/diff/45645 -> phabricator/diff/45645
 * [new tag]             phabricator/diff/45646 -> phabricator/diff/45646
 * [new tag]             phabricator/diff/45648 -> phabricator/diff/45648
 * [new tag]             phabricator/diff/45656 -> phabricator/diff/45656
 * [new tag]             phabricator/diff/45663 -> phabricator/diff/45663
 * [new tag]             phabricator/diff/45666 -> phabricator/diff/45666
 * [new tag]             phabricator/diff/45667 -> phabricator/diff/45667
 * [new tag]             phabricator/diff/45671 -> phabricator/diff/45671
 * [new tag]             phabricator/diff/45672 -> phabricator/diff/45672
 * [new tag]             phabricator/diff/45689 -> phabricator/diff/45689
 * [new tag]             phabricator/diff/45694 -> phabricator/diff/45694
 * [new tag]             phabricator/diff/45695 -> phabricator/diff/45695
 * [new tag]             phabricator/diff/45701 -> phabricator/diff/45701
 * [new tag]             phabricator/diff/45703 -> phabricator/diff/45703
 * [new tag]             phabricator/diff/45708 -> phabricator/diff/45708
 * [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

install clang and enable verbose logging

Tail of the build log:

 * [new tag]             phabricator/diff/45594 -> phabricator/diff/45594
 * [new tag]             phabricator/diff/45595 -> phabricator/diff/45595
 * [new tag]             phabricator/diff/45597 -> phabricator/diff/45597
 * [new tag]             phabricator/diff/45598 -> phabricator/diff/45598
 * [new tag]             phabricator/diff/45601 -> phabricator/diff/45601
 * [new tag]             phabricator/diff/45602 -> phabricator/diff/45602
 * [new tag]             phabricator/diff/45603 -> phabricator/diff/45603
 * [new tag]             phabricator/diff/45610 -> phabricator/diff/45610
 * [new tag]             phabricator/diff/45612 -> phabricator/diff/45612
 * [new tag]             phabricator/diff/45614 -> phabricator/diff/45614
 * [new tag]             phabricator/diff/45620 -> phabricator/diff/45620
 * [new tag]             phabricator/diff/45621 -> phabricator/diff/45621
 * [new tag]             phabricator/diff/45626 -> phabricator/diff/45626
 * [new tag]             phabricator/diff/45634 -> phabricator/diff/45634
 * [new tag]             phabricator/diff/45635 -> phabricator/diff/45635
 * [new tag]             phabricator/diff/45638 -> phabricator/diff/45638
 * [new tag]             phabricator/diff/45639 -> phabricator/diff/45639
 * [new tag]             phabricator/diff/45641 -> phabricator/diff/45641
 * [new tag]             phabricator/diff/45642 -> phabricator/diff/45642
 * [new tag]             phabricator/diff/45643 -> phabricator/diff/45643
 * [new tag]             phabricator/diff/45644 -> phabricator/diff/45644
 * [new tag]             phabricator/diff/45645 -> phabricator/diff/45645
 * [new tag]             phabricator/diff/45646 -> phabricator/diff/45646
 * [new tag]             phabricator/diff/45647 -> phabricator/diff/45647
 * [new tag]             phabricator/diff/45648 -> phabricator/diff/45648
 * [new tag]             phabricator/diff/45656 -> phabricator/diff/45656
 * [new tag]             phabricator/diff/45658 -> phabricator/diff/45658
 * [new tag]             phabricator/diff/45669 -> phabricator/diff/45669
 * [new tag]             phabricator/diff/45671 -> phabricator/diff/45671
 * [new tag]             phabricator/diff/45672 -> phabricator/diff/45672
 * [new tag]             phabricator/diff/45676 -> phabricator/diff/45676
 * [new tag]             phabricator/diff/45694 -> phabricator/diff/45694
 * [new tag]             phabricator/diff/45695 -> phabricator/diff/45695
 * [new tag]             phabricator/diff/45707 -> phabricator/diff/45707
 * [new tag]             phabricator/diff/45710 -> phabricator/diff/45710
 * [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

try adding llvm-dev as a dependency (the build is missing libLTO.so)

Tail of the build log:

 * [new tag]             phabricator/diff/45529 -> phabricator/diff/45529
 * [new tag]             phabricator/diff/45530 -> phabricator/diff/45530
 * [new tag]             phabricator/diff/45534 -> phabricator/diff/45534
 * [new tag]             phabricator/diff/45545 -> phabricator/diff/45545
 * [new tag]             phabricator/diff/45547 -> phabricator/diff/45547
 * [new tag]             phabricator/diff/45551 -> phabricator/diff/45551
 * [new tag]             phabricator/diff/45561 -> phabricator/diff/45561
 * [new tag]             phabricator/diff/45563 -> phabricator/diff/45563
 * [new tag]             phabricator/diff/45565 -> phabricator/diff/45565
 * [new tag]             phabricator/diff/45566 -> phabricator/diff/45566
 * [new tag]             phabricator/diff/45569 -> phabricator/diff/45569
 * [new tag]             phabricator/diff/45570 -> phabricator/diff/45570
 * [new tag]             phabricator/diff/45573 -> phabricator/diff/45573
 * [new tag]             phabricator/diff/45577 -> phabricator/diff/45577
 * [new tag]             phabricator/diff/45580 -> phabricator/diff/45580
 * [new tag]             phabricator/diff/45581 -> phabricator/diff/45581
 * [new tag]             phabricator/diff/45583 -> phabricator/diff/45583
 * [new tag]             phabricator/diff/45584 -> phabricator/diff/45584
 * [new tag]             phabricator/diff/45585 -> phabricator/diff/45585
 * [new tag]             phabricator/diff/45587 -> phabricator/diff/45587
 * [new tag]             phabricator/diff/45602 -> phabricator/diff/45602
 * [new tag]             phabricator/diff/45612 -> phabricator/diff/45612
 * [new tag]             phabricator/diff/45620 -> phabricator/diff/45620
 * [new tag]             phabricator/diff/45621 -> phabricator/diff/45621
 * [new tag]             phabricator/diff/45626 -> phabricator/diff/45626
 * [new tag]             phabricator/diff/45641 -> phabricator/diff/45641
 * [new tag]             phabricator/diff/45642 -> phabricator/diff/45642
 * [new tag]             phabricator/diff/45643 -> phabricator/diff/45643
 * [new tag]             phabricator/diff/45644 -> phabricator/diff/45644
 * [new tag]             phabricator/diff/45645 -> phabricator/diff/45645
 * [new tag]             phabricator/diff/45672 -> phabricator/diff/45672
 * [new tag]             phabricator/diff/45691 -> phabricator/diff/45691
 * [new tag]             phabricator/diff/45693 -> phabricator/diff/45693
 * [new tag]             phabricator/diff/45709 -> phabricator/diff/45709
 * [new tag]             phabricator/diff/45713 -> phabricator/diff/45713
 * [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