http://defect.opensolaris.org/bz/show_bug.cgi?id=19220

           Summary: cannot build opengrok on solaris 11 due to lucene-core
                    in wrong format
    Classification: Development
           Product: opengrok
           Version: unspecified
          Platform: ANY/Generic
        OS/Version: Solaris
            Status: NEW
          Severity: critical
          Priority: P3
         Component: build
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


I just tried to build opengrok-trunk OOB and it failed:

$ hg clone ssh://[email protected]/hg/opengrok/trunk opengrok-trunk
requesting all changes
adding changesets
adding manifests
adding file changes
added 1401 changesets with 5582 changes to 1061 files (+1 heads)
updating to branch default
814 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ cd opengrok-trunk
$ hg tip
changeset:   1400:29d7772a7c16
tag:         tip
user:        Knut Anders Hatlen <[email protected]>
date:        Wed Jun 27 13:00:54 2012 +0200
description:
    Log why cache creation is skipped when repository doesn't support history
for directories

$ cp /tmp/JFlex.jar lib
$ ant
Buildfile: build.xml


...


-check-lucene:

download-lucene:
      [get] Getting:
http://repo1.maven.org/maven2/org/apache/lucene/lucene-core/3.6.0/lucene-core-3.6.0.jar
      [get] To: /workspaces/opengrok-trunk/lib/lucene-core-3.6.0.jar
      [get] ....................................................
      [get] ....................................................
      [get] ....................................................
      [get] ...................................................
      [get] last modified = Mon Apr 09 23:29:20 CEST 2012
      [get] Getting:
http://repo1.maven.org/maven2/org/apache/lucene/lucene-spellchecker/3.6.0/lucene-spellchecker-3.6.0.jar
      [get] To: /workspaces/opengrok-trunk/lib/lucene-spellchecker-3.6.0.jar
      [get] .................
      [get] last modified = Mon Apr 09 23:24:43 CEST 2012

-pre-compile:

-compile-depend:

-do-compile:
    [mkdir] Created dir: /workspaces/opengrok-trunk/build/empty
    [javac] Compiling 232 source files to
/workspaces/opengrok-trunk/build/classes
    [javac] error: error reading
/workspaces/opengrok-trunk/lib/lucene-core-3.6.0.jar; error in opening zip file
    [javac] 1 error

BUILD FAILED
/workspaces/opengrok-trunk/nbproject/build-impl.xml:415: The following error
occurred while executing this line:
/workspaces/opengrok-trunk/nbproject/build-impl.xml:201: Compile failed; see
the compiler error output for details.

Total time: 4 seconds
$ file /workspaces/opengrok-trunk/lib/lucene-core-3.6.0.jar
/workspaces/opengrok-trunk/lib/lucene-core-3.6.0.jar:    gzip compressed data -
deflate method
$ mv lib/lucene-core-3.6.0.jar lib/lucene-core-3.6.0.jar.gz
$ gzip -d lib/lucene-core-3.6.0.jar.gz
$ file lib/lucene-core-3.6.0.jar 
lib/lucene-core-3.6.0.jar:    java archive file
$ ant

...

jar:

BUILD SUCCESSFUL
Total time: 9 seconds

-- 
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
opengrok-dev mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opengrok-dev

Reply via email to