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

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

Closed
dg0yt opened this issue May 3, 2021 · 1 comment · Fixed by #17653
Closed

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

dg0yt opened this issue May 3, 2021 · 1 comment · Fixed by #17653
Assignees
Labels
category:port-bug The issue is with a library, which is something the port should already support

Comments

@dg0yt
Copy link
Contributor

dg0yt commented May 3, 2021

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)

@dg0yt
Copy link
Contributor Author

dg0yt commented May 3, 2021

  • libcurl is used only for tests.
    Building tests (as well as docs, examples) shall be enabled by a separate feature.
  • libgnutls is mandatory for https support, but https support is optional.
    • It is not used by the windows build system.
    • It is not found in an Azure Pipelines Ubuntu image.
    • It is found and used in an Azure Pipelines macOS image.
  • gettext for translation is optional.
    • It is not used by the windows build system.
    • It is found and used in an Azure Pipelines Ubuntu image.
    • It is found and used in an Azure Pipelines macOS image.

@dg0yt dg0yt changed the title Port libmicrohttpd doesn't declare its dependencies [libmicrohttpd] Port doesn't declare its dependencies May 4, 2021
@NancyLi1013 NancyLi1013 added the category:port-bug The issue is with a library, which is something the port should already support label May 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants