Skip to content

percona-toolkit install doesn't include go tools #261450

@vinokrishna

Description

@vinokrishna

brew config AND brew doctor output OR brew gist-logs <formula> link

% brew config
HOMEBREW_VERSION: 5.0.9-16-g4dbe056
ORIGIN: https://github.com/Homebrew/brew
HEAD: 4dbe056c37871a93716e80d59da1e892ea4c5132
Last commit: 88 minutes ago
Branch: main
Core tap JSON: 06 Jan 11:25 UTC
Core cask tap JSON: 06 Jan 11:25 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.vmPhAERrU7/org.xquartz:0
HOMEBREW_DOWNLOAD_CONCURRENCY: 24
HOMEBREW_FORBID_PACKAGES_FROM_PATHS: set
HOMEBREW_MAKE_JOBS: 12
HOMEBREW_SORBET_RUNTIME: set
Homebrew Ruby: 3.4.8 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.4.8/bin/ruby
CPU: dodeca-core 64-bit arm_brava
Clang: 17.0.0 build 1700
Git: 2.50.1 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 8.7.1 => /usr/bin/curl
macOS: 15.7.2-arm64
CLT: 26.0.0.0.1.1757719676
Xcode: N/A
Rosetta 2: false

% brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Some installed casks are deprecated or disabled.
You should find replacements for the following casks:
  copyq

Warning: Some installed kegs have no formulae!
This means they were either deleted or installed manually.
You should find replacements for the following formulae:
  [email protected]

Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
  icu4c@76
  icu4c@77

Verification

  • My brew doctor output says Your system is ready to brew. and am still able to reproduce my issue.
  • I ran brew update and am still able to reproduce my issue.
  • I have resolved all warnings from brew doctor and that did not fix my problem.
  • I searched for recent similar issues at https://github.com/Homebrew/homebrew-core/issues?q=is%3Aissue and found no duplicates.
  • My issue is not about a failure to build a formula from source.

What were you trying to do (and why)?

I am trying to install percona-toolkit package from brew as follows and it is not installing all the tools from the package. Pls Refer - https://docs.percona.com/percona-toolkit.

For example, pt-galera-log-explainer tool under go was not installed. The list of tools that were missing under golang are here - https://github.com/percona/percona-toolkit/tree/v3.7.1/src/go:
pt-galera-log-explainer
pt-k8s-debug-collector
pt-mongodb-index-check
pt-mongodb-query-digest
pt-mongodb-summary
pt-pg-summary
pt-secure-collect

The warnings received in brew doctor on my machine are irrelevant here:
% brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Some installed casks are deprecated or disabled.
You should find replacements for the following casks:
copyq

Warning: Some installed kegs have no formulae!
This means they were either deleted or installed manually.
You should find replacements for the following formulae:
[email protected]

Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
icu4c@76
icu4c@77

What happened (include all command output)?

% brew install percona-toolkit
==> Fetching downloads for: percona-toolkit
✔︎ Bottle Manifest percona-toolkit (3.7.1)                                                                                                                                              Downloaded   36.3KB/ 36.3KB
✔︎ Bottle Manifest libcbor (0.13.0)                                                                                                                                                     Downloaded    9.3KB/  9.3KB
✔︎ Bottle libcbor (0.13.0)                                                                                                                                                              Downloaded   43.7KB/ 43.7KB
✔︎ Bottle Manifest libfido2 (1.16.0_1)                                                                                                                                                  Downloaded   19.9KB/ 19.9KB
✔︎ Bottle Manifest zlib (1.3.1)                                                                                                                                                         Downloaded   10.7KB/ 10.7KB
✔︎ Bottle zlib (1.3.1)                                                                                                                                                                  Downloaded  141.3KB/141.3KB
✔︎ Bottle Manifest mysql-client (9.5.0)                                                                                                                                                 Downloaded   22.0KB/ 22.0KB
✔︎ Bottle Manifest perl-dbd-mysql (5.013_1)                                                                                                                                             Downloaded   23.0KB/ 23.0KB
✔︎ Bottle libfido2 (1.16.0_1)                                                                                                                                                           Downloaded  363.8KB/363.8KB
✔︎ Bottle perl-dbd-mysql (5.013_1)                                                                                                                                                      Downloaded  140.6KB/140.6KB
✔︎ Bottle percona-toolkit (3.7.1)                                                                                                                                                       Downloaded    2.2MB/  2.2MB
✔︎ Bottle mysql-client (9.5.0)                                                                                                                                                          Downloaded   36.2MB/ 36.2MB
==> Installing dependencies for percona-toolkit: libcbor, libfido2, zlib, mysql-client and perl-dbd-mysql
==> Installing percona-toolkit dependency: libcbor
==> Pouring libcbor--0.13.0.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/libcbor/0.13.0: 36 files, 217.3KB
==> Installing percona-toolkit dependency: libfido2
==> Pouring libfido2--1.16.0_1.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/libfido2/1.16.0_1: 566 files, 1.4MB
==> Installing percona-toolkit dependency: zlib
==> Pouring zlib--1.3.1.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/zlib/1.3.1: 14 files, 413.6KB
==> Installing percona-toolkit dependency: mysql-client
==> Pouring mysql-client--9.5.0.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/mysql-client/9.5.0: 125 files, 134.2MB
==> Installing percona-toolkit dependency: perl-dbd-mysql
==> Pouring perl-dbd-mysql--5.013_1.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/perl-dbd-mysql/5.013_1: 14 files, 464.1KB
==> Installing percona-toolkit
==> Pouring percona-toolkit--3.7.1.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/percona-toolkit/3.7.1: 229 files, 9.0MB
==> Running `brew cleanup percona-toolkit`...
Disable this behaviour by setting `HOMEBREW_NO_INSTALL_CLEANUP=1`.
Hide these hints with `HOMEBREW_NO_ENV_HINTS=1` (see `man brew`).

 % ls /opt/homebrew/Cellar/percona-toolkit/3.7.1/bin/
pt-align			pt-eustack-resolver		pt-index-usage			pt-pmp				pt-slave-delay			pt-table-sync
pt-archiver			pt-fifo-split			pt-ioprofile			pt-query-digest			pt-slave-find			pt-table-usage
pt-config-diff			pt-find				pt-kill				pt-replica-find			pt-slave-restart		pt-upgrade
pt-deadlock-logger		pt-fingerprint			pt-mext				pt-replica-restart		pt-stalk			pt-variable-advisor
pt-diskstats			pt-fk-error-logger		pt-mysql-summary		pt-show-grants			pt-summary			pt-visual-explain
pt-duplicate-key-checker	pt-heartbeat			pt-online-schema-change		pt-sift				pt-table-checksum

What did you expect to happen?

I expect brew to install the missing Go tools mentioned above as well. i.e under here - https://github.com/percona/percona-toolkit/tree/v3.7.1/src/go. As a workaround, I had to compile them manually.

Step-by-step reproduction instructions (by running brew commands)

% brew install percona-toolkit
...

% which pt-galera-log-explainer
pt-galera-log-explainer not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    upstream issueAn upstream issue report is needed

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions