diff --git a/build/lib/pgBackRestBuild/Config/BuildDefine.pm b/build/lib/pgBackRestBuild/Config/BuildDefine.pm index 589cf1d5b..f3715c94c 100644 --- a/build/lib/pgBackRestBuild/Config/BuildDefine.pm +++ b/build/lib/pgBackRestBuild/Config/BuildDefine.pm @@ -19,6 +19,7 @@ use pgBackRest::Common::String; use pgBackRest::Version; use BackRestDoc::Common::DocConfig; +use BackRestDoc::Common::DocRender; use pgBackRestBuild::Build::Common; use pgBackRestBuild::Config::Data; diff --git a/build/lib/pgBackRestBuild/Config/Data.pm b/build/lib/pgBackRestBuild/Config/Data.pm index b5a89a357..e4a6b57d7 100644 --- a/build/lib/pgBackRestBuild/Config/Data.pm +++ b/build/lib/pgBackRestBuild/Config/Data.pm @@ -66,7 +66,6 @@ use Getopt::Long qw(GetOptions); use Storable qw(dclone); use pgBackRest::Common::Exception; -use pgBackRest::Common::Ini; use pgBackRest::Common::Io::Base; use pgBackRest::Common::Log; use pgBackRest::Common::Wait; diff --git a/doc/lib/BackRestDoc/Common/DocExecute.pm b/doc/lib/BackRestDoc/Common/DocExecute.pm index 666b3a803..d2e906cb9 100644 --- a/doc/lib/BackRestDoc/Common/DocExecute.pm +++ b/doc/lib/BackRestDoc/Common/DocExecute.pm @@ -14,7 +14,6 @@ use Exporter qw(import); use Storable qw(dclone); use pgBackRest::Common::Exception; -use pgBackRest::Common::Ini; use pgBackRest::Common::Log; use pgBackRest::Common::String; use pgBackRest::Version; @@ -525,6 +524,10 @@ sub backrestConfig if ($self->{bExe} && $self->isRequired($oSection)) { + # Load module dynamically + require pgBackRest::Common::Ini; + pgBackRest::Common::Ini->import(); + my ($bCacheHit, $strCacheType, $hCacheKey, $hCacheValue) = $self->cachePop('cfg-' . PROJECT_EXE, $hCacheKey); if ($bCacheHit) diff --git a/doc/lib/BackRestDoc/Latex/DocLatexSection.pm b/doc/lib/BackRestDoc/Latex/DocLatexSection.pm index bd0f447a8..0c5bc33bc 100644 --- a/doc/lib/BackRestDoc/Latex/DocLatexSection.pm +++ b/doc/lib/BackRestDoc/Latex/DocLatexSection.pm @@ -11,7 +11,6 @@ use Carp qw(confess); use Exporter qw(import); our @EXPORT = qw(); -use pgBackRest::Common::Ini; use pgBackRest::Common::Log; use pgBackRest::Common::String; diff --git a/doc/xml/release.xml b/doc/xml/release.xml index 58926cad8..3eb38b467 100644 --- a/doc/xml/release.xml +++ b/doc/xml/release.xml @@ -59,6 +59,10 @@
Add ServiceError for errors from a service that can be retried.
Remove extraneous use/include statements.
Remove embedded semicolon from String constant macros.