From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roel Janssen Subject: Re: Request: Bazel build system (required for Tensorflow update) Date: Wed, 04 Mar 2020 15:59:54 +0100 Message-ID: <3af27d5393ab97ef0482ae9072b35c0cd08b828e.camel@gnu.org> References: <87lfog2zv3.fsf@ambrevar.xyz> <87sgio1bmv.fsf@ambrevar.xyz> <87pnds1aoj.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:36095) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9VVG-00037R-DN for guix-devel@gnu.org; Wed, 04 Mar 2020 10:00:11 -0500 In-Reply-To: <87pnds1aoj.fsf@ambrevar.xyz> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane-mx.org@gnu.org Sender: "Guix-devel" To: Pierre Neidhardt , Julien Lepiller , guix-devel@gnu.org On Wed, 2020-03-04 at 15:01 +0100, Pierre Neidhardt wrote: > I've actually managed to fix the abseil issue. > > Now I'm stuck at more broken CMake stuff. > Duh, this will take a while... > > --8<---------------cut here---------------start------------->8--- > -- Could NOT find c-ares (missing: c-ares_DIR) > -- Found PythonInterp: /gnu/store/l8nphg0idd8pfddyad8f92lx8d1hc053-python- > wrapper-3.7.4/bin/python (found version "3.7.4") > -- Found PythonLibs: /gnu/store/78w7y0lxar70j512iqw8x3nimzj10yga-python- > 3.7.4/lib/libpython3.7m.so (found version "3.7.4") > CMake Error at tf_python.cmake:132 (message): > Python proto directory not found: tensorflow/contrib/tpu/profiler > Call Stack (most recent call first): > CMakeLists.txt:613 (include) > > > CMake Error at tf_python.cmake:217 (message): > Python module not found: tensorflow/contrib/rnn/kernels > Call Stack (most recent call first): > CMakeLists.txt:613 (include) > > > CMake Error at tf_python.cmake:217 (message): > Python module not found: tensorflow/contrib/rnn/ops > Call Stack (most recent call first): > CMakeLists.txt:613 (include) > > > CMake Error at tf_python.cmake:217 (message): > Python module not found: tensorflow/contrib/tpu/profiler > Call Stack (most recent call first): > CMakeLists.txt:613 (include) > > > -- Found SWIG: /gnu/store/1jamhp01xc911m68j8ndiwlcc55q8ikp-swig- > 3.0.12/bin/swig (found version "3.0.12") > CMake Warning at tf_shared_lib.cmake:136 (export): > Cannot create package registry file: > > /homeless- > shelter/.cmake/packages/Tensorflow/31aad99a164c4099f5d0af2d4ec07d6f > > No such file or directory > > Call Stack (most recent call first): > CMakeLists.txt:616 (include) > > > -- Configuring incomplete, errors occurred! > See also "/tmp/guix-build-tensorflow-1.15.0.drv- > 0/source/tensorflow/contrib/build/CMakeFiles/CMakeOutput.log". > See also "/tmp/guix-build-tensorflow-1.15.0.drv- > 0/source/tensorflow/contrib/build/CMakeFiles/CMakeError.log". > command "cmake" "../cmake" "-DCMAKE_BUILD_TYPE=Release" "- > DCMAKE_INSTALL_PREFIX=/gnu/store/wm0iizlnsj55pdhjdm7k7pzz3bad84f0-tensorflow- > 1.15.0" "-DCMAKE_INSTALL_LIBDIR=lib" "- > DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE" "- > DCMAKE_INSTALL_RPATH=/gnu/store/wm0iizlnsj55pdhjdm7k7pzz3bad84f0-tensorflow- > 1.15.0/lib" "-DCMAKE_VERBOSE_MAKEFILE=ON" "- > Dprotobuf_STATIC_LIBRARIES=/gnu/store/p77n8kpsl50qlrz5fk0mc9kvfkinh9dq- > protobuf-3.6.1/lib/libprotobuf.so" "- > DPROTOBUF_PROTOC_EXECUTABLE=/gnu/store/p77n8kpsl50qlrz5fk0mc9kvfkinh9dq- > protobuf-3.6.1/bin/protoc" "- > Dsnappy_STATIC_LIBRARIES=/gnu/store/3xrpbdhhb8nk9p9jqr19ljlyhxnxk18n-snappy- > 1.1.8/lib/libsnappy.so" "- > Dsnappy_INCLUDE_DIR=/gnu/store/3xrpbdhhb8nk9p9jqr19ljlyhxnxk18n-snappy-1.1.8" > "-Djsoncpp_STATIC_LIBRARIES=/gnu/store/3vacq5lrnri4g8a5498qxkgxv4z8jyv8- > jsoncpp-1.7.3/lib/libjsoncpp.so" "- > Djsoncpp_INCLUDE_DIR=/gnu/store/3vacq5lrnri4g8a5498qxkgxv4z8jyv8-jsoncpp- > 1.7.3" "-Dsqlite_STATIC_LIBRARIES=/gnu/store/i6l1579g80387rda658jy9cfqq82643d- > sqlite-3.28.0/lib/libsqlite.a" "- > DABSEIL_CPP_LIBRARIES=/gnu/store/j36v4bb2vzy02xfyxp6ryfm4aj0yiaxn-abseil-cpp- > 20200225/lib/" "- > DABSEIL_CPP_LIBRARIES_DIR_HINTS:STRING=/gnu/store/j36v4bb2vzy02xfyxp6ryfm4aj0y > iaxn-abseil-cpp-20200225/lib/" "-Dsystemlib_ALL=ON" "- > Dtensorflow_ENABLE_POSITION_INDEPENDENT_CODE=ON" "- > Dtensorflow_BUILD_SHARED_LIB=ON" "-Dtensorflow_OPTIMIZE_FOR_NATIVE_ARCH=OFF" > "-Dtensorflow_ENABLE_SSL_SUPPORT=OFF" "-Dtensorflow_BUILD_CONTRIB_KERNELS=OFF" > failed with status 1 > note: keeping build directory `/tmp/guix-build-tensorflow-1.15.0.drv-8' > builder for `/gnu/store/z9f8pcng2gsp7g9f93jd40c7g53wyc4s-tensorflow- > 1.15.0.drv' failed with exit code 1 > build of /gnu/store/z9f8pcng2gsp7g9f93jd40c7g53wyc4s-tensorflow-1.15.0.drv > failed > View build log at '/var/log/guix/drvs/z9/f8pcng2gsp7g9f93jd40c7g53wyc4s- > tensorflow-1.15.0.drv.bz2'. > guix build: error: build of `/gnu/store/z9f8pcng2gsp7g9f93jd40c7g53wyc4s- > tensorflow-1.15.0.drv' failed > --8<---------------cut here---------------end--------------->8--- > Alright! I've sent patches for abseil-cpp to the mailing list, but I haven't been able to get the googletest test suite to work. Have you figured that out? Perhaps we can share the work on Tensorflow 1.15.2. Would you mind sharing the patch you've got so far? Kind regards, Roel Janssen