Bug 2466652 - scancode-toolkit: FTBFS in Fedora Rawhide: 2 tests fail
Summary: scancode-toolkit: FTBFS in Fedora Rawhide: 2 tests fail
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: scancode-toolkit
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Robert-André Mauchin 🐧
QA Contact:
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: PYTHON3.15 F45FTBFS, RAWHIDEFTBFS
TreeView+ depends on / blocked
 
Reported: 2026-05-05 07:04 UTC by Karolina Surma
Modified: 2026-05-05 07:04 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2026-05-05 07:04:31 UTC
Description of problem:
Package scancode-toolkit fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
32.5.0-2.fc45

Steps to Reproduce:
koji build --scratch f45 scancode-toolkit-32.5.0-2.fc45.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/scancode-toolkit

Reproducible: Always

Actual Results:
FAILED tests/packagedcode/test_win_pe.py::TestWinPePeInfo::test_win_pe_tre4_dll - AssertionError: assert {'Full Version': None, 'ProductVersion': '0.7.5.3276', 'FileVersion': '0.7.5.3276', 'Assembly Version': None, 'BuildDate': None, 'ProductName': 'Tre', 'OriginalFilename': 'tre4.dll', 'InternalName': 'tre4', 'License': 'This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License; see www.gnu.org/copyleft/gpl.html.', 'LegalCopyright': 'Ā© 2008 Ville Laurikari <vl>', 'LegalTrademarks': 'GnuWin32®, Tre®, tre4®', 'LegalTrademarks1': None, 'LegalTrademarks2': None, 'LegalTrademarks3': None, 'FileDescription': 'Tre4: Posix compliant regular expression library', 'Comments': None, 'CompanyName': 'GnuWin32 <http://gnuwin32.sourceforge.net>', 'Company': None, 'URL': None, 'WWW': 'http://laurikari.net/tre', 'extra_data': {'LibToolFileVersion': '6:4:2'}} == {'Full Version': None, 'ProductVersion': '0.7.5.3276', 'FileVersion': '0.7.5.3276', 'Assembly Version': None, 'BuildDate': None, 'ProductName': 'Tre', 'OriginalFilename': 'tre4.dll', 'InternalName': 'tre4', 'License': 'This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License; see www.gnu.org/copyleft/gpl.html.', 'LegalCopyright': '© 2008 Ville Laurikari <vl>', 'LegalTrademarks': 'GnuWin32®, Tre®, tre4®', 'LegalTrademarks1': None, 'LegalTrademarks2': None, 'LegalTrademarks3': None, 'FileDescription': 'Tre4: Posix compliant regular expression library', 'Comments': None, 'CompanyName': 'GnuWin32 <http://gnuwin32.sourceforge.net>', 'Company': None, 'URL': None, 'WWW': 'http://laurikari.net/tre', 'extra_data': {'LibToolFileVersion': '6:4:2'}}
  
  Common items:
  {'Assembly Version': None,
   'BuildDate': None,
   'Comments': None,
   'Company': None,
   'CompanyName': 'GnuWin32 <http://gnuwin32.sourceforge.net>',
   'FileDescription': 'Tre4: Posix compliant regular expression library',
   'FileVersion': '0.7.5.3276',
   'Full Version': None,
   'InternalName': 'tre4',
   'LegalTrademarks': 'GnuWin32®, Tre®, tre4®',
   'LegalTrademarks1': None,
   'LegalTrademarks2': None,
   'LegalTrademarks3': None,
   'License': 'This program is free software; you can redistribute it and/or '
              'modify it under the terms of the GNU General Public License; see '
              'www.gnu.org/copyleft/gpl.html.',
   'OriginalFilename': 'tre4.dll',
   'ProductName': 'Tre',
   'ProductVersion': '0.7.5.3276',
   'URL': None,
   'WWW': 'http://laurikari.net/tre',
   'extra_data': {'LibToolFileVersion': '6:4:2'}}
  Differing items:
  {'LegalCopyright': 'Ā© 2008 Ville Laurikari <vl>'} != {'LegalCopyright': '© 2008 Ville Laurikari <vl>'}
  
  Full diff:
    {
        'Assembly Version': None,
        'BuildDate': None,
        'Comments': None,
        'Company': None,
        'CompanyName': 'GnuWin32 <http://gnuwin32.sourceforge.net>',
        'FileDescription': 'Tre4: Posix compliant regular expression library',
        'FileVersion': '0.7.5.3276',
        'Full Version': None,
        'InternalName': 'tre4',
  -     'LegalCopyright': '© 2008 Ville Laurikari <vl>',
  +     'LegalCopyright': 'Ā© 2008 Ville Laurikari <vl>',
  ?                        +
        'LegalTrademarks': 'GnuWin32®, Tre®, tre4®',
        'LegalTrademarks1': None,
        'LegalTrademarks2': None,
        'LegalTrademarks3': None,
        'License': 'This program is free software; you can redistribute it and/or modify it '
        'under the terms of the GNU General Public License; see '
        'www.gnu.org/copyleft/gpl.html.',
        'OriginalFilename': 'tre4.dll',
        'ProductName': 'Tre',
        'ProductVersion': '0.7.5.3276',
        'URL': None,
        'WWW': 'http://laurikari.net/tre',
        'extra_data': {
            'LibToolFileVersion': '6:4:2',
        },
    }
FAILED tests/packagedcode/test_win_pe.py::TestWinPeParseToPackage::test_win_pe_tre4_dll - AssertionError: assert [{'type': 'winexe', 'namespace': None, 'name': 'Tre', 'version': '0.7.5.3276', 'qualifiers': {}, 'subpath': None, 'primary_language': None, 'description': 'Tre4: Posix compliant regular expression library', 'release_date': None, 'parties': [{'type': 'organization', 'role': 'author', 'name': 'GnuWin32 <http://gnuwin32.sourceforge.net>', 'email': None, 'url': None}], 'keywords': [], 'homepage_url': 'http://laurikari.net/tre', 'download_url': None, 'size': None, 'sha1': None, 'md5': None, 'sha256': None, 'sha512': None, 'bug_tracking_url': None, 'code_view_url': None, 'vcs_url': None, 'copyright': 'Ā© 2008 Ville Laurikari <vl>', 'holder': 'Ā© Ville Laurikari', 'declared_license_expression': 'gpl-1.0-plus', 'declared_license_expression_spdx': 'GPL-1.0-or-later', 'license_detections': [{'license_expression': 'gpl-1.0-plus', 'license_expression_spdx': 'GPL-1.0-or-later', 'matches': [{'license_expression': 'gpl-1.0-plus', 'license_expression_spdx': 'GPL-1.0-or-later', 'from_file': None, 'start_line': 1, 'end_line': 1, 'matcher': '1-hash', 'score': 100.0, 'matched_length': 29, 'match_coverage': 100.0, 'rule_relevance': 100, 'rule_identifier': 'gpl-1.0-plus_569.RULE', 'rule_url': 'https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_569.RULE', 'matched_text': 'This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License; see www.gnu.org/copyleft/gpl.html.'}], 'identifier': 'gpl_1_0_plus-5fd4d6d4-ee9e-094b-b723-aa97a019a2e9'}], 'other_license_expression': None, 'other_license_expression_spdx': None, 'other_license_detections': [], 'extracted_license_statement': 'LegalTrademarks: GnuWin32®, Tre®, tre4®\nLicense: This program is free software; you can redistribute it and/or modify it under the terms\n  of the GNU General Public License; see www.gnu.org/copyleft/gpl.html.\n', 'notice_text': None, 'source_packages': [], 'file_references': [], 'is_private': False, 'is_virtual': False, 'extra_data': {}, 'dependencies': [], 'repository_homepage_url': None, 'repository_download_url': None, 'api_data_url': None, 'datasource_id': 'windows_executable', 'purl': 'pkg:winexe/Tre.5.3276'}] == [{'type': 'winexe', 'namespace': None, 'name': 'Tre', 'version': '0.7.5.3276', 'qualifiers': {}, 'subpath': None, 'primary_language': None, 'description': 'Tre4: Posix compliant regular expression library', 'release_date': None, 'parties': [{'type': 'organization', 'role': 'author', 'name': 'GnuWin32 <http://gnuwin32.sourceforge.net>', 'email': None, 'url': None}], 'keywords': [], 'homepage_url': 'http://laurikari.net/tre', 'download_url': None, 'size': None, 'sha1': None, 'md5': None, 'sha256': None, 'sha512': None, 'bug_tracking_url': None, 'code_view_url': None, 'vcs_url': None, 'copyright': '© 2008 Ville Laurikari <vl>', 'holder': 'Ville Laurikari', 'declared_license_expression': 'gpl-1.0-plus', 'declared_license_expression_spdx': 'GPL-1.0-or-later', 'license_detections': [{'license_expression': 'gpl-1.0-plus', 'license_expression_spdx': 'GPL-1.0-or-later', 'matches': [{'license_expression': 'gpl-1.0-plus', 'license_expression_spdx': 'GPL-1.0-or-later', 'from_file': None, 'start_line': 1, 'end_line': 1, 'matcher': '1-hash', 'score': 100.0, 'matched_length': 29, 'match_coverage': 100.0, 'rule_relevance': 100, 'rule_identifier': 'gpl-1.0-plus_569.RULE', 'rule_url': 'https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_569.RULE', 'matched_text': 'This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License; see www.gnu.org/copyleft/gpl.html.'}], 'identifier': 'gpl_1_0_plus-5fd4d6d4-ee9e-094b-b723-aa97a019a2e9'}], 'other_license_expression': None, 'other_license_expression_spdx': None, 'other_license_detections': [], 'extracted_license_statement': 'LegalTrademarks: GnuWin32®, Tre®, tre4®\nLicense: This program is free software; you can redistribute it and/or modify it under the terms\n  of the GNU General Public License; see www.gnu.org/copyleft/gpl.html.\n', 'notice_text': None, 'source_packages': [], 'file_references': [], 'is_private': False, 'is_virtual': False, 'extra_data': {}, 'dependencies': [], 'repository_homepage_url': None, 'repository_download_url': None, 'api_data_url': None, 'datasource_id': 'windows_executable', 'purl': 'pkg:winexe/Tre.5.3276'}]
  
  At index 0 diff: {'type': 'winexe', 'namespace': None, 'name': 'Tre', 'version': '0.7.5.3276', 'qualifiers': {}, 'subpath': None, 'primary_language': None, 'description': 'Tre4: Posix compliant regular expression library', 'release_date': None, 'parties': [{'type': 'organization', 'role': 'author', 'name': 'GnuWin32 <http://gnuwin32.sourceforge.net>', 'email': None, 'url': None}], 'keywords': [], 'homepage_url': 'http://laurikari.net/tre', 'download_url': None, 'size': None, 'sha1': None, 'md5': None, 'sha256': None, 'sha512': None, 'bug_tracking_url': None, 'code_view_url': None, 'vcs_url': None, 'copyright': 'Ā© 2008 Ville Laurikari <vl>', 'holder': 'Ā© Ville Laurikari', 'declared_license_expression': 'gpl-1.0-plus', 'declared_license_expression_spdx': 'GPL-1.0-or-later', 'license_detections': [{'license_expression': 'gpl-1.0-plus', 'license_expression_spdx': 'GPL-1.0-or-later', 'matches': [{'license_expression': 'gpl-1.0-plus', 'license_expression_spdx': 'GPL-1.0-or-later', 'from_file': None, 'start_line': 1, 'end_line': 1, 'matcher': '1-hash', 'score': 100.0, 'matched_length': 29, 'match_coverage': 100.0, 'rule_relevance': 100, 'rule_identifier': 'gpl-1.0-plus_569.RULE', 'rule_url': 'https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_569.RULE', 'matched_text': 'This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License; see www.gnu.org/copyleft/gpl.html.'}], 'identifier': 'gpl_1_0_plus-5fd4d6d4-ee9e-094b-b723-aa97a019a2e9'}], 'other_license_expression': None, 'other_license_expression_spdx': None, 'other_license_detections': [], 'extracted_license_statement': 'LegalTrademarks: GnuWin32®, Tre®, tre4®\nLicense: This program is free software; you can redistribute it and/or modify it under the terms\n  of the GNU General Public License; see www.gnu.org/copyleft/gpl.html.\n', 'notice_text': None, 'source_packages': [], 'file_references': [], 'is_private': False, 'is_virtual': False, 'extra_data': {}, 'dependencies': [], 'repository_homepage_url': None, 'repository_download_url': None, 'api_data_url': None, 'datasource_id': 'windows_executable', 'purl': 'pkg:winexe/Tre.5.3276'} != {'type': 'winexe', 'namespace': None, 'name': 'Tre', 'version': '0.7.5.3276', 'qualifiers': {}, 'subpath': None, 'primary_language': None, 'description': 'Tre4: Posix compliant regular expression library', 'release_date': None, 'parties': [{'type': 'organization', 'role': 'author', 'name': 'GnuWin32 <http://gnuwin32.sourceforge.net>', 'email': None, 'url': None}], 'keywords': [], 'homepage_url': 'http://laurikari.net/tre', 'download_url': None, 'size': None, 'sha1': None, 'md5': None, 'sha256': None, 'sha512': None, 'bug_tracking_url': None, 'code_view_url': None, 'vcs_url': None, 'copyright': '© 2008 Ville Laurikari <vl>', 'holder': 'Ville Laurikari', 'declared_license_expression': 'gpl-1.0-plus', 'declared_license_expression_spdx': 'GPL-1.0-or-later', 'license_detections': [{'license_expression': 'gpl-1.0-plus', 'license_expression_spdx': 'GPL-1.0-or-later', 'matches': [{'license_expression': 'gpl-1.0-plus', 'license_expression_spdx': 'GPL-1.0-or-later', 'from_file': None, 'start_line': 1, 'end_line': 1, 'matcher': '1-hash', 'score': 100.0, 'matched_length': 29, 'match_coverage': 100.0, 'rule_relevance': 100, 'rule_identifier': 'gpl-1.0-plus_569.RULE', 'rule_url': 'https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_569.RULE', 'matched_text': 'This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License; see www.gnu.org/copyleft/gpl.html.'}], 'identifier': 'gpl_1_0_plus-5fd4d6d4-ee9e-094b-b723-aa97a019a2e9'}], 'other_license_expression': None, 'other_license_expression_spdx': None, 'other_license_detections': [], 'extracted_license_statement': 'LegalTrademarks: GnuWin32®, Tre®, tre4®\nLicense: This program is free software; you can redistribute it and/or modify it under the terms\n  of the GNU General Public License; see www.gnu.org/copyleft/gpl.html.\n', 'notice_text': None, 'source_packages': [], 'file_references': [], 'is_private': False, 'is_virtual': False, 'extra_data': {}, 'dependencies': [], 'repository_homepage_url': None, 'repository_download_url': None, 'api_data_url': None, 'datasource_id': 'windows_executable', 'purl': 'pkg:winexe/Tre.5.3276'}
  
  Full diff:
    [
        {
            'api_data_url': None,
            'bug_tracking_url': None,
            'code_view_url': None,
  -         'copyright': '© 2008 Ville Laurikari <vl>',
  +         'copyright': 'Ā© 2008 Ville Laurikari <vl>',
  ?                       +
            'datasource_id': 'windows_executable',
            'declared_license_expression': 'gpl-1.0-plus',
            'declared_license_expression_spdx': 'GPL-1.0-or-later',
            'dependencies': [],
            'description': 'Tre4: Posix compliant regular expression library',
            'download_url': None,
            'extra_data': {},
            'extracted_license_statement': 'LegalTrademarks: GnuWin32®, Tre®, tre4®\n'
            'License: This program is free software; you can redistribute it '
            'and/or modify it under the terms\n'
            '  of the GNU General Public License; see '
            'www.gnu.org/copyleft/gpl.html.\n',
            'file_references': [],
  -         'holder': 'Ville Laurikari',
  +         'holder': 'Ā© Ville Laurikari',
  ?                    +++
            'homepage_url': 'http://laurikari.net/tre',
            'is_private': False,
            'is_virtual': False,
            'keywords': [],
            'license_detections': [
                {
                    'identifier': 'gpl_1_0_plus-5fd4d6d4-ee9e-094b-b723-aa97a019a2e9',
                    'license_expression': 'gpl-1.0-plus',
                    'license_expression_spdx': 'GPL-1.0-or-later',
                    'matches': [
                        {
                            'end_line': 1,
                            'from_file': None,
                            'license_expression': 'gpl-1.0-plus',
                            'license_expression_spdx': 'GPL-1.0-or-later',
                            'match_coverage': 100.0,
                            'matched_length': 29,
                            'matched_text': 'This program is free software; you can redistribute '
                            'it and/or modify it under the terms of the GNU '
                            'General Public License; see '
                            'www.gnu.org/copyleft/gpl.html.',
                            'matcher': '1-hash',
                            'rule_identifier': 'gpl-1.0-plus_569.RULE',
                            'rule_relevance': 100,
                            'rule_url': 'https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-1.0-plus_569.RULE',
                            'score': 100.0,
                            'start_line': 1,
                        },
                    ],
                },
            ],
            'md5': None,
            'name': 'Tre',
            'namespace': None,
            'notice_text': None,
            'other_license_detections': [],
            'other_license_expression': None,
            'other_license_expression_spdx': None,
            'parties': [
                {
                    'email': None,
                    'name': 'GnuWin32 <http://gnuwin32.sourceforge.net>',
                    'role': 'author',
                    'type': 'organization',
                    'url': None,
                },
            ],
            'primary_language': None,
            'purl': 'pkg:winexe/Tre.5.3276',
            'qualifiers': {},
            'release_date': None,
            'repository_download_url': None,
            'repository_homepage_url': None,
            'sha1': None,
            'sha256': None,
            'sha512': None,
            'size': None,
            'source_packages': [],
            'subpath': None,
            'type': 'winexe',
            'vcs_url': None,
            'version': '0.7.5.3276',
        },
    ]


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