Separate the check of the flag from its addition. This has the
beneficial side-effect to discard the need for removing the Werror
flag from CMAKE_REQUIRED_FLAGS, since its scope is now reduced.
There is no change in behavior.
Differential D4961
[CMAKE] Add a check_linker_flag function Fabien on Jan 16 2020, 16:17. Authored by
Details
Separate the check of the flag from its addition. This has the There is no change in behavior. ninja check Run the Gitian builds
Diff Detail
Event TimelineComment Actions Snippet of first build failure: [16:19:10] : [Step 1/1] (Reading database ... 75% [16:19:10] : [Step 1/1] (Reading database ... 80% [16:19:10] : [Step 1/1] (Reading database ... 85% [16:19:10] : [Step 1/1] (Reading database ... 90% [16:19:10] : [Step 1/1] (Reading database ... 95% [16:19:10] : [Step 1/1] (Reading database ... 100% [16:19:10] : [Step 1/1] (Reading database ... 17687 files and directories currently installed.) [16:19:10] : [Step 1/1] Removing rsyslog (8.1901.0-1) ... [16:19:10] : [Step 1/1] invoke-rc.d: could not determine current runlevel [16:19:10] : [Step 1/1] Stopping enhanced syslogd: rsyslogd already stopped. [16:19:10] : [Step 1/1] (Reading database ... [16:19:10] : [Step 1/1] (Reading database ... 5% [16:19:10] : [Step 1/1] (Reading database ... 10% [16:19:10] : [Step 1/1] (Reading database ... 15% [16:19:10] : [Step 1/1] (Reading database ... 20% [16:19:10] : [Step 1/1] (Reading database ... 25% [16:19:10] : [Step 1/1] (Reading database ... 30% [16:19:10] : [Step 1/1] (Reading database ... 35% [16:19:10] : [Step 1/1] (Reading database ... 40% [16:19:10] : [Step 1/1] (Reading database ... 45% [16:19:10] : [Step 1/1] (Reading database ... 50% [16:19:10] : [Step 1/1] (Reading database ... 55% [16:19:10] : [Step 1/1] (Reading database ... 60% [16:19:10] : [Step 1/1] (Reading database ... 65% [16:19:10] : [Step 1/1] (Reading database ... 70% [16:19:10] : [Step 1/1] (Reading database ... 75% [16:19:10] : [Step 1/1] (Reading database ... 80% [16:19:10] : [Step 1/1] (Reading database ... 85% [16:19:10] : [Step 1/1] (Reading database ... 90% [16:19:10] : [Step 1/1] (Reading database ... 95% [16:19:10] : [Step 1/1] (Reading database ... 100% [16:19:10] : [Step 1/1] (Reading database ... 17629 files and directories currently installed.) [16:19:10] : [Step 1/1] Purging configuration files for rsyslog (8.1901.0-1) ... [16:19:10] : [Step 1/1] Processing triggers for systemd (241-7~deb10u1) ... [16:19:10] : [Step 1/1] Adding 'local diversion of /sbin/initctl to /sbin/initctl.distrib' [16:19:10] : [Step 1/1] Adding 'local diversion of /usr/bin/ischroot to /usr/bin/ischroot.distrib' [16:19:10]W: [Step 1/1] dpkg-divert: warning: diverting file '/usr/bin/ischroot' from an Essential package with rename is dangerous, use --no-rename [16:19:10] : [Step 1/1] Adding 'local diversion of /usr/sbin/policy-rc.d to /usr/sbin/policy-rc.d.distrib' [16:19:10] : [Step 1/1] Starting target [16:19:11] : [Step 1/1] Checking if target is up [16:19:11] : [Step 1/1] Preparing build environment [16:19:14] : [Step 1/1] Adding multiarch support (log in var/install.log) [16:19:15] : [Step 1/1] Updating apt-get repository (log in var/install.log) [16:19:19] : [Step 1/1] Installing additional packages (log in var/install.log) [16:20:10] : [Step 1/1] Upgrading system, may take a while (log in var/install.log) [16:20:18] : [Step 1/1] Creating package manifest [16:20:23] : [Step 1/1] Creating build script (var/build-script) [16:20:24] : [Step 1/1] Running build script (log in var/build.log) [16:22:39]W: [Step 1/1] ./bin/gbuild:21:in `system!': failed to run on-target setarch x86_64 bash -x < var/build-script > var/build.log 2>&1 (RuntimeError) [16:22:39]W: [Step 1/1] from ./bin/gbuild:167:in `build_one_configuration' [16:22:39]W: [Step 1/1] from ./bin/gbuild:318:in `block (2 levels) in <main>' [16:22:39]W: [Step 1/1] from ./bin/gbuild:313:in `each' [16:22:39]W: [Step 1/1] from ./bin/gbuild:313:in `block in <main>' [16:22:39]W: [Step 1/1] from ./bin/gbuild:311:in `each' [16:22:39]W: [Step 1/1] from ./bin/gbuild:311:in `<main>' [16:22:39]W: [Step 1/1] ++ move_log [16:22:39]W: [Step 1/1] ++ mv var/install.log /home/teamcity/buildAgent/work/c4a5708f2bae7929/gitian-results/ [16:22:39]W: [Step 1/1] ++ mv var/build.log /home/teamcity/buildAgent/work/c4a5708f2bae7929/gitian-results/ [16:22:39]W: [Step 1/1] Process exited with code 1 [16:22:39]E: [Step 1/1] Process exited with code 1 (Step: Command Line)
|