Commit fcd3662
committed
gcc: fail early when
These tools cannot work together (unless we build/check multiple times).
Let the user know immediately, rather than failing with a confusing
error message:
[...]
>>> 2021-05-14 14:36:19 "/usr/bin/mock-unbuffered" "-r" "rhel-9-beta-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--remove" "valgrind"
No matches found for the following disable plugin patterns: local, spacewalk
Dependencies resolved.
================================================================================
Package Architecture Version Repository Size
================================================================================
Removing:
valgrind x86_64 1:3.17.0-1.el9 @rhel-9.0.0-beta 29 M
Transaction Summary
================================================================================
Remove 1 Package
Freed space: 29 M
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Removed:
valgrind-1:3.17.0-1.el9.x86_64
Complete!
>>> 2021-05-14 14:36:21 "'/usr/bin/mock-unbuffered' '-r' 'rhel-9-beta-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockF6PqOx/sssd-2.4.2-4.el9_0_0/debug/rpm-list-mock.txt"
>>> 2021-05-14 14:36:23 "'/usr/bin/mock-unbuffered' '-r' 'rhel-9-beta-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockF6PqOx/rpm-list-mock-provides.txt"
>>> 2021-05-14 14:36:25 "tar -cP '/usr/share/csmock/scripts' '/usr/bin/csexec' '/usr/bin/csexec-loader' '/usr/lib64/libcsexec-preload.so' '/usr/bin/cswrap' '/usr/lib64/cswrap' '/opt/cov-sa-2021.03' '/tmp/csmockF6PqOx/sssd-2.4.2-4.el9_0_0.src.rpm' | '/usr/bin/mock-unbuffered' '-r' 'rhel-9-beta-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'tar -xC/'"
tar: Removing leading `/' from member names
!!! 2021-05-14 14:36:34 error: tool "valgrind" does not seem to be installed in build root
!!! 2021-05-14 14:36:34 error: post-depinst hook failed
>>> 2021-05-14 14:36:34 "/usr/bin/mock-unbuffered" "-r" "rhel-9-beta-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--clean"
scan.ini: time-finished = 2021-05-14 14:36:56
scan.ini: exit-code = 1
<<< 2021-05-14 14:36:56 csmock exit code: 1--gcc-sanitize-* is combined with -t valgrind
1 parent e495faa commit fcd3662
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| |||
147 | 149 | | |
148 | 150 | | |
149 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
150 | 155 | | |
151 | 156 | | |
152 | 157 | | |
| |||
0 commit comments