Discussion:
[conda] Protobuf problems when building openpose
Amir Mohammadi
2018-05-30 14:37:36 UTC
Permalink
Hi,

We are trying to build openpose
https://github.com/CMU-Perceptual-Computing-Lab/openpose using conda build
but somehow a protobuf error is thrown and we cannot understand why!
The error is:

run_openpose.sh --help
[libprotobuf FATAL
/tmp/build/80754af9/opencv_1525313247723/work/3rdparty/protobuf/src/google/protobuf/stubs/common.cc:67]
This program requires version 3.5.0 of the Protocol Buffer runtime
library, but the installed version is 3.1.0. Please update your
library. If you compiled the program yourself, make sure that your
headers are from the same version of Protocol Buffers as your
link-time library. (Version verification failed in
"google/protobuf/any.pb.cc".)
terminate called after throwing an instance of
'google::protobuf::FatalException'
what(): This program requires version 3.5.0 of the Protocol Buffer
runtime library, but the installed version is 3.1.0. Please update
your library. If you compiled the program yourself, make sure that
your headers are from the same version of Protocol Buffers as your
link-time library. (Version verification failed in
"google/protobuf/any.pb.cc".)
/local/builds/bob/bob.conda/miniconda/conda-bld/openpose_1527673849721/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/bin/run_openpose.sh:
line 2: 3285 Aborted (core dumped) openpose.bin
--model_folder="$(dirname $0)/models" "$@"


and the recipe is here:
https://gitlab.idiap.ch/bob/bob.conda/merge_requests/369/diffs?diff_id=6144


What I don't understand that this
/tmp/build/80754af9/opencv_1525313247723/work/3rdparty/protobuf/ does not
even exist but how come an error is coming from there?! Is this where
opencv was compiled? Is this a problem with opencv?


Any help and insight is appreciated.

Thanks,
Amir
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/CAHq7xUzxm2JHeW2WeFrJe9fdqxtoCCmQ89UK9yod8Vmgyfv87g%40mail.gmail.com.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
Amir Mohammadi
2018-05-30 15:22:22 UTC
Permalink
Sorry I forgot to post the full build log:
https://gitlab.idiap.ch/bob/bob.conda/-/jobs/138318
Post by Amir Mohammadi
Hi,
We are trying to build openpose
https://github.com/CMU-Perceptual-Computing-Lab/openpose using conda
build but somehow a protobuf error is thrown and we cannot understand why!
run_openpose.sh --help
[libprotobuf FATAL /tmp/build/80754af9/opencv_1525313247723/work/3rdparty/protobuf/src/google/protobuf/stubs/common.cc:67] This program requires version 3.5.0 of the Protocol Buffer runtime library, but the installed version is 3.1.0. Please update your library. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "google/protobuf/any.pb.cc".)
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): This program requires version 3.5.0 of the Protocol Buffer runtime library, but the installed version is 3.1.0. Please update your library. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "google/protobuf/any.pb.cc".)
https://gitlab.idiap.ch/bob/bob.conda/merge_requests/369/diffs?diff_id=6144
What I don't understand that this
/tmp/build/80754af9/opencv_1525313247723/work/3rdparty/protobuf/ does not
even exist but how come an error is coming from there?! Is this where
opencv was compiled? Is this a problem with opencv?
Any help and insight is appreciated.
Thanks,
Amir
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/CAHq7xUxfSkYoFEsTkDWb_kV_eKh6tQOJW79JY54hnVA-he34sA%40mail.gmail.com.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
Loading...