Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • images images
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 5
    • Issues 5
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source ProjectsISC Open Source Projects
  • imagesimages
  • Merge requests
  • !4

Force-install Perl modules from CPAN

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Michał Kępień requested to merge force-install-perl-modules-from-cpan into master Jul 18, 2018
  • Overview 0
  • Commits 2
  • Pipelines 1
  • Changes 1

Net::DNS 1.16 requires the IO::Socket::IP module, which in turn requires ExtUtils::Constant >= 0.23, and the chain goes on, eventually including a lot of Perl modules whose old versions are bundled with the perl CentOS package. Attempts to upgrade these packages to newer versions on CentOS 6 results in Net::CPAN make test failures, but these seem to be benign enough to let Net::DNS work in the end, which is the only thing we are really interested in for our Docker images. Thus, force installing CPAN modules by adding -fi to the cpan invocation.

Since Net::DNS 1.16 introduced a DNS compression bug which causes malformed messages to be generated, this MR also forces use of Net::DNS 1.15 in our Docker images so that BIND CI does not break. This particular change should be reverted once a Net::DNS version with the aforementioned bug fixed is published.

See also:

  • https://gitlab.isc.org/isc-projects/bind9/-/jobs/25349 - proof that force-installing CPAN modules enables newer Net::DNS versions to be installed on CentOS 6,
  • https://gitlab.isc.org/isc-projects/bind9/-/jobs/25413 - proof that forcing use of Net::DNS 1.15 fixes our system tests on CentOS 6,
  • https://gitlab.isc.org/isc-projects/bind9/-/jobs/25412 - proof that forcing use of Net::DNS 1.15 fixes our system tests on CentOS 7.
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: force-install-perl-modules-from-cpan