Opened 5 years ago
Closed 5 years ago
#59966 closed defect (fixed)
dar @2.6.7: opportunistically uses python, xz, other stuff
Reported by: | Schamschula (Marius Schamschula) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | dar |
Description
While building dar @2.6.7 on Mojave with Xcode 10.3, I get the following error:
:info:build Making all in python :info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_dar/dar/work/dar-2.6.7/src/python' :info:build /usr/bin/clang++ -c -fPIC -DLIBDAR_MODE=64 -I../libdar -DDAR_LOCALEDIR=\"/opt/local/share/locale\" -DDAR_SYS_DIR=\"\" -std=c++11 -I/opt/local/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_dar/dar/work/.home/Library/Python/3.7/include/python3.7m pybind11_libdar.cpp -o pybind11_libdar.o :info:build /usr/bin/clang++ -shared -L/opt/local/lib -lcurl -std=c++11 ../libdar/.libs/libdar64.so pybind11_libdar.o -o libdar.cpython-37m-darwin.so :info:build clang: error: no such file or directory: '../libdar/.libs/libdar64.so' :info:build make[3]: *** [libdar.cpython-37m-darwin.so] Error 1
Indeed, there is no such file, while libdar64.dylib and libdar64.a are present.
Note: I did not see the same error on another machine with Mojave and Xcode 11.3.
Attachments (1)
Change History (6)
Changed 5 years ago by Schamschula (Marius Schamschula)
Attachment: | dar-main.log added |
---|
comment:1 Changed 5 years ago by Schamschula (Marius Schamschula)
Port: | dar added |
---|
comment:2 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Status: | assigned → accepted |
---|---|
Summary: | dar build failure on Mojave → dar @2.6.7: opportunistically uses python, xz, other stuff |
comment:3 Changed 5 years ago by Schamschula (Marius Schamschula)
Indeed, trace mode yields a clean build.
comment:4 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
comment:5 Changed 5 years ago by Schamschula (Marius Schamschula)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note: See
TracTickets for help on using
tickets.
It built fine on all OS versions on the buildbot:
https://build.macports.org/builders/ports-10.14_x86_64-builder/builds/50461
Comparing its log with yours, I see it's opportunistically finding many things on your system, such as liblzma (from the xz port) and also python; the latter is what's causing it to try to build the python bindings, which apparently fail. I should figure out how to force the python bindings to be disabled. I should also add a dependency on xz and revbump. If you use trace mode, you should be able to bypass the problem for now.