Skip to content

Instantly share code, notes, and snippets.

@kikairoya
Created June 20, 2014 10:13
Show Gist options
  • Save kikairoya/922f776094e65c51ab6c to your computer and use it in GitHub Desktop.
Save kikairoya/922f776094e65c51ab6c to your computer and use it in GitHub Desktop.
(cd /home/kikairoya/rpmbuild/BUILD/wandbox-rust-head-20140620/src/libuv/ && /usr/bin/python2.7 ./gyp_uv.py -f make -Dtarget_arch=x64 -D ninja -DOS=linux -Goutput_dir=/home/kikairoya/rpmbuild/BUILD/wandbox-rust-head-20140620/x86_64-unknown-linux-gnu/rt/libuv --generator-output /home/kikairoya/rpmbuild/BUILD/wandbox-rust-head-20140620/x86_64-unknown-linux-gnu/rt/libuv)
['-f', 'make', '-Dtarget_arch=x64', '-D', 'ninja', '-DOS=linux', '-Goutput_dir=/home/kikairoya/rpmbuild/BUILD/wandbox-rust-head-20140620/x86_64-unknown-linux-gnu/rt/libuv', '--generator-output', '/home/kikairoya/rpmbuild/BUILD/wandbox-rust-head-20140620/x86_64-unknown-linux-gnu/rt/libuv', '/home/kikairoya/rpmbuild/BUILD/wandbox-rust-head-20140620/src/libuv/uv.gyp', '-I', '/home/kikairoya/rpmbuild/BUILD/wandbox-rust-head-20140620/src/libuv/common.gypi', '--depth=.', '-Dgcc_version=48', '-Dclang=0', '-Dhost_arch=x64', '-Duv_library=static_library', '-Dcomponent=static_library']
Traceback (most recent call last):
File "./gyp_uv.py", line 102, in <module>
run_gyp(gyp_args)
File "./gyp_uv.py", line 42, in run_gyp
rc = gyp.main(args)
File "/home/kikairoya/rpmbuild/BUILD/wandbox-rust-head-20140620/src/gyp/pylib/gyp/__init__.py", line 527, in main
return gyp_main(args)
File "/home/kikairoya/rpmbuild/BUILD/wandbox-rust-head-20140620/src/gyp/pylib/gyp/__init__.py", line 503, in gyp_main
options.circular_check)
File "/home/kikairoya/rpmbuild/BUILD/wandbox-rust-head-20140620/src/gyp/pylib/gyp/__init__.py", line 129, in Load
params['parallel'], params['root_targets'])
File "/home/kikairoya/rpmbuild/BUILD/wandbox-rust-head-20140620/src/gyp/pylib/gyp/input.py", line 2687, in Load
generator_input_info)
File "/home/kikairoya/rpmbuild/BUILD/wandbox-rust-head-20140620/src/gyp/pylib/gyp/input.py", line 594, in LoadTargetBuildFilesParallel
parallel_state.pool = multiprocessing.Pool(8)
File "/usr/lib/python2.7/multiprocessing/__init__.py", line 232, in Pool
return Pool(processes, initializer, initargs, maxtasksperchild)
File "/usr/lib/python2.7/multiprocessing/pool.py", line 115, in __init__
self._setup_queues()
File "/usr/lib/python2.7/multiprocessing/pool.py", line 210, in _setup_queues
self._inqueue = SimpleQueue()
File "/usr/lib/python2.7/multiprocessing/queues.py", line 352, in __init__
self._rlock = Lock()
File "/usr/lib/python2.7/multiprocessing/synchronize.py", line 147, in __init__
SemLock.__init__(self, SEMAPHORE, 1, 1)
File "/usr/lib/python2.7/multiprocessing/synchronize.py", line 75, in __init__
sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue)
OSError: [Errno 13] Permission denied
make: *** [/home/kikairoya/rpmbuild/BUILD/wandbox-rust-head-20140620/x86_64-unknown-linux-gnu/rt/libuv/Makefile] Error 1
export PATH="/opt/wandbox/gcc-4.8.2/bin:$PATH"
export CC="/opt/wandbox/gcc-4.8.2/bin/gcc"
export CXX="/opt/wandbox/gcc-4.8.2/bin/g++"
export LDFLAGS="-Wl,-rpath,/opt/wandbox/gcc-4.8.2/lib64"
export RUSTFLAGS="-C linker=/opt/wandbox/gcc-4.8.2/bin/g++ -C link-args=-Wl,-rpath,/opt/wandbox/gcc-4.8.2/lib64"
./configure --prefix=/opt/wandbox/rust-head --disable-docs --disable-llvm-assertions --disable-debug --enable-llvm-static-stdcpp --sysconfdir=/opt/wandbox/rust-head/etc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment