From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Adam Duskett <adam.duskett@amarulasolutions.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v3 00/10] more flutter package improvements
Date: Sat, 20 Jan 2024 22:43:50 +0100 [thread overview]
Message-ID: <Zaw-lqbBKdMnbOMF@landeda> (raw)
In-Reply-To: <20240117225049.28443-1-adam.duskett@amarulasolutions.com>
Adam, All,
On 2024-01-17 15:50 -0700, Adam Duskett spake thusly:
> Change v2 -> v3:
> - Bump flutter-sdk-bin to 3.16.8
> - Bump flutter-engine to 3.16.8
> - Bump flutter-pi to 75e72fef8e8ce65ec72a002c00d9c6db4d1479d3
>
> Changes v1 -> v2:
> - Bump flutter-sdk-bin to 3.16.7
> - Bump flutter-engine to 3.16.7
>
> Most of these are self-explanitory and simple, however the depot-tools version
> bump should be explained:
>
> The current depot-tools version is from Jul 13 2023, and there is a bug where
> when building with PPD enabled, building a Flutter application on my laptop
> running Fedora 39 or even in the Debian 11 container fails due to permission
> issues when running rsync such as:
>
> /usr/bin/sed: couldn't open temporary file [...]/output/per-package/flutter-gallery/host/share/flutter/sdk/.vpython-root/0e1e32/lib/python3.8/sed763MrF: Permission denied
> make: *** [package/pkg-generic.mk:267: [...]/output/build/flutter-gallery-2.10.2/.stamp_configured] Error 123
>
> After several hours of attempting to find the exact cause of the issue by
> parsing git logs of the depot_tools repository and cross-referencing bugs on
> https://bugs.chromium.org/p/chromium/issues I am unable to determine the exact
> reason why the problem occurs or the exact commit that fixes the issue.
>
> However, updating depot-tools does indeed fix the issue, and looking at the
> source code between 4e87f5bf and 8d14454b shows improvements to several bash
> scripts, such as gclient, vpython3, and spid. All of which could be culprits
> of this bug. As flutter-engine is the only package that uses host-depot-tools,
> it is safe to update.
>
> This permission bug is present on PPD and normal builds, but causes a build
> to crash only on PPD because of rsyncing. On non-ppd builds, the bug only
> causes some minor annoyance when trying to run `make clean` because permission
> denials crop up when trying to remove the .vpython-root directory.
The explanation for the depot-tools bump was very good, so I copied that
as the commit log for the corresponding patch.
> I can't remember, but I * think * the autobuilders don't select PPD yet, which
> is probably why this bug hasn't caused any autobuild failures yet.
Yes, PPD is enabled randomly on the autobuilders. That we have no such
failure for now is probably due to the low probability we end up having
a selection of packages enough to build a flutter app.
I'll reply to individual patches where I have some comments.
Regards,
Yann E. MORIN.
> As for everything else:
> - Tested on Fedora 39 and Debian 11.
> - PPD and Non-PPD.
> - Docker and host.
>
> Everything passes and works as expected.
>
> Thanks!
>
> Adam Duskett (10):
> package/ivi-homescreen: add standard_method_codec.h to keyboard
> manager plugin
> package/depot-tools: bump version to
> 8d14454ba4a35fd9d2483842b08815a2357ec86f
> package/flutter-engine/Config.in: Drop nptl dependency
> package/flutter-sdk-bin: bump version to 3.16.8
> package/flutter-engine: bump version to 3.16.8
> package/flutter-pi: bump version to
> 75e72fef8e8ce65ec72a002c00d9c6db4d1479d3
> package/flutter-pi/Config.in: propagate flutter-engine dependencies
> package/flutter-gallery: add a configure step
> package/flutter-gallery: fix build options
> package/flutter-gallery: clean up install_target_cmds
>
> package/depot-tools/depot-tools.hash | 2 +-
> package/depot-tools/depot-tools.mk | 2 +-
> package/flutter-engine/Config.in | 10 +++---
> package/flutter-engine/flutter-engine.mk | 2 +-
> package/flutter-gallery/flutter-gallery.mk | 24 ++++++++++----
> package/flutter-pi/Config.in | 31 +++++++++++++++++--
> package/flutter-pi/flutter-pi.hash | 2 +-
> package/flutter-pi/flutter-pi.mk | 2 +-
> package/flutter-sdk-bin/flutter-sdk-bin.hash | 2 +-
> package/flutter-sdk-bin/flutter-sdk-bin.mk | 2 +-
> ...rs-to-the-audio-players-and-keyboar.patch} | 26 ++++++++++++++--
> 11 files changed, 81 insertions(+), 24 deletions(-)
> rename package/ivi-homescreen/{0001-add-missing-headers-to-the-audio-players-plugin.patch => 0001-add-missing-headers-to-the-audio-players-and-keyboar.patch} (77%)
>
> --
> 2.43.0
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2024-01-20 21:45 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-17 22:50 [Buildroot] [PATCH v3 00/10] more flutter package improvements Adam Duskett
2024-01-17 22:50 ` [Buildroot] [PATCH v3 01/10] package/ivi-homescreen: add standard_method_codec.h to keyboard manager plugin Adam Duskett
2024-01-17 22:50 ` [Buildroot] [PATCH v3 02/10] package/depot-tools: bump version to 8d14454ba4a35fd9d2483842b08815a2357ec86f Adam Duskett
2024-01-20 21:45 ` Yann E. MORIN
2024-02-03 11:27 ` Peter Korsgaard
2024-01-17 22:50 ` [Buildroot] [PATCH v3 03/10] package/flutter-engine/Config.in: Drop nptl dependency Adam Duskett
2024-01-17 22:50 ` [Buildroot] [PATCH v3 04/10] package/flutter-sdk-bin: bump version to 3.16.8 Adam Duskett
2024-01-17 22:50 ` [Buildroot] [PATCH v3 05/10] package/flutter-engine: " Adam Duskett
2024-01-17 22:50 ` [Buildroot] [PATCH v3 06/10] package/flutter-pi: bump version to 75e72fef8e8ce65ec72a002c00d9c6db4d1479d3 Adam Duskett
2024-01-17 22:50 ` [Buildroot] [PATCH v3 07/10] package/flutter-pi/Config.in: propagate flutter-engine dependencies Adam Duskett
2024-01-20 22:56 ` Yann E. MORIN
2024-01-17 22:50 ` [Buildroot] [PATCH v3 08/10] package/flutter-gallery: add a configure step Adam Duskett
2024-01-20 21:46 ` Yann E. MORIN
2024-02-03 12:09 ` Peter Korsgaard
2024-01-17 22:50 ` [Buildroot] [PATCH v3 09/10] package/flutter-gallery: fix build options Adam Duskett
2024-01-20 21:56 ` Yann E. MORIN
2024-02-03 12:09 ` Peter Korsgaard
2024-01-17 22:50 ` [Buildroot] [PATCH v3 10/10] package/flutter-gallery: clean up install_target_cmds Adam Duskett
2024-01-20 21:59 ` Yann E. MORIN
2024-02-03 12:09 ` Peter Korsgaard
2024-01-20 21:43 ` Yann E. MORIN [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Zaw-lqbBKdMnbOMF@landeda \
--to=yann.morin.1998@free.fr \
--cc=adam.duskett@amarulasolutions.com \
--cc=buildroot@buildroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox