From Fedora Project Wiki

 
(157 intermediate revisions by 5 users not shown)
Line 1: Line 1:
This page is for tracking progress on the packaging of (primarily Java-based) dependencies for Eucalyptus 3.x.  This project will have some overlap with [[JBossAS7|JBossAS7]]Other required Java packages include:
This page is for tracking progress on the packaging Eucalyptus 3.x in FedoraWe've been tracking this for three releases now, and the dependency packaging is mostly complete, except for Google Web Toolkit, which we can omit for nowTherefore, it's more useful for the top of this page to summarize the _other_ changes needed to make Eucalyptus build and run on Fedora 18.


* Axiom
== Remaining tasks ==
* Google Web Toolkit
* HA-JDBC
* Mule


The majority of other required packages are either already part of Fedora or are transitive dependencies of the above dependencies.  These packages require large parts of jboss, geronimo, and springframework, among other things. 
=== Polish systemd units for eucalyptus services ===


SPEC and SRPM files up for review will live under https://downloads.eucalyptus.com/software/devel/fedora-17/
There are three init scripts in eucalyptus:
* eucalyptus-cloud - starts a java service, which may be a Cloud Controller, Walrus, or Storage Controller
* eucalyptus-cc - starts a Cluster Controller (CC), which is a custom httpd instance with wso2-axis2 configured
* eucalyptus-nc - starts a Node Controller (NC), which is a custom httpd instance with wso2-axis2 configured


Note:  this page is focused on java dependencies, but for completeness, there are two other necessary packages which Eucalyptus currently maintains but should submit to Fedora:
In Fedora 18, we provide systemd units which simple execute the old init scripts, which have been moved to /usr/libexec/eucalyptus.  Ideally, the old init scripts should go away completely.
* axis2c (and axis2c-devel)
* rampartc (and rampartc-devel)


=== Packaging Progress ===
=== Create SELinux contexts/policies ===
 
Eucalyptus must run in permissive mode in Fedora 18.  We need to work on policy that will allow it to run in enforcing mode.
 
=== Make Axis2/Java 1.6 work for code generation ===
 
The C code generated by Axis2/Java 1.6.0 does not work with Eucalyptus's currently defined handlers.  Currently, one must use an [http://arg.fedorapeople.org/axis2v14/noarch/ Axis2/Java 1.4 package] to build a tarball of generated code for inclusion in the eucalyptus package.
 
=== Fix the reporting module ===
 
There is a build issue in the reporting module due to the use of Guava 9 in the upstream Eucalyptus build.  For now, the module has been disabled.
 
=== Enable the admin console ===
 
The admin console is based on GWT, which is not yet in Fedora.  It may not be worth the time to build it, though, as Eucalyptus intends to phase out the GWT-based UI.
 
== Packaging Progress ==


These are the packages still in progress which are necessary for the Eucalyptus build:
These are the packages still in progress which are necessary for the Eucalyptus build:
Line 29: Line 43:
!Comments
!Comments
|-
|-
|1
|27
|wss4j
|gwt
|1.5.12
|2.4.0
|
|{{bz|787738}}
|[[User:Arg|arg]]
|'''<span style="color:orange">Awaiting Review</span>'''
|
|-
|2
|aspectjweaver
|1.6.12
|
|{{bz|790519}}
|[[User:Arg|arg]]
|'''<span style="color:green">Approved</span>'''
|Indirect dep: Blocks spring
|-
|3
|ha-jdbc
|2.0.16
|
|{{bz|790256}}
|[[User:Arg|arg]]
|'''<span style="color:orange">Awaiting Review</span>'''
|Direct dep
|-
|4
|hamcrest12
|1.2
|
|{{bz|790258}}
|[[User:Arg|arg]]
|'''<span style="color:green">Approved</span>'''
|Direct dep; also blocks ehcache-core
|-
|5
|hessian
|4.0.7
|
|{{bz|790551}}
|[[User:Arg|arg]]
|'''<span style="color:green">Approved</span>'''
|Indirect dep: blocks Spring
|-
|6
|ws-commons-axiom
|1.2.12
|
|{{bz|791053}}
|[[User:Arg|arg]]
|'''<span style="color:orange">Awaiting Review</span>'''
|Direct dep; also blocks axis2
|-
|7
|ws-commons-neethi
|
|
|
|
|
|[[User:Arg|arg]]
|[[User:Arg|arg]]
|'''<span style="color:red">Clean-up Required</span>'''
|'''<span style="color:red">Clean-up Required</span>'''
|Indirect dep: blocks axis2
|Required for admin console
|-
|-
|8
|36
|ws-commons-XmlSchema
|josql
|2.2
|
|
|
|<s>{{bz|822832}}</s>
|
|[[User:gil|gil]]
|[[User:Arg|arg]]
|'''<span style="color:green">In Rawhide</span>'''
|'''<span style="color:red">Clean-up Required</span>'''
|ActiveMQ deps
|Indirect dep: blocks axis2
|-
|-
|9
|47
|axis2
|mqtt-client
|1.3
|
|
|
|<s>{{bz|853055}}</s>
|
|[[User:gil|gil]]
|[[User:Arg|arg]]
|'''<span style="color:green">In Rawhide</span>'''
|'''<span style="color:red">Clean-up Required</span>'''
|ActiveMQ deps
|blocked by ws-commons-* packages
|-
|-
|10
|48
|annogen
|groovy-gram
|0.1.0
|1.2
|
|
|{{bz|790990}}
|{{bz|846561}}
|[[User:Arg|arg]]
|[[User:gil|gil]]
|'''<span style="color:orange">Awaiting Review</span>'''
|'''<span style="color:orange">Awaiting Review</span>'''
|Indirect dep: blocks axis2
|ActiveMQ deps
|-
|-
|11
|49
|geronimo-qname
|pax-logging
|1.6.9
|
|
|
|<s>{{bz|849469}}</s>
|
|[[User:gil|gil]]
|[[User:Arg|arg]]
|'''<span style="color:green">In Rawhide</span>'''
|'''<span style="color:red">Clean-up Required</span>'''
|ActiveMQ deps
|Indirect dep: blocks axis2? (May be avoidable)
|-
|-
|12
|50
|ws-woden
|sitemesh
|2.4.2
|
|
|
|<s>{{bz|853439}}</s>
|
|[[User:gil|gil]]
|[[User:Arg|arg]]
|'''<span style="color:darkviolet">Skipped</span>'''
|'''<span style="color:red">Clean-up Required</span>'''
|ActiveMQ deps. This package was removed from review request queue.
|Indirect dep: blocks axis2
|-
|-
|13
|51
|smack
|apache-commons-primitives
|1.1
|
|
|
|<s>{{bz|832803}}</s>
|
|[[User:gil|gil]]
|[[User:Arg|arg]]
|'''<span style="color:green">In Rawhide</span>'''
|'''<span style="color:red">Clean-up Required</span>'''
|ActiveMQ deps
|Indirect dep: blocks axis2 (May be avoidable?)
|-
|-
|14
|52
|geronimo-j2ee-connector
|felix-fileinstall
|3.2.0
|
|
|
|<s>{{bz|855192}}</s>
|
|[[User:gil|gil]]
|[[User:Arg|arg]]
|'''<span style="color:green">In Rawhide</span>'''
|'''<span style="color:red">Clean-up Required</span>'''
|Apache Karaf deps
|Direct dep
|-
|-
|15
|53
|jamonapi
|felix-webconsole
|2.73
|4.0.0
|
|
|{{bz|791222}}
|{{bz|855193}}
|[[User:Arg|arg]]
|[[User:gil|gil]]
|'''<span style="color:orange">Awaiting Review</span>'''
|'''<span style="color:darkviolet">Skipped</span>'''
|Indirect dep: blocks Spring
|Apache Karaf deps
|-
|-
|16
|54
|ognl
|hawtbuf
|1.9
|
|
|
|<s>{{bz|853050}}</s>
|
|[[User:gil|gil]]
|[[User:Arg|arg]]
|'''<span style="color:green">In Rawhide</span>'''
|'''<span style="color:red">Clean-up Required</span>'''
|mqtt-client deps
|Indirect dep: blocks mule
|-
|-
|17
|55
|jexcelapi
|hawtdispatch
|2.6.12
|1.11
|
|
|{{bz|791312}}
|<s>{{bz|853052}}</s>
|[[User:Arg|arg]]
|[[User:gil|gil]]
|'''<span style="color:orange">Awaiting Review</span>'''
|'''<span style="color:green">In Rawhide</span>'''
|Indirect dep: blocks Spring
|mqtt-client deps
|-
|18
|mule
|2.0.2
|
|
|[[User:Arg|arg]]
|'''<span style="color:red">Clean-up Required</span>'''
|Direct dep
|-
|-
|19
|56
|springframework
|oscache
|3.1.0
|2.4.1
|
|
|
|<s>{{bz|849470}}</s>
|[[User:Arg|arg]]
|[[User:gil|gil]]
|'''<span style="color:red">Clean-up Required</span>'''
|'''<span style="color:darkviolet">Skipped</span>'''
|Direct dep; also blocks mule
|Hibernate 3.x deps (module of the same name). This package was removed from review request queue.
|-
|-
|20
|57
|hibernate-validator
|swarmcache
|4.2.0
|1.0
|
|
|{{bz|767050}}
|<s>{{bz|849471}}</s>
|[[User:Arg|arg]]
|[[User:gil|gil]]
|'''<span style="color:red">Blocked</span>'''
|'''<span style="color:darkviolet">Skipped</span>'''
|Direct dep; also blocks ehcache, hibernate, gwt, ...
|Hibernate 3.x deps (module of the same name). This package was removed from review request queue.
|-
|-
|21
|58
|hibernate-orm
|activemq
|
|5.6.0
|
|
|<s>{{bz|857193}}</s>
|[[User:madsa|madsa]]
|'''<span style="color:green">In Rawhide</span>'''
|
|
|[[User:Arg|arg]]
|'''<span style="color:red">Clean-up Required</span>'''
|Direct dep; also blocks ehcache
|-
|-
|22
|59
|ehcache-core
|classmate
|0.5.4
|
|
|
|<s>{{bz|815060}}</s>
|
|[[User:gil|gil]]
|[[User:Arg|arg]]
|'''<span style="color:green">In Rawhide</span>'''
|'''<span style="color:red">Clean-up Required</span>'''
|An Hibernate 4.x dependency. module hibernate-core
|Direct dep
|-
|-
|23
|60
|geronimo-stax-1.0-api
|karaf
|
|2.2.5
|
|
|
|[[User:Arg|arg]]
|<s>{{bz|875692}}</s>
|'''<span style="color:red">Clean-up Required</span>'''
|[[User:gil|gil]]
|Indirect dep; blocks axis2; This may be superseded by another stax package
|'''<span style="color:darkviolet">Skipped</span>'''
|ActiveMQ deps. This package was removed from review request queue.
|-
|-
|24
|61
|xml-maven-plugin
|gemini-blueprint
|
|1.0.2
|
|
|{{bz|782250}}
|<s>{{bz|866239}}</s>
|[[User:Ke4qqq|ke4qqq]]
|[[User:gil|gil]]
|'''<span style="color:green">In Rawhide</span>'''
|'''<span style="color:green">In Rawhide</span>'''
|Indirect dep; blocks ehcache-core
|ActiveMQ deps
|-
|-
|25
|62
|netty3.1
|springframework-ws
|2.0.5.RELEASE
|
|
|
|<s>{{bz|877152}}</s>
|
|[[User:gil|gil]]
|[[User:Arg|arg]]
|'''<span style="color:green">In Rawhide</span>'''
|'''<span style="color:red">Clean-up Required</span>'''
|ActiveMQ deps
|Direct dep
|-
|-
|26
|63
|stax-utils
|camel
|2.10.4
|
|
|
|{{bz|968136}}
|
|[[User:gil|gil]]
|[[User:Arg|arg]]
|'''<span style="color:orange">Awaiting Review</span>'''
|'''<span style="color:red">Clean-up Required</span>'''
|ActiveMQ deps
|Indirect dep; blocks spring
|-
|27
|gwt
|2.4.0
|
|
|[[User:Arg|arg]]
|'''<span style="color:red">Clean-up Required</span>'''
|Direct dep
|-
|28
|geronimo-commonj
|
|
|
|[[User:Arg|arg]]
|'''<span style="color:red">Clean-up Required</span>'''
|Indirect dep; blocks spring
|-
|29
|jsf implementation - TBD
|
|
|
|[[User:Arg|arg]]
|'''<span style="color:red">Need Info</span>'''
|Indirect dep; blocks spring-web
|-
|30
|jboss-xnio-base
|1.2.1
|
|
|[[User:Arg|arg]]
|'''<span style="color:red">Not yet packaged</span>'''
|Indirect dep; blocks netty3.1
|-
|}
|}
The above depenencies should be enough the complete most of the required spring modules, including:
* spring-beans
* spring-context
* spring-context-support
I have *not* determined the full list of dependencies required for spring-web, nor the transitive dependencies for myfaces-core. From the pom, it appears spring-web will need:
* javax.portlet:portlet-api
* axis2-saaj-api (but I suspect this is optional)
Notes for WSDL2C dependencies (this is a subset of axis2):
* http://svn.apache.org/repos/asf/axis/axis2/java/core/tags/v1.4.1
* http://svn.apache.org/repos/asf/webservices/commons/tags/axiom/1.2.12
* http://svn.apache.org/repos/asf/webservices/commons/tags/neethi/neethi-3.0.1
* http://svn.apache.org/repos/asf/webservices/commons/tags/XmlSchema/1.4.2
* http://svn.apache.org/repos/asf/webservices/woden/tags/1.0M9
* https://svn.java.net/svn/jsr311~svn/tags/jsr311-api-1.1.1
* svn://svn.annogen.codehaus.org/annogen/scm [1]


=== Optional dependencies and sub-dependencies ===
=== Optional dependencies and sub-dependencies ===


ActiveMQ and JasperReports are only necessary for reporting, which, while it's a nice new feature of Eucalyptus 3, can easily be omitted from the build.
Enough of ActiveMQ is built for Eucalyptus to function.  Packages mentioned here are only necessary to activate more of the activemq modules.


Infinispan dependencies
ActiveMQ 5.6.0 dependencies:
* rhq
* activesoap jaxp-api (replace with glassfish-jaxb-api)
 
* annogen
ActiveMQ 5 dependencies:
* apache-commons-primitives
* apacheds
* camel 2.9.2 or major, http://camel.apache.org/ (required modules: camel-core, camel-jetty, camel-jms, camel-spring)
* easymock-classextension
* easymock-classextension
* spring 2
* gentlyweb-utils
* apacheds
* groovy-gram
* TODO jrms
* mqtt-client
* karaf, module org.apache.karaf.shell.console
* TODO fuse-extra (module fusemq-leveldb)
* TODO pax-exam 1.x
* pax-logging
* sitemesh 2.4.2
* gemini-blueprint see http://www.springsource.org/osgi (spring-osgi).
* springframework-ws
* xbean 3.9 or major: maven-xbean-plugin, TODO xbean-blueprint (see {{bz|849955}}) and xbean-spring modules
* etc. (I am unsure of the full dep chain at this time
* etc. (I am unsure of the full dep chain at this time
JasperReports dependencies:
* barcode4j
* eigenbase-properties (for mondrian)
* eigenbase-resgen (for mondrian)
* jexcelapi
* olap4j (for mondrian)
* TODO: mondrian
* TODO: commons-javaflow
* TODO: png-encoder
* TODO: barbecue
* TODO: jdt-compiler (is this already in as part of eclipse??)
* TODO: hibernate

Latest revision as of 11:54, 4 September 2016

This page is for tracking progress on the packaging Eucalyptus 3.x in Fedora. We've been tracking this for three releases now, and the dependency packaging is mostly complete, except for Google Web Toolkit, which we can omit for now. Therefore, it's more useful for the top of this page to summarize the _other_ changes needed to make Eucalyptus build and run on Fedora 18.

Remaining tasks

Polish systemd units for eucalyptus services

There are three init scripts in eucalyptus:

  • eucalyptus-cloud - starts a java service, which may be a Cloud Controller, Walrus, or Storage Controller
  • eucalyptus-cc - starts a Cluster Controller (CC), which is a custom httpd instance with wso2-axis2 configured
  • eucalyptus-nc - starts a Node Controller (NC), which is a custom httpd instance with wso2-axis2 configured

In Fedora 18, we provide systemd units which simple execute the old init scripts, which have been moved to /usr/libexec/eucalyptus. Ideally, the old init scripts should go away completely.

Create SELinux contexts/policies

Eucalyptus must run in permissive mode in Fedora 18. We need to work on policy that will allow it to run in enforcing mode.

Make Axis2/Java 1.6 work for code generation

The C code generated by Axis2/Java 1.6.0 does not work with Eucalyptus's currently defined handlers. Currently, one must use an Axis2/Java 1.4 package to build a tarball of generated code for inclusion in the eucalyptus package.

Fix the reporting module

There is a build issue in the reporting module due to the use of Guava 9 in the upstream Eucalyptus build. For now, the module has been disabled.

Enable the admin console

The admin console is based on GWT, which is not yet in Fedora. It may not be worth the time to build it, though, as Eucalyptus intends to phase out the GWT-based UI.

Packaging Progress

These are the packages still in progress which are necessary for the Eucalyptus build:

# Package Version POM Review request Packager Status Comments
27 gwt 2.4.0 arg Clean-up Required Required for admin console
36 josql 2.2 RHBZ #822832 gil In Rawhide ActiveMQ deps
47 mqtt-client 1.3 RHBZ #853055 gil In Rawhide ActiveMQ deps
48 groovy-gram 1.2 RHBZ #846561 gil Awaiting Review ActiveMQ deps
49 pax-logging 1.6.9 RHBZ #849469 gil In Rawhide ActiveMQ deps
50 sitemesh 2.4.2 RHBZ #853439 gil Skipped ActiveMQ deps. This package was removed from review request queue.
51 apache-commons-primitives 1.1 RHBZ #832803 gil In Rawhide ActiveMQ deps
52 felix-fileinstall 3.2.0 RHBZ #855192 gil In Rawhide Apache Karaf deps
53 felix-webconsole 4.0.0 RHBZ #855193 gil Skipped Apache Karaf deps
54 hawtbuf 1.9 RHBZ #853050 gil In Rawhide mqtt-client deps
55 hawtdispatch 1.11 RHBZ #853052 gil In Rawhide mqtt-client deps
56 oscache 2.4.1 RHBZ #849470 gil Skipped Hibernate 3.x deps (module of the same name). This package was removed from review request queue.
57 swarmcache 1.0 RHBZ #849471 gil Skipped Hibernate 3.x deps (module of the same name). This package was removed from review request queue.
58 activemq 5.6.0 RHBZ #857193 madsa In Rawhide
59 classmate 0.5.4 RHBZ #815060 gil In Rawhide An Hibernate 4.x dependency. module hibernate-core
60 karaf 2.2.5 RHBZ #875692 gil Skipped ActiveMQ deps. This package was removed from review request queue.
61 gemini-blueprint 1.0.2 RHBZ #866239 gil In Rawhide ActiveMQ deps
62 springframework-ws 2.0.5.RELEASE RHBZ #877152 gil In Rawhide ActiveMQ deps
63 camel 2.10.4 RHBZ #968136 gil Awaiting Review ActiveMQ deps

Optional dependencies and sub-dependencies

Enough of ActiveMQ is built for Eucalyptus to function. Packages mentioned here are only necessary to activate more of the activemq modules.

ActiveMQ 5.6.0 dependencies:

  • activesoap jaxp-api (replace with glassfish-jaxb-api)
  • annogen
  • apache-commons-primitives
  • apacheds
  • camel 2.9.2 or major, http://camel.apache.org/ (required modules: camel-core, camel-jetty, camel-jms, camel-spring)
  • easymock-classextension
  • gentlyweb-utils
  • groovy-gram
  • TODO jrms
  • mqtt-client
  • karaf, module org.apache.karaf.shell.console
  • TODO fuse-extra (module fusemq-leveldb)
  • TODO pax-exam 1.x
  • pax-logging
  • sitemesh 2.4.2
  • gemini-blueprint see http://www.springsource.org/osgi (spring-osgi).
  • springframework-ws
  • xbean 3.9 or major: maven-xbean-plugin, TODO xbean-blueprint (see RHBZ #849955) and xbean-spring modules
  • etc. (I am unsure of the full dep chain at this time