Skip to content

Draft: Add workaround to fix ci-licese-scan crash

Vignesh Raman requested to merge wip/vignesh/fix-license-scan into apertis/v2024dev1

scan-copyrights fails to create copyright file for texlive-extra. scan-copyrights works on texlive-extra sources and generates the copyright file. The issue is with debia n/copyright-scan-patterns.yml created by configure_scanner function (Invoked when ci-license-scan is called). If we run scan-copyrights with copyright-scan-patterns.yml it crashes.

This issue is reported upstream https://bugs.debian.org/1033406

As a workaround, modify exp-testopt.sty to remove the | like,

-%%  | (c) 2009 Paul Ebermann.                          |
+%%  | (c) 2009 Paul Ebermann.

This prevents the scan-copyrights not to crash.

https://phabricator.apertis.org/T8175

Edited by Vignesh Raman

Merge request reports

Loading