Bug 2235055 (scancode-toolkit) - Review Request: scancode-toolkit - Scan code and detect licenses, copyrights, and more.
Summary: Review Request: scancode-toolkit - Scan code and detect licenses, copyrights,...
Keywords:
Status: ASSIGNED
Alias: scancode-toolkit
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact: Fedora Extras Quality Assurance
URL: https://scancode-toolkit.readthedocs.io/
Whiteboard:
Depends On: 1748059 python-ftfy python-gemfileparser2 python-intbitset python-jsonstreams python-license-expression python-packageurl-python python-packvers python-parameter-expansion-patched python-pip-requirements-parser python-pkginfo2 python-plugincode python-pyahocorasick python-pygmars python-pymaven-patch python-saneyaml python-typecode
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-26 11:18 UTC by Robert-André Mauchin 🐧
Modified: 2023-11-25 16:31 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Robert-André Mauchin 🐧 2023-08-26 11:18:27 UTC
Spec URL: https://eclipseo.fedorapeople.org/for-review/scancode-toolkit.spec
SRPM URL: https://eclipseo.fedorapeople.org/for-review/scancode-toolkit-32.0.6-1.fc38.src.rpm

Description:
ScanCode is an open-source tool to scan code and detect licenses, copyrights, and more. It provides detailed information about discovered licenses, copyrights, and other important details in various formats.

Fedora Account System Username: eclipseo

To build it against the dependencies, use the following COPR in your rawhide mock.cfg:

[copr:copr.fedorainfracloud.org:eclipseo:scancode-toolkit]
name=Copr repo for scancode-toolkit owned by eclipseo
baseurl=https://download.copr.fedorainfracloud.org/results/eclipseo/scancode-toolkit/fedora-rawhide-/
type=rpm-md
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://download.copr.fedorainfracloud.org/results/eclipseo/scancode-toolkit/pubkey.gpg
repo_gpgcheck=0
enabled=1
enabled_metadata=1

Comment 1 Fedora Review Service 2023-08-26 11:21:56 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/6345534
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2235055-scancode-toolkit/fedora-rawhide-x86_64/06345534-scancode-toolkit/builder-live.log.gz

Please make sure the package builds successfully at least for Fedora Rawhide.

- If the build failed for unrelated reasons (e.g. temporary network
  unavailability), please ignore it.
- If the build failed because of missing BuildRequires, please make sure they
  are listed in the "Depends On" field


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 2 Miroslav Suchý 2023-09-28 04:59:44 UTC
Deps need to be packaged first 

No matching package to install: 'python3dist(commoncode) >= 31.0.2'
No matching package to install: 'python3dist(container-inspector) >= 31'
No matching package to install: 'python3dist(debian-inspector) >= 31'
No matching package to install: 'python3dist(dparse2) >= 0.7'
No matching package to install: 'python3dist(extractcode) >= 31'
No matching package to install: 'python3dist(extractcode[full]) >= 31'
No matching package to install: 'python3dist(fingerprints) >= 0.6'
No matching package to install: 'python3dist(ftfy) >= 6'
No matching package to install: 'python3dist(gemfileparser2) >= 0.9'
No matching package to install: 'python3dist(intbitset) >= 3.0.2'
No matching package to install: 'python3dist(jsonstreams) >= 0.5'
No matching package to install: 'python3dist(license-expression) >= 30.1.1'
No matching package to install: 'python3dist(packageurl-python) >= 0.9'
No matching package to install: 'python3dist(packvers) >= 21'
No matching package to install: 'python3dist(parameter-expansion-patched) >= 0.3.1'
No matching package to install: 'python3dist(pip-requirements-parser) >= 32.0.1'
No matching package to install: 'python3dist(pkginfo2) >= 30'
No matching package to install: 'python3dist(plugincode) >= 32'
No matching package to install: 'python3dist(pyahocorasick) >= 2'
No matching package to install: 'python3dist(pygmars) >= 0.7'
No matching package to install: 'python3dist(pymaven-patch) >= 0.2.8'
No matching package to install: 'python3dist(saneyaml) >= 0.6'
No matching package to install: 'python3dist(typecode) >= 30.0.1'
No matching package to install: 'python3dist(typecode[full]) >= 30.0.1'
No matching package to install: 'python3dist(urlpy)'

Comment 4 Fedora Review Service 2023-10-19 18:37:32 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/6548905
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2235055-scancode-toolkit/fedora-rawhide-x86_64/06548905-scancode-toolkit/builder-live.log.gz

Please make sure the package builds successfully at least for Fedora Rawhide.

- If the build failed for unrelated reasons (e.g. temporary network
  unavailability), please ignore it.
- If the build failed because of missing BuildRequires, please make sure they
  are listed in the "Depends On" field


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 5 Robert-André Mauchin 🐧 2023-11-04 20:56:16 UTC
Every deps is now packaged, anyone up for the review? Thank you.

Comment 6 Miroslav Suchý 2023-11-05 05:44:54 UTC
Ouch, I was under assumption that the deps are not yet packages as the related bugzillas were still open. I will proceed.

Hmmm, bumper:
No matching package to install: 'python3dist(license-expression) >= 30.1.1'
I am comaintainer for that packages. I will try to rebase it.

Comment 7 Miroslav Suchý 2023-11-06 20:48:00 UTC
The license-expression 30.1.1 is finally in rawhide. So the build get past deps installation, but eventually fail on tests:

=========================== short test summary info ============================
FAILED tests/formattedcode/test_output_spdx.py::test_spdx_rdf_basic - assert ...
XFAIL tests/cluecode/test_finder.py::TestUrl::test_misc_valid_unicode_or_punycode_urls_that_should_pass - reason: 
XFAIL tests/cluecode/test_finder.py::TestUrl::test_misc_valid_urls_that_should_pass - reason: 
XFAIL tests/textcode/test_pdf.py::TestPdf::test_numbered_text_lines_does_not_fail_on_autocad_test_pdf - Latest pdfminer.six from 2022 has a regression
= 1 failed, 2684 passed, 1 skipped, 45243 deselected, 3 xfailed, 4000 warnings in 438.23s (0:07:18) =

And the whole build fails.

Comment 8 Miroslav Suchý 2023-11-25 16:31:36 UTC
Ping? How it is going?


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