tensorflow / tensorflow/privacy

Mac OS X build fails due to presence of BUILD file which prevents ./build/ directory from being created

Open
#612 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2k
Forks
477
Avg merge
22h 12m
Merged PRs (30d)
1

Description

Using current master:

$ python setup.py bdist_wheel
running bdist_wheel
running build
running build_py
creating build/lib/tensorflow_privacy
error: could not create 'build/lib/tensorflow_privacy': Not a directory

OS X uses a case-insensitive filesystem, though it maintains the case when displaying names. The build process creates a ./build/ directory. This works on Linux since the filesystem is case-sensitive, but not on OS X. Locally renaming the file to BUILD.txt allows python setup.py bdist_wheel to succeed.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the repository's top-level BUILD file and the setup.py build entry point described in the report. Run python setup.py bdist_wheel on macOS to reproduce the directory conflict; done means the wheel build completes without the Not a directory error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.