[
https://issues.apache.org/jira/browse/IVY-1233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13235032#comment-13235032
]
Sven Zethelius commented on IVY-1233:
-------------------------------------
This is not fixed in trunk. 2.2.1.alpha_20120313100444 still repros the
problem. I managed to get the infinite loop with the following set of
dependencies:
A (being built) Depends on B pVer.main.+, C [1.0,2.0[, D [1.5,1.7[
B pVer.main.0.0 Depends on D [1.6.1,2.0[
B 1.0.0 Depends on D [1.6.1,2.0[
B 1.1.0 Depends on D [1.6.1,2.0[
C 1.0.0 Depends on B [1.0,2.0[, D [1.6.0,1.7[
C 1.1.0 Depends on B [1.1,2.0[, D [1.6.0,1.7[
D no Dependencies
C and A share no overlapping version for B. This should fail the resolve.
Instead it results in an infinite loop.
[ivy:resolve] found expedia#B;1.1.0 in ReleasedBuilds
[ivy:resolve] [1.1.0] expedia#B;[1.0,2.0[
[ivy:resolve] found osgi#D;1.6.1 in ThirdPartyOrg
[ivy:resolve] [1.6.1] osgi#D;[1.6.1,2.0[
[ivy:resolve] found expedia#C;pCC.main.2.0 in DirectedBuilds
[ivy:resolve] [pCC.main.2.0] expedia#C;pCC.main.+
[ivy:resolve] BLACKLISTING [expedia#B;1.1.0 blacklisted to evict
expedia#B;1.1.0 in favor of expedia#B;pCC.main.+ in
expedia#A;working@BELSVENZ07-W7 for default]
[ivy:resolve] found expedia#B;1.0.0 in ReleasedBuilds
[ivy:resolve] [1.0.0] expedia#B;[1.0,2.0[
[ivy:resolve] BLACKLISTING [expedia#B;1.0.0 blacklisted to evict
expedia#B;1.0.0 in favor of expedia#B;pCC.main.+ in
expedia#A;working@BELSVENZ07-W7 for default]
[ivy:resolve] found expedia#B;1.2.0.0 in DirectedBuilds
[ivy:resolve] [1.2.0.0] expedia#B;[1.0,2.0[
[ivy:resolve] BLACKLISTING [expedia#B;1.2.0.0 blacklisted to evict
expedia#B;1.2.0.0 in favor of expedia#B;pCC.main.+ in
expedia#A;working@BELSVENZ07-W7 for default]
[ivy:resolve] found expedia#B;pCC.main.1.9 in DirectedBuilds
[ivy:resolve] [pCC.main.1.9] expedia#B;pCC.main.+
[ivy:resolve] BLACKLISTING [expedia#B;[1.0,2.0[ blacklisted to evict
expedia#B;[1.0,2.0[ in favor of expedia#B;pCC.main.1.9 in
expedia#A;working@BELSVENZ07-W7 for default]
[ivy:resolve] BLACKLISTING [expedia#B;[1.0,2.0[ blacklisted to evict
expedia#B;[1.0,2.0[ in favor of expedia#B;pCC.main.1.9 in
expedia#A;working@BELSVENZ07-W7 for default]
[ivy:resolve] BLACKLISTING [expedia#B;[1.0,2.0[ blacklisted to evict
expedia#B;[1.0,2.0[ in favor of expedia#B;pCC.main.1.9 in
expedia#A;working@BELSVENZ07-W7 for default]
[ivy:resolve] BLACKLISTING [expedia#B;[1.0,2.0[ blacklisted to evict
expedia#B;[1.0,2.0[ in favor of expedia#B;pCC.main.1.9 in
expedia#A;working@BELSVENZ07-W7 for default]
[ivy:resolve] BLACKLISTING [expedia#B;[1.0,2.0[ blacklisted to evict
expedia#B;[1.0,2.0[ in favor of expedia#B;pCC.main.1.9 in
expedia#A;working@BELSVENZ07-W7 for default]
[ivy:resolve] BLACKLISTING [expedia#B;[1.0,2.0[ blacklisted to evict
expedia#B;[1.0,2.0[ in favor of expedia#B;pCC.main.1.9 in
expedia#A;working@BELSVENZ07-W7 for default]
> Infinite loop in latest-compatible conflict manager
> ---------------------------------------------------
>
> Key: IVY-1233
> URL: https://issues.apache.org/jira/browse/IVY-1233
> Project: Ivy
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.2.0-RC1
> Reporter: Archie Cobbs
> Assignee: Maarten Coene
> Fix For: trunk
>
> Attachments: ivy-1233-test.patch, ivy-1233.patch, ivybug.zip
>
>
> Attempting to resolve org="com.gargoylesoftware" name="htmlunit" rev="2.7"
> from the Ivy RoundUp repository with the latest-compatible conflict manager
> configured leads to an infinite loop:
> {noformat}
> $ ant
> Buildfile: build.xml
> clean:
> bug:
> [ivy:resolve] :: Ivy 2.2.0-rc1 - 20100629224905 :: http://ant.apache.org/ivy/
> ::
> [ivy:resolve] :: loading settings :: file = /Users/archie/IVYBUG/settings.xml
> [ivy:resolve] BLACKLISTING [org.apache.xerces#xerces;2.7+ blacklisted to
> evict org.apache.xerces#xerces;2.7+ in favor of
> org.apache.xerces#xerces;2.9.1 in com.gargoylesoftware#htmlunit;2.7 for
> default]
> [ivy:resolve] BLACKLISTING [org.apache.xerces#xerces;2.7+ blacklisted to
> evict org.apache.xerces#xerces;2.7+ in favor of
> org.apache.xerces#xerces;2.9.1 in com.gargoylesoftware#htmlunit;2.7 for
> default]
> [ivy:resolve] BLACKLISTING [org.apache.xerces#xerces;2.7+ blacklisted to
> evict org.apache.xerces#xerces;2.7+ in favor of
> org.apache.xerces#xerces;2.9.1 in com.gargoylesoftware#htmlunit;2.7 for
> default]
> [ivy:resolve] BLACKLISTING [org.apache.xerces#xerces;2.7+ blacklisted to
> evict org.apache.xerces#xerces;2.7+ in favor of
> org.apache.xerces#xerces;2.9.1 in com.gargoylesoftware#htmlunit;2.7 for
> default]
> [ivy:resolve] BLACKLISTING [org.apache.xerces#xerces;2.7+ blacklisted to
> evict org.apache.xerces#xerces;2.7+ in favor of
> org.apache.xerces#xerces;2.9.1 in com.gargoylesoftware#htmlunit;2.7 for
> default]
> [ivy:resolve] BLACKLISTING [org.apache.xerces#xerces;2.7+ blacklisted to
> evict org.apache.xerces#xerces;2.7+ in favor of
> org.apache.xerces#xerces;2.9.1 in com.gargoylesoftware#htmlunit;2.7 for
> default]
> [ivy:resolve] BLACKLISTING [org.apache.xerces#xerces;2.7+ blacklisted to
> evict org.apache.xerces#xerces;2.7+ in favor of
> org.apache.xerces#xerces;2.9.1 in com.gargoylesoftware#htmlunit;2.7 for
> default]
> ...
> {noformat}
> See attached test case. To run it, unpack ZIP file, cd into IVYBUG, copy
> {{ant-2.2.0-rc1.jar}} in the current directory and then run "ant".
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira