cern-fts / homebrew-dmc Goto Github PK
View Code? Open in Web Editor NEWDMC Homebrew repo
DMC Homebrew repo
Hello again,
due to this question is not related to my pervious one, I create a new issue.
I need to use gfal2 to run Rucio command (download/upload),
but after running to this line leads to Segmentation fault: 11.
> /opt/rucio/lib/rucio/rse/protocols/gfal.py(369)__gfal2_copy()
-> ret = ctx.filecopy(params, str(src), str(dest))
(Pdb)
Segmentation fault: 11
So I try to initial a virtualenv (follow README of this project),
and run gfal-copy command also get error: Segmentation fault: 11.
(.venv) Mandyde-MacBook-Pro:rucio root# gfal-copy README.rst xroot://<our_storage>//eos/tmp/README.rst
180309 17:23:21 9735 secgsi_InitProxy: cannot access private key file: /var/root/.globus/userkey.pem
Segmentation fault: 11
My MacBook OS version: 10.12.6
Python version: 2.7.10
Hi,
davix upgrade fails from 0.6.9 to 0.7.2 on my mac:
10:56 $ brew upgrade davix
==> Upgrading 1 outdated package:
cern-fts/dmc/davix 0.6.9-1 -> 0.7.2-1
==> Upgrading cern-fts/dmc/davix
==> Cloning https://github.com/cern-fts/davix.git
Updating /Users/cecco/Library/Caches/Homebrew/davix--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at c8063b7 RELEASE: 0.7.3
Entering 'deps/googletest'
/Users/cecco/Library/Caches/Homebrew/davix--git/deps/googletest
==> cmake -DENABLE_THIRD_PARTY_COPY=ON . -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/davix/0.7.2-1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIND_FRAM
Last 15 lines from /Users/cecco/Library/Logs/Homebrew/davix/01.cmake:
-- Found gsoap: /usr/local/lib/libgsoap.a
-- Using gsoapssl flags -DWITH_OPENSSL;-DWITH_GZIP;-DWITH_DOM;-I/usr/local/Cellar/gsoap/2.8.89/include
CMake Error at src/modules/copy/CMakeLists.txt:64 (SET_TARGET_PROPERTIES):
SET_TARGET_PROPERTIES called with incorrect number of arguments.
-- generate pkgconfig file for davix_copy under /tmp/davix-20190827-8981-19n4jwo/src/modules/copy/davix_copy.pc
CMake Error at src/CMakeLists.txt:40 (set_target_properties):
set_target_properties called with incorrect number of arguments.
-- generate pkgconfig file for libdavix under /tmp/davix-20190827-8981-19n4jwo/src/davix.pc
-- Configuring incomplete, errors occurred!
See also "/tmp/davix-20190827-8981-19n4jwo/CMakeFiles/CMakeOutput.log".
See also "/tmp/davix-20190827-8981-19n4jwo/CMakeFiles/CMakeError.log".
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/cern-fts/homebrew-dmc/issues
davix fails to build under Mac OS el capitan. Build hangs after:
-- Checking for module 'gsoapssl++'
-- Found gsoapssl++, version 2.8
-- - wsdlh : /usr/local/bin/wsdl2h
-- - SOAPCPP2 : /usr/local/bin/soapcpp2
log output can be find in log.txt
Hello,
I tried to install gfal2-python, but it failed when make install:
==> make install
Last 15 lines from /Users/xxx/Library/Logs/Homebrew/gfal2-python/02.make:
[ 87%] Building CXX object src/CMakeFiles/gfal-py.dir/GfaltParams.cpp.o
cd /tmp/gfal2-python-20180306-42457-1tx8vuw/src && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DGFAL2_PYTHON_VERSION=\"1.9.3\" -D_FILE_OFFSET_BITS=64 -Dgfal_py_EXPORTS -I/usr/local/include -I/usr/local/Cellar/pcre/8.41/include -I/usr/local/Cellar/glib/2.54.3/include/glib-2.0 -I/usr/local/Cellar/glib/2.54.3/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/gfal2/2.15.0/include/gfal2 -I/usr/local/Cellar/python/3.6.4_3/Frameworks/Python.framework/Versions/3.6/include/python3.6m -O2 -fPIC -o CMakeFiles/gfal-py.dir/gfal2.cpp.o -c /tmp/gfal2-python-20180306-42457-1tx8vuw/src/gfal2.cpp
cd /tmp/gfal2-python-20180306-42457-1tx8vuw/src && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DGFAL2_PYTHON_VERSION=\"1.9.3\" -D_FILE_OFFSET_BITS=64 -Dgfal_py_EXPORTS -I/usr/local/include -I/usr/local/Cellar/pcre/8.41/include -I/usr/local/Cellar/glib/2.54.3/include/glib-2.0 -I/usr/local/Cellar/glib/2.54.3/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/gfal2/2.15.0/include/gfal2 -I/usr/local/Cellar/python/3.6.4_3/Frameworks/Python.framework/Versions/3.6/include/python3.6m -O2 -fPIC -o CMakeFiles/gfal-py.dir/LoggingHelper.cpp.o -c /tmp/gfal2-python-20180306-42457-1tx8vuw/src/LoggingHelper.cpp
cd /tmp/gfal2-python-20180306-42457-1tx8vuw/src && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DGFAL2_PYTHON_VERSION=\"1.9.3\" -D_FILE_OFFSET_BITS=64 -Dgfal_py_EXPORTS -I/usr/local/include -I/usr/local/Cellar/pcre/8.41/include -I/usr/local/Cellar/glib/2.54.3/include/glib-2.0 -I/usr/local/Cellar/glib/2.54.3/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/gfal2/2.15.0/include/gfal2 -I/usr/local/Cellar/python/3.6.4_3/Frameworks/Python.framework/Versions/3.6/include/python3.6m -O2 -fPIC -o CMakeFiles/gfal-py.dir/GfaltParams.cpp.o -c /tmp/gfal2-python-20180306-42457-1tx8vuw/src/GfaltParams.cpp
[100%] Linking CXX shared module python2/gfal2.so
cd /tmp/gfal2-python-20180306-42457-1tx8vuw/src && /usr/local/Cellar/cmake/3.10.2/bin/cmake -E cmake_link_script CMakeFiles/gfal-py.dir/link.txt --verbose=1
/usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -O2 -bundle -Wl,-headerpad_max_install_names -o python2/gfal2.so CMakeFiles/gfal-py.dir/Directory.cpp.o CMakeFiles/gfal-py.dir/File.cpp.o CMakeFiles/gfal-py.dir/GErrorWrapper.cpp.o CMakeFiles/gfal-py.dir/Gfal2Context.cpp.o CMakeFiles/gfal-py.dir/GfaltParams.cpp.o CMakeFiles/gfal-py.dir/LoggingHelper.cpp.o CMakeFiles/gfal-py.dir/gfal2.cpp.o -L/usr/local/Cellar/gfal2-python/1.9.3/opt/gettext/lib -L/usr/local/Cellar/glib/2.54.3/lib -L/usr/local/Cellar/gfal2/2.15.0/lib -Wl,-rpath,/usr/local/Cellar/gfal2-python/1.9.3/opt/gettext/lib -Wl,-rpath,/usr/local/Cellar/glib/2.54.3/lib -Wl,-rpath,/usr/local/Cellar/gfal2/2.15.0/lib /usr/local/lib/libboost_python-mt.dylib -lglib-2.0 -lintl -lgthread-2.0 -lglib-2.0 -lintl -lgfal2 -lglib-2.0 -lintl -lgfal_transfer -lgfal2 -lglib-2.0 -lintl /usr/local/Cellar/python/3.6.4_3/Frameworks/Python.framework/Versions/3.6/lib/libpython3.6.dylib -lgthread-2.0 -lgfal_transfer /usr/local/Cellar/python/3.6.4_3/Frameworks/Python.framework/Versions/3.6/lib/libpython3.6.dylib
Undefined symbols for architecture x86_64:
"boost::python::detail::init_module(PyModuleDef&, void (*)())", referenced from:
_PyInit_gfal2 in gfal2.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [src/python2/gfal2.so] Error 1
make[1]: *** [src/CMakeFiles/gfal-py.dir/all] Error 2
make: *** [all] Error 2
It seems will install python3 first due to gfal2-python.rb#L11, and use python3 to make install
(I am not sure it relate to this problem...)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.