Bug 914160 - lucene: FTBFS in rawhide
Summary: lucene: FTBFS in rawhide
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: lucene
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Severin Gehwolf
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F19FTBFS
TreeView+ depends on / blocked
 
Reported: 2013-02-22 09:42 UTC by Dennis Gilmore
Modified: 2013-02-26 15:00 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-26 15:00:57 UTC


Attachments (Terms of Use)

Description Dennis Gilmore 2013-02-22 09:42:32 UTC
Your package lucene failed to build from source in current rawhide.

http://koji.fedoraproject.org/koji/taskinfo?taskID=4967539

Build logs:
root.log: http://kojipkgs.fedoraproject.org/work/tasks/7539/4967539/root.log
build.log: http://kojipkgs.fedoraproject.org/work/tasks/7539/4967539/build.log
state.log: http://kojipkgs.fedoraproject.org/work/tasks/7539/4967539/state.log
NOTE: build logs are cleaned up after 1 week

For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

Comment 1 Krzysztof Daniel 2013-02-26 13:02:40 UTC
Upstream is already on 4.1. This is the error while building 3:

compile-core:
    [javac] Compiling 15 source files to /builddir/build/BUILD/lucene-3.6.0/build/contrib/icu/classes/java
    [javac] /builddir/build/BUILD/lucene-3.6.0/contrib/icu/src/java/org/apache/lucene/analysis/icu/segmentation/BreakIteratorWrapper.java:24: error: cannot find symbol
    [javac] import com.ibm.icu.text.DictionaryBasedBreakIterator;
    [javac]                        ^
    [javac]   symbol:   class DictionaryBasedBreakIterator
    [javac]   location: package com.ibm.icu.text
    [javac] /builddir/build/BUILD/lucene-3.6.0/contrib/icu/src/java/org/apache/lucene/analysis/icu/segmentation/BreakIteratorWrapper.java:71: error: cannot find symbol
    [javac]         && !(breakIterator instanceof DictionaryBasedBreakIterator))
    [javac]                                       ^
    [javac]   symbol:   class DictionaryBasedBreakIterator
    [javac]   location: class BreakIteratorWrapper
    [javac] Note: /builddir/build/BUILD/lucene-3.6.0/contrib/icu/src/java/org/apache/lucene/analysis/icu/ICUTransformFilter.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 2 errors

Comment 2 Severin Gehwolf 2013-02-26 13:21:53 UTC
Yes. DictionaryBasedBreakIterator has been removed from icu4j v50:
See http://source.icu-project.org/repos/icu/icu4j/tags/release-50-1/readme.html#changes

Comment 3 Severin Gehwolf 2013-02-26 13:22:35 UTC
I'm currently working on a patch.

Comment 4 Severin Gehwolf 2013-02-26 15:00:57 UTC
Fixed in rawhide: http://koji.fedoraproject.org/koji/buildinfo?buildID=398552


Note You need to log in before you can comment on or make changes to this bug.