Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6623124

brltty "/usr/java/include/jni.h", line 27: cannot find include file: "jni_md.h"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P5 P5
    • None
    • solaris_11
    • infrastructure
    • x86
    • solaris_nevada

      Category
         Java Desktop System
      Sub-Category
         Gnome
      Description
         pkgbuild: make[2]: Entering directory `/h/goanna/2/os_5.10/cbe/BUILD/SUNWbrltty-3.8/brltty-3.8/Bindings/Java'
      pkgbuild: /opt/SunStudio11/SUNWspro/bin/cc -i -xO4 -xspace -xstrconst -xpentium -mr -xregs=no%frameptr -I/usr/include -I. -I./../../ -I. -I../.. -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ -DHAVE_CONFIG_H -I/usr/java/include -o bindings.o -c ./bindings.c
      pkgbuild: "/usr/java/include/jni.h", line 27: cannot find include file: "jni_md.h"
      Frequency
         Always
      Regression
         No
      Steps to Reproduce
         Build JDS on Solaris 10u4.
      Expected Result
         This package should compile OK.
      Actual Result
         Fails with trivial compiler error in description.
      Error Message(s)
         See description.
      Test Case
         JDS.
      Workaround
         Proposed fix:
      Index: spec-files/base-specs/brltty.spec
      ===================================================================
      --- spec-files/base-specs/brltty.spec(revision 12330)
      +++ spec-files/base-specs/brltty.spec(working copy)
      @@ -33,7 +33,12 @@
       %patch1 -p1
       
       %build
      -CFLAGS="$RPM_OPT_FLAGS" \
      +CFLAGS="$RPM_OPT_FLAGS"
      +CPP="cc -E -Xs"
      +CXXCPP="CC -E -Xs"
      +%if %is_s10
      +CFLAGS="$CFLAGS -I/usr/java/include/solaris"
      +%endif
       ./configure --prefix=%{_prefix} \
                       --sysconfdir=%{_sysconfdir} \
                       --disable-tcl-bindings \
      Submitter wants to work on bug
         Yes
      Additional configuration information
         Solaris 10u4
      Sun Studio 11

            ohair Kelly Ohair (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: