From: "jonforums (Jon Forums)" Date: 2013-01-21T02:01:58+09:00 Subject: [ruby-core:51537] [ruby-trunk - Bug #7710] [mingw] r38839 breaks build Issue #7710 has been updated by jonforums (Jon Forums). Thank you nobu-san. Win7 32bit =========== build: PASS make test: PASS make test-all: 2 FAILS, #7276 and `TestProcess#test_too_long_path2` (new issue) mentioned above Arch 3.6.11 32bit ================= build, make test, make test-all: PASS Ubuntu Server 12.10 64bit ========================= build, make test, make test-all: PASS I will create a new issue for `TestProcess#test_too_long_path2` later today. Odd that it's not also failing at ci.rubyinstaller.org re: potentially using msys-native ruby as BASERUBY rather than build miniruby, this will not work well with the existing rubyinstaller build recipes because the msys environment is not usually persistent. Meaning, msys+mingw are typically extracted into a temp sandbox dir and only used for the build. The sandbox dir is usually deleted after each build. For example, when I build on Win7 32bit I create a 800MiB ramdisk (via imdisk) holding the temp sandbox build dir. ---------------------------------------- Bug #7710: [mingw] r38839 breaks build https://bugs.ruby-lang.org/issues/7710#change-35506 Author: jonforums (Jon Forums) Status: Closed Priority: High Assignee: nobu (Nobuyoshi Nakada) Category: build Target version: 2.0.0 ruby -v: ruby 2.0.0dev (2013-01-14 trunk 38808) [i386-mingw32] On my Win7 32bit system using mingw-w64 gcc 4.7.2 and the RubyInstaller build recipes I get the following failure make[2]: Entering directory `/c/projects/rubyinstaller-git/sandbox/ruby19_build/ext/ripper' extracting ripper.y from ../../../../../../Users/Jon/Documents/RubyDev/ruby-git/parse.y id.h not found in ["..\\..\\..\\..\\..\\..\\Users\\Jon\\Documents\\RubyDev\\ruby-git\\ext\\ripper;..\\..;..\\..\\.ext\\include\\i386-mingw32\\ruby;..\\..\\..\\..\\..\\..\\Users\\Jon\\Documents\\RubyDev\\ruby-git\\include\\ruby;..\\..;..\\..\\..\\..\\..\\..\\Users\\Jon\\Documents\\RubyDev\\ruby-git"] make[2]: *** [ripper.y] Error 1 make[2]: Leaving directory `/c/projects/rubyinstaller-git/sandbox/ruby19_build/ext/ripper' make[1]: *** [ext/ripper/all] Error 2 make[1]: Leaving directory `/c/projects/rubyinstaller-git/sandbox/ruby19_build' make: *** [build-ext] Error 2 due to `id.h` not being found. The same failure is occurring on the RubyInstaller CI: http://ci.rubyinstaller.org/job/ruby-trunk-x86-build/820/console While placing `id.h` in `ext/ripper` enabled a successful rebuild, havoc reigned during `make test-all`. Reverting r38839 fixed the issue. FWIW, in both the passing and failing cases my `rbconfig.rb` contains CONFIG["PATH_SEPARATOR"] = ":" I won't have time to play with `configure.in` to see if changing the separator to ";" on mingw will also fix the issue, but I'm sceptical given the test-all failures. As previous *nix and win7 builds were fine, why was this change needed? -- http://bugs.ruby-lang.org/