#1085 closed defect (fixed)

Configure script should check that grpc-java plugin exists at the given path

Reported by: mdumitru Owned by: gmerticariu
Priority: critical Milestone: 9.2
Component: rasnet Version: development
Keywords: Cc: gmerticariu
Complexity: Medium

Description

If i run

./configure --enable-rasnet --with-grpc-java-plugin=/tmp/nothere

the configure script says everything is ok. We should check if the plugin is actually there and report back.

Change History (4)

comment:1 Changed 21 months ago by mdumitru

  • Owner changed from mdumitru to gmerticariu
  • Status changed from new to assigned

comment:2 Changed 21 months ago by dmisev

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:3 Changed 20 months ago by dmisev

  • Milestone set to 9.2
  • Priority changed from minor to critical
  • Resolution fixed deleted
  • Status changed from closed to reopened

There is some issue with running ./configure on CentOS 6 (I can't generate RPMs) after this patch:

checking for boostlib >= 1.48... yes
./configure: line 13896: syntax error near unexpected token `else'
./configure: line 13896: `else'
error: Bad exit status from /var/tmp/rpm-tmp.x4I27p (%build)
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.x4I27p (%build)
Child return code was: 1
EXCEPTION: Command failed. See logs for output.
 # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps  /builddir/build/SPECS/rasdaman.spec 
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 84, in trace
    result = func(*args, **kw)
  File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 493, in do
    raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode)
Error: Command failed. See logs for output.
 # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps  /builddir/build/SPECS/rasdaman.spec 
LEAVE do --> EXCEPTION RAISED

comment:4 Changed 20 months ago by dmisev

  • Resolution set to fixed
  • Status changed from reopened to closed

I submitted a fix which is strangely:

-    AC_CHECK_FILE("${GRPCCPPPLUGIN}", [] ,[AC_MSG_ERROR([..])])
+    AC_CHECK_FILE("${GRPCCPPPLUGIN}", , [AC_MSG_ERROR([..])])
Note: See TracTickets for help on using tickets.