https://bugs.kde.org/show_bug.cgi?id=414029

            Bug ID: 414029
           Summary: Building KDE Connect on Mac fails
           Product: kdeconnect
           Version: unspecified
          Platform: Other
                OS: macOS
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: common
          Assignee: albertv...@gmail.com
          Reporter: viktor.n...@gmail.com
  Target Milestone: ---

SUMMARY

I've been following https://community.kde.org/KDEConnect/Build_MacOS, but the
build step `craft extragear/kdeconnect-kde` fails.

STEPS TO REPRODUCE
1. following the steps in the linked wiki
2. run `craft extragear/kdeconnect-kde`

OBSERVED RESULT


```
-- The following REQUIRED packages have not been found:

 * KF5 (required version >= 5.42.0)

CMake Error at
/Users/nagyviktor/CraftRoot/dev-utils/cmake/CMake.app/Contents/share/cmake-3.13/Modules/FeatureSummary.cmake:459
(message):
  feature_summary() Error: REQUIRED package(s) are missing, aborting CMake
  run.
Call Stack (most recent call first):
  CMakeLists.txt:71 (feature_summary)


-- Configuring incomplete, errors occurred!
See also
"/Users/nagyviktor/CraftRoot/build/extragear/kdeconnect-kde/work/RelWithDebInfo-1.3.5/CMakeFiles/CMakeOutput.log".
See also
"/Users/nagyviktor/CraftRoot/build/extragear/kdeconnect-kde/work/RelWithDebInfo-1.3.5/CMakeFiles/CMakeError.log".
executing command: "/Users/nagyviktor/CraftRoot/dev-utils/bin/ninja" 
ninja: error: loading 'build.ninja': No such file or directory
Action: compile for extragear/kdeconnect-kde:1.3.5 FAILED
*** Craft all failed: extragear/kdeconnect-kde after 4 seconds ***
fatal error: package extragear/kdeconnect-kde all failed

```



EXPECTED RESULT

as written in the wiki above

SOFTWARE/OS VERSIONS
macOS: macOS Cataline, 10.15.1


ADDITIONAL INFORMATION

CMakeError.log:
```
~/CraftRoot/build/extragear/kdeconnect-kde/work/RelWithDebInfo-1.3.5/CMakeFiles/CMakeError.log
 
Determining if the __GLIBC__ exist failed with the following output:
Change Dir:
/Users/nagyviktor/CraftRoot/build/extragear/kdeconnect-kde/work/RelWithDebInfo-1.3.5/CMakeFiles/CMakeTmp

Run Build Command:"/Users/nagyviktor/CraftRoot/dev-utils/bin/ninja"
"cmTC_816e5"
[1/2] Building C object CMakeFiles/cmTC_816e5.dir/CheckSymbolExists.c.o
FAILED: CMakeFiles/cmTC_816e5.dir/CheckSymbolExists.c.o 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
  -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk
-o CMakeFiles/cmTC_816e5.dir/CheckSymbolExists.c.o   -c CheckSymbolExists.c
CheckSymbolExists.c:8:19: error: use of undeclared identifier '__GLIBC__'
  return ((int*)(&__GLIBC__))[argc];
                  ^
1 error generated.
ninja: build stopped: subcommand failed.

File
/Users/nagyviktor/CraftRoot/build/extragear/kdeconnect-kde/work/RelWithDebInfo-1.3.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <stdlib.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef __GLIBC__
  return ((int*)(&__GLIBC__))[argc];
#else
  (void)argc;
  return 0;
#endif
}
```

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to