timescale / homebrew-tap

TimescaleDB Homebrew tap, containing formulas for the database, tools, etc.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't seem to install on Big Sur, M1

codeOfRobin opened this issue · comments

commented

Here's what I see:

==> Installing timescaledb from timescale/tap
==> Downloading https://timescalereleases.blob.core.windows.net/homebrew/timescaledb-2.3.1.tar.lzma
Already downloaded: /Users/robinmalhotra/Library/Caches/Homebrew/downloads/75156493f78b3b412aa2602d9787d081e502730765ff63b85143968511c61ed4--timescaledb-2.3.1.tar.lzma
==> ./bootstrap -DREGRESS_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DPROJECT_INSTALL_METHOD="brew"
Last 15 lines from /Users/robinmalhotra/Library/Logs/Homebrew/timescaledb/01.bootstrap:
-- Assertion checks are OFF
-- Found OpenSSL: /opt/homebrew/opt/openssl@1.1/lib/libcrypto.dylib (found version "1.1.1k")  
-- OPENSSL_LIBRARIES: /opt/homebrew/opt/openssl@1.1/lib/libssl.dylib;/opt/homebrew/opt/openssl@1.1/lib/libcrypto.dylib
-- Using OpenSSL version 1.1.1k
-- Using nm /usr/bin/nm
fatal: not a git repository (or any of the parent directories): .git
CMake Error at cmake/GitCommands.cmake:40 (message):
  Version 2.3.0 do not exist in repository.
Call Stack (most recent call first):
  cmake/GenerateScripts.cmake:160 (git_versioned_get)
  sql/CMakeLists.txt:62 (generate_downgrade_script)


-- Configuring incomplete, errors occurred!
See also "/tmp/timescaledb-20210722-22774-1ozdyff/timescaledb/build/CMakeFiles/CMakeOutput.log".

Do not report this issue to Homebrew/brew or Homebrew/core!

These open issues may also help:
Unable to install Timescaledb, mac Catalina https://github.com/timescale/homebrew-tap/issues/15
Error "Unsupported PostgreSQL version" with timescaleDB 2.2 and postgresql 13.1 https://github.com/timescale/homebrew-tap/issues/19

It looks like something's genuinely borked on the homebrew end 🤔 Wonder what this is

This appears to have been introduced by a6452b4. When I ran brew edit timescaledb and deleted the string added by that commit (-DGENERATE_DOWNGRADE_SCRIPT=ON) I was able to install v2.3.1 successfully on macOS 11.4. Previously I got the identical error build error.

>>> brew reinstall timescaledb
==> Downloading https://timescalereleases.blob.core.windows.net/homebrew/times
Already downloaded: /Users/arg/Library/Caches/Homebrew/downloads/75156493f78b3b412aa2602d9787d081e502730765ff63b85143968511c61ed4--timescaledb-2.3.1.tar.lzma
==> Reinstalling timescale/tap/timescaledb
==> ./bootstrap -DREGRESS_CHECKS=OFF -DPROJECT_INSTALL_METHOD="brew"
==> cd ./build && make
==> cd ./build && make install DESTDIR=/private/tmp/timescaledb-20210722-29912
==> Caveats
RECOMMENDED: Run 'timescaledb-tune' to update your config settings for TimescaleDB.

  timescaledb-tune --quiet --yes

IF NOT, you'll need to make sure to update /usr/local/var/postgres/postgresql.conf
to include the extension:

  shared_preload_libraries = 'timescaledb'

To finish the installation, you will need to run:

  timescaledb_move.sh

If PostgreSQL is installed via Homebrew, restart it:

  brew services restart postgresql
>>> brew config
HOMEBREW_VERSION: 3.2.3-59-gb18bbac
ORIGIN: https://github.com/Homebrew/brew
HEAD: b18bbacced4a23df8b2e6a57b7a2bded45fc2a77
Last commit: 2 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: af4da744aba617a52e53af39d5fadd0afeb19759
Core tap last commit: 53 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_EDITOR: /usr/local/bin/micro
HOMEBREW_MAKE_JOBS: 12
Homebrew Ruby: 2.6.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/bin/ruby
CPU: dodeca-core 64-bit kabylake
Clang: 12.0.5 build 1205
Git: 2.32.0 => /usr/local/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 11.4-x86_64
CLT: 12.5.1.0.1.1623191612
Xcode: 12.5.1

As the DGENERATE_DOWNGRADE_SCRIPT option was removed I'll close this issue.