Bug 2124499 - perl-Captcha-reCAPTCHA-0.99-6.fc38 FTBFS: t/10.get_html.t fails with perl-HTML-Tiny-1.07-1.fc38
Summary: perl-Captcha-reCAPTCHA-0.99-6.fc38 FTBFS: t/10.get_html.t fails with perl-HTM...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Captcha-reCAPTCHA
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F38FTBFS
TreeView+ depends on / blocked
 
Reported: 2022-09-06 10:40 UTC by Petr Pisar
Modified: 2022-09-06 12:23 UTC (History)
4 users (show)

Fixed In Version: perl-Captcha-reCAPTCHA-0.99-7.fc38
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-06 12:23:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
CPAN 144224 0 None None None 2022-09-06 11:16:49 UTC

Internal Links: 2124537

Description Petr Pisar 2022-09-06 10:40:45 UTC
perl-Captcha-reCAPTCHA-0.99-6.fc38 fails to build in Fedora 38 because a test fails:

t/pod.t ................. ok
#   Failed test 'Simple: Generate HTML OK 18'
#   at t/10.get_html.t line 111.
#          got: '<script src="http://www.google.com/recaptcha/api/challenge?k=6LdAAAkAwAAAFJj6ACG3Wlix_GuQJMNGjMQnw5UY" type="text/javascript"></script>
# <noscript><iframe frameborder="0" height="300" src="http://www.google.com/recaptcha/api/noscript?k=6LdAAAkAwAAAFJj6ACG3Wlix_GuQJMNGjMQnw5UY" width="500" /><textarea cols="40" name="recaptcha_challenge_field" rows="3"></textarea><input name="recaptcha_response_field" type="hidden" value="manual_challenge" /></noscript>
# '
#     expected: '<script src="http://www.google.com/recaptcha/api/challenge?k=6LdAAAkAwAAAFJj6ACG3Wlix_GuQJMNGjMQnw5UY" type="text/javascript"></script>
# <noscript><iframe frameborder="0" height="300" src="http://www.google.com/recaptcha/api/noscript?k=6LdAAAkAwAAAFJj6ACG3Wlix_GuQJMNGjMQnw5UY" width="500"></iframe><textarea cols="40" name="recaptcha_challenge_field" rows="3"></textarea><input name="recaptcha_response_field" type="hidden" value="manual_challenge" /></noscript>
# '
#   Failed test 'Error: Generate HTML OK 31'
#   at t/10.get_html.t line 111.
#          got: '<script src="http://www.google.com/recaptcha/api/challenge?error=%3c%3csome+random+error%3e%3e&amp;k=6LdAAAkAwAAAFJj6ACG3Wlix_GuQJMNGjMQnw5UY" type="text/javascript"></script>
# <noscript><iframe frameborder="0" height="300" src="http://www.google.com/recaptcha/api/noscript?error=%3c%3csome+random+error%3e%3e&amp;k=6LdAAAkAwAAAFJj6ACG3Wlix_GuQJMNGjMQnw5UY" width="500" /><textarea cols="40" name="recaptcha_challenge_field" rows="3"></textarea><input name="recaptcha_response_field" type="hidden" value="manual_challenge" /></noscript>
# '
#     expected: '<script src="http://www.google.com/recaptcha/api/challenge?error=%3c%3csome+random+error%3e%3e&amp;k=6LdAAAkAwAAAFJj6ACG3Wlix_GuQJMNGjMQnw5UY" type="text/javascript"></script>
# <noscript><iframe frameborder="0" height="300" src="http://www.google.com/recaptcha/api/noscript?error=%3c%3csome+random+error%3e%3e&amp;k=6LdAAAkAwAAAFJj6ACG3Wlix_GuQJMNGjMQnw5UY" width="500"></iframe><textarea cols="40" name="recaptcha_challenge_field" rows="3"></textarea><input name="recaptcha_response_field" type="hidden" value="manual_challenge" /></noscript>
# '
#   Failed test 'Error in hash: Generate HTML OK 44'
#   at t/10.get_html.t line 111.
#          got: '<script src="http://www.google.com/recaptcha/api/challenge?error=%3c%3csome+random+error%3e%3e&amp;k=6LdAAAkAwAAAFJj6ACG3Wlix_GuQJMNGjMQnw5UY" type="text/javascript"></script>
# <noscript><iframe frameborder="0" height="300" src="http://www.google.com/recaptcha/api/noscript?error=%3c%3csome+random+error%3e%3e&amp;k=6LdAAAkAwAAAFJj6ACG3Wlix_GuQJMNGjMQnw5UY" width="500" /><textarea cols="40" name="recaptcha_challenge_field" rows="3"></textarea><input name="recaptcha_response_field" type="hidden" value="manual_challenge" /></noscript>
# '
#     expected: '<script src="http://www.google.com/recaptcha/api/challenge?error=%3c%3csome+random+error%3e%3e&amp;k=6LdAAAkAwAAAFJj6ACG3Wlix_GuQJMNGjMQnw5UY" type="text/javascript"></script>
# <noscript><iframe frameborder="0" height="300" src="http://www.google.com/recaptcha/api/noscript?error=%3c%3csome+random+error%3e%3e&amp;k=6LdAAAkAwAAAFJj6ACG3Wlix_GuQJMNGjMQnw5UY" width="500"></iframe><textarea cols="40" name="recaptcha_challenge_field" rows="3"></textarea><input name="recaptcha_response_field" type="hidden" value="manual_challenge" /></noscript>
# '
#   Failed test 'Secure: Generate HTML OK 58'
#   at t/10.get_html.t line 111.
#          got: '<script src="https://www.google.com/recaptcha/api/challenge?k=6LdAAAkAwAAAFJj6ACG3Wlix_GuQJMNGjMQnw5UY" type="text/javascript"></script>
# <noscript><iframe frameborder="0" height="300" src="https://www.google.com/recaptcha/api/noscript?k=6LdAAAkAwAAAFJj6ACG3Wlix_GuQJMNGjMQnw5UY" width="500" /><textarea cols="40" name="recaptcha_challenge_field" rows="3"></textarea><input name="recaptcha_response_field" type="hidden" value="manual_challenge" /></noscript>
# '
#     expected: '<script src="https://www.google.com/recaptcha/api/challenge?k=6LdAAAkAwAAAFJj6ACG3Wlix_GuQJMNGjMQnw5UY" type="text/javascript"></script>
# <noscript><iframe frameborder="0" height="300" src="https://www.google.com/recaptcha/api/noscript?k=6LdAAAkAwAAAFJj6ACG3Wlix_GuQJMNGjMQnw5UY" width="500"></iframe><textarea cols="40" name="recaptcha_challenge_field" rows="3"></textarea><input name="recaptcha_response_field" type="hidden" value="manual_challenge" /></noscript>
# '
#   Failed test 'Options: Generate HTML OK 71'
#   at t/10.get_html.t line 111.
#          got: '<script type="text/javascript">
# //<![CDATA[
# var RecaptchaOptions = {"tabindex":3,"theme":"white"};
# //]]>
# </script>
# <script src="http://www.google.com/recaptcha/api/challenge?k=6LdAAAkAwAAAFJj6ACG3Wlix_GuQJMNGjMQnw5UY" type="text/javascript"></script>
# <noscript><iframe frameborder="0" height="300" src="http://www.google.com/recaptcha/api/noscript?k=6LdAAAkAwAAAFJj6ACG3Wlix_GuQJMNGjMQnw5UY" width="500" /><textarea cols="40" name="recaptcha_challenge_field" rows="3"></textarea><input name="recaptcha_response_field" type="hidden" value="manual_challenge" /></noscript>
# '
#     expected: '<script type="text/javascript">
# //<![CDATA[
# var RecaptchaOptions = {"tabindex":3,"theme":"white"};
# //]]>
# </script>
# <script src="http://www.google.com/recaptcha/api/challenge?k=6LdAAAkAwAAAFJj6ACG3Wlix_GuQJMNGjMQnw5UY" type="text/javascript"></script>
# <noscript><iframe frameborder="0" height="300" src="http://www.google.com/recaptcha/api/noscript?k=6LdAAAkAwAAAFJj6ACG3Wlix_GuQJMNGjMQnw5UY" width="500"></iframe><textarea cols="40" name="recaptcha_challenge_field" rows="3"></textarea><input name="recaptcha_response_field" type="hidden" value="manual_challenge" /></noscript>
# '
#   Failed test 'Use old verion: Generate HTML OK 87'
#   at t/10.get_html.t line 111.
#          got: '<script type="text/javascript">
# //<![CDATA[
# var RecaptchaOptions = {"tabindex":3,"theme":"white"};
# //]]>
# </script>
# <script src="http://www.google.com/recaptcha/api/challenge?k=6LdAAAkAwAAAFJj6ACG3Wlix_GuQJMNGjMQnw5UY" type="text/javascript"></script>
# <noscript><iframe frameborder="0" height="300" src="http://www.google.com/recaptcha/api/noscript?k=6LdAAAkAwAAAFJj6ACG3Wlix_GuQJMNGjMQnw5UY" width="500" /><textarea cols="40" name="recaptcha_challenge_field" rows="3"></textarea><input name="recaptcha_response_field" type="hidden" value="manual_challenge" /></noscript>
# '
#     expected: '<script type="text/javascript">
# //<![CDATA[
# var RecaptchaOptions = {"tabindex":3,"theme":"white"};
# //]]>
# </script>
# <script src="http://www.google.com/recaptcha/api/challenge?k=6LdAAAkAwAAAFJj6ACG3Wlix_GuQJMNGjMQnw5UY" type="text/javascript"></script>
# <noscript><iframe frameborder="0" height="300" src="http://www.google.com/recaptcha/api/noscript?k=6LdAAAkAwAAAFJj6ACG3Wlix_GuQJMNGjMQnw5UY" width="500"></iframe><textarea cols="40" name="recaptcha_challenge_field" rows="3"></textarea><input name="recaptcha_response_field" type="hidden" value="manual_challenge" /></noscript>
# '
# Looks like you failed 6 tests of 18.
t/10.get_html.t ......... 
Dubious, test returned 6 (wstat 1536, 0x600)
Failed 6/18 subtests

This is triggered by upgrading perl-HTML-Tiny from 1.05-40.fc37 to 1.07-1.fc38.


Note You need to log in before you can comment on or make changes to this bug.