Bugzilla/DB/Oracle.pm line 751 issue with 5.2

Randy Galbraith randy.galbraith at gmail.com
Fri Sep 4 10:17:00 UTC 2026


Hello David.

Thanks for responding so quickly! I found that removing "-norequire," from
line 751 worked for me. Nonetheless I'll apply a patch based on the latest
code. I'm hoping to get Bugzilla running today as our build process relies
on it.

I'm on Mastodon (@randygalbraith at mastodon.social) and got a few replies
from folks there pointing to this fix.

With kind regards, -Randy

On Fri, Sep 4, 2026 at 12:20 AM David Miller <justdave at bugzilla.org> wrote:

> This is actually a bug in Bugzilla...
>
> I filed it here:
> https://bugzilla.mozilla.org/show_bug.cgi?id=2069203
>
> It's a one-line fix, just change the `use base` on line 751 to `use
> parent`.
>
> It's also a regression of a bug that was previously fixed and someone
> broke it again. :-(
>
> This fix will be included in version 5.2.1, which is due to release within
> the next week or so if all goes well.
> On 9/3/26 12:33 PM, Randy Galbraith wrote:
>
> Hi Everyone.
>
> We run Bugzilla 5.0.4 on Red Hat 7.9 using Oracle for the bugs database. I
> am trying to upgrade to Bugzilla 5.2 on Red Hat 8.10. When I run
> checksetup.pl it ends Perl compile error. I am confident the settings for
> $db_driver, $db_host, $dbname, $db_user and $db_pass are all correct.
>
> Here is the output I am seeing:
>
> ** terminal output **
> Checking for          mod_version (any)       ok
> Reading ./localconfig...
> Checking for           DBD-Oracle (v1.19)     ok: found v1.95
> There was an error connecting to Oracle:
>
>     'oracle' is not a valid choice for $db_driver in  localconfig: Base
> class package "-norequire" is empty.
>     (Perhaps you need to 'use' the module which defines that package first,
>     or make that module available in @INC (@INC contains: .
> lib/x86_64-linux-thread-multi lib /usr/local/lib64/perl5
> /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
> /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5).
> at Bugzilla/DB/Oracle.pm line 751.
>
> BEGIN failed--compilation aborted at Bugzilla/DB/Oracle.pm line 751,
> <DATA> line 755.
>
> Compilation failed in require at (eval 593) line 1, <DATA> line 755.
>
> This might have several reasons:
>
> * Oracle is not running.
> * Oracle is running, but there is a problem either in the
>   server configuration or the database access rights. Read the Bugzilla
>   Guide in the doc directory. The section about database configuration
>   should help.
> * Your password for the 'myuser' user, specified in $db_pass, is
>   incorrect, in './localconfig'.
> * There is a subtle problem with Perl, DBI, or Oracle. Make
>   sure all settings in './localconfig' are correct. If all else fails, set
>   '$db_check' to 0.
> ** terminal output end **
>
> With kind regards, -Randy
>
>
> _______________________________________________
> support-list mailing listsupport-list at bugzilla.orghttps://lists.bugzilla.org/listinfo/support-list
>
> --
> [image: [Bugzilla Logo]]
> *Dave Miller*
> Project Leader
> *Bugzilla Project*
> https://bugzilla.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bugzilla.org/pipermail/support-list/attachments/20260904/909ac7f1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1Bj72GSxmHqkkkv.png
Type: image/png
Size: 7345 bytes
Desc: not available
URL: <http://lists.bugzilla.org/pipermail/support-list/attachments/20260904/909ac7f1/attachment.png>


More information about the support-list mailing list