Package Details: or-tools 7.2-1

Git Clone URL: https://aur.archlinux.org/or-tools.git (read-only)
Package Base: or-tools
Description: Google's Operations Research tools.
Upstream URL: https://github.com/google/or-tools
Licenses: Apache
Conflicts: python-or-tools
Submitter: akstrfn
Maintainer: akstrfn
Last Packager: akstrfn
Votes: 0
Popularity: 0.000000
First Submitted: 2018-06-14 21:35
Last Updated: 2019-07-07 10:19

Latest Comments

kami commented on 2019-04-01 13:46

I'm running on the latest archlinux and getting these problems:

when running makepkg with -DBUILD_DEPS=ON will give:

==> Making package: or-tools 6.10-2 (mån 1 apr 2019 15:45:00) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found v6.10.tar.gz ==> Validating source files with sha256sums... v6.10.tar.gz ... Passed ==> Extracting sources... -> Extracting v6.10.tar.gz with bsdtar ==> Starting prepare()... -- Build all dependencies: ON -- Build CXX library: ON -- Build Python Binding: OFF -- Build Java Binding: OFF -- Build .Net Binding: OFF -- Target gflags::gflags not found. -- Adding CMake Subproject: Gflags... -- Configuring done -- Generating done -- Build files have been written to: /mnt/Data/work/aur.archlinux.org/or-tools/src/or-tools-6.10/build/gflags-download [100%] Built target gflags_project -- Adding CMake Subproject: Gflag...DONE -- Target glog::glog not found. -- Adding CMake Subproject: Glog... -- Configuring done -- Generating done -- Build files have been written to: /mnt/Data/work/aur.archlinux.org/or-tools/src/or-tools-6.10/build/glog-download [100%] Built target glog_project -- Found gflags: CMake Target gflags::gflags (found version "2.2.1") -- Adding CMake Subproject: Glog...DONE -- Target ZLIB::ZLIB not found. -- Adding CMake Subproject: ZLIB... -- Configuring done -- Generating done -- Build files have been written to: /mnt/Data/work/aur.archlinux.org/or-tools/src/or-tools-6.10/build/zlib-download [100%] Built target zlib_project -- Adding CMake Subproject: ZLIB...DONE -- Target protobuf::libprotobuf or protobuf::protoc not found. -- Adding CMake Subproject: Protobuf... -- Configuring done -- Generating done -- Build files have been written to: /mnt/Data/work/aur.archlinux.org/or-tools/src/or-tools-6.10/build/protobuf-download [100%] Built target protobuf_project -- Found ZLIB: CMake Target ZLIB::ZLIB (found version "1.2.11") -- Adding CMake Subproject: Protobuf...DONE -- Target Cbc::CbcSolver or Cbc::ClpSolver not found. -- Adding CMake Subproject: Cbc... -- Configuring done -- Generating done -- Build files have been written to: /mnt/Data/work/aur.archlinux.org/or-tools/src/or-tools-6.10/build/cbc-download [100%] Built target cbc_project CMake Error at cmake/external/CMakeLists.txt:189 (add_subdirectory): The source directory

/mnt/Data/work/aur.archlinux.org/or-tools/src/or-tools-6.10/build/cbc-src

does not contain a CMakeLists.txt file.

-- Adding CMake Subproject: Cbc...DONE -- ortools version: 6.10.9999 -- Configuring incomplete, errors occurred! See also "/mnt/Data/work/aur.archlinux.org/or-tools/src/or-tools-6.10/build/CMakeFiles/CMakeOutput.log". See also "/mnt/Data/work/aur.archlinux.org/or-tools/src/or-tools-6.10/build/CMakeFiles/CMakeError.log". ==> ERROR: A failure occurred in prepare(). Aborting...

when running makepkg with -DBUILD_DEPS=OFF will give:

==> Making package: or-tools 6.10-2 (mån 1 apr 2019 15:45:54) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found v6.10.tar.gz ==> Validating source files with sha256sums... v6.10.tar.gz ... Passed ==> Extracting sources... -> Extracting v6.10.tar.gz with bsdtar ==> Starting prepare()... -- Build all dependencies: OFF -- Build CXX library: ON -- Build Python Binding: OFF -- Build Java Binding: OFF -- Build .Net Binding: OFF -- ortools version: 6.10.9999 CMake Error at cmake/cpp.cmake:98 (get_target_property): get_target_property() called with non-existent target "protobuf::libprotobuf". Call Stack (most recent call first): CMakeLists.txt:74 (include)

-- Configuring incomplete, errors occurred! See also "/mnt/Data/work/aur.archlinux.org/or-tools/src/or-tools-6.10/build/CMakeFiles/CMakeOutput.log". See also "/mnt/Data/work/aur.archlinux.org/or-tools/src/or-tools-6.10/build/CMakeFiles/CMakeError.log". ==> ERROR: A failure occurred in prepare(). Aborting...

akstrfn commented on 2019-03-21 20:37

Can you try to build or-tools with -DBUILD_DEPS=OFF? Can't test this atm.

cuminflea commented on 2019-03-21 12:06

Seems protobuf is updated and cause some error when using or-tools. The error log is: /usr/include/ortools/sat/cp_model.pb.h:18:2: error: incompatible with your Protocol Buffer headers. Please regenerate this file with a newer version of protoc.

akstrfn commented on 2019-03-02 09:15

Thanks for the report. I've added a git to makedeps and I will revise this when 7.0 is out.

Ten0 commented on 2019-03-01 10:19

The library has google-glog, gflags and protobuf as dependencies. They should be registered as dependencies of this package.