Skip to content

Commit ee1db7c

Browse files
committed
Move stamp_helper.sh into base directory.
- Having `stamp_helper.sh` out of the base directory breaks building the package when using the base directory only. - git clone https://github.com/google/android-cuttlefish -b v1.2.0 \ && dpkg-source -b android-cuttlefish/base/ \ && rm -rf android-cuttlefish \ && dpkg-source -x cuttlefish-common_1.2.0.dsc \ && cd cuttlefish-common-1.2.0 \ && debuild -uc -us ``` ERROR: <builtin>: BazelWorkspaceStatusAction stable-status.txt failed: Failed to determine workspace status: Process exited with status 127 /bin/sh: 1: ../../tools/buildutils/stamp_helper.sh: not found INFO: Elapsed time: 12.224s, Critical Path: 0.03s INFO: 1 process: 1 internal. ERROR: Build did NOT complete successfully FAILED: make[1]: *** [debian/rules:25: override_dh_auto_build] Error 1 make[1]: Leaving directory '/home/sorama/cuttlefish-common-1.2.0' make: *** [debian/rules:17: build] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 debuild: fatal error at line 1182: dpkg-buildpackage -us -uc -ui failed ``` - b/407077605
1 parent ee78ea9 commit ee1db7c

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

base/debian/rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ override_dh_installinit:
2222

2323
# the `--workspace_status_command` flag path depends on the current working directory of base/cvd
2424
override_dh_auto_build:
25-
cd cvd && bazel build --linkopt="-Wl,--build-id=sha1" 'cuttlefish/package:cvd' --spawn_strategy=local --workspace_status_command=../../tools/buildutils/stamp_helper.sh --build_tag_filters=-clang-tidy
25+
cd cvd && bazel build --linkopt="-Wl,--build-id=sha1" 'cuttlefish/package:cvd' --spawn_strategy=local --workspace_status_command=../stamp_helper.sh --build_tag_filters=-clang-tidy
2626
dh_auto_build
2727

File renamed without changes.

0 commit comments

Comments
 (0)