| Summary: | www-apps/bugzilla-5.0.3-r2: email is not sent (patch) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | James L. Hammons <jlhamm> |
| Component: | Current packages | Assignee: | David Denoncin <gentoo> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | CC: | gentoo, jstein, proxy-maint, sam, web-apps |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
James L. Hammons
2020-01-04 04:47:15 UTC
I feel that I should note that even if you patch perl so that perl-5.30 is usable by bugzilla, it *still* exhibits the behavior noted above (email is not sent, lots of spam in error_log). The patch *FOR PERL* *DOES NOT* solve the issue. I was able to resolve this by upgrading to bugzilla-5.0.4. However, the problem (the "-T switch" errors in error_log) is still there, and perl still needs to be patched. Should I open a different bug for the checksetup.pl problem that's solved with the perl patch shown here: https://github.com/Perl/perl5/pull/17291/files ? Bugzilla-5.0.x works (at least checksetup.pl doesn't barf) with that patch to perl-5.30 (otherwise, you're stuck with perl-5.28). I had similar error messages in my apache logs with bugzilla-5.0.6 : [cgi:error] [pid 8520] [client 192.168.1.73:52032] AH01215: [Wed Jun 3 11:15:45 2020] createaccount.cgi: Use of uninitialized value $compiled in concatenation (.) or string at /usr/lib64/perl5/vendor_perl/5.30.1/x86_64-linux/Template/Provider.pm line 588.: /var/www/localhost/htdocs/bugzilla/createaccount.cgi [cgi:error] [pid 8520] [client 192.168.1.73:52032] AH01215: [Wed Jun 3 11:15:45 2020] createaccount.cgi: compiled template : Insecure dependency in require while running with -T switch at /usr/lib64/perl5/vendor_perl/5.30.1/x86_64-linux/Template/Provider.pm line 587.: /var/www/localhost/htdocs/bugzilla/createaccount.cgi It was solved for me by switching on smtp_ssl in the email configuration page. By the way, I did not need to patch Perl 5.30, following the wiki worked (https://wiki.gentoo.org/wiki/Bugzilla). Does this still happen with newest bugzilla? No response in two months, closing. Sorry for not responding in a timely manner; I haven't tried the latest in portage and am a bit hesitant to do so, as I rely on my installation working consistently. I'll have to spin up a VM to test this. No problem. I'm testing my current install with a more modern init script (see https://bugs.gentoo.org/749924), and discovered that mail would not be sent due to removing the deprecated dev-perl/Net-SMTP-SSL. Adding the suggested replacement dev-perl/IO-Socket-SSL solves this issue, and I submitted an update to this ebuild reflecting that change (see https://github.com/gentoo/gentoo/pull/18040) Sending email works fine on my current installation. Feel free to re-open this bug if needed. |