darlinghq / darling

Darwin/macOS emulation layer for Linux
http://www.darlinghq.org
GNU General Public License v3.0
11.21k stars 426 forks source link

CMake no longer generates projects #1476

Closed aviumcaravan closed 4 months ago

aviumcaravan commented 5 months ago

Expected Result CMake either finishing making a Makefile/build.ninja file or throwing an error.

Actual Result CMake throws deprecation warnings (if necessary) and then straight up freezes. no log is generated.

Steps To Reproduce

  1. install CMake from source, pkgin or directly from CMake's dmg.
  2. try to generate any project with any build system.

System Information What system are you using?

Software Version
Distro Arch Linux on AMD64 (updated 14th Jan 2024)
Linux Kernel 6.6.10-arch1-1
Darling 5ee6a68f1
CuriousTommy commented 5 months ago

To make sure this isn't a CMake issue... If you build another CMake project, does it generate fine?

aviumcaravan commented 5 months ago

no, no projects are generated inside of Darling. this quite literally broke across a commit or two, same CMake binary.

CuriousTommy commented 5 months ago

no, no projects are generated inside of Darling

What about a non-Darling projects that use CMake?

this quite literally broke across a commit or two, same CMake binary.

So if you revert back to the older commit, CMake works fine? Can you identify the exact commit that works for you.

aviumcaravan commented 5 months ago

i think you misunderstood me. to clarify, what i mean is that CMake doesn't work inside of the container. the commit that worked is c28e63693

CuriousTommy commented 5 months ago

i think you misunderstood me. to clarify, what i mean is that CMake doesn't work inside of the container.

Oh! I see what you mean now.

CuriousTommy commented 5 months ago

Hey @Fancy2209, I'm thinking of reverting your 882fec31025fc56dc5ce0a1310bbeebc1453847e commit, since I think these stubs need to be implemented (and I won't have time to implement them). Just want to give you a heads up.

CuriousTommy commented 5 months ago

@aviumcaravan Can you test the revert_SemaphoreStubs branch. Let me know if it fixes your issue.

Fancy2209 commented 5 months ago

Hey @Fancy2209, I'm thinking of reverting your 882fec3 commit, since I think these stubs need to be implemented (and I won't have time to implement them). Just want to give you a heads up.

If it's needed I'm completely fine with that, thanks for letting me know

aviumcaravan commented 5 months ago

@aviumcaravan Can you test the revert_SemaphoreStubs branch. Let me know if it fixes your issue.

yeah, gimme a shortie

aviumcaravan commented 5 months ago

it doesn't build. welp.

aviumcaravan commented 4 months ago

fixed as of the latest commit. :3

closing the issue