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

Hang when building libmagic on MacOS 12.3 #3126

Open
lums658 opened this issue May 2, 2022 · 0 comments
Open

Hang when building libmagic on MacOS 12.3 #3126

lums658 opened this issue May 2, 2022 · 0 comments

Comments

@lums658
Copy link
Contributor

lums658 commented May 2, 2022

I have run into some weird MacOS issue that is triggered by the build of libmagic. If I reboot my machine it builds fine. But, if I do the following, it will hang:

  • Reboot machine
  • Do clean build on M1 on local hard drive — this will build just fine. Repeatedly.
  • Do a clean build on M1 on SMB mounted hard drive from my NAS — this will hang. Reproducibly.
  • Then — and this is the weird part — if I go back to local hard drive and do a clean build — it will hang in the same place
  • Repeat

Spooky action at a distance—the hang on the SMB share causes there to be a hang in the same place on the local drive.

A "clean build" in this case is:

cd build
/bin/rm -rf *
cmake .. -DTILEDB_WERROR=OFF -DTILEDB_VERBOSE=ON -DCMAKE_BUILD_TYPE=DebWithRelInfo
make

Needless to say, this makes no sense. I do notice that “syspolicyd” and “fileproviderd” are pegged near 100% CPU, so maybe there is some weird security thing that gets tripped. I have run into other strange issues with MacOS and file accesses.

Moral of the story: Don’t do that then. But it’s still weird.


SC-17410

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant