From: jake%bugzilla.org <> Date: Wed, 2 Apr 2003 08:44:09 +0000 (+0000) Subject: Bug 171674 - Adding a section to the Troubleshooting section describing how to fix... X-Git-Tag: bugzilla-2.16.3~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85959ee27f9091761858b0018235211433013e13;p=thirdparty%2Fbugzilla.git Bug 171674 - Adding a section to the Troubleshooting section describing how to fix the File::Temp problems in perl 5.6.0. --- diff --git a/docs/sgml/filetemp.patch b/docs/sgml/filetemp.patch new file mode 100644 index 0000000000..9fb70adcea --- /dev/null +++ b/docs/sgml/filetemp.patch @@ -0,0 +1,18 @@ +--- File/Temp.pm.orig Thu Feb 6 16:26:00 2003 ++++ File/Temp.pm Thu Feb 6 16:26:23 2003 +@@ -205,6 +205,7 @@ + # eg CGI::Carp + local $SIG{__DIE__} = sub {}; + local $SIG{__WARN__} = sub {}; ++ local *CORE::GLOBAL::die = sub {}; + $bit = &$func(); + 1; + }; +@@ -226,6 +227,7 @@ + # eg CGI::Carp + local $SIG{__DIE__} = sub {}; + local $SIG{__WARN__} = sub {}; ++ local *CORE::GLOBAL::die = sub {}; + $bit = &$func(); + 1; + }; diff --git a/docs/sgml/installation.sgml b/docs/sgml/installation.sgml index 1ebe0bcb1d..9b4518e0f4 100644 --- a/docs/sgml/installation.sgml +++ b/docs/sgml/installation.sgml @@ -1995,6 +1995,62 @@ binmode(STDOUT); as root to fix this problem. + +
+ Your vendor has not defined Fcntl macro O_NOINHERIT + + This is caused by a bug in the version of + File::Temp that is distributed with perl + 5.6.0. Many minor variations of this error have been reported. Examples + can be found in . + + +
+ Other File::Temp error messages + + +Your vendor has not defined Fcntl macro O_NOINHERIT, used +at /usr/lib/perl5/site_perl/5.6.0/File/Temp.pm line 208. + +Your vendor has not defined Fcntl macro O_EXLOCK, used +at /usr/lib/perl5/site_perl/5.6.0/File/Temp.pm line 210. + +Your vendor has not defined Fcntl macro O_TEMPORARY, used +at /usr/lib/perl5/site_perl/5.6.0/File/Temp.pm line 233. + +
+ + Numerous people have reported that upgrading to version 5.6.1 + or higher solved the problem for them. A less involved fix is to apply + the patch in . The patch is also + available as a patch file. + + +
+ Patch for File::Temp in Perl 5.6.0 + + +
+
diff --git a/docs/xml/filetemp.patch b/docs/xml/filetemp.patch new file mode 100644 index 0000000000..9fb70adcea --- /dev/null +++ b/docs/xml/filetemp.patch @@ -0,0 +1,18 @@ +--- File/Temp.pm.orig Thu Feb 6 16:26:00 2003 ++++ File/Temp.pm Thu Feb 6 16:26:23 2003 +@@ -205,6 +205,7 @@ + # eg CGI::Carp + local $SIG{__DIE__} = sub {}; + local $SIG{__WARN__} = sub {}; ++ local *CORE::GLOBAL::die = sub {}; + $bit = &$func(); + 1; + }; +@@ -226,6 +227,7 @@ + # eg CGI::Carp + local $SIG{__DIE__} = sub {}; + local $SIG{__WARN__} = sub {}; ++ local *CORE::GLOBAL::die = sub {}; + $bit = &$func(); + 1; + }; diff --git a/docs/xml/installation.xml b/docs/xml/installation.xml index 1ebe0bcb1d..9b4518e0f4 100644 --- a/docs/xml/installation.xml +++ b/docs/xml/installation.xml @@ -1995,6 +1995,62 @@ binmode(STDOUT); as root to fix this problem. + +
+ Your vendor has not defined Fcntl macro O_NOINHERIT + + This is caused by a bug in the version of + File::Temp that is distributed with perl + 5.6.0. Many minor variations of this error have been reported. Examples + can be found in . + + +
+ Other File::Temp error messages + + +Your vendor has not defined Fcntl macro O_NOINHERIT, used +at /usr/lib/perl5/site_perl/5.6.0/File/Temp.pm line 208. + +Your vendor has not defined Fcntl macro O_EXLOCK, used +at /usr/lib/perl5/site_perl/5.6.0/File/Temp.pm line 210. + +Your vendor has not defined Fcntl macro O_TEMPORARY, used +at /usr/lib/perl5/site_perl/5.6.0/File/Temp.pm line 233. + +
+ + Numerous people have reported that upgrading to version 5.6.1 + or higher solved the problem for them. A less involved fix is to apply + the patch in . The patch is also + available as a patch file. + + +
+ Patch for File::Temp in Perl 5.6.0 + + +
+