diff --git a/src/serious_python/example/bridge_example/pubspec.yaml b/src/serious_python/example/bridge_example/pubspec.yaml index 23133af7..fd4e23bb 100644 --- a/src/serious_python/example/bridge_example/pubspec.yaml +++ b/src/serious_python/example/bridge_example/pubspec.yaml @@ -24,5 +24,14 @@ dev_dependencies: sdk: flutter flutter_lints: ^2.0.0 +# jni arrives transitively (path_provider -> path_provider_android -> +# jni_flutter -> jni). 1.0.1 added global_jni_env.c, which passes a `va_list` +# where a `void *` is expected: fine on x86_64, where va_list is an array type +# that decays to a pointer, but a hard error on aarch64, where it's a struct. +# That breaks `flutter build linux` on ARM64 hosts. Tracked upstream at +# dart-lang/native#3498 — drop this override once a fixed jni is released. +dependency_overrides: + jni: 1.0.0 + flutter: uses-material-design: true diff --git a/src/serious_python/example/flask_example/pubspec.lock b/src/serious_python/example/flask_example/pubspec.lock index a0c8b512..921d732a 100644 --- a/src/serious_python/example/flask_example/pubspec.lock +++ b/src/serious_python/example/flask_example/pubspec.lock @@ -156,7 +156,7 @@ packages: source: hosted version: "4.1.2" jni: - dependency: transitive + dependency: "direct overridden" description: name: jni sha256: c2230682d5bc2362c1c9e8d3c7f406d9cbba23ab3f2e203a025dd47e0fb2e68f @@ -361,42 +361,42 @@ packages: path: "../.." relative: true source: path - version: "4.0.0" + version: "4.4.1" serious_python_android: dependency: transitive description: path: "../../../serious_python_android" relative: true source: path - version: "4.0.0" + version: "4.4.1" serious_python_darwin: dependency: transitive description: path: "../../../serious_python_darwin" relative: true source: path - version: "4.0.0" + version: "4.4.1" serious_python_linux: dependency: transitive description: path: "../../../serious_python_linux" relative: true source: path - version: "4.0.0" + version: "4.4.1" serious_python_platform_interface: dependency: transitive description: path: "../../../serious_python_platform_interface" relative: true source: path - version: "4.0.0" + version: "4.4.1" serious_python_windows: dependency: transitive description: path: "../../../serious_python_windows" relative: true source: path - version: "4.0.0" + version: "4.4.1" shelf: dependency: transitive description: diff --git a/src/serious_python/example/flask_example/pubspec.yaml b/src/serious_python/example/flask_example/pubspec.yaml index 47da6963..23df2097 100644 --- a/src/serious_python/example/flask_example/pubspec.yaml +++ b/src/serious_python/example/flask_example/pubspec.yaml @@ -56,6 +56,15 @@ dev_dependencies: # following page: https://dart.dev/tools/pub/pubspec # The following section is specific to Flutter packages. +# jni arrives transitively (path_provider -> path_provider_android -> +# jni_flutter -> jni). 1.0.1 added global_jni_env.c, which passes a `va_list` +# where a `void *` is expected: fine on x86_64, where va_list is an array type +# that decays to a pointer, but a hard error on aarch64, where it's a struct. +# That breaks `flutter build linux` on ARM64 hosts. Tracked upstream at +# dart-lang/native#3498 — drop this override once a fixed jni is released. +dependency_overrides: + jni: 1.0.0 + flutter: # The following line ensures that the Material Icons font is diff --git a/src/serious_python/example/run_example/pubspec.lock b/src/serious_python/example/run_example/pubspec.lock index 6d374be4..21ba23f7 100644 --- a/src/serious_python/example/run_example/pubspec.lock +++ b/src/serious_python/example/run_example/pubspec.lock @@ -171,7 +171,7 @@ packages: source: sdk version: "0.0.0" jni: - dependency: transitive + dependency: "direct overridden" description: name: jni sha256: c2230682d5bc2362c1c9e8d3c7f406d9cbba23ab3f2e203a025dd47e0fb2e68f @@ -384,42 +384,42 @@ packages: path: "../.." relative: true source: path - version: "4.0.0" + version: "4.4.1" serious_python_android: dependency: transitive description: path: "../../../serious_python_android" relative: true source: path - version: "4.0.0" + version: "4.4.1" serious_python_darwin: dependency: transitive description: path: "../../../serious_python_darwin" relative: true source: path - version: "4.0.0" + version: "4.4.1" serious_python_linux: dependency: transitive description: path: "../../../serious_python_linux" relative: true source: path - version: "4.0.0" + version: "4.4.1" serious_python_platform_interface: dependency: transitive description: path: "../../../serious_python_platform_interface" relative: true source: path - version: "4.0.0" + version: "4.4.1" serious_python_windows: dependency: transitive description: path: "../../../serious_python_windows" relative: true source: path - version: "4.0.0" + version: "4.4.1" shelf: dependency: transitive description: diff --git a/src/serious_python/example/run_example/pubspec.yaml b/src/serious_python/example/run_example/pubspec.yaml index 3035fb7e..5e3c3c30 100644 --- a/src/serious_python/example/run_example/pubspec.yaml +++ b/src/serious_python/example/run_example/pubspec.yaml @@ -58,6 +58,15 @@ dev_dependencies: # following page: https://dart.dev/tools/pub/pubspec # The following section is specific to Flutter packages. +# jni arrives transitively (path_provider -> path_provider_android -> +# jni_flutter -> jni). 1.0.1 added global_jni_env.c, which passes a `va_list` +# where a `void *` is expected: fine on x86_64, where va_list is an array type +# that decays to a pointer, but a hard error on aarch64, where it's a struct. +# That breaks `flutter build linux` on ARM64 hosts. Tracked upstream at +# dart-lang/native#3498 — drop this override once a fixed jni is released. +dependency_overrides: + jni: 1.0.0 + flutter: # The following line ensures that the Material Icons font is