Skip to content

Comments

Upgrade to bazel 9#2035

Draft
Databean wants to merge 1 commit intogoogle:mainfrom
Databean:bazel9
Draft

Upgrade to bazel 9#2035
Databean wants to merge 1 commit intogoogle:mainfrom
Databean:bazel9

Conversation

@Databean
Copy link
Member

Bug: b/477396584

@Databean Databean force-pushed the bazel9 branch 3 times, most recently from a6fca22 to 1bf4fab Compare January 21, 2026 04:49
Bug: b/477396584
@dwhea
Copy link

dwhea commented Feb 9, 2026

Could you share a workaround while this support isn't yet merged? Build and install is failing with error after the install script earlier fetched bazel 9.0.0.

Building packages
dpkg-buildpackage -us -uc -ui -i -b
dpkg-buildpackage: info: source package cuttlefish-common
dpkg-buildpackage: info: source version 1.38.0
dpkg-buildpackage: info: source distribution stable
dpkg-buildpackage: info: source changed by Sergio Rodriguez <sorama@google.com>
dpkg-source -i --before-build .
dpkg-buildpackage: info: host architecture amd64
dpkg-source: warning: unknown information field 'Build-Depends' in input data in package's section of control info file
debian/rules clean
cat: bazel-bin/build/compilation_mode.txt: No such file or directory
debian/rules:18: *** Bazel install is broken. Stop.
dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui -i -b failed

@dwhea
Copy link

dwhea commented Feb 10, 2026

Could you share a workaround while this support isn't yet merged? Build and install is failing with error after the install script earlier fetched bazel 9.0.0.

Building packages dpkg-buildpackage -us -uc -ui -i -b dpkg-buildpackage: info: source package cuttlefish-common dpkg-buildpackage: info: source version 1.38.0 dpkg-buildpackage: info: source distribution stable dpkg-buildpackage: info: source changed by Sergio Rodriguez <sorama@google.com> dpkg-source -i --before-build . dpkg-buildpackage: info: host architecture amd64 dpkg-source: warning: unknown information field 'Build-Depends' in input data in package's section of control info file debian/rules clean cat: bazel-bin/build/compilation_mode.txt: No such file or directory debian/rules:18: *** Bazel install is broken. Stop. dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2 debuild: fatal error at line 1182: dpkg-buildpackage -us -uc -ui -i -b failed

OK, having bazel (8.x) installed already on the system is good enough to avoid this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants