Closed xobs closed 3 years ago
The echo -e
on this line is causing the problem: https://github.com/jwinarske/meta-flutter/blob/dunfell/recipes-graphics/flutter-engine/flutter-engine_git.bb#L178
Dropping the -e
or switching to printf
should fix the problem.
@xobs Thanks for reporting issue.
Can you provide more info on your host environment?
I'm running Ubuntu 20.04 under WSL2.
The fix reported by @tomstokes seems to work:
diff --git a/recipes-graphics/flutter-engine/flutter-engine_git.bb b/recipes-graphics/flutter-engine/flutter-engine_git.bb
index dcf7e7a..395dd94 100644
--- a/recipes-graphics/flutter-engine/flutter-engine_git.bb
+++ b/recipes-graphics/flutter-engine/flutter-engine_git.bb
@@ -175,7 +175,7 @@ do_configure() {
./flutter/tools/gn ${GN_ARGS}
- echo -e ${ARGS_GN} >> ${ARGS_GN_FILE}
+ echo ${ARGS_GN} >> ${ARGS_GN_FILE}
}
do_configure[depends] += "depot-tools-native:do_populate_sysroot"
I am now working on getting an end-to-end build, which unfortunately involves fixing U-Boot on this brand-new platform. Once I confirm that works, I'll post an update here.
@xobs sure thing. I'll run that change on my end. If it looks good, it'll check it in.
The rebuild just finished, and I can confirm the patch worked.
Apologies, I've just realized I'm using Gatesgarth.
@xobs No worries. I also confirmed on my end. Fix checked in.
Thanks @xobs + @tomstokes
The
arm_tune
parameter does not appear to work with the version of the compiler generated by Dunfell. Or rather, I'm not sure if it's the compiler version or something Flutter related:Regardless, this patch fixes the compile issue: