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

Incorrect URL for [email protected] Formula #15860

Open
tekup99 opened this issue Dec 4, 2024 · 1 comment
Open

Incorrect URL for [email protected] Formula #15860

tekup99 opened this issue Dec 4, 2024 · 1 comment

Comments

@tekup99
Copy link

tekup99 commented Dec 4, 2024

Description:
The brew install dlr-ts/sumo/[email protected] command fails due to an incorrect download URL in the formula. The URL contains an encoded "@" (%40), which seems to be causing the issue.

Error:
Download failed: https://github.com/DLR-TS/homebrew-sumo/releases/download/sumo-1.12.0/sumo%401.12.0-1.12.0.big_sur.bottle.tar.gz

Correct URL:
https://github.com/DLR-TS/homebrew-sumo/releases/download/sumo-1.12.0/sumo-1.12.0.big_sur.bottle.tar.gz

SUMO-version: 1.12.0

operating system: MacOS

@RobertHilbrich
Copy link
Contributor

I cannot reproduce this behavior on my mac with macOS 15 and an updated homebrew:

~ brew tap dlr-ts/sumo
==> Tapping dlr-ts/sumo
Cloning into '/opt/homebrew/Library/Taps/dlr-ts/homebrew-sumo'...
remote: Enumerating objects: 1149, done.
remote: Counting objects: 100% (138/138), done.
remote: Compressing objects: 100% (53/53), done.
remote: Total 1149 (delta 101), reused 97 (delta 84), pack-reused 1011 (from 1)
Receiving objects: 100% (1149/1149), 152.54 KiB | 822.00 KiB/s, done.
Resolving deltas: 100% (714/714), done.
Tapped 1 cask and 24 formulae (45 files, 314KB).
~ brew install [email protected]
==> Downloading https://formulae.brew.sh/api/formula.jws.json
###################################################################################################################### 100.0%
==> Downloading https://formulae.brew.sh/api/cask.jws.json
###################################################################################################################### 100.0%
==> Fetching dlr-ts/sumo/[email protected]
==> Downloading https://sumo.dlr.de/releases/1.12.0/sumo-src-1.12.0.tar.gz
###################################################################################################################### 100.0%
==> Installing [email protected] from dlr-ts/sumo
...

At least the download works fine and I cannot see the @ in the url.

However, please note, that homebrew does not offer proper versioning for the SUMO dependencies. Therefore, it is not unlikely that you won't be able to build an older version of SUMO with the the most recent version of the libraries, that homebrew offers. For this reason, we will deprecate the SUMO homebrew formula and switch to a macOS installer (see #15213) instead. Of course, the option to compile from source still remains.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants