Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
bert@piscisaureus-mint ~/libuv $ ./gyp_uv
['/home/bert/libuv/uv.gyp', '-I', '/home/bert/libuv/common.gypi', '--depth=.', '--generator-output', '/home/bert/libuv/out', '-Goutput_dir=/home/bert/libuv/out', '-f', 'make', '-Dtarget_arch=ia32', '-Dcomponent=static_library', '-Dlibrary=static_library']
static library /home/bert/libuv/uv.gyp:uv#target has several files with the same basename:
core: src/unix/core.c src/unix/linux/core.c
Some build systems, e.g. MSVC08, cannot handle that.
Traceback (most recent call last):
File "./gyp_uv", line 64, in <module>
run_gyp(gyp_args)
File "./gyp_uv", line 22, in run_gyp
rc = gyp.main(args)
File "./build/gyp/pylib/gyp/__init__.py", line 471, in main
options.circular_check)
File "./build/gyp/pylib/gyp/__init__.py", line 111, in Load
depth, generator_input_info, check, circular_check)
File "./build/gyp/pylib/gyp/input.py", line 2477, in Load
ValidateSourcesInTarget(target, target_dict, build_file)
File "./build/gyp/pylib/gyp/input.py", line 2173, in ValidateSourcesInTarget
raise KeyError, 'Duplicate basenames in sources section, see list above'
KeyError: 'Duplicate basenames in sources section, see list above'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.