[ruby-core:70975] [Ruby trunk - Bug #11565] [Open] Error: recipe for target 'ruby-runner' failed

From: duerst@...
Date: 2015-10-04 05:39:53 UTC
List: ruby-core #70975
Issue #11565 has been reported by Martin D端rst.

----------------------------------------
Bug #11565: Error: recipe for target 'ruby-runner' failed
https://bugs.ruby-lang.org/issues/11565

* Author: Martin D端rst
* Status: Open
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* ruby -v: ruby 2.3.0dev (2015-10-02 trunk 52005) [x86_64-cygwin]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
When executing "make up; make install-nodoc" as I do almost everyday, I got the following error:

make[1]: Leaving directory '/cygdrive/c/Data/ruby-public'
gcc -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=implicit-function-declaration -Werror=deprecated-declarations -Wno-packed-bitfield-compat     -I. -I.ext/include/x86_64-cygwin -I./include -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=implicit-function-declaration -Werror=deprecated-declarations -Wno-packed-bitfield-compat   -L. -fstack-protector  ruby-runner.c Makefile GNUmakefile   -o ruby-runner
/usr/lib/gcc/x86_64-pc-cygwin/4.9.3/../../../../x86_64-pc-cygwin/bin/ld:Makefile: file format not recognized; treating as linker script
/usr/lib/gcc/x86_64-pc-cygwin/4.9.3/../../../../x86_64-pc-cygwin/bin/ld:Makefile:2: syntax error
collect2: error: ld returned 1 exit status
<builtin>: recipe for target 'ruby-runner' failed
make: *** [ruby-runner] Error 1

I suspect this is related to r52010 (template/ruby-runner.c.in: POSIX for setenv).

This happens on cygwin.



-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next