Skip Menu |

This queue is for tickets about the XML-Compile-WSDL11 CPAN distribution.

Report information
The Basics
Id: 91943
Status: resolved
Priority: 0/
Queue: XML-Compile-WSDL11

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 3.00
Fixed in: (no value)



Subject: Circular dependency
CPAN shell today reports recursive dependency chain: XML::Compile::SOAP11 (have: 2.38; want: 3.02) => MARKOV/XML-Compile-SOAP-3.02.tar.gz => XML::Compile::WSDL11 (have: 2.38; requires: 3.00) => MARKOV/XML-Compile-WSDL11-3.00.tar.gz => XML::Compile::SOAP11 (have: 2.38; requires: 3.00). Cannot resolve. MARKOV/XML-Compile-WSDL11-3.00.tar.gz [depend] -- NOT OK HTH && Regards, (Disclaimer: this was discovered by running a smoker, I'm not speaking as a user)
Subject: Re: [rt.cpan.org #91943] Circular dependency
Date: Wed, 8 Jan 2014 08:23:02 +0100
To: Andreas Koenig via RT <bug-XML-Compile-WSDL11 [...] rt.cpan.org>
From: Mark Overmeer <website [...] craneveer.nl>
* Andreas Koenig via RT (bug-XML-Compile-WSDL11@rt.cpan.org) [140108 06:14]: Show quoted text
> Wed Jan 08 01:13:56 2014: Request 91943 was acted upon. > Transaction: Ticket created by ANDK > Queue: XML-Compile-WSDL11 > Subject: Circular dependency > Broken in: 3.00 > Severity: (no value) > Owner: Nobody > Requestors: ANDK@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=91943 > > > > CPAN shell today reports recursive dependency chain: > > XML::Compile::SOAP11 (have: 2.38; want: 3.02) > => MARKOV/XML-Compile-SOAP-3.02.tar.gz > => XML::Compile::WSDL11 (have: 2.38; requires: 3.00) > => MARKOV/XML-Compile-WSDL11-3.00.tar.gz > => XML::Compile::SOAP11 (have: 2.38; requires: 3.00). > Cannot resolve. > MARKOV/XML-Compile-WSDL11-3.00.tar.gz > [depend] -- NOT OK >
Hey Andreas! Hum.... well, yes. Maybe you know an other solution. I split the WSDL11 module off, from the SOAP11 module. WSDL11 requires SOAP11. When you upgrade SOAP11, you need to upgrade WSDL11 when it is installed because the internal interface changed (slightly). So, the two-way dependency is what I want. Do all installation tools break now? Is there an better solution? -- Thanks for your report, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
Subject: Re: [rt.cpan.org #91943] Circular dependency
Date: Thu, 9 Jan 2014 13:00:16 +0100
To: Andreas Koenig via RT <bug-XML-Compile-WSDL11 [...] rt.cpan.org>
From: Mark Overmeer <solutions [...] overmeer.net>
* Andreas Koenig via RT (bug-XML-Compile-WSDL11@rt.cpan.org) [140108 06:14]: Show quoted text
> Wed Jan 08 01:13:56 2014: Request 91943 was acted upon. > Transaction: Ticket created by ANDK > Queue: XML-Compile-WSDL11 > Subject: Circular dependency > Broken in: 3.00 > > CPAN shell today reports recursive dependency chain: > > XML::Compile::SOAP11 (have: 2.38; want: 3.02) > => MARKOV/XML-Compile-SOAP-3.02.tar.gz > => XML::Compile::WSDL11 (have: 2.38; requires: 3.00) > => MARKOV/XML-Compile-WSDL11-3.00.tar.gz > => XML::Compile::SOAP11 (have: 2.38; requires: 3.00). > Cannot resolve. > MARKOV/XML-Compile-WSDL11-3.00.tar.gz > [depend] -- NOT OK > > HTH && Regards,
I know that Perl's installation tools have problems with recursive dependencies. As described, it seems that there is no good way to avoid it in my case :-( CPAN Shell does detect it, but could be made to handle it as well... The cleanest solution For all modules which need to be installed, download them at the same time, resolve dependencies. Continue downloading until all dependencies are satisfield. Then, run "make" in all directories. Put all new libs in PERL5LIB Run all regression tests Install all modules which pass the tests The simple solution When a recusive dependendy is detected, install the module without running the regression tests. What do you think? -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
CC: ANDK [...] cpan.org
Subject: Re: [rt.cpan.org #91943] Circular dependency
Date: Thu, 09 Jan 2014 22:53:58 +0100
To: bug-XML-Compile-WSDL11 [...] rt.cpan.org
From: Andreas Koenig <andreas.koenig.7os6VVqR [...] franz.ak.mind.de>
"Mark Overmeer via RT" <bug-XML-Compile-WSDL11@rt.cpan.org> writes: Show quoted text
> Hum.... well, yes. Maybe you know an other solution. I split the > WSDL11 module off, from the SOAP11 module. WSDL11 requires SOAP11. > When you upgrade SOAP11, you need to upgrade WSDL11 when it is installed > because the internal interface changed (slightly).
Moose has the same problem. When they break something they tell you during installation that you'll have to upgrade also Module1..ModuleN. I think they add these modules as "recommends". But the Recommends support in CPAN.pm is not yet landed, it's in the trunk but does not work yet, will probably be backed out. Even if it were there, you cannot rely on it because people are free to (not) follow recommendations. Some runtime warning? Show quoted text
> So, the two-way dependency is what I want. Do all installation tools > break now? Is there an better solution?
I know that cpanplus breaks circular dependencies and installs all modules in the circle somehow. I don't know about cpanm, sorry. -- andreas
I would really like to implore you to rethink that way you have created all of these circular dependencies, because you are really making life difficult for people who install and maintain this stuff. There's a reason that regression tests need to be run *before* you install things: when you install things, you normally overwrite the previous versions, and that is not at all reversible. The approaches you have proposed require several CPAN distros to all be installed before any of them can be tested, which means that when the tests fail, you are left with an installation that is broken, and extremely difficult to fix. There's no "make install-previous-version" and never will be. By proposing "install N distros and then go back and test N distros" you are also making the design and engineering of the various CPAN tools extremely difficult. The work you've done has been a great service to the perl community, but could you please reconsider the pain you are causing the system administrators who have to support and manage the perl infrastructure on their behalf? Right now, I am making these modules available without any form of testing, since it's not feasible to automate.
Subject: Re: [rt.cpan.org #91943] Circular dependency
Date: Wed, 23 Jul 2014 18:33:04 +0200
To: Phillip Moore via RT <bug-XML-Compile-WSDL11 [...] rt.cpan.org>
From: Mark Overmeer <mark [...] overmeer.net>
* Phillip Moore via RT (bug-XML-Compile-WSDL11@rt.cpan.org) [140723 13:18]: Show quoted text
> Queue: XML-Compile-WSDL11 > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=91943 > > > I would really like to implore you to rethink that way you have created > all of these circular dependencies, because you are really making life > difficult for people who install and maintain this stuff.
Your rant sounds like I like to have circular redundancies, and that I have many of them. Both are very untrue. There are a few limitations to Perl's toolset, which do bite me in the XML::Compile::SOAP/::WSDL11 case. Two modules need each other to be on the right version. I think that I found a trick to make it work, but if your experiences differ, please show me how to improve it. -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
Subject: Re: [rt.cpan.org #91943] Circular dependency
Date: Wed, 23 Jul 2014 18:33:04 +0200
To: Phillip Moore via RT <bug-XML-Compile-WSDL11 [...] rt.cpan.org>
From: Mark Overmeer <mark [...] overmeer.net>
* Phillip Moore via RT (bug-XML-Compile-WSDL11@rt.cpan.org) [140723 13:18]: Show quoted text
> Queue: XML-Compile-WSDL11 > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=91943 > > > I would really like to implore you to rethink that way you have created > all of these circular dependencies, because you are really making life > difficult for people who install and maintain this stuff.
Your rant sounds like I like to have circular redundancies, and that I have many of them. Both are very untrue. There are a few limitations to Perl's toolset, which do bite me in the XML::Compile::SOAP/::WSDL11 case. Two modules need each other to be on the right version. I think that I found a trick to make it work, but if your experiences differ, please show me how to improve it. -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net