Skip to content

[libmicrohttpd] Port doesn't declare its dependencies #17636

@dg0yt

Description

@dg0yt

The configuration of libmicrohttpd tests for dependencies, but the port doesn't declare any dependencies.

  • curl
  • gettext
  • libgnutls

On macOS, it could pick up files provided either from brew or from a port if it is installed. The mixing of brew and overridden prefix creates volatile configurations.

Output from configure for macOS in CI:

configure: GNU libmicrohttpd 0.9.63 Configuration Summary:
  Target directory:  /Users/vagrant/Data/installed/x64-osx
  Cross-compiling:   no
  Operating System:  darwin20.3.0
  Shutdown of listening socket trigger select: no
  Inter-thread comm: pipe
  poll support:      yes
  epoll support:     no
  sendfile used:     yes, Darwin-style
  HTTPS support:     yes (using libgnutls)
  Threading lib:     posix
  Use thread names:  yes
  Use debug asserts: no
  Messages:          yes
  Gettext:           yes
  Basic auth.:       yes
  Digest auth.:      yes
  HTTP "Upgrade":    yes
  Postproc:          yes
  Build docs:        yes
  Build examples:    yes
  Test with libcurl: no, many unit tests will not run

(From the failed osx build in #17205. Even libcurl is found in some other contexts.)

Originally posted by @dg0yt in #17205 (comment)

Metadata

Metadata

Assignees

Labels

category:port-bugThe issue is with a library, which is something the port should already support

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions