Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1742880 - python-beautifulsoup4: FTBFS in Fedora 31+
Summary: python-beautifulsoup4: FTBFS in Fedora 31+
Keywords:
Status: CLOSED DUPLICATE of bug 1742146
Alias: None
Product: Fedora
Classification: Fedora
Component: python-beautifulsoup4
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Terje Røsten
QA Contact: Fedora Extras Quality Assurance
URL: http://apps.fedoraproject.org/koschei...
Whiteboard:
Depends On:
Blocks: F31FTBFS PYTHON38
TreeView+ depends on / blocked
 
Reported: 2019-08-17 08:31 UTC by Miro Hrončok
Modified: 2019-08-18 11:50 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-18 11:50:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2019-08-17 08:31:50 UTC
Description of problem:
Package python-beautifulsoup4 fails to build from source in Fedora 31+.

Version-Release number of selected component (if applicable):
4.6.3-3.fc31

Steps to Reproduce:
koji build --scratch f31 python-beautifulsoup4-4.6.3-3.fc31.src.rpm

Additional info:
This package is tracked by Koschei. See:
http://apps.fedoraproject.org/koschei/package/python-beautifulsoup4
https://apps.fedoraproject.org/koschei/build/6778909


BUILDSTDERR: ======================================================================
BUILDSTDERR: FAIL: test_nested_namespaces (tests.test_lxml.LXMLXMLTreeBuilderSmokeTest)
BUILDSTDERR: ----------------------------------------------------------------------
BUILDSTDERR: Traceback (most recent call last):
BUILDSTDERR:   File "bs4/testing.py", line 665, in test_nested_namespaces
BUILDSTDERR:     self.assertEqual(doc, soup.encode())
BUILDSTDERR: AssertionError: '<?xml version="1.0" encoding="utf-8"?>\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">\n<parent xmlns="http://ns1/">\n<child xmlns="http://ns2/" xmlns:ns3="http://ns3/">\n<grandchild ns3:attr="value" xmlns="http://ns4/"/>\n</child>\n</parent>' != '<?xml version="1.0" encoding="utf-8"?>\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">\n<parent xmlns:="http://ns1/">\n<child xmlns:="http://ns2/" xmlns:ns3="http://ns3/">\n<grandchild ns3:attr="value" xmlns:="http://ns4/"/>\n</child>\n</parent>'
BUILDSTDERR: ======================================================================
BUILDSTDERR: FAIL: test_real_xhtml_document (tests.test_lxml.LXMLXMLTreeBuilderSmokeTest)
BUILDSTDERR: A real XHTML document should come out *exactly* the same as it went in.
BUILDSTDERR: ----------------------------------------------------------------------
BUILDSTDERR: Traceback (most recent call last):
BUILDSTDERR:   File "bs4/testing.py", line 654, in test_real_xhtml_document
BUILDSTDERR:     soup.encode("utf-8"), markup)
BUILDSTDERR: AssertionError: '<?xml version="1.0" encoding="utf-8"?>\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">\n<html xmlns:="http://www.w3.org/1999/xhtml">\n<head><title>Hello.</title></head>\n<body>Goodbye.</body>\n</html>' != '<?xml version="1.0" encoding="utf-8"?>\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head><title>Hello.</title></head>\n<body>Goodbye.</body>\n</html>'
BUILDSTDERR: ----------------------------------------------------------------------
BUILDSTDERR: Ran 476 tests in 2.288s
BUILDSTDERR: FAILED (failures=2)
BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.fHaY2V (%check)
BUILDSTDERR:     Bad exit status from /var/tmp/rpm-tmp.fHaY2V (%check)


This blocks the Python 3.8 rebuild.

The coordinated rebuild of Python 3.8 happens in the `f32-python` side tag.

If you figure out how to rebuild this package, please don't rebuild it in regular rawhide, but use the side tag instead:

    on branch master:
    $ fedpkg build --target=f32-python

Thanks.

Comment 1 Terje Røsten 2019-08-18 11:50:54 UTC

*** This bug has been marked as a duplicate of bug 1742146 ***


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