Bug 1019670 - xmvn: Not satisfied selfrequires
xmvn: Not satisfied selfrequires
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: xmvn (Show other bugs)
rawhide
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Mikolaj Izdebski
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-16 04:42 EDT by Marek Goldmann
Modified: 2013-10-17 08:07 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-10-17 08:07:09 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Marek Goldmann 2013-10-16 04:42:24 EDT
Description of problem:

After building a compat package I tried to install it, it failed with this message:

<mock-chroot>[root@mpm -Uvh solr3-3.6.2-2.fc21.noarch.rpm 
error: Failed dependencies:
	mvn(org.apache.solr:solr-core) is needed by solr3-3.6.2-2.fc21.noarch
	mvn(org.apache.solr:solr-solrj) is needed by solr3-3.6.2-2.fc21.noarch


Here are the generated provides:

mvn(org.apache.solr:solr-analysis-extras:3) = 3.6.2
mvn(org.apache.solr:solr-contrib) = 3.6.2
mvn(org.apache.solr:solr-contrib:pom:3) = 3.6.2
mvn(org.apache.solr:solr-core:3) = 3.6.2
mvn(org.apache.solr:solr-parent) = 3.6.2
mvn(org.apache.solr:solr-parent:pom:3) = 3.6.2
mvn(org.apache.solr:solr-solrj:3) = 3.6.2
osgi(org.apache.solr.analysis-extras) = 3.6.2
osgi(org.apache.solr.core) = 3.6.2
osgi(org.apache.solr.solrj) = 3.6.2
solr3 = 3.6.2-2.fc21


And the requires:


jpackage-utils
mvn(com.google.guava:guava)
mvn(commons-codec:commons-codec)
mvn(commons-fileupload:commons-fileupload)
mvn(commons-httpclient:commons-httpclient)
mvn(commons-io:commons-io)
mvn(commons-lang:commons-lang)
mvn(javax.servlet:servlet-api)
mvn(org.apache.httpcomponents:httpclient)
mvn(org.apache.httpcomponents:httpmime)
mvn(org.apache.lucene:lucene-analyzers)
mvn(org.apache.lucene:lucene-core)
mvn(org.apache.lucene:lucene-grouping)
mvn(org.apache.lucene:lucene-highlighter)
mvn(org.apache.lucene:lucene-icu)
mvn(org.apache.lucene:lucene-kuromoji)
mvn(org.apache.lucene:lucene-memory)
mvn(org.apache.lucene:lucene-misc)
mvn(org.apache.lucene:lucene-phonetic)
mvn(org.apache.lucene:lucene-queries)
mvn(org.apache.lucene:lucene-smartcn)
mvn(org.apache.lucene:lucene-spatial)
mvn(org.apache.lucene:lucene-spellchecker)
mvn(org.apache.lucene:lucene-stempel)
mvn(org.apache.solr:solr-core)
mvn(org.apache.solr:solr-solrj)
mvn(org.codehaus.woodstox:woodstox-core-asl)
mvn(org.slf4j:jcl-over-slf4j)
mvn(org.slf4j:slf4j-api)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


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

javapackages-tools-3.4.0-2.fc21.noarch
xmvn-1.1.0-2.fc21.noarch
Comment 1 Stanislav Ochotnicky 2013-10-16 05:04:02 EDT
link to build with srpm for debugging: http://koji.fedoraproject.org/koji/taskinfo?taskID=6062015
Comment 2 Mikolaj Izdebski 2013-10-17 06:19:33 EDT
This is already fixed upstream:
http://github.com/mizdebsk/xmvn/commit/849f5b4
Comment 3 Mikolaj Izdebski 2013-10-17 06:48:57 EDT
Actually, it is not fixed yet. I'll work on that.
Comment 4 Mikolaj Izdebski 2013-10-17 08:07:09 EDT
Closing as NOTABUG -- current behavior is expected, see my explaination below.
The fix for solr3 package is to change "%mvn_compat_version : 3" to "%mvn_compat_version : 3.6.2 3".

solr-solrj is installed as compat version 3.  solr-core depends on solr-solrj version 3.6.2.  This dependency is not satisfied by installed solr-solrj module as there is a version mismatch (provided version is 3, required version is 3.6.2).  XMvn produces a warning and generates requirement on unversioned (non-compat) solr-solrj, which is mvn(org.apache.solr:solr-solrj).

Test case added in:
http://github.com/mizdebsk/xmvn/commit/5bd73d1

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