You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installing pygit2 version 1.0.0 fails on building the wheel with the following error on Mac OS X 10.14 Mojave with Python 3.7:
build/temp.macosx-10.14-x86_64-3.7/src/odb.o
build/temp.macosx-10.14-x86_64-3.7/src/odb_backend.o
ld: 1 duplicate symbol for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'clang' failed with exit status 1
The build fails with a near-identical error on Catalina as well--just different OS X version numbers in the path.
This error occurs when installing through pip3 install pygit2==1.0.0 or through python3 setup.py install run from a fresh copy of master cloned from the git repo.
pip3 install pygit2==0.28.2 still compiles, installs, and works as expected. libgit2 0.28.3 is installed (from Homebrew) on all of the machines I've been able to test with.
The full output of the setup.py run from Mac OS X 10.15 Catalina running Python 3.7:
+1, having exactly the same problem.
What appears is that either odb.c or odb_backend.c should declare type variable with different name or either of those modules should make it static. Root is the pygit2.c that references this extern variable.
Output of the git grep OdbBackendType
I can confirm that I was able to successfully build the library on Mac OS 10.15.1 in a python 3.7.5 virtual environment. Libgit2-0.28.3 was installed via brew.
Installing pygit2 version 1.0.0 fails on building the wheel with the following error on Mac OS X 10.14 Mojave with Python 3.7:
The build fails with a near-identical error on Catalina as well--just different OS X version numbers in the path.
This error occurs when installing through
pip3 install pygit2==1.0.0
or throughpython3 setup.py install
run from a fresh copy ofmaster
cloned from the git repo.pip3 install pygit2==0.28.2
still compiles, installs, and works as expected.libgit2 0.28.3
is installed (from Homebrew) on all of the machines I've been able to test with.The full output of the setup.py run from Mac OS X 10.15 Catalina running Python 3.7:
The text was updated successfully, but these errors were encountered: