when building a package on the bs, urpmi installs the requirements + their suggested dependencies. however, if a suggested pkg cannot be installed, the install fails and the package cannot be built. a suggests should never prevent bs from working. this bites me with the following: - perl-Dist-Zilla suggests perl-Task-Dist-Zilla (requiring all dzil plugins) - perl-Task-Dist-Zilla requires perl-Dist-Zilla (normal, the task goal is to provide the developer with a working installation) currently i want to build a new perl-Task-Dist-Zilla, it pulls perl-Dist-Zilla which wants to pull perl-Task-Dist-Zilla which wants to pull perl(Dist::Zilla::Plugin::WSDL::Types). however, this perl module doesn't exist anymore upstream, and perl-Dist-Zilla-Plugin-WSDL has been updated to latest version. therefore, perl-Task-Dist-Zilla cannot be installed. and thus, perl-Dist-Zilla install fails which means perl-Task-Dist-Zilla cannot be built. this is just wrong. suggests should either a) not be pulled on the bs or b) not be fatal if their install fails.
I would say that iurt should not pull suggests. Suggests are optional, and we want reproductible build, even outside of iurt.
CC: (none) => misc
*** Bug 1858 has been marked as a duplicate of this bug. ***
CC: (none) => cjw
CC: (none) => boklmDepends on: (none) => 858
Blocks: (none) => 858Depends on: 858 => (none)
i agree with misc - due to repeatability that is a good thing, solution b) should not be used. therefore, bs should not pull suggests.
fixed summary - this is not a bug in urpmi, iurt's handling of suggests should be independent of the default behavior of urpmi
Summary: urpmi should not install suggests before building a package / suggests should not be fatal => iurt should ignore suggested packages when installing build dependencies
Summary: iurt should ignore suggested packages when installing build dependencies => iurt shouldn't install suggested packages when installing build dependencies
Created attachment 662 [details] attempt to fix the bug passing --no-suggests to urpmi from iurt should prevent urpmi from installing suggestions.
This looks fine to me
CC: (none) => pterjan
can it be applied to build system then? thanks.
(In reply to comment #7) > can it be applied to build system then? thanks. Hi, I now tried building perl-Task-Dist-Zilla in vein as well. Very annoying. Please apply the patch to the build system. Regards, -- Shlomi Fish
CC: (none) => shlomif
(In reply to comment #8) > Hi, I now tried building perl-Task-Dist-Zilla in vein as well. Very annoying. > Please apply the patch to the build system. yes, task::dist::zilla is looping with dist::zilla as suggests. all perl-dist-zilla-* cannot be currently updated on mageia.
Please commit it to http://svnweb.mageia.org/soft/build_system/iurt/trunk/ I'll try to build a package and deploy it tonight (or annoy other sysadmins :) )
committed to svn.
Installed on the build system, sorry for the delay
Status: NEW => RESOLVEDResolution: (none) => FIXED
thanks! perl-dist-zilla-* currently being updated
CC: boklm => (none)