← Back to team overview

zorba-coders team mailing list archive

[Bug 905392] Re: CMake: Too long cmake commands on Windows

 

I'm marking this as "Medium" priority, because (for now at least) there
is a clear workaround: Put your build directory at a shallower directory
level on Windows. We ran into another version of this problem a while
ago, and that was the suggested "solution". Probably we should at least
put a note regarding this into our build documentation, if there isn't
one already (I think there might be).

** Changed in: zorba
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/905392

Title:
  CMake: Too long cmake commands on Windows

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Because the build directory of my zorba configuration is kind of deep
  in file system tree, I am getting troubles because the zorba specific
  cmd commands that are executed by Zorba are getting too long. I am
  getting the problem when cmake executes the script function-enum.xq.
  The error print is appended to the message.

  The issue needs to be fixed by shorten the amount of parameters that
  are passed to the query. One possibility would be to generate the
  function-enum.xq inclusive all variables inlined.

  
  CMake Error (This error was generated with an old Zorba version <2.0. But I checked the code in the trunk. It is should be still the same)
  ==========
  NMAKE : fatal error U1095: expanded command line 'echo      && "C:\Program Files\CMake 2.8\bin\cmake.exe" -Dsource_dir="C:/Users/sausalito/Desktop/builds/sausal
  ito_coresdk/source/sandbox/runtime/zorba" -Dbinary_dir="C:/Users/sausalito/Desktop/builds/sausalito_coresdk/releases/zorba" -Dzorba_exe="C:\Users\sausalito\Desk
  top\builds\sausalito_coresdk\releases\zorba\scripts\zorba_cmake.bat" -Dquery="C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/s
  rc/runtime/spec/function-enum.xq" -Dgen_file="C:/Users/sausalito/Desktop/builds/sausalito_coresdk/releases/zorba/src/functions/function_enum.h" -Dextvars:STRING
  ="" -Dfiles:STRING="C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/accessors/accessors.xml;C:/Users/sausalito
  /Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/any_uri/any_uri.xml;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/s
  andbox/runtime/zorba/src/runtime/spec/base64/base64.xml;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/boolea
  ns/booleans.xml;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/collections/collections.xml;C:/Users/sausalito
  /Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/context/context.xml;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/s
  andbox/runtime/zorba/src/runtime/spec/convertors/convertors.xml;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spe
  c/core/function_trace_iterator.xml;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/debug/debug.xml;C:/Users/sa
  usalito/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/debug/zorba_debug_iterator.xml;C:/Users/sausalito/Desktop/builds/sausalit
  o_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/durations_dates_times/durations_dates_times.xml;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/sour
  ce/sandbox/runtime/zorba/src/runtime/spec/eval/eval.xml;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/fnerro
  r/fnerror.xml;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/fnput/fnput.xml;C:/Users/sausalito/Desktop/build
  s/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/function_item/function_item_iter.xml;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/sourc
  e/sandbox/runtime/zorba/src/runtime/spec/indexing/ic_ddl.xml;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/i
  ntrospection/dctx.xml;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/introspection/sctx.xml;C:/Users/sausalit
  o/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/maths/maths.xml;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/sand
  box/runtime/zorba/src/runtime/spec/nodes/nodes.xml;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/numerics/nu
  merics.xml;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/qnames/qnames.xml;C:/Users/sausalito/Desktop/builds
  /sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/random/random.xml;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zo
  rba/src/runtime/spec/schema/schema.xml;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/scripting/scripting.xml
  ;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/sequences/sequences.xml;C:/Users/sausalito/Desktop/builds/sau
  salito_coresdk/source/sandbox/runtime/zorba/src/runtime/spec/strings/strings.xml;C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorb
  a/src/runtime/spec/xqdoc/xqdoc.xml" -P C:/Users/sausalito/Desktop/builds/sausalito_coresdk/source/sandbox/runtime/zorba/cmake_modules/GenZorbaRuntime.cmake' too
   long

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/905392/+subscriptions


References