[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible_openwrt: try to fix a non-"reproducible" toolchain bug

Holger Levsen (@holger) gitlab at salsa.debian.org
Thu Aug 12 12:36:37 BST 2021



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
959b39f2 by Alexander Couzens at 2021-08-12T13:36:23+02:00
reproducible_openwrt: try to fix a non-"reproducible" toolchain bug

OpenWrt fails to build reproducible on the jenkins nodes. But only
on the jenkins nodes. cmake fails to build because it's depending on
ninja. However ninja "should" be build before.
Try to build it manual so it should be present already.

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/reproducible_openwrt.sh


Changes:

=====================================
bin/reproducible_openwrt.sh
=====================================
@@ -248,6 +248,9 @@ openwrt_build_toolchain() {
 
 	OPTIONS=('-j' "$NUM_CPU" 'IGNORE_ERRORS=n m y' 'BUILD_LOG=1')
 
+	# cmake/compile fails because of a missing ninja. but only on the jenkins nodes :P.
+	# i couldn't reproduce it on my machine.
+	ionice -c 3 make "${OPTIONS[@]}" tools/ninja/compile
 	ionice -c 3 make "${OPTIONS[@]}" tools/install
 	ionice -c 3 make "${OPTIONS[@]}" toolchain/install
 }



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/959b39f2e550d41c63d0ba77ad769e0858b2fd83

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/959b39f2e550d41c63d0ba77ad769e0858b2fd83
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20210812/8df642af/attachment.htm>


More information about the Qa-jenkins-scm mailing list