Bug 1049900 - bookkeeper: FTBFS in rawhide
Summary: bookkeeper: FTBFS in rawhide
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: bookkeeper
Version: rawhide
Hardware: All
OS: All
medium
medium
Target Milestone: ---
Assignee: Timothy St. Clair
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: bigdata-review
TreeView+ depends on / blocked
 
Reported: 2014-01-08 13:09 UTC by Mikolaj Izdebski
Modified: 2014-01-28 05:06 UTC (History)
4 users (show)

Fixed In Version: bookkeeper-4.2.1-6.fc21
Clone Of:
Environment:
Last Closed: 2014-01-28 05:06:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Apache JIRA HDFS-5411 0 None None None Never

Description Mikolaj Izdebski 2014-01-08 13:09:30 UTC
Description of problem:
Package bookkeeper fails to build from source in rawhide.

Koji scratch build:
http://koji.fedoraproject.org/koji/taskinfo?taskID=6372681

Quoting from build logs:

[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /builddir/build/BUILD/bookkeeper-4.2.1/hedwig-server/src/main/java/org/apache/hedwig/admin/console/HedwigConsole.java:[21,13] cannot find symbol
  symbol:   class ConsoleReader
  location: package jline

Version-Release number of selected component (if applicable):
4.2.1-5

Additional info:
[1] http://fedoraproject.org/wiki/Packaging:Java
[2] http://fedoraproject.org/wiki/Packaging:Guidelines

Comment 1 Timothy St. Clair 2014-01-08 17:18:51 UTC
This appears to be a transitive overlap where a dependency now uses the new jline while the package itself calls out jline1.  

Is there a pattern to ensure classpath ordering to resolve, or is this going to be a thornier issue until folks transition to jline 2.

Comment 2 Mikolaj Izdebski 2014-01-08 22:17:26 UTC
(In reply to Timothy St. Clair from comment #1)
> This appears to be a transitive overlap where a dependency now uses the new
> jline while the package itself calls out jline1.  
> 
> Is there a pattern to ensure classpath ordering to resolve, or is this going
> to be a thornier issue until folks transition to jline 2.

Usually it's best to port code using the old jline to jline2 and forward the patch upstream.

Comment 3 Timothy St. Clair 2014-01-09 16:27:39 UTC
There is a bookkeeper 4.2.2 release that drops it's jline dependency, but it has some issues with HDFS. https://issues.apache.org/jira/browse/HDFS-541 

So any work to update to jline 2 would be wasted.  I'll circle back to this when I can think of something more creative. 

Ideally I would like to not update but ensure the classpath is correct, then eventually take the newer version.

Comment 4 Timothy St. Clair 2014-01-28 05:06:34 UTC
Patched to support jline and netty3.   

Required a zookeeper rebuild which also had similar dependency issues.

Other dependent packages may want to rebuild sans mods (hadoop, etc)


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