ess-dmsc / conan-date

Date and time tools included the C++20 working draft https://github.com/HowardHinnant/date
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Require openSSL, curl only if needed #5

Open dominikwerder opened 5 years ago

dominikwerder commented 5 years ago

We don't need/want any networking capabilities in date for use in the filewriter, only the basic timezone handling functionality.

Therefore it would be great to avoid pulling in openssl and curl if not needed.

dominikwerder commented 5 years ago

On the AMOR instrument computer at PSI, ess-dmsc/conan-date pulls in openssl which in turn requires makedepend which is not installed on the instrument computer.

Therefore, not depending on openssl would be really appreciated.

@mkoennecke

OpenSSL/1.0.2n@conan/stable: Building your package in /home/amor/.conan/data/OpenSSL/1.0.2n/conan/stable/build/4ba181e0b809bc9cc1289062e7052bcc91289b4f
OpenSSL/1.0.2n@conan/stable: Configuring sources in /home/amor/.conan/data/OpenSSL/1.0.2n/conan/stable/source
OpenSSL/1.0.2n@conan/stable: Downloading https://www.openssl.org/source/openssl-1.0.2n.tar.gz

OpenSSL/1.0.2n@conan/stable: Copying sources to build folder
OpenSSL/1.0.2n@conan/stable: Generator txt created conanbuildinfo.txt
OpenSSL/1.0.2n@conan/stable: Calling build()
OpenSSL/1.0.2n@conan/stable: =====> Options:  --with-zlib-include="/home/amor/.conan/data/zlib/1.2.11/conan/stable/package/b09bec465fef58dc59f15f359cb57c2007336987/include" --with-zlib-lib="/home/amor/.conan/data/zlib/1.2.11/conan/stable/package/b09bec465fef58dc59f15f359cb57c2007336987/lib"
OpenSSL/1.0.2n@conan/stable: WARN: ./Configure  --with-zlib-include="/home/amor/.conan/data/zlib/1.2.11/conan/stable/package/b09bec465fef58dc59f15f359cb57c2007336987/include" --with-zlib-lib="/home/amor/.conan/data/zlib/1.2.11/conan/stable/package/b09bec465fef58dc59f15f359cb57c2007336987/lib" -fPIC linux-x86_64 -m64 -O3 -s
............................................................................................................................................................................................................................................................................................................................................................OpenSSL/1.0.2n@conan/stable:  
..../util/domd: line 33: makedepend: command not found
mv: cannot stat 'Makefile.new': No such file or directory
make[1]: *** [local_depend] Error 127
.make: *** [depend] Error 1
OpenSSL/1.0.2n@conan/stable: 
OpenSSL/1.0.2n@conan/stable: ERROR: Package '4ba181e0b809bc9cc1289062e7052bcc91289b4f' build failed
OpenSSL/1.0.2n@conan/stable: WARN: Build folder /home/amor/.conan/data/OpenSSL/1.0.2n/conan/stable/build/4ba181e0b809bc9cc1289062e7052bcc91289b4f
ERROR: OpenSSL/1.0.2n@conan/stable: Error in build() method, line 111
    self.unix_build(config_options_string)
while calling 'unix_build', line 195
    self.run_in_src("make depend")
while calling 'run_in_src', line 131
    self.run(command)
    ConanException: Error 512 while executing bash -l -c -o pipefail "make depend | while read line; do printf \"%c\" .; done"
CMake Error at cmake/conan.cmake:322 (message):
  Conan install failed='1'
Call Stack (most recent call first):
  cmake/conan.cmake:399 (conan_cmake_install)
  CMakeLists.txt:27 (conan_cmake_run)

-- Configuring incomplete, errors occurred!