Android build prints 'running on Unknown' with --version flag
Open
Nobody has claimed this yet.
dima
- Dominant language
- C++
- Stars
- 2.9k
- Forks
- 339
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 52
Description
Description
When executing the --version command on a package built for Android, the output contains an invalid log line: "running on Unknown".
Steps to Reproduce
- Clone the repository:
git clone -b master https://github.com/oceanbase/seekdb.git - Build for Android:
./build.sh release --android --init - Change to the build directory:
cd build_android_release - Build the seekdb target:
make -j 20 seekdb - Push the binary to a device:
adb -s <device> push b... - Execute the binary with the
--versionflag on the device.
Impact
The version output is cluttered with incorrect information, which is misleading for users and automated tooling checking the version.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with build.sh release --android --init, the build_android_release directory, and the seekdb target, then run the resulting binary with --version on an Android device. Trace the version-output entry point responsible for the "running on Unknown" line and verify that the completed output no longer contains it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, cpp
- Domain
- build-system, mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 48/100