Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: JRuby 1.6.7
    • Fix Version/s: JRuby 1.7.0.pre1
    • Component/s: C Extensions
    • Labels:
      None
    • Environment:
      Fedora Rawhide
    • Number of attachments :
      0

      Description

      Test suite fails with error when installing jruby-launcher:

      /builddir/build/BUILD/jruby-1.6.7.2/bin/jruby extconf.rb
      
      make
      make -f inc/Makefile-rules.mk CONF=unix SUBPROJECTS= .build-conf
      make[1]: Entering directory `/builddir/build/BUILD/jruby-1.6.7.2/lib/ruby/gems/1.8/gems/jruby-launcher-1.0.8-java'
      make -f inc/Makefile-rules.mk jruby
      make[2]: Entering directory `/builddir/build/BUILD/jruby-1.6.7.2/lib/ruby/gems/1.8/gems/jruby-launcher-1.0.8-java'
      mkdir -p build/unix/Linux
      rm -f build/unix/Linux/argparser.o.d
      g++ -O2 -Wall    -c argparser.cpp -MMD -MP -MF build/unix/Linux/argparser.o.d -o build/unix/Linux/argparser.o
      argparser.cpp: In member function 'bool ArgParser::initPlatformDir()':
      argparser.cpp:126:50: error: 'readlink' was not declared in this scope
      argparser.cpp:162:53: error: 'getcwd' was not declared in this scope
      make[2]: *** [build/unix/Linux/argparser.o] Error 1
      make[2]: Leaving directory `/builddir/build/BUILD/jruby-1.6.7.2/lib/ruby/gems/1.8/gems/jruby-launcher-1.0.8-java'
      make[1]: *** [.build-conf] Error 2
      make[1]: Leaving directory `/builddir/build/BUILD/jruby-1.6.7.2/lib/ruby/gems/1.8/gems/jruby-launcher-1.0.8-java'
      make: *** [.build-impl] Error 2
      

      Although it seem it was fixed in jruby-launcher [1], it is still issues for JRuby's test suite. Any help is appreciated.

      [1] https://github.com/jruby/jruby-launcher/commit/0be6bec6844b0d8cfb48d02508295f9692fd4339

        Activity

        Hide
        Charles Oliver Nutter added a comment -

        So the deal here is that we ship a jruby-launcher gem as part of our source, and the 1.6.7.2 source has an older version with these compile issues on some platforms. JRuby 1.7 (master) is current with the latest jruby-launcher. Is there anything left to fix here?

        The sources can be patched to use latest jruby-launcher by replacing the gem in build_lib and updating the filename for it in default.build.properties.

        Show
        Charles Oliver Nutter added a comment - So the deal here is that we ship a jruby-launcher gem as part of our source, and the 1.6.7.2 source has an older version with these compile issues on some platforms. JRuby 1.7 (master) is current with the latest jruby-launcher. Is there anything left to fix here? The sources can be patched to use latest jruby-launcher by replacing the gem in build_lib and updating the filename for it in default.build.properties.

          People

          • Assignee:
            Charles Oliver Nutter
            Reporter:
            Vit Ondruch
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: