← Back to team overview

openjdk team mailing list archive

[Bug 1371761] Re: pylucene ftbfs on ppc64el, not enough stack space

 

python2.7 -m jcc.__main__ --jar lucene-java-3.5.0/lucene/build/lucene-
core-3.5.0.jar --jar lucene-
java-3.5.0/lucene/build/contrib/analyzers/common/lucene-
analyzers-3.5.0.jar --jar lucene-java-3.5.0/lucene/build/contrib/memory
/lucene-memory-3.5.0.jar --jar lucene-
java-3.5.0/lucene/build/contrib/highlighter/lucene-highlighter-3.5.0.jar
--jar build/jar/extensions.jar --jar lucene-
java-3.5.0/lucene/build/contrib/queries/lucene-queries-3.5.0.jar --jar
lucene-java-3.5.0/lucene/build/contrib/grouping/lucene-
grouping-3.5.0.jar --jar lucene-java-3.5.0/lucene/build/contrib/join
/lucene-join-3.5.0.jar --jar lucene-
java-3.5.0/lucene/build/contrib/facet/lucene-facet-3.5.0.jar --jar
lucene-java-3.5.0/lucene/build/contrib/spellchecker/lucene-
spellchecker-3.5.0.jar --output build-python2.7 --package java.lang
java.lang.System java.lang.Runtime --package java.util java.util.Arrays
java.util.HashMap java.util.HashSet java.text.SimpleDateFormat
java.text.DecimalFormat java.text.Collator --package java.util.regex
--package java.io java.io.StringReader java.io.InputStreamReader
java.io.FileInputStream --exclude org.apache.lucene.queryParser.Token
--exclude org.apache.lucene.queryParser.TokenMgrError --exclude
org.apache.lucene.queryParser.QueryParserTokenManager --exclude
org.apache.lucene.queryParser.ParseException --exclude
org.apache.lucene.search.regex.JakartaRegexpCapabilities --exclude
org.apache.regexp.RegexpTunnel --exclude
org.apache.lucene.analysis.cn.smart.AnalyzerProfile --python lucene
--mapping org.apache.lucene.document.Document
'get:(Ljava/lang/String;)Ljava/lang/String;' --mapping
java.util.Properties
'getProperty:(Ljava/lang/String;)Ljava/lang/String;' --sequence
java.util.AbstractList 'size:()I' 'get:(I)Ljava/lang/Object;' --rename
org.apache.lucene.search.highlight.SpanScorer=HighlighterSpanScorer
--version 3.5.0 --module python/collections.py --module
python/ICUNormalizer2Filter.py --module python/ICUFoldingFilter.py
--module python/ICUTransformFilter.py  --files 16 --build


Is the above command line that generates the message.

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-7 in Ubuntu.
https://bugs.launchpad.net/bugs/1371761

Title:
  pylucene ftbfs on ppc64el, not enough stack space

Status in “openjdk-7” package in Ubuntu:
  New
Status in “pylucene” package in Ubuntu:
  Confirmed

Bug description:
  the ppc64el build fails with:

  The stack size specified is too small, Specify at least 768k
  Traceback (most recent call last):
    File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
      "__main__", fname, loader, pkg_name)
    File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
      exec code in run_globals
    File "/usr/lib/python2.7/dist-packages/jcc/__main__.py", line 107, in <module>
      cpp.jcc(sys.argv)
    File "/usr/lib/python2.7/dist-packages/jcc/cpp.py", line 521, in jcc
      env = initVM(os.pathsep.join(classpath) or None, **initvm_args)
  ValueError: An error occurred while creating Java VM
  Makefile:321: recipe for target 'compile' failed
  make[2]: *** [compile] Error 1

  so either fix the pylucene build to set a custom stack size, or
  increase the default stack size for the VM. I didn't see this ppc64el
  specific behaviour for other packages.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/1371761/+subscriptions


References