Page MenuHomePhabricator

build: Cleanup depends build system
ClosedPublic

Authored by PiRK on May 9 2023, 13:52.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC515eeb717253: build: Cleanup depends build system
Summary

build: Drop non-existent share/pkgconfig directory

build: Remove unneeded share/doc directory from expat package

build: Remove empty var/cache/fontconfig directory from fontconfig

build: Remove unneeded share/man directory from freetype package

build: Remove unneeded share/man directory from libXau package

This is a backport of core#22783

Depends on D13872

Test Plan

gitian builds

contrib/guix/guix-build

Diff Detail

Repository
rABC Bitcoin ABC
Branch
qt_mk
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 23662
Build 46938: Build Diff
Build 46937: arc lint + arc unit

Event Timeline

@bot gitian-win gitian-osx gitian-linux

Tail of the build log:

 * [new tag]             phabricator/diff/39975 -> phabricator/diff/39975
 * [new tag]             phabricator/diff/39982 -> phabricator/diff/39982
 * [new tag]             phabricator/diff/39989 -> phabricator/diff/39989
 * [new tag]             phabricator/diff/40011 -> phabricator/diff/40011
 * [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/40016 -> phabricator/diff/40016
 * [new tag]             phabricator/diff/40019 -> phabricator/diff/40019
 * [new tag]             phabricator/diff/40025 -> phabricator/diff/40025
 * [new tag]             phabricator/diff/40028 -> phabricator/diff/40028
 * [new tag]             phabricator/diff/40032 -> phabricator/diff/40032
 * [new tag]             phabricator/diff/40034 -> phabricator/diff/40034
 * [new tag]             phabricator/diff/40040 -> phabricator/diff/40040
 * [new tag]             phabricator/diff/40061 -> phabricator/diff/40061
 * [new tag]             phabricator/diff/40064 -> phabricator/diff/40064
 * [new tag]             phabricator/diff/40067 -> phabricator/diff/40067
 * [new tag]             phabricator/diff/40106 -> phabricator/diff/40106
 * [new tag]             phabricator/diff/40112 -> phabricator/diff/40112
 * [new tag]             phabricator/diff/40118 -> phabricator/diff/40118
 * [new tag]             phabricator/diff/40119 -> phabricator/diff/40119
 * [new tag]             phabricator/diff/40128 -> phabricator/diff/40128
 * [new tag]             phabricator/diff/40163 -> phabricator/diff/40163
 * [new tag]             phabricator/diff/40164 -> phabricator/diff/40164
 * [new tag]             phabricator/diff/40175 -> phabricator/diff/40175
 * [new tag]             phabricator/diff/40183 -> phabricator/diff/40183
 * [new tag]             phabricator/diff/40187 -> phabricator/diff/40187
 * [new tag]             phabricator/diff/40196 -> phabricator/diff/40196
 * [new tag]             phabricator/diff/40197 -> phabricator/diff/40197
 * [new tag]             phabricator/diff/40200 -> phabricator/diff/40200
 * [new tag]             phabricator/diff/40209 -> phabricator/diff/40209
 * [new tag]             phabricator/diff/40210 -> phabricator/diff/40210
 * [new tag]             phabricator/diff/40231 -> phabricator/diff/40231
 * [new tag]             phabricator/diff/40233 -> phabricator/diff/40233
 * [new tag]             phabricator/diff/40235 -> phabricator/diff/40235
 * [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-win failed with exit code 1

Tail of the build log:

 * [new tag]             phabricator/diff/40143 -> phabricator/diff/40143
 * [new tag]             phabricator/diff/40145 -> phabricator/diff/40145
 * [new tag]             phabricator/diff/40149 -> phabricator/diff/40149
 * [new tag]             phabricator/diff/40150 -> phabricator/diff/40150
 * [new tag]             phabricator/diff/40155 -> phabricator/diff/40155
 * [new tag]             phabricator/diff/40156 -> phabricator/diff/40156
 * [new tag]             phabricator/diff/40157 -> phabricator/diff/40157
 * [new tag]             phabricator/diff/40158 -> phabricator/diff/40158
 * [new tag]             phabricator/diff/40159 -> phabricator/diff/40159
 * [new tag]             phabricator/diff/40160 -> phabricator/diff/40160
 * [new tag]             phabricator/diff/40161 -> phabricator/diff/40161
 * [new tag]             phabricator/diff/40163 -> phabricator/diff/40163
 * [new tag]             phabricator/diff/40164 -> phabricator/diff/40164
 * [new tag]             phabricator/diff/40169 -> phabricator/diff/40169
 * [new tag]             phabricator/diff/40175 -> phabricator/diff/40175
 * [new tag]             phabricator/diff/40179 -> phabricator/diff/40179
 * [new tag]             phabricator/diff/40180 -> phabricator/diff/40180
 * [new tag]             phabricator/diff/40181 -> phabricator/diff/40181
 * [new tag]             phabricator/diff/40182 -> phabricator/diff/40182
 * [new tag]             phabricator/diff/40183 -> phabricator/diff/40183
 * [new tag]             phabricator/diff/40184 -> phabricator/diff/40184
 * [new tag]             phabricator/diff/40185 -> phabricator/diff/40185
 * [new tag]             phabricator/diff/40186 -> phabricator/diff/40186
 * [new tag]             phabricator/diff/40187 -> phabricator/diff/40187
 * [new tag]             phabricator/diff/40199 -> phabricator/diff/40199
 * [new tag]             phabricator/diff/40200 -> phabricator/diff/40200
 * [new tag]             phabricator/diff/40205 -> phabricator/diff/40205
 * [new tag]             phabricator/diff/40208 -> phabricator/diff/40208
 * [new tag]             phabricator/diff/40209 -> phabricator/diff/40209
 * [new tag]             phabricator/diff/40210 -> phabricator/diff/40210
 * [new tag]             phabricator/diff/40223 -> phabricator/diff/40223
 * [new tag]             phabricator/diff/40225 -> phabricator/diff/40225
 * [new tag]             phabricator/diff/40226 -> phabricator/diff/40226
 * [new tag]             phabricator/diff/40231 -> phabricator/diff/40231
 * [new tag]             phabricator/diff/40233 -> phabricator/diff/40233
 * [new tag]             phabricator/diff/40234 -> phabricator/diff/40234
 * [new tag]             phabricator/diff/40235 -> phabricator/diff/40235
 * [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:

 * [new tag]             phabricator/diff/39998 -> phabricator/diff/39998
 * [new tag]             phabricator/diff/39999 -> phabricator/diff/39999
 * [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/40015 -> phabricator/diff/40015
 * [new tag]             phabricator/diff/40019 -> phabricator/diff/40019
 * [new tag]             phabricator/diff/40020 -> phabricator/diff/40020
 * [new tag]             phabricator/diff/40025 -> phabricator/diff/40025
 * [new tag]             phabricator/diff/40028 -> phabricator/diff/40028
 * [new tag]             phabricator/diff/40029 -> phabricator/diff/40029
 * [new tag]             phabricator/diff/40031 -> phabricator/diff/40031
 * [new tag]             phabricator/diff/40036 -> phabricator/diff/40036
 * [new tag]             phabricator/diff/40040 -> phabricator/diff/40040
 * [new tag]             phabricator/diff/40061 -> phabricator/diff/40061
 * [new tag]             phabricator/diff/40062 -> phabricator/diff/40062
 * [new tag]             phabricator/diff/40064 -> phabricator/diff/40064
 * [new tag]             phabricator/diff/40065 -> phabricator/diff/40065
 * [new tag]             phabricator/diff/40105 -> phabricator/diff/40105
 * [new tag]             phabricator/diff/40112 -> phabricator/diff/40112
 * [new tag]             phabricator/diff/40116 -> phabricator/diff/40116
 * [new tag]             phabricator/diff/40118 -> phabricator/diff/40118
 * [new tag]             phabricator/diff/40161 -> phabricator/diff/40161
 * [new tag]             phabricator/diff/40163 -> phabricator/diff/40163
 * [new tag]             phabricator/diff/40165 -> phabricator/diff/40165
 * [new tag]             phabricator/diff/40175 -> phabricator/diff/40175
 * [new tag]             phabricator/diff/40186 -> phabricator/diff/40186
 * [new tag]             phabricator/diff/40196 -> phabricator/diff/40196
 * [new tag]             phabricator/diff/40199 -> phabricator/diff/40199
 * [new tag]             phabricator/diff/40208 -> phabricator/diff/40208
 * [new tag]             phabricator/diff/40210 -> phabricator/diff/40210
 * [new tag]             phabricator/diff/40214 -> phabricator/diff/40214
 * [new tag]             phabricator/diff/40231 -> phabricator/diff/40231
 * [new tag]             phabricator/diff/40233 -> phabricator/diff/40233
 * [new tag]             phabricator/diff/40235 -> phabricator/diff/40235
 * [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-linux failed with exit code 1
PiRK edited the summary of this revision. (Show Details)
PiRK edited the test plan for this revision. (Show Details)

drop the dependency on D13782

@bot gitian-linux gitian-win gitian-osx

Tail of the build log:

 * [new tag]             phabricator/diff/40175 -> phabricator/diff/40175
 * [new tag]             phabricator/diff/40176 -> phabricator/diff/40176
 * [new tag]             phabricator/diff/40186 -> phabricator/diff/40186
 * [new tag]             phabricator/diff/40187 -> phabricator/diff/40187
 * [new tag]             phabricator/diff/40196 -> phabricator/diff/40196
 * [new tag]             phabricator/diff/40197 -> phabricator/diff/40197
 * [new tag]             phabricator/diff/40199 -> phabricator/diff/40199
 * [new tag]             phabricator/diff/40200 -> phabricator/diff/40200
 * [new tag]             phabricator/diff/40208 -> phabricator/diff/40208
 * [new tag]             phabricator/diff/40210 -> phabricator/diff/40210
 * [new tag]             phabricator/diff/40228 -> phabricator/diff/40228
 * [new tag]             phabricator/diff/40231 -> phabricator/diff/40231
 * [new tag]             phabricator/diff/40233 -> phabricator/diff/40233
 * [new tag]             phabricator/diff/40234 -> phabricator/diff/40234
 * [new tag]             phabricator/diff/40244 -> phabricator/diff/40244
 * [new tag]             phabricator/diff/40245 -> phabricator/diff/40245
 * [new tag]             phabricator/diff/40246 -> phabricator/diff/40246
 * [new tag]             phabricator/diff/40247 -> phabricator/diff/40247
 * [new tag]             phabricator/diff/40249 -> phabricator/diff/40249
 * [new tag]             phabricator/diff/40254 -> phabricator/diff/40254
 * [new tag]             phabricator/diff/40255 -> phabricator/diff/40255
 * [new tag]             phabricator/diff/40274 -> phabricator/diff/40274
 * [new tag]             phabricator/diff/40276 -> phabricator/diff/40276
 * [new tag]             phabricator/diff/40278 -> phabricator/diff/40278
 * [new tag]             phabricator/diff/40279 -> phabricator/diff/40279
 * [new tag]             phabricator/diff/40285 -> phabricator/diff/40285
 * [new tag]             phabricator/diff/40286 -> phabricator/diff/40286
 * [new tag]             phabricator/diff/40310 -> phabricator/diff/40310
 * [new tag]             phabricator/diff/40335 -> phabricator/diff/40335
 * [new tag]             phabricator/diff/40339 -> phabricator/diff/40339
 * [new tag]             phabricator/diff/40365 -> phabricator/diff/40365
 * [new tag]             phabricator/diff/40366 -> phabricator/diff/40366
 * [new tag]             phabricator/diff/40367 -> phabricator/diff/40367
 * [new tag]             phabricator/diff/40368 -> phabricator/diff/40368
 * [new tag]             phabricator/diff/40373 -> phabricator/diff/40373
 * [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-win failed with exit code 1

@bot gitian-osx gitian-linux gitian-win

PiRK published this revision for review.May 23 2023, 11:59
This revision is now accepted and ready to land.May 23 2023, 12:57