Skip to content

Building dotnet portable #249982

@miroljub1995

Description

@miroljub1995

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

% brew gist-logs dotnet
Error: No logs.

% brew config
HOMEBREW_VERSION: 4.6.17
ORIGIN: https://github.com/Homebrew/brew
HEAD: aa278895809b4c079e560fb4fb9bf17e48cf65f1
Last commit: 4 days ago
Branch: stable
Core tap JSON: 14 Oct 08:54 UTC
Core cask tap JSON: 14 Oct 08:54 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_FORBID_PACKAGES_FROM_PATHS: set
HOMEBREW_MAKE_JOBS: 12
Homebrew Ruby: 3.4.5 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.4.5/bin/ruby
CPU: dodeca-core 64-bit arm_lobos
Clang: 17.0.0 build 1700
Git: 2.39.5 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 8.7.1 => /usr/bin/curl
macOS: 15.6.1-arm64
CLT: 16.4.0.0.1.1747106510
Xcode: N/A
Rosetta 2: false

% brew doctor
Your system is ready to brew.

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'm trying to build dotnet app in Native AOT and run into issue with linking of openssl and brotli. After comments from this issue, they concluded that it is an issue with how brew builds dotnet.

What happened (include all command output)?

Error:

ld: library not found for -lssl

What did you expect to happen?

Successful linking libs.

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

brew install dotnet
dotnet new console -o TestConsoleAOT --aot
dotnet publish TestConsoleAOT

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions