Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libprelude build failure: Required for linux-pam, which is a dependency of OpenSSH #194541

Open
3 of 4 tasks
xhiroga opened this issue Oct 15, 2024 · 0 comments
Open
3 of 4 tasks
Labels
bug Reproducible Homebrew/homebrew-core bug

Comments

@xhiroga
Copy link

xhiroga commented Oct 15, 2024

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

/mnt/c/Users/hiroga$ brew gist-logs libprelude
Error: No logs.
---
/mnt/c/Users/hiroga$ brew config
HOMEBREW_VERSION: 4.4.0
ORIGIN: https://github.com/Homebrew/brew
HEAD: 84c31175f11860129a9aaed40a13c549625e2db1
Last commit: 2 weeks ago
Core tap JSON: 15 Oct 22:13 UTC
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: :0
HOMEBREW_MAKE_JOBS: 20
Homebrew Ruby: 3.3.5 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.5/bin/ruby
CPU: 20-core 64-bit unknown_0x6_0xbf
Clang: N/A
Git: 2.34.1 => /bin/git
Curl: 7.81.0 => /bin/curl
Kernel: Linux 5.15.153.1-microsoft-standard-WSL2 x86_64 GNU/Linux
OS: Ubuntu 22.04.5 LTS (jammy)
WSL: 2 (Microsoft Store)
Host glibc: 2.35
/usr/bin/gcc: 11.4.0
/usr/bin/ruby: N/A
glibc: N/A
gcc@11: N/A
gcc: N/A
xorg: N/A
---
**NOTE: [Bottled version](https://ghcr.io/v2/homebrew/core/libprelude/manifests/5.2.0_2-2) works well**

/mnt/c/Users/hiroga$ 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: Your Homebrew's prefix is not /home/linuxbrew/.linuxbrew.

Many of Homebrew's bottles (binary packages) can only be used with the default prefix.
Consider uninstalling Homebrew and reinstalling into the default prefix.
It is expected behaviour that some formulae will fail to build in this unsupported configuration.
It is expected behaviour that Homebrew will be buggy and slow.
Do not create any issues about this on Homebrew's GitHub repositories.
Do not create any issues even if you think this message is unrelated.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.

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.

What were you trying to do (and why)?

I was trying to install opensshon WSL using Homebrew. libprelude is a dependency of linux-pam, which in turn is a dependency of openssh. The installation fails because libprelude cannot be downloaded from its source.

Additional Context

The prelude-siem.org website was accessible until June 2024 but is now down, causing the failure to download libprelude required for linux-pam and OpenSSH. Many Homebrew packages depend on OpenSSL 3.3, and this issue is blocking the installation of a compatible OpenSSH version. I have reached out to the project maintainers but have not received a response yet.

What happened (include all command output)?

/mnt/c/Users/hiroga$ brew install libprelude
==> Fetching dependencies for libprelude: gmp, libtasn1, nettle, ninja, openssl@3, [email protected], meson, p11-kit, libevent, libnghttp2, unbound, gnutls, libgpg-error and libtool
==> Fetching gmp
==> Downloading https://ghcr.io/v2/homebrew/core/gmp/manifests/6.3.0
Already downloaded: /home/hiroga/.cache/Homebrew/downloads/70a72a71216843d66a953c06ff6337445ce9bc94fae9f0e301e2f59005274a8e--gmp-6.3.0.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/gmp/blobs/sha256:3dca3544faca889c7389a5fdbd2b5b00582c34a4e14607033573ad
Already downloaded: /home/hiroga/.cache/Homebrew/downloads/c33d6941e09b97b6780d25231108e3ddd11f638829b2c50670223f42e0586657--gmp--6.3.0.x86_64_linux.bottle.tar.gz
==> Fetching libtasn1
==> Downloading https://ghcr.io/v2/homebrew/core/libtasn1/manifests/4.19.0
Already downloaded: /home/hiroga/.cache/Homebrew/downloads/8abecce04f40738bc8a6921a6b96d847ea5c9759185d4bd9c7c9b5fb4922c375--libtasn1-4.19.0.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/libtasn1/blobs/sha256:e994c7b8c16afb59368d8d09a3f193451c9deab1e4a83f8a9
Already downloaded: /home/hiroga/.cache/Homebrew/downloads/49b28588b58b636004d5e547052ec07424e08a68ce8e7672174faaff2dcaee34--libtasn1--4.19.0.x86_64_linux.bottle.tar.gz
==> Fetching nettle
==> Downloading https://ghcr.io/v2/homebrew/core/nettle/manifests/3.10
Already downloaded: /home/hiroga/.cache/Homebrew/downloads/8dc57e1a111535116cedad68fea09cf7a5477e6a1e357cdbb65b679768548586--nettle-3.10.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/nettle/blobs/sha256:05101c1f60cf7b267464af60a6814404e32691af7630e4ea23e
Already downloaded: /home/hiroga/.cache/Homebrew/downloads/edd00a65404c7306cccea79013df459bd5790f41230724aca1242a55458daa00--nettle--3.10.x86_64_linux.bottle.tar.gz
==> Fetching ninja
==> Downloading https://ghcr.io/v2/homebrew/core/ninja/manifests/1.12.1
Already downloaded: /home/hiroga/.cache/Homebrew/downloads/5df23a5c77b5d94f4b3df4cee2a886d86de68dfef3eec5552ffb192d4944ed3f--ninja-1.12.1.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/ninja/blobs/sha256:bb1fdec103d46cf08a086a70f0c4bda35927cfdfcef35bad0da2
Already downloaded: /home/hiroga/.cache/Homebrew/downloads/49068e01143becfe08d8167591caeb4708f2dd6524231aedc9d3ebb0907e9c12--ninja--1.12.1.x86_64_linux.bottle.tar.gz
==> Fetching openssl@3
Warning: Building openssl@3 from source as the bottle needs:
- HOMEBREW_CELLAR: /home/linuxbrew/.linuxbrew/Cellar (yours is /usr/local/Cellar)
- HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew (yours is /usr/local)
==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/29e2d410e2c461979f44560f990991364556051e/Formul
################################################################################################################# 100.0%
==> Downloading https://cpan.metacpan.org/authors/id/L/LE/LEONT/Test-Harness-3.50.tar.gz
################################################################################################################# 100.0%
==> Downloading https://cpan.metacpan.org/authors/id/E/EX/EXODIST/Test-Simple-1.302201.tar.gz
################################################################################################################# 100.0%
==> Downloading https://cpan.metacpan.org/authors/id/B/BI/BINGOS/ExtUtils-MakeMaker-7.70.tar.gz
################################################################################################################# 100.0%
==> Downloading https://github.com/openssl/openssl/releases/download/openssl-3.3.2/openssl-3.3.2.tar.gz
Already downloaded: /home/hiroga/.cache/Homebrew/downloads/546da0bd961d0d9df96d90bb22314621a2b5983509aadb8c78cc78c908f4559c--openssl-3.3.2.tar.gz
==> Fetching [email protected]
Warning: Building [email protected] from source as the bottle needs:
- HOMEBREW_CELLAR: /home/linuxbrew/.linuxbrew/Cellar (yours is /usr/local/Cellar)
- HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew (yours is /usr/local)
==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/29e2d410e2c461979f44560f990991364556051e/Formul
Already downloaded: /home/hiroga/.cache/Homebrew/downloads/c7e638297779b4d76edd8cfd10330e8ff2d407688401f0bfc4f15ac6a4d82ca7--python@3.13.rb
==> Downloading https://raw.githubusercontent.com/Homebrew/formula-patches/8b5bcbb262d1ea4e572bba55043bf7d2341a6821/pyth
################################################################################################################# 100.0%
==> Downloading https://files.pythonhosted.org/packages/c4/e6/c1ac50fe3eebb38a155155711e6e864e254ce4b6e17fe2429b4c4d5b9e
Already downloaded: /home/hiroga/.cache/Homebrew/downloads/240a7924cd4b28a95eb7967148f1a55a9fa38b65f3722a6e5e16193319616b0f--flit_core-3.9.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/4d/87/fb90046e096a03aeab235e139436b3fe804cdd447ed2093b0d70eba3f7
################################################################################################################# 100.0%
==> Downloading https://files.pythonhosted.org/packages/27/b8/f21073fde99492b33ca357876430822e4800cdf522011f18041351dfa7
Already downloaded: /home/hiroga/.cache/Homebrew/downloads/5c0af5acc79f514d9e861f222b6ce549dc1b3f5ca243f04d0ad9e0a66a4288fa--setuptools-75.1.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/b7/a0/95e9e962c5fd9da11c1e28aa4c0d8210ab277b1ada951d2aee336b5058
################################################################################################################# 100.0%
==> Downloading https://www.python.org/ftp/python/3.13.0/Python-3.13.0.tgz
################################################################################################################# 100.0%
==> Fetching meson
==> Downloading https://ghcr.io/v2/homebrew/core/meson/manifests/1.5.2_1
Already downloaded: /home/hiroga/.cache/Homebrew/downloads/70af26f13aaaf466f7dfe82dc2fdc1f48dfd6101d1562026cb54847abc0602df--meson-1.5.2_1.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/meson/blobs/sha256:a3b43478b98b0d04f647668cb8740c8e75446a9dd15a34587fde
Already downloaded: /home/hiroga/.cache/Homebrew/downloads/312e57d39783c91df6436e42f2e24d42141cfe459fbbb3dab08e0ea3d13c9da1--meson--1.5.2_1.all.bottle.tar.gz
==> Fetching p11-kit
Warning: Building p11-kit from source as the bottle needs:
- HOMEBREW_CELLAR: /home/linuxbrew/.linuxbrew/Cellar (yours is /usr/local/Cellar)
- HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew (yours is /usr/local)
==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/29e2d410e2c461979f44560f990991364556051e/Formul
Already downloaded: /home/hiroga/.cache/Homebrew/downloads/e5436f1ae704f2603a43e7f589e847970f6feb6f6292fcf79dd65cf72eff6622--p11-kit.rb
==> Downloading https://github.com/p11-glue/p11-kit/releases/download/0.25.5/p11-kit-0.25.5.tar.xz
Already downloaded: /home/hiroga/.cache/Homebrew/downloads/34c98bf9ad0dace8e5a1d5f8a37e8d811fb14bab78739decbf84a6287edd2663--p11-kit-0.25.5.tar.xz
==> Fetching libevent
==> Downloading https://ghcr.io/v2/homebrew/core/libevent/manifests/2.1.12_1
Already downloaded: /home/hiroga/.cache/Homebrew/downloads/68b113f9ab63db45f4e1860de522ce2ca4fa081eb3c0d5c7d6005a35c3cf8d06--libevent-2.1.12_1.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/libevent/blobs/sha256:83ef4ce689a91f6fca013d6b4b0b2fcda3706080f8e0cccd0
Already downloaded: /home/hiroga/.cache/Homebrew/downloads/694835ad258e8dc6e9758f34fd0f18013d7a61f2a6ac1ca0e481f652d80b086a--libevent--2.1.12_1.x86_64_linux.bottle.tar.gz
==> Fetching libnghttp2
==> Downloading https://ghcr.io/v2/homebrew/core/libnghttp2/manifests/1.63.0
Already downloaded: /home/hiroga/.cache/Homebrew/downloads/e63c5bc0f458327f00ee55e74895b72e64faad010393790efba6fc3e26689285--libnghttp2-1.63.0.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/libnghttp2/blobs/sha256:b72e73226c370de2ba1680f11e0ac5f69bd64235756c5be
Already downloaded: /home/hiroga/.cache/Homebrew/downloads/4728316150aa23b0f2448e648eeb392fd9da602679d1151347870af3d33cb5e3--libnghttp2--1.63.0.x86_64_linux.bottle.tar.gz
==> Fetching unbound
Warning: Building unbound from source as the bottle needs:
- HOMEBREW_CELLAR: /home/linuxbrew/.linuxbrew/Cellar (yours is /usr/local/Cellar)
- HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew (yours is /usr/local)
==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/29e2d410e2c461979f44560f990991364556051e/Formul
Already downloaded: /home/hiroga/.cache/Homebrew/downloads/48768ade812e6315dcd3819e1f89b38f8ae54b8bbd82635be28dd0a98af66df6--unbound.rb
==> Downloading https://nlnetlabs.nl/downloads/unbound/unbound-1.21.1.tar.gz
Already downloaded: /home/hiroga/.cache/Homebrew/downloads/13cd7a500253aca0c06ed973a357ce4defe80470883c0aad2444460d3102baab--unbound-1.21.1.tar.gz
==> Fetching gnutls
Warning: Building gnutls from source as the bottle needs:
- HOMEBREW_CELLAR: /home/linuxbrew/.linuxbrew/Cellar (yours is /usr/local/Cellar)
- HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew (yours is /usr/local)
==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/29e2d410e2c461979f44560f990991364556051e/Formul
Already downloaded: /home/hiroga/.cache/Homebrew/downloads/c84fad5d9f75c9a7761afeadfc628c5ea1f094df2aef7a3be03ff6cd4f378e5f--gnutls.rb
==> Downloading https://www.gnupg.org/ftp/gcrypt/gnutls/v3.8/gnutls-3.8.4.tar.xz
Already downloaded: /home/hiroga/.cache/Homebrew/downloads/12a4f214ba01e82ad8556bd4bb97c44f783582a779b20232b257532393520fa6--gnutls-3.8.4.tar.xz
==> Fetching libgpg-error
Warning: Building libgpg-error from source as the bottle needs:
- HOMEBREW_CELLAR: /home/linuxbrew/.linuxbrew/Cellar (yours is /usr/local/Cellar)
- HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew (yours is /usr/local)
==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/29e2d410e2c461979f44560f990991364556051e/Formul
Already downloaded: /home/hiroga/.cache/Homebrew/downloads/0bde494a0d48d6570b263d3eabd70fa11e959dd8fba5d5563ae946a5f2183664--libgpg-error.rb
==> Downloading https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.50.tar.bz2
Already downloaded: /home/hiroga/.cache/Homebrew/downloads/5b07b760e9012fef18d7bcb6b8f7f7b7618f4344f076cccd216c12ba12244b6d--libgpg-error-1.50.tar.bz2
==> Fetching libtool
==> Downloading https://ghcr.io/v2/homebrew/core/libtool/manifests/2.5.3
Already downloaded: /home/hiroga/.cache/Homebrew/downloads/a3fb370c644cf73593e4df8b5c40f2ccb0459d57248d95aba050def3c96414ad--libtool-2.5.3.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/libtool/blobs/sha256:91784670a1d9f78f471156a9d9633529d0ae06599f64de93de
Already downloaded: /home/hiroga/.cache/Homebrew/downloads/f6003a46bac83155cffeccb08cf50a80be2aff899458c4f85eeabed25ce4b76b--libtool--2.5.3.x86_64_linux.bottle.tar.gz
==> Fetching libprelude
Warning: Building libprelude from source as the bottle needs:
- HOMEBREW_CELLAR: /home/linuxbrew/.linuxbrew/Cellar (yours is /usr/local/Cellar)
- HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew (yours is /usr/local)
==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/29e2d410e2c461979f44560f990991364556051e/Formul
Already downloaded: /home/hiroga/.cache/Homebrew/downloads/78651afd19216dd1c09a32429ea48200fec4cf0993c959b43786bbf073d09d8a--libprelude.rb
==> Downloading https://sources.debian.org/data/main/libp/libprelude/5.2.0-5/debian/patches/025-Fix-PyIOBase_Type.patch
################################################################################################################# 100.0%
==> Downloading https://www.prelude-siem.org/attachments/download/1395/libprelude-5.2.0.tar.gz
curl: (6) Could not resolve host: www.prelude-siem.org
Warning: Problem : timeout. Will retry in 1 seconds. 3 retries left.
curl: (6) Could not resolve host: www.prelude-siem.org
Warning: Problem : timeout. Will retry in 2 seconds. 2 retries left.
curl: (6) Could not resolve host: www.prelude-siem.org
Warning: Problem : timeout. Will retry in 4 seconds. 1 retries left.
curl: (6) Could not resolve host: www.prelude-siem.org

Error: libprelude: Failed to download resource "libprelude"
Download failed: https://www.prelude-siem.org/attachments/download/1395/libprelude-5.2.0.tar.gz

What did you expect to happen?

I expected Homebrew to successfully download libprelude and complete the installation of openssh.

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

  1. Install libprelude without bottle.
  2. The download fails because the URL is inaccessible.
@xhiroga xhiroga added the bug Reproducible Homebrew/homebrew-core bug label Oct 15, 2024
@xhiroga xhiroga changed the title libprelude download failure: Required for linux-pam, which is a dependency of OpenSSH libprelude build failure: Required for linux-pam, which is a dependency of OpenSSH Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Reproducible Homebrew/homebrew-core bug
Projects
None yet
Development

No branches or pull requests

1 participant