Skip to content

Instantly share code, notes, and snippets.

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>
File "./gyp_uv", line 22, in run_gyp
rc = gyp.main(args)
File "./build/gyp/pylib/gyp/", line 471, in main
File "./build/gyp/pylib/gyp/", line 111, in Load
depth, generator_input_info, check, circular_check)
File "./build/gyp/pylib/gyp/", line 2477, in Load
ValidateSourcesInTarget(target, target_dict, build_file)
File "./build/gyp/pylib/gyp/", 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.