You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ devbazel build --spawn_strategy=standalone //java/com/foo
INFO: Found 1 target...
INFO: From AarManifestFileEntriesExtractor external/androidsdk/com.android.support/_aar/unzipped/resources/mediarouter-v7-23.4.0:
Cannot stat file /usr/local/google/home/ajmichael/.cache/bazel/_bazel_ajmichael/9edb8580cd9b915d33b825372a03920e/execroot/b/bazel-out/android-arm-linux-androideabi-4.9-v7a-gnu-libstdcpp-fastbuild/bin/external/androidsdk/com.android.support/_aar/unzipped/resources/mediarouter-v7-23.4.0/res: No such file or directory
Cannot stat file /usr/local/google/home/ajmichael/.cache/bazel/_bazel_ajmichael/9edb8580cd9b915d33b825372a03920e/execroot/b/bazel-out/android-arm-linux-androideabi-4.9-v7a-gnu-libstdcpp-fastbuild/bin/external/androidsdk/com.android.support/_aar/unzipped/resources/mediarouter-v7-23.4.0/res/values-el: No such file or directory
Cannot stat file /usr/local/google/home/ajmichael/.cache/bazel/_bazel_ajmichael/9edb8580cd9b915d33b825372a03920e/execroot/b/bazel-out/android-arm-linux-androideabi-4.9-v7a-gnu-libstdcpp-fastbuild/bin/external/androidsdk/com.android.support/_aar/unzipped/resources/mediarouter-v7-23.4.0/res/values-ms-rMY: No such file or directory
Cannot stat file /usr/local/google/home/ajmichael/.cache/bazel/_bazel_ajmichael/9edb8580cd9b915d33b825372a03920e/execroot/b/bazel-out/android-arm-linux-androideabi-4.9-v7a-gnu-libstdcpp-fastbuild/bin/external/androidsdk/com.android.support/_aar/unzipped/resources/mediarouter-v7-23.4.0/res/layout: No such file or directory
[lots more spam here]
Cannot stat file /usr/local/google/home/ajmichael/.cache/bazel/_bazel_ajmichael/9edb8580cd9b915d33b825372a03920e/execroot/b/bazel-out/android-arm-linux-androideabi-4.9-v7a-gnu-libstdcpp-fastbuild/bin/external/androidsdk/com.android.support/_aar/unzipped/resources/appcompat-v7-23.4.0/res/color: No such file or directory
Target //java/com/foo:foo up-to-date:
bazel-bin/java/com/foo/foo_deploy.jar
bazel-bin/java/com/foo/foo_unsigned.apk
bazel-bin/java/com/foo/foo.apk
INFO: Elapsed time: 19.622s, Critical Path: 16.50s
$
However, the APKs produced are the same (modulo a known determinism issue with DSA APK signing).
In 8d6da00, we started reporting logging this message when zipper stats a file that returns a negative value, instead of just ignoring it and moving to the next. aar_import uses zipper to extract the resources from the AAR. I'm not sure what the right course of action here is.
The text was updated successfully, but these errors were encountered:
8d6da00#diff-a5eb796bd8c9663be687d472a23b48b9R41 (line 41 right) should not have been added. In later commits I started using the stat_file method to simply check for file existence. The error message here is a false positive, it should silently return false and that'd be WAI. I'll send out a fix.
@aj-michael: While trying to repro this, I'm hitting problems with my environment setup so I can't build your example, and given the simplicity of the original issue and my certainty in the fix, I won't spend more time on trying to figure out the reasons. Therefore can I ask you that once the fix is out for review or even submitted, to please try it out?
As of 8d6da00,
//third_party/ijar:zipper
logs errors about stat_file failing.With Bazel built at 645dbc4
With Bazel built at 8d6da00
However, the APKs produced are the same (modulo a known determinism issue with DSA APK signing).
In 8d6da00, we started reporting logging this message when zipper stats a file that returns a negative value, instead of just ignoring it and moving to the next.
aar_import
uses zipper to extract the resources from the AAR. I'm not sure what the right course of action here is.The text was updated successfully, but these errors were encountered: