Actions
Bug #4977
closedBug #4965: rudder-agent build rely too much on CPAN availability
rudder-agent build should use local tarballs if available
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
With the changes in #4965, 4 extra tarballs are available for CPANM builds. However, cpanm won't use them by default, so we need to change our perl-prepare.sh script to use them.
This is an extract from the output of a build that succeeded, where we can clearly see the 4 packages added in for dependencies:
09:00:56 Fetching file:///usr/src/rudder-packages/package/SOURCES/files/XML-SAX-0.96.tar.gz ... OK 09:00:56 Configuring XML-SAX-0.96 ... OK 09:00:56 ==> Found dependencies: XML::NamespaceSupport 09:00:56 Fetching http://search.cpan.org/CPAN/authors/id/P/PE/PERIGRIN/XML-NamespaceSupport-1.11.tar.gz ... OK 09:00:56 Configuring XML-NamespaceSupport-1.11 ... OK 09:00:56 Building and testing XML-NamespaceSupport-1.11 for XML::NamespaceSupport ... OK 09:00:56 Successfully installed XML-NamespaceSupport-1.11 09:00:56 Building and testing XML-SAX-0.96 for /usr/src/rudder-packages/package/SOURCES/files/XML-SAX-0.96.tar.gz ... OK 09:00:56 Successfully installed XML-SAX-0.96 09:00:56 Fetching file:///usr/src/rudder-packages/package/SOURCES/files/XML-Simple-2.18.tar.gz ... OK 09:00:56 Configuring XML-Simple-2.18 ... OK 09:00:56 Building and testing XML-Simple-2.18 for /usr/src/rudder-packages/package/SOURCES/files/XML-Simple-2.18.tar.gz ... OK 09:00:56 Successfully installed XML-Simple-2.18 09:00:56 Fetching file:///usr/src/rudder-packages/package/SOURCES/files/UNIVERSAL-require-0.13.tar.gz ... OK 09:00:56 Configuring UNIVERSAL-require-0.13 ... OK 09:00:56 Building and testing UNIVERSAL-require-0.13 for /usr/src/rudder-packages/package/SOURCES/files/UNIVERSAL-require-0.13.tar.gz ... OK 09:00:56 Successfully installed UNIVERSAL-require-0.13 09:00:56 Fetching file:///usr/src/rudder-packages/package/SOURCES/files/File-Which-1.09.tar.gz ... OK 09:00:56 Configuring File-Which-1.09 ... OK 09:00:56 ==> Found dependencies: Test::Script 09:00:56 Fetching http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Test-Script-1.07.tar.gz ... OK 09:00:56 Configuring Test-Script-1.07 ... OK 09:00:56 ==> Found dependencies: Probe::Perl, IPC::Run3 09:00:56 Fetching http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/Probe-Perl-0.03.tar.gz ... OK 09:00:56 Configuring Probe-Perl-0.03 ... OK 09:00:56 Building and testing Probe-Perl-0.03 for Probe::Perl ... OK 09:00:56 Successfully installed Probe-Perl-0.03 09:00:56 Fetching http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/IPC-Run3-0.048.tar.gz ... OK 09:00:56 Configuring IPC-Run3-0.048 ... OK 09:00:56 Building and testing IPC-Run3-0.048 for IPC::Run3 ... OK 09:00:56 Successfully installed IPC-Run3-0.048 09:00:56 Building and testing Test-Script-1.07 for Test::Script ... OK 09:00:56 Successfully installed Test-Script-1.07 09:00:56 Building and testing File-Which-1.09 for /usr/src/rudder-packages/package/SOURCES/files/File-Which-1.09.tar.gz ... OK 09:00:56 Successfully installed File-Which-1.09
Actions