aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2024-02-12 08:58:58 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2024-02-29 08:52:25 -0300
commit2301ab23488b9db95eba40750f355a4439468b89 (patch)
treedf1c57c465dea764eee0badaf08e1c53a89ea70b
parentbuild: standardize parallel make arguments (diff)
downloadfirejail-2301ab23488b9db95eba40750f355a4439468b89.tar.gz
firejail-2301ab23488b9db95eba40750f355a4439468b89.tar.zst
firejail-2301ab23488b9db95eba40750f355a4439468b89.zip
build: standardize ./configure arguments
For consistency and to make it clearer where jobs differ (for example, to see where `--enable-analyzer` is used). Changes: * Always use --prefix=/usr and --enable-fatal-warnings (except in the Alpine job due to current warnings; see #6224) * Use the same argument order Note: mkdeb.sh and platform/rpm/mkrpm.sh already pass `--prefix=/usr` to ./configure.
-rw-r--r--.github/workflows/build-extra.yml5
-rw-r--r--.github/workflows/build.yml5
-rw-r--r--.github/workflows/check-c.yml3
-rw-r--r--.github/workflows/test.yml25
-rw-r--r--.gitlab-ci.yml22
-rwxr-xr-xplatform/rpm/mkrpm.sh2
-rwxr-xr-xtest/compile/compile.sh94
7 files changed, 116 insertions, 40 deletions
diff --git a/.github/workflows/build-extra.yml b/.github/workflows/build-extra.yml
index b0752042d..e18ab9f0c 100644
--- a/.github/workflows/build-extra.yml
+++ b/.github/workflows/build-extra.yml
@@ -63,8 +63,9 @@ jobs:
63 run: ./ci/printenv.sh 63 run: ./ci/printenv.sh
64 - name: configure 64 - name: configure
65 run: > 65 run: >
66 CC=clang-14 ./configure --enable-fatal-warnings --enable-apparmor 66 ./configure CC=clang-14
67 --enable-selinux 67 --prefix=/usr --enable-fatal-warnings
68 --enable-apparmor --enable-selinux
68 || (cat config.log; exit 1) 69 || (cat config.log; exit 1)
69 - name: make 70 - name: make
70 run: make 71 run: make
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index f33670e63..a005fefd7 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -79,8 +79,9 @@ jobs:
79 run: ./ci/printenv.sh 79 run: ./ci/printenv.sh
80 - name: configure 80 - name: configure
81 run: > 81 run: >
82 CC=gcc-12 ./configure --prefix=/usr --enable-fatal-warnings 82 ./configure CC=gcc-12
83 --enable-analyzer --enable-apparmor --enable-selinux 83 --prefix=/usr --enable-fatal-warnings --enable-analyzer
84 --enable-apparmor --enable-selinux
84 || (cat config.log; exit 1) 85 || (cat config.log; exit 1)
85 - name: make 86 - name: make
86 run: make 87 run: make
diff --git a/.github/workflows/check-c.yml b/.github/workflows/check-c.yml
index dd841c394..49c9b38a7 100644
--- a/.github/workflows/check-c.yml
+++ b/.github/workflows/check-c.yml
@@ -68,7 +68,8 @@ jobs:
68 - name: configure 68 - name: configure
69 run: > 69 run: >
70 ./configure CC=clang-14 SCAN_BUILD=scan-build-14 70 ./configure CC=clang-14 SCAN_BUILD=scan-build-14
71 --enable-fatal-warnings --enable-apparmor --enable-selinux 71 --prefix=/usr --enable-fatal-warnings
72 --enable-apparmor --enable-selinux
72 || (cat config.log; exit 1) 73 || (cat config.log; exit 1)
73 - name: scan-build 74 - name: scan-build
74 run: make scan-build 75 run: make scan-build
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 3e7153c46..f0aeafc9a 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -73,8 +73,9 @@ jobs:
73 run: ./ci/printenv.sh 73 run: ./ci/printenv.sh
74 - name: configure 74 - name: configure
75 run: > 75 run: >
76 CC=gcc-12 ./configure --prefix=/usr --enable-fatal-warnings 76 ./configure CC=gcc-12
77 --enable-analyzer --enable-apparmor --enable-selinux 77 --prefix=/usr --enable-fatal-warnings --enable-analyzer
78 --enable-apparmor --enable-selinux
78 || (cat config.log; exit 1) 79 || (cat config.log; exit 1)
79 - name: make 80 - name: make
80 run: make -j "$(nproc)" 81 run: make -j "$(nproc)"
@@ -121,8 +122,9 @@ jobs:
121 run: ./ci/printenv.sh 122 run: ./ci/printenv.sh
122 - name: configure 123 - name: configure
123 run: > 124 run: >
124 CC=gcc-12 ./configure --prefix=/usr --enable-fatal-warnings 125 ./configure CC=gcc-12
125 --enable-analyzer --enable-apparmor --enable-selinux 126 --prefix=/usr --enable-fatal-warnings --enable-analyzer
127 --enable-apparmor --enable-selinux
126 || (cat config.log; exit 1) 128 || (cat config.log; exit 1)
127 - name: make 129 - name: make
128 run: make -j "$(nproc)" 130 run: make -j "$(nproc)"
@@ -160,8 +162,9 @@ jobs:
160 run: ./ci/printenv.sh 162 run: ./ci/printenv.sh
161 - name: configure 163 - name: configure
162 run: > 164 run: >
163 CC=gcc-12 ./configure --prefix=/usr --enable-fatal-warnings 165 ./configure CC=gcc-12
164 --enable-analyzer --enable-apparmor --enable-selinux 166 --prefix=/usr --enable-fatal-warnings --enable-analyzer
167 --enable-apparmor --enable-selinux
165 || (cat config.log; exit 1) 168 || (cat config.log; exit 1)
166 - name: make 169 - name: make
167 run: make -j "$(nproc)" 170 run: make -j "$(nproc)"
@@ -202,8 +205,9 @@ jobs:
202 run: ./ci/printenv.sh 205 run: ./ci/printenv.sh
203 - name: configure 206 - name: configure
204 run: > 207 run: >
205 CC=gcc-12 ./configure --prefix=/usr --enable-fatal-warnings 208 ./configure CC=gcc-12
206 --enable-analyzer --enable-apparmor --enable-selinux 209 --prefix=/usr --enable-fatal-warnings --enable-analyzer
210 --enable-apparmor --enable-selinux
207 || (cat config.log; exit 1) 211 || (cat config.log; exit 1)
208 - name: make 212 - name: make
209 run: make -j "$(nproc)" 213 run: make -j "$(nproc)"
@@ -248,8 +252,9 @@ jobs:
248 run: ./ci/printenv.sh 252 run: ./ci/printenv.sh
249 - name: configure 253 - name: configure
250 run: > 254 run: >
251 CC=gcc-12 ./configure --prefix=/usr --enable-fatal-warnings 255 ./configure CC=gcc-12
252 --enable-analyzer --enable-apparmor --enable-selinux 256 --prefix=/usr --enable-fatal-warnings --enable-analyzer
257 --enable-apparmor --enable-selinux
253 || (cat config.log; exit 1) 258 || (cat config.log; exit 1)
254 - name: make 259 - name: make
255 run: make -j "$(nproc)" 260 run: make -j "$(nproc)"
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8d4ed2dc5..71bb70b82 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -22,7 +22,8 @@ build_ubuntu_package:
22 | grep -Ev '^(Selecting|Preparing to unpack|Unpacking)' 22 | grep -Ev '^(Selecting|Preparing to unpack|Unpacking)'
23 - ./ci/printenv.sh 23 - ./ci/printenv.sh
24 - ./configure || (cat config.log; exit 1) 24 - ./configure || (cat config.log; exit 1)
25 - make deb 25 - make dist
26 - ./mkdeb.sh --enable-fatal-warnings
26 - dpkg -i ./*.deb 27 - dpkg -i ./*.deb
27 - make print-version 28 - make print-version
28 29
@@ -39,7 +40,8 @@ build_debian_package:
39 | grep -Ev '^(Selecting|Preparing to unpack|Unpacking)' 40 | grep -Ev '^(Selecting|Preparing to unpack|Unpacking)'
40 - ./ci/printenv.sh 41 - ./ci/printenv.sh
41 - ./configure || (cat config.log; exit 1) 42 - ./configure || (cat config.log; exit 1)
42 - make deb 43 - make dist
44 - ./mkdeb.sh --enable-fatal-warnings
43 - dpkg -i ./*.deb 45 - dpkg -i ./*.deb
44 - make print-version 46 - make print-version
45 47
@@ -57,7 +59,9 @@ build_no_apparmor:
57 - ./ci/printenv.sh 59 - ./ci/printenv.sh
58 - ./configure || (cat config.log; exit 1) 60 - ./configure || (cat config.log; exit 1)
59 - make dist 61 - make dist
60 - ./mkdeb.sh --disable-apparmor 62 - >
63 ./mkdeb.sh --enable-fatal-warnings
64 --disable-apparmor
61 - dpkg -i ./*.deb 65 - dpkg -i ./*.deb
62 - make print-version 66 - make print-version
63 - make print-version | grep -F 'AppArmor support is disabled' 67 - make print-version | grep -F 'AppArmor support is disabled'
@@ -70,7 +74,8 @@ build_redhat_package:
70 - dnf install -y rpm-build gcc make 74 - dnf install -y rpm-build gcc make
71 - ./ci/printenv.sh 75 - ./ci/printenv.sh
72 - ./configure || (cat config.log; exit 1) 76 - ./configure || (cat config.log; exit 1)
73 - make rpms 77 - make dist
78 - ./platform/rpm/mkrpm.sh --enable-fatal-warnings
74 - rpm -i ./*.rpm 79 - rpm -i ./*.rpm
75 - make print-version 80 - make print-version
76 81
@@ -82,7 +87,8 @@ build_fedora_package:
82 - dnf install -y rpm-build gcc make 87 - dnf install -y rpm-build gcc make
83 - ./ci/printenv.sh 88 - ./ci/printenv.sh
84 - ./configure || (cat config.log; exit 1) 89 - ./configure || (cat config.log; exit 1)
85 - make rpms 90 - make dist
91 - ./platform/rpm/mkrpm.sh --enable-fatal-warnings
86 - rpm -i ./*.rpm 92 - rpm -i ./*.rpm
87 - make print-version 93 - make print-version
88 94
@@ -94,7 +100,11 @@ build_src_package:
94 - apk upgrade 100 - apk upgrade
95 - apk add build-base linux-headers gawk 101 - apk add build-base linux-headers gawk
96 - ./ci/printenv.sh 102 - ./ci/printenv.sh
97 - ./configure --prefix=/usr || (cat config.log; exit 1) 103 # Note: Do not use ` --enable-fatal-warnings` because the build
104 # currently produces warnings on Alpine (see #6224).
105 - >
106 ./configure --prefix=/usr
107 || (cat config.log; exit 1)
98 - make 108 - make
99 - make install-strip 109 - make install-strip
100 - make print-version 110 - make print-version
diff --git a/platform/rpm/mkrpm.sh b/platform/rpm/mkrpm.sh
index 0221fa607..46bb90036 100755
--- a/platform/rpm/mkrpm.sh
+++ b/platform/rpm/mkrpm.sh
@@ -16,6 +16,8 @@ set -e
16name="$TARNAME" 16name="$TARNAME"
17# Strip any trailing prefix from the version like -rc1 etc 17# Strip any trailing prefix from the version like -rc1 etc
18version="$(printf '%s\n' "$VERSION" | sed 's/\-.*//g')" 18version="$(printf '%s\n' "$VERSION" | sed 's/\-.*//g')"
19
20# Note: rpmbuild itself already passes --prefix=/usr to ./configure
19config_opt="--disable-userns --disable-contrib-install $*" 21config_opt="--disable-userns --disable-contrib-install $*"
20 22
21if [[ ! -f "platform/rpm/${name}.spec" ]]; then 23if [[ ! -f "platform/rpm/${name}.spec" ]]; then
diff --git a/test/compile/compile.sh b/test/compile/compile.sh
index 30bfe9e66..f3e5c4f33 100755
--- a/test/compile/compile.sh
+++ b/test/compile/compile.sh
@@ -81,7 +81,9 @@ tar -xJvf ../../"$DIST.tar.xz"
81mv "$DIST" firejail 81mv "$DIST" firejail
82 82
83cd firejail || exit 1 83cd firejail || exit 1
84./configure --prefix=/usr --enable-fatal-warnings 2>&1 | tee ../output-configure 84./configure --prefix=/usr --enable-fatal-warnings \
85 2>&1 | tee ../output-configure
86
85make -j "$(nproc)" 2>&1 | tee ../output-make 87make -j "$(nproc)" 2>&1 | tee ../output-make
86cd .. 88cd ..
87grep Warning output-configure output-make > ./report-test1 89grep Warning output-configure output-make > ./report-test1
@@ -98,7 +100,10 @@ rm output-configure output-make
98print_title "${arr[2]}" 100print_title "${arr[2]}"
99cd firejail || exit 1 101cd firejail || exit 1
100make distclean 102make distclean
101./configure --prefix=/usr --disable-dbusproxy --enable-fatal-warnings 2>&1 | tee ../output-configure 103./configure --prefix=/usr --enable-fatal-warnings \
104 --disable-dbusproxy \
105 2>&1 | tee ../output-configure
106
102make -j "$(nproc)" 2>&1 | tee ../output-make 107make -j "$(nproc)" 2>&1 | tee ../output-make
103cd .. 108cd ..
104grep Warning output-configure output-make > ./report-test2 109grep Warning output-configure output-make > ./report-test2
@@ -115,7 +120,10 @@ rm output-configure output-make
115print_title "${arr[3]}" 120print_title "${arr[3]}"
116cd firejail || exit 1 121cd firejail || exit 1
117make distclean 122make distclean
118./configure --prefix=/usr --disable-chroot --enable-fatal-warnings 2>&1 | tee ../output-configure 123./configure --prefix=/usr --enable-fatal-warnings \
124 --disable-chroot \
125 2>&1 | tee ../output-configure
126
119make -j "$(nproc)" 2>&1 | tee ../output-make 127make -j "$(nproc)" 2>&1 | tee ../output-make
120cd .. 128cd ..
121grep Warning output-configure output-make > ./report-test3 129grep Warning output-configure output-make > ./report-test3
@@ -132,7 +140,10 @@ rm output-configure output-make
132print_title "${arr[4]}" 140print_title "${arr[4]}"
133cd firejail || exit 1 141cd firejail || exit 1
134make distclean 142make distclean
135./configure --prefix=/usr --disable-firetunnel --enable-fatal-warnings 2>&1 | tee ../output-configure 143./configure --prefix=/usr --enable-fatal-warnings \
144 --disable-firetunnel \
145 2>&1 | tee ../output-configure
146
136make -j "$(nproc)" 2>&1 | tee ../output-make 147make -j "$(nproc)" 2>&1 | tee ../output-make
137cd .. 148cd ..
138grep Warning output-configure output-make > ./report-test4 149grep Warning output-configure output-make > ./report-test4
@@ -149,7 +160,10 @@ rm output-configure output-make
149print_title "${arr[5]}" 160print_title "${arr[5]}"
150cd firejail || exit 1 161cd firejail || exit 1
151make distclean 162make distclean
152./configure --prefix=/usr --disable-userns --enable-fatal-warnings 2>&1 | tee ../output-configure 163./configure --prefix=/usr --enable-fatal-warnings \
164 --disable-userns \
165 2>&1 | tee ../output-configure
166
153make -j "$(nproc)" 2>&1 | tee ../output-make 167make -j "$(nproc)" 2>&1 | tee ../output-make
154cd .. 168cd ..
155grep Warning output-configure output-make > ./report-test5 169grep Warning output-configure output-make > ./report-test5
@@ -167,7 +181,10 @@ rm output-configure output-make
167print_title "${arr[6]}" 181print_title "${arr[6]}"
168cd firejail || exit 1 182cd firejail || exit 1
169make distclean 183make distclean
170./configure --prefix=/usr --disable-network --enable-fatal-warnings 2>&1 | tee ../output-configure 184./configure --prefix=/usr --enable-fatal-warnings \
185 --disable-network \
186 2>&1 | tee ../output-configure
187
171make -j "$(nproc)" 2>&1 | tee ../output-make 188make -j "$(nproc)" 2>&1 | tee ../output-make
172cd .. 189cd ..
173grep Warning output-configure output-make > ./report-test6 190grep Warning output-configure output-make > ./report-test6
@@ -184,7 +201,10 @@ rm output-configure output-make
184print_title "${arr[7]}" 201print_title "${arr[7]}"
185cd firejail || exit 1 202cd firejail || exit 1
186make distclean 203make distclean
187./configure --prefix=/usr --disable-x11 --enable-fatal-warnings 2>&1 | tee ../output-configure 204./configure --prefix=/usr --enable-fatal-warnings \
205 --disable-x11 \
206 2>&1 | tee ../output-configure
207
188make -j "$(nproc)" 2>&1 | tee ../output-make 208make -j "$(nproc)" 2>&1 | tee ../output-make
189cd .. 209cd ..
190grep Warning output-configure output-make > ./report-test7 210grep Warning output-configure output-make > ./report-test7
@@ -201,7 +221,10 @@ rm output-configure output-make
201print_title "${arr[8]}" 221print_title "${arr[8]}"
202cd firejail || exit 1 222cd firejail || exit 1
203make distclean 223make distclean
204./configure --prefix=/usr --enable-selinux --enable-fatal-warnings 2>&1 | tee ../output-configure 224./configure --prefix=/usr --enable-fatal-warnings \
225 --enable-selinux \
226 2>&1 | tee ../output-configure
227
205make -j "$(nproc)" 2>&1 | tee ../output-make 228make -j "$(nproc)" 2>&1 | tee ../output-make
206cd .. 229cd ..
207grep Warning output-configure output-make > ./report-test8 230grep Warning output-configure output-make > ./report-test8
@@ -218,7 +241,10 @@ rm output-configure output-make
218print_title "${arr[9]}" 241print_title "${arr[9]}"
219cd firejail || exit 1 242cd firejail || exit 1
220make distclean 243make distclean
221./configure --prefix=/usr --disable-file-transfer --enable-fatal-warnings 2>&1 | tee ../output-configure 244./configure --prefix=/usr --enable-fatal-warnings \
245 --disable-file-transfer \
246 2>&1 | tee ../output-configure
247
222make -j "$(nproc)" 2>&1 | tee ../output-make 248make -j "$(nproc)" 2>&1 | tee ../output-make
223cd .. 249cd ..
224grep Warning output-configure output-make > ./report-test9 250grep Warning output-configure output-make > ./report-test9
@@ -235,7 +261,10 @@ rm output-configure output-make
235print_title "${arr[10]}" 261print_title "${arr[10]}"
236cd firejail || exit 1 262cd firejail || exit 1
237make distclean 263make distclean
238./configure --prefix=/usr --disable-whitelist --enable-fatal-warnings 2>&1 | tee ../output-configure 264./configure --prefix=/usr --enable-fatal-warnings \
265 --disable-whitelist \
266 2>&1 | tee ../output-configure
267
239make -j "$(nproc)" 2>&1 | tee ../output-make 268make -j "$(nproc)" 2>&1 | tee ../output-make
240cd .. 269cd ..
241grep Warning output-configure output-make > ./report-test10 270grep Warning output-configure output-make > ./report-test10
@@ -252,7 +281,10 @@ rm output-configure output-make
252print_title "${arr[11]}" 281print_title "${arr[11]}"
253cd firejail || exit 1 282cd firejail || exit 1
254make distclean 283make distclean
255./configure --prefix=/usr --disable-globalcfg --enable-fatal-warnings 2>&1 | tee ../output-configure 284./configure --prefix=/usr --enable-fatal-warnings \
285 --disable-globalcfg \
286 2>&1 | tee ../output-configure
287
256make -j "$(nproc)" 2>&1 | tee ../output-make 288make -j "$(nproc)" 2>&1 | tee ../output-make
257cd .. 289cd ..
258grep Warning output-configure output-make > ./report-test11 290grep Warning output-configure output-make > ./report-test11
@@ -269,7 +301,10 @@ rm output-configure output-make
269print_title "${arr[12]}" 301print_title "${arr[12]}"
270cd firejail || exit 1 302cd firejail || exit 1
271make distclean 303make distclean
272./configure --prefix=/usr --enable-apparmor --enable-fatal-warnings 2>&1 | tee ../output-configure 304./configure --prefix=/usr --enable-fatal-warnings \
305 --enable-apparmor \
306 2>&1 | tee ../output-configure
307
273make -j "$(nproc)" 2>&1 | tee ../output-make 308make -j "$(nproc)" 2>&1 | tee ../output-make
274cd .. 309cd ..
275grep Warning output-configure output-make > ./report-test12 310grep Warning output-configure output-make > ./report-test12
@@ -286,7 +321,10 @@ rm output-configure output-make
286print_title "${arr[13]}" 321print_title "${arr[13]}"
287cd firejail || exit 1 322cd firejail || exit 1
288make distclean 323make distclean
289./configure --prefix=/usr --enable-busybox-workaround --enable-fatal-warnings 2>&1 | tee ../output-configure 324./configure --prefix=/usr --enable-fatal-warnings \
325 --enable-busybox-workaround \
326 2>&1 | tee ../output-configure
327
290make -j "$(nproc)" 2>&1 | tee ../output-make 328make -j "$(nproc)" 2>&1 | tee ../output-make
291cd .. 329cd ..
292grep Warning output-configure output-make > ./report-test13 330grep Warning output-configure output-make > ./report-test13
@@ -303,7 +341,10 @@ rm output-configure output-make
303print_title "${arr[14]}" 341print_title "${arr[14]}"
304cd firejail || exit 1 342cd firejail || exit 1
305make distclean 343make distclean
306./configure --prefix=/usr --disable-overlayfs --enable-fatal-warnings 2>&1 | tee ../output-configure 344./configure --prefix=/usr --enable-fatal-warnings \
345 --disable-overlayfs \
346 2>&1 | tee ../output-configure
347
307make -j "$(nproc)" 2>&1 | tee ../output-make 348make -j "$(nproc)" 2>&1 | tee ../output-make
308cd .. 349cd ..
309grep Warning output-configure output-make > ./report-test14 350grep Warning output-configure output-make > ./report-test14
@@ -320,7 +361,10 @@ rm output-configure output-make
320print_title "${arr[15]}" 361print_title "${arr[15]}"
321cd firejail || exit 1 362cd firejail || exit 1
322make distclean 363make distclean
323./configure --prefix=/usr --disable-private-home --enable-fatal-warnings 2>&1 | tee ../output-configure 364./configure --prefix=/usr --enable-fatal-warnings \
365 --disable-private-home \
366 2>&1 | tee ../output-configure
367
324make -j "$(nproc)" 2>&1 | tee ../output-make 368make -j "$(nproc)" 2>&1 | tee ../output-make
325cd .. 369cd ..
326grep Warning output-configure output-make > ./report-test15 370grep Warning output-configure output-make > ./report-test15
@@ -337,7 +381,10 @@ rm output-configure output-make
337print_title "${arr[16]}" 381print_title "${arr[16]}"
338cd firejail || exit 1 382cd firejail || exit 1
339make distclean 383make distclean
340./configure --prefix=/usr --disable-man --enable-fatal-warnings 2>&1 | tee ../output-configure 384./configure --prefix=/usr --enable-fatal-warnings \
385 --disable-man \
386 2>&1 | tee ../output-configure
387
341make -j "$(nproc)" 2>&1 | tee ../output-make 388make -j "$(nproc)" 2>&1 | tee ../output-make
342cd .. 389cd ..
343grep Warning output-configure output-make > ./report-test16 390grep Warning output-configure output-make > ./report-test16
@@ -354,7 +401,10 @@ rm output-configure output-make
354print_title "${arr[17]}" 401print_title "${arr[17]}"
355cd firejail || exit 1 402cd firejail || exit 1
356make distclean 403make distclean
357./configure --prefix=/usr --disable-usertmpfs --enable-fatal-warnings 2>&1 | tee ../output-configure 404./configure --prefix=/usr --enable-fatal-warnings \
405 --disable-usertmpfs \
406 2>&1 | tee ../output-configure
407
358make -j "$(nproc)" 2>&1 | tee ../output-make 408make -j "$(nproc)" 2>&1 | tee ../output-make
359cd .. 409cd ..
360grep Warning output-configure output-make > ./report-test17 410grep Warning output-configure output-make > ./report-test17
@@ -371,7 +421,10 @@ rm output-configure output-make
371print_title "${arr[18]}" 421print_title "${arr[18]}"
372cd firejail || exit 1 422cd firejail || exit 1
373make distclean 423make distclean
374./configure --prefix=/usr --disable-private-home --enable-fatal-warnings 2>&1 | tee ../output-configure 424./configure --prefix=/usr --enable-fatal-warnings \
425 --disable-private-home \
426 2>&1 | tee ../output-configure
427
375make -j "$(nproc)" 2>&1 | tee ../output-make 428make -j "$(nproc)" 2>&1 | tee ../output-make
376cd .. 429cd ..
377grep Warning output-configure output-make > ./report-test18 430grep Warning output-configure output-make > ./report-test18
@@ -388,7 +441,10 @@ rm output-configure output-make
388print_title "${arr[19]}" 441print_title "${arr[19]}"
389cd firejail || exit 1 442cd firejail || exit 1
390make distclean 443make distclean
391./configure --prefix=/usr --enable-ids --enable-fatal-warnings 2>&1 | tee ../output-configure 444./configure --prefix=/usr --enable-fatal-warnings \
445 --enable-ids \
446 2>&1 | tee ../output-configure
447
392make -j "$(nproc)" 2>&1 | tee ../output-make 448make -j "$(nproc)" 2>&1 | tee ../output-make
393cd .. 449cd ..
394grep Warning output-configure output-make > ./report-test19 450grep Warning output-configure output-make > ./report-test19