Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running simple-cache-example gives an error, flag 'v' was defined more than once #309

Open
YuqingXiong opened this issue Apr 28, 2024 · 6 comments

Comments

@YuqingXiong
Copy link

YuqingXiong commented Apr 28, 2024

Describe the bug
when i run the example "simple_cache", i find an error "ERROR: flag 'v' was defined more than once"

To Reproduce
Steps to reproduce the behavior:

  1. cd CacheLib/examples/simple_cache
  2. ./build.sh
  3. ./build/simple-cache-example
  4. See error

Expected behavior
i want to run this example.

Screenshots
image

Desktop (please complete the following information):

  • Ubuntu 22.04.3 LTS
  • CacheLib tag: v20240312_RC
@therealgymmy
Copy link
Contributor

can you share more details regarding your linux setup? Which ubuntu version is this?

@guaguastandup
Copy link

same question, same cachelib tag, I am using ubuntu22.04

can you share more details regarding your linux setup? Which ubuntu version is this?

@YuqingXiong
Copy link
Author

same question, same cachelib tag, I am using ubuntu22.04

can you share more details regarding your linux setup? Which ubuntu version is this?

me too. I am using Ubuntu 22.04.3 LTS

@YuqingXiong
Copy link
Author

In fact, I have an inelegant solution.

I just commented the error output code, like this:

image

Then, return back Cachelib directory, and remove all build files:
rm -rf ./build-*

Finally, again to build, but not use git:
./contrib/build.sh -d -j -v -S

This error will not apper, but I think it might cause other bugs in the future.

@YuqingXiong
Copy link
Author

can you share more details regarding your linux setup? Which ubuntu version is this?

Of course, this is my system information. I use the Ubuntu 22.04.3 LTS and g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0

image

@MaoZiming
Copy link

Same 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

No branches or pull requests

4 participants