https://bugzilla.redhat.com/show_bug.cgi?id=1193730
Bug ID: 1193730 Summary: Review Request: apache-jena - Java framework for building Semantic Web and Linked Data applications Product: Fedora Version: rawhide Component: Package Review Assignee: nobody@fedoraproject.org Reporter: dapellegrino@dow.com QA Contact: extras-qa@fedoraproject.org CC: package-review@lists.fedoraproject.org
Created attachment 992970 --> https://bugzilla.redhat.com/attachment.cgi?id=992970&action=edit Spec File
This review request is being submitted as per the comments in Bug 740814. This is a review request for an updated .spec file that packages Apache Jena 2.12.1. This is a revival of a retired package. The source from http://pkgs.fedoraproject.org/cgit/jena.git/tree/?id=9dde28df36a25f12dfc45b5... was used as a starting point, however the .spec file is heavily modified. The new .spec file is attached.
https://bugzilla.redhat.com/show_bug.cgi?id=1193730
--- Comment #1 from Donald Pellegrino dapellegrino@dow.com --- Note that the .spec file should be named "apache-jena.spec" to prevent a warning from rpmlint on the resulting SRPM.
https://bugzilla.redhat.com/show_bug.cgi?id=1193730
Donald Pellegrino dapellegrino@dow.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |177841 (FE-NEEDSPONSOR)
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=177841 [Bug 177841] Tracker: Review requests from new Fedora packagers who need a sponsor
https://bugzilla.redhat.com/show_bug.cgi?id=1193730
Alexander Kurtakov akurtako@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |akurtako@redhat.com
--- Comment #2 from Alexander Kurtakov akurtako@redhat.com --- Hi Donald, I'm willing to take the review and sponsor you. Please follow the process as described at http://fedoraproject.org/wiki/New_package_process_for_existing_contributors . Now you seem to be at step 3 - upload srpm/spec, this is mandatory so I can verify not only the spec but the source0..N you will upload when review is successful.
https://bugzilla.redhat.com/show_bug.cgi?id=1193730
Alexander Kurtakov akurtako@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|nobody@fedoraproject.org |akurtako@redhat.com Flags| |fedora-review?
https://bugzilla.redhat.com/show_bug.cgi?id=1193730
Alexander Kurtakov akurtako@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
https://bugzilla.redhat.com/show_bug.cgi?id=1193730
Donald Pellegrino dapellegrino@dow.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #992970|0 |1 is obsolete| |
--- Comment #3 from Donald Pellegrino dapellegrino@dow.com --- Comment on attachment 992970 --> https://bugzilla.redhat.com/attachment.cgi?id=992970 Spec File
This .spec file should be named "apache-jena.spec" and is missing BuildRequires entries.
https://bugzilla.redhat.com/show_bug.cgi?id=1193730
--- Comment #4 from Donald Pellegrino dapellegrino@dow.com --- Created attachment 994784 --> https://bugzilla.redhat.com/attachment.cgi?id=994784&action=edit .spec file
https://bugzilla.redhat.com/show_bug.cgi?id=1193730
--- Comment #5 from Donald Pellegrino dapellegrino@dow.com --- Koji Task: http://koji.fedoraproject.org/koji/taskinfo?taskID=9054354
Spec URL: https://bugzilla.redhat.com/attachment.cgi?id=994784
SRPM URL: https://kojipkgs.fedoraproject.org//work/tasks/4365/9054365/apache-jena-2.12...
Description:
Jena is a Java framework for building semantic web applications. It provides tools and Java libraries to help you to develop semantic web and linked-data apps, tools and servers.
This distribution includes the following Apache Jena modules:
- jena-core: provides the Jena RDF APIs, Ontology APIs and Inference APIs. - jena-arq: SPARQL 1.1, query and update. - jena-tdb: scalable and performant storage subsystem for Jena - jena-iri: provides an implementation of RFC 3987 (IRI) and RFC 3986 (URI)
Fedora Account System Username: donpellegrino
https://bugzilla.redhat.com/show_bug.cgi?id=1193730
--- Comment #6 from Alexander Kurtakov akurtako@redhat.com --- Looking at your spec file there is a blocker: You should use the source tarball and build from source in %build section. Aka Source0: http://www.us.apache.org/dist/jena/source/jena-2.12.1-source-release.zip
and your build section should look like: %build %mvn_build
I would also recommend using %mvn_install in %install section for actually placing jars and manually install the rest.
https://bugzilla.redhat.com/show_bug.cgi?id=1193730
--- Comment #7 from Donald Pellegrino dapellegrino@dow.com --- The "Java Packaging HOWTO" has relevant information on packaging this maven project: https://fedorahosted.org/released/javapackages/doc/. I was also able to get some help from gil on #fedora-bigdata. Unfortunately, there are two dependencies I was unable to resolve when building from the apache jena source:
BuildRequires: mvn(com.github.jsonld-java:jsonld-java) BuildRequires: mvn(org.apache.httpcomponents:httpclient-cache
In addition, "BuildRequires: mvn(org.apache.commons:commons-csv)" is resolved by apache-commons-csv-0:1.0-0.11.svn1071189.fc21.noarch, however installing that package locally leads to compile-time errors.
https://bugzilla.redhat.com/show_bug.cgi?id=1193730
gil cattaneo puntogil@libero.it changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |puntogil@libero.it
--- Comment #8 from gil cattaneo puntogil@libero.it --- (In reply to Donald Pellegrino from comment #7)
The "Java Packaging HOWTO" has relevant information on packaging this maven project: https://fedorahosted.org/released/javapackages/doc/. I was also able to get some help from gil on #fedora-bigdata. Unfortunately, there are two dependencies I was unable to resolve when building from the apache jena source:
BuildRequires: mvn(com.github.jsonld-java:jsonld-java)
packaged jsonld-java src rpm and spec file are here https://gil.fedorapeople.org/jsonld-java.spec Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=9119629
BuildRequires: mvn(org.apache.httpcomponents:httpclient-cache
available only in Fedora >= 22 as httpcomponents-client-cache
https://bugzilla.redhat.com/show_bug.cgi?id=1193730
gil cattaneo puntogil@libero.it changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends On| |1210958
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1210958 [Bug 1210958] apache-commons-csv-1.1 is available
https://bugzilla.redhat.com/show_bug.cgi?id=1193730
gil cattaneo puntogil@libero.it changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends On| |970285
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=970285 [Bug 970285] Review Request: shiro - A powerful and flexible open-source security framework
https://bugzilla.redhat.com/show_bug.cgi?id=1193730 Bug 1193730 depends on bug 1210958, which changed state.
Bug 1210958 Summary: apache-commons-csv-1.1 is available https://bugzilla.redhat.com/show_bug.cgi?id=1210958
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |CLOSED Resolution|--- |RAWHIDE
https://bugzilla.redhat.com/show_bug.cgi?id=1193730
Alexander Kurtakov akurtako@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW Assignee|akurtako@redhat.com |nobody@fedoraproject.org
--- Comment #9 from Alexander Kurtakov akurtako@redhat.com --- Drop myself as reviewer as quite some time passed.
https://bugzilla.redhat.com/show_bug.cgi?id=1193730
gil cattaneo puntogil@libero.it changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends On| |1241447
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1241447 [Bug 1241447] Review Request: jsonld-java - A JSON-based format to serialize Linked Data for Java
https://bugzilla.redhat.com/show_bug.cgi?id=1193730 Bug 1193730 depends on bug 970285, which changed state.
Bug 970285 Summary: Review Request: shiro - A powerful and flexible open-source security framework https://bugzilla.redhat.com/show_bug.cgi?id=970285
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution|--- |RAWHIDE
https://bugzilla.redhat.com/show_bug.cgi?id=1193730 Bug 1193730 depends on bug 1241447, which changed state.
Bug 1241447 Summary: Review Request: jsonld-java - A JSON-based format to serialize Linked Data for Java https://bugzilla.redhat.com/show_bug.cgi?id=1241447
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Resolution|--- |ERRATA
https://bugzilla.redhat.com/show_bug.cgi?id=1193730
gil cattaneo puntogil@libero.it changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |652183 (FE-JAVASIG)
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=652183 [Bug 652183] Java SIG tracker bug
https://bugzilla.redhat.com/show_bug.cgi?id=1193730
--- Comment #10 from Upstream Release Monitoring upstream-release-monitoring@fedoraproject.org --- jerboaa's scratch build of java-1.8.0-openjdk?#d28765c33d068af9ff432a92443b93beeef88a22 for git://pkgs.fedoraproject.org/java-1.8.0-openjdk?#d28765c33d068af9ff432a92443b93beeef88a22 and rawhide failed http://koji.fedoraproject.org/koji/taskinfo?taskID=12181621
https://bugzilla.redhat.com/show_bug.cgi?id=1193730
gil cattaneo puntogil@libero.it changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dapellegrino@dow.com, | |puntogil@libero.it Flags| |needinfo?(dapellegrino@dow. | |com)
https://bugzilla.redhat.com/show_bug.cgi?id=1193730
--- Comment #11 from Donald Pellegrino dapellegrino@dow.com --- I received the needinfo alert but I have not played with this build in a bit. I had given up due to the extent of the dependencies necessary. What next step might I take to help out here?
https://bugzilla.redhat.com/show_bug.cgi?id=1193730
--- Comment #12 from gil cattaneo puntogil@libero.it --- (In reply to Donald Pellegrino from comment #11)
I received the needinfo alert but I have not played with this build in a bit. I had given up due to the extent of the dependencies necessary. What next step might I take to help out here?
The only missing dependencies are: BuildRequires: mvn(org.apache.lucene:lucene-analyzers-common:4.6.1) BuildRequires: mvn(org.apache.lucene:lucene-core:4.6.1) BuildRequires: mvn(org.apache.lucene:lucene-queryparser:4.6.1) BuildRequires: mvn(org.apache.lucene:lucene-spatial:4.6.1) BuildRequires: mvn(org.apache.solr:solr-solrj:4.6.1) BuildRequires: mvn(org.apache.httpcomponents:httpclient-osgi) BuildRequires: mvn(org.apache.httpcomponents:httpcore-osgi) BuildRequires: mvn(com.github.rvesse:airline:0.9.1)
Test deps BuildRequires: mvn(org.apache.mrunit:mrunit) BuildRequires: mvn(org.xenei:junit-contracts)
if you think is not possible continue. please close this bug regards
https://bugzilla.redhat.com/show_bug.cgi?id=1193730
Donald Pellegrino dapellegrino@dow.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |CANTFIX Flags|needinfo?(dapellegrino@dow. | |com) | Last Closed| |2016-10-10 11:25:31
--- Comment #13 from Donald Pellegrino dapellegrino@dow.com --- Thanks for the information. Rather than chase down the dependencies, I have opted to mark the bug as closed, cantfix. The "Java Packaging HOWTO" (https://fedora-java.github.io/howto/latest/) has been updated recently and may describe a path forward for keeping up with Java dependencies. The approach I used does not seem maintainable.
https://bugzilla.redhat.com/show_bug.cgi?id=1193730
gil cattaneo puntogil@libero.it changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks|652183 (FE-JAVASIG) |
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=652183 [Bug 652183] Java SIG tracker bug
package-review@lists.fedoraproject.org