CacheLib icon indicating copy to clipboard operation
CacheLib copied to clipboard

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

Open YuqingXiong opened this issue 1 year ago • 7 comments

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

YuqingXiong avatar Apr 28 '24 07:04 YuqingXiong

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

therealgymmy avatar Apr 29 '24 16:04 therealgymmy

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

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

guaguastandup avatar May 08 '24 08:05 guaguastandup

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 avatar May 08 '24 08:05 YuqingXiong

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 avatar May 08 '24 08:05 YuqingXiong

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

YuqingXiong avatar May 08 '24 08:05 YuqingXiong

Same problem

MaoZiming avatar May 18 '24 13:05 MaoZiming