[elbe-devel] machine readable copyright files
Olivier Dion
dion at linutronix.de
Thu Jun 18 16:59:54 CEST 2020
On Thu, 18 Jun 2020, Bastian Germann <bage at linutronix.de> wrote:
> Hi,
>
> just tested the current master. I noticed that
> e26bf550266a302c6a9a6ca5b015b02e4591577d lets Elbe spit out errors for
> non-machinereadable copyright files.
>
> Please make them warnings only because the Debian archive still has a
> lot of (5000-ish) copyright files that do not follow the standard:
> https://trends.debian.net/#copyright-format-machine-readable-dep-5-vs-old-format
Ehhh. I though I catched all the possible exception .. Thanks for that,
I will add this.
>
> Cheers,
> Bastian
> --
> [WARNING] Error in copyright of package 'adduser': no paragraphs in input
> [WARNING] Error in copyright of package 'apt': no paragraphs in input
> [WARNING] Error in copyright of package 'base-files': no paragraphs in input
> [WARNING] Error in copyright of package 'base-passwd': Files paragraph
> missing Copyright field
> [WARNING] Error in copyright of package 'bash': no paragraphs in input
> [WARNING] Warning in copyrigh of package 'bc' : Fixing Format URL
> [WARNING] Error in copyright of package 'bridge-utils': no paragraphs in
> input
> [WARNING] Error in copyright of package 'bsdmainutils': no paragraphs in
> input
> [WARNING] Error in copyright of package 'busybox': no paragraphs in input
> [ERROR] Build failed
> Traceback (most recent call last):
> File "/var/cache/elbe/devel/elbepack/asyncworker.py", line 194, in execute
> skip_pbuild=self.skip_pbuilder)
> File "/var/cache/elbe/devel/elbepack/elbeproject.py", line 654, in build
> [p.name for p in cache.get_installed_pkgs()])
> File "/var/cache/elbe/devel/elbepack/elbeproject.py", line 1052, in
> gen_licenses
> env.rfs.write_licenses(f, pkg_list, lic_xml_fname)
> File "/var/cache/elbe/devel/elbepack/efilesystem.py", line 217, in
> write_licenses
> licence_xml.add_copyright_file(pkg, lic_text)
> File "/var/cache/elbe/devel/elbepack/licencexml.py", line 82, in
> add_copyright_file
> files.append((cc.files, cc.license.synopsis, cc.copyright))
> File "/usr/lib/python2.7/dist-packages/debian/deb822.py", line 2092,
> in getter
> return field.from_str(val)
> File "/usr/lib/python2.7/dist-packages/debian/copyright.py", line 436,
> in from_str
> lines = parse_multiline_as_lines(s)
> File "/usr/lib/python2.7/dist-packages/debian/copyright.py", line 408,
> in parse_multiline_as_lines
> 'continued line must begin with " "')
> MachineReadableFormatError: continued line must begin with " "
--
Olivier Dion
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
More information about the elbe-devel
mailing list