Closed awefwse closed 1 year ago
Error seems to be qt package missing? I tried to install qt5 but didn't make any difference.
System info is here:
PRETTY_NAME="Ubuntu 22.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.2 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
I also tried to install on ubuntu 20.04 in VirtualBox, but same error occured.
could you try make docker-dev
and build from source from that docker? All environment setup is documented in dockerfile: https://github.com/sail-sg/envpool/tree/main/docker
The problem magically goes away when I try to use make bazel-build
to build.
I remember running into this problem myself . I suspect the problem should go away equally if you installed qt and do a bazel clean --expunge
. The reason install qt doesn't solve the issue is the @qt repo was already pointed to a wrong place in your previous bazel run.
Describe the bug
Build from source failed, report error: "no such package '@qt//': The repository's path is "/usr/include/qt" (absolute: "/usr/include/qt") but this directory does not exist".
To Reproduce
Follow the step of building from source here
Expected behavior
successful built package
Error message
System info
Additional context
Add any other context about the problem here.
Reason and Possible fixes
If you know or suspect the reason for this bug, paste the code lines and suggest modifications.
Checklist