[libkgapi] [Bug 455383] New: Build fails on macOS
Max Leiter
bugzilla_noreply at kde.org
Thu Jun 16 08:41:36 BST 2022
https://bugs.kde.org/show_bug.cgi?id=455383
Bug ID: 455383
Summary: Build fails on macOS
Product: libkgapi
Version: GIT
Platform: Homebrew (macOS)
OS: macOS
Status: REPORTED
Severity: normal
Priority: NOR
Component: General
Assignee: dvratil at kde.org
Reporter: maxwell.leiter at gmail.com
Target Milestone: ---
Created attachment 149774
--> https://bugs.kde.org/attachment.cgi?id=149774&action=edit
Patch of changes to src/saslplugin/plugin_common.{c,h}
SUMMARY
I'm trying to compile libkgapi for macOS (as it's a downstream dependency of
kmailtransport) and have encountered an issue. Some of the imports in
`saslplugin/plugin_common.c` and the header are wrapped in a `#ifndef
macintosh`. The following are needed for utsname/sockaddr/etc and allow the
package to compile.
```
#include <sys/socket.h>
#include <netdb.h>
#include <sys/utsname.h>
```
I've attempted to provide a patch and can confirm it compiles on macOS but not
other operating systems.
I'm MaxLeiter in #kde and #kde-mac if anyone wants to reach out that way.
STEPS TO REPRODUCE
1.
2.
3.
OBSERVED RESULT
EXPECTED RESULT
SOFTWARE/OS VERSIONS
Windows:
macOS:
Linux/KDE Plasma:
(available in About System)
KDE Plasma Version:
KDE Frameworks Version:
Qt Version:
ADDITIONAL INFORMATION
--
You are receiving this mail because:
You are watching all bug changes.
More information about the kde-mac
mailing list