gtest-dev missing directory/files in package (non-functional)
Hello - the gtest 1.8.0 package seems to be missing a directory (/usr/include/gtest/internal/custom) and associated files. This results in gtest not working during the build I'm trying to perform (libphonenumber.) Compilation under Alpine 3.4 (with gtest 1.7.0 package) work fine.
[ 56%] Building CXX object CMakeFiles/libphonenumber_test.dir/test/phonenumbers/asyoutypeformatter_test.cc.o In file included from /usr/include/gtest/internal/gtest-internal.h:40:0, from /usr/include/gtest/gtest.h:58, from /root/libphonenumber-8.0.1/cpp/test/phonenumbers/asyoutypeformatter_test.cc:23: /usr/include/gtest/internal/gtest-port.h:282:46: fatal error: gtest/internal/custom/gtest-port.h: No such file or directory #include "gtest/internal/custom/gtest-port.h" ^ compilation terminated.
internal/gtest-internal.h includes internal/custom-port.h in line 282
Repro steps (exactly what I'm trying in an alpine:3.5 docker container):
apk --update add build-base gtest gtest-dev boost boost-dev protobuf protobuf-dev cmake icu icu-dev openssl cd /tmp wget https://github.com/googlei18n/libphonenumber/archive/v8.0.1.tar.gz tar xf v8.0.1.tar.gz cd libphonenumber-8.0.1 mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=/usr ../cpp make -Wno-error=deprecated-declarations -j $(grep -c ^processor /proc/cpuinfo)
I'm pretty new to Alpine and am working on trying to get abuild to run so I can debug what happened with the build. I'll update this ticket if I have time to get an abuild environment up and running.