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

darwin: package(s) fail trying to move to /share/man/man #10691

Closed
mikesperber opened this issue Oct 29, 2015 · 6 comments
Closed

darwin: package(s) fail trying to move to /share/man/man #10691

mikesperber opened this issue Oct 29, 2015 · 6 comments
Labels
6.topic: darwin Running or building packages on Darwin

Comments

@mikesperber
Copy link
Contributor

When Nix tries to compile a package from source, most builds fail ending in this:

moving /nix/store/gqqv3rcsk0sgbxpcw451d4giav31wqc4-MacOS_SDK-10.9/share/man to /share/man
mv: cannot move '/nix/store/gqqv3rcsk0sgbxpcw451d4giav31wqc4-MacOS_SDK-10.9/share/man' to '/share/man/man': Directory not empty

This is on Mac OS X, both with a fresh regular install, and when trying to update to a git pull.

I can create and write-enable /share/man, and things will work for one package, but then fail with the next because /share/man/man will exist already.

@vcunat vcunat added the 6.topic: darwin Running or building packages on Darwin label Oct 29, 2015
@vcunat vcunat changed the title Package compiles from source fail trying to move to /share/man/man darwin: package(s) fail trying to move to /share/man/man Oct 29, 2015
@mikesperber
Copy link
Contributor Author

Following the instructions on #10663, after I updated Nix itself from Git head (while continuing to delete /share/man), the problem was gone.

@henrytill
Copy link
Member

Sorry if my post on the other thread was confusing, but I think we should keep this issue open in case others run into it. I'm curious to find out if it's a reproducible problem.

@mikesperber
Copy link
Contributor Author

It was reproducible, but it's (reproducibly) gone after upgrading Nix itself. So I'd think it's fixed, no?

@henrytill
Copy link
Member

Oh, so you don't have to manually delete /share/man anymore?

@mikesperber
Copy link
Contributor Author

Exactly.

@henrytill
Copy link
Member

Ah, the "continuing" threw me. Glad to hear it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: darwin Running or building packages on Darwin
Projects
None yet
Development

No branches or pull requests

3 participants