Source: decopy
Version: 0.2.4.6-0.1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20220716 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> ronn README.md
>      roff: ./README.1                                 
>      html: ./README.1.html                                       +man
> mv README*.1 decopy.1
> mv README*.1.html decopy.1.html
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:239: python3.9 setup.py test 
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> running egg_info
> creating Decopy.egg-info
> writing Decopy.egg-info/PKG-INFO
> writing dependency_links to Decopy.egg-info/dependency_links.txt
> writing entry points to Decopy.egg-info/entry_points.txt
> writing top-level names to Decopy.egg-info/top_level.txt
> writing manifest file 'Decopy.egg-info/SOURCES.txt'
> reading manifest file 'Decopy.egg-info/SOURCES.txt'
> adding license file 'COPYING'
> writing manifest file 'Decopy.egg-info/SOURCES.txt'
> running build_ext
> WARNING:root:command exiftool not found, using generic parser as fallback
> testProcessComplex (tests.dep5_test.TestCopyright)
> Parses a debian/copyright with many entries (testdata/three). ... 
> WARNING:debian.copyright:Fixing Format URL
> ok
> testProcessEmpty (tests.dep5_test.TestCopyright)
> Parses a tree with no debian/copyright file. ... ok
> testProcessIncomplete (tests.dep5_test.TestCopyright)
> Parses a tree with an incomplete debian/copyright file. ... ok
> testProcessMalformed (tests.dep5_test.TestCopyright)
> Parses a tree with a malformed debian/copyright file. ... ERROR
> testProcessSimple (tests.dep5_test.TestCopyright)
> Parses a debian/copyright with two entries (testdata/four). ... 
> WARNING:debian.copyright:Fixing Format URL
> ok
> testRemoveMisplaced (tests.dep5_test.TestCopyright)
> Removes files from copyright if they were wrong (testdata/three). ... 
> WARNING:debian.copyright:Fixing Format URL
> ok
> testRemoveMisplacedCopyright (tests.dep5_test.TestCopyright)
> Removes files if they were wrong, grouping by copyright. ... 
> WARNING:debian.copyright:Fixing Format URL
> ok
> testRemoveMisplacedPartial (tests.dep5_test.TestCopyright)
> Removes files if they were wrong, grouping by copyright. ... 
> WARNING:debian.copyright:Fixing Format URL
> ok
> testUnknownLicense (tests.dep5_test.TestGroup) ... ok
> testAddTwoPeople (tests.tree_test.TestCopyrightGroup) ... ok
> testMergeEmails (tests.tree_test.TestCopyrightGroup) ... ok
> testMergeNames (tests.tree_test.TestCopyrightGroup) ... ok
> testMergeNamesWithYears (tests.tree_test.TestCopyrightGroup) ... ok
> testMergeYears (tests.tree_test.TestCopyrightGroup) ... ok
> testCommonPathEmpty (tests.tree_test.TestFileGroup) ... ok
> testCommonPathOneDirTwoFiles (tests.tree_test.TestFileGroup) ... ok
> testCommonPathOneFile (tests.tree_test.TestFileGroup) ... ok
> testGetPatternsEmptyGroup (tests.tree_test.TestFileGroup) ... ok
> testGetPatternsOneDirOneFile (tests.tree_test.TestFileGroup) ... ok
> testGetPatternsOneFile (tests.tree_test.TestFileGroup) ... ok
> testGetPatternsRoot (tests.tree_test.TestFileGroup) ... ok
> testGetPatternsSeparateGroups (tests.tree_test.TestFileGroup) ... ok
> testGetPatternsSeparateGroupsMoreFiles (tests.tree_test.TestFileGroup) ... ok
> testFullname (tests.tree_test.TestFileInfo) ... ok
> testGetLicenses (tests.tree_test.TestFileInfo) ... ok
> testIncluded (tests.tree_test.TestFileInfo) ... ok
> testSplittingPath (tests.tree_test.TestFileInfo) ... ok
> testTally (tests.tree_test.TestFileInfo) ... ok
> testCopyrightedTree (tests.tree_test.TestRootInfo)
> Parses a tree with licensed & copyrighted files (testdata/two). ... ok
> testDebianizedTree (tests.tree_test.TestRootInfo)
> Parses a tree that contains a debian/copyright (testdata/three). ... 
> WARNING:debian.copyright:Fixing Format URL
> ok
> testSimpleTree (tests.tree_test.TestRootInfo)
> Parses a tree with licensed files (testdata/one). ... ok
> testTreeExclude (tests.tree_test.TestRootInfo)
> Parse a tree with an exclusion expresion (testdata/three). ... ok
> testEmpty (tests.output_test.TestOutput) ... ok
> testEmptyPartial (tests.output_test.TestOutput) ... ok
> testCleanComments (tests.matchers_test.TestMatchers) ... ok
> testParseBsd (tests.matchers_test.TestMatchers) ... ok
> testParseCCBY (tests.matchers_test.TestMatchers) ... ok
> testParseCopyright (tests.matchers_test.TestMatchers) ... ok
> testParseGFDL (tests.matchers_test.TestMatchers) ... ok
> testParseGPL (tests.matchers_test.TestMatchers) ... ok
> testParseHolders (tests.matchers_test.TestMatchers) ... ok
> testParseHoldersMultiline (tests.matchers_test.TestMatchers) ... ok
> testParseHoldersMultilineYears (tests.matchers_test.TestMatchers) ... ok
> testParseLGPL (tests.matchers_test.TestMatchers) ... ok
> testParseLPPL (tests.matchers_test.TestMatchers) ... ok
> testParseMIT (tests.matchers_test.TestMatchers) ... ok
> testParseZPL (tests.matchers_test.TestMatchers) ... ok
> testSpdxA (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxB (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxC (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxD (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxE (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxF (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxG (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxH (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxI (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxJ (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxL (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxM (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxN (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxO (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxP (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxQ (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxR (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxS (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxT (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxU (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxV (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxW (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxX (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxY (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxZ (tests.matchers_spdx_test.TestSpdx) ... ok
> 
> ======================================================================
> ERROR: testProcessMalformed (tests.dep5_test.TestCopyright)
> Parses a tree with a malformed debian/copyright file.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tests/dep5_test.py", line 49, in testProcessMalformed
>     copyright_, _ = self._processTree('tests/testdata/malformed')
>   File "/<<PKGBUILDDIR>>/tests/dep5_test.py", line 34, in _processTree
>     copyright_ = dep5.Copyright.build(filetree, options)
>   File "/<<PKGBUILDDIR>>/decopy/dep5.py", line 62, in build
>     copyright_ = Copyright(c, strict=False)
>   File "/usr/lib/python3/dist-packages/debian/copyright.py", line 165, in 
> __init__
>     self.__file = parse_deb822_file(sequence=sequence, encoding=encoding)
>   File "/usr/lib/python3/dist-packages/debian/_deb822_repro/parsing.py", line 
> 3091, in parse_deb822_file
>     deb822_file = Deb822FileElement(LinkedList(tokens))
>   File "/usr/lib/python3/dist-packages/debian/_util.py", line 159, in __init__
>     self.extend(values)
>   File "/usr/lib/python3/dist-packages/debian/_util.py", line 272, in extend
>     for v in values:
>   File "/usr/lib/python3/dist-packages/debian/_deb822_repro/_util.py", line 
> 103, in _impl
>     for token in token_stream:
>   File "/usr/lib/python3/dist-packages/debian/_deb822_repro/_util.py", line 
> 103, in _impl
>     for token in token_stream:
>   File "/usr/lib/python3/dist-packages/debian/_deb822_repro/parsing.py", line 
> 2968, in _build_field_with_value
>     for token_or_element in buffered_stream:
>   File "/usr/lib/python3/dist-packages/debian/_deb822_repro/_util.py", line 
> 142, in __next__
>     return next(self._stream)
>   File "/usr/lib/python3/dist-packages/debian/_deb822_repro/_util.py", line 
> 103, in _impl
>     for token in token_stream:
>   File "/usr/lib/python3/dist-packages/debian/_deb822_repro/parsing.py", line 
> 2904, in _build_value_line
>     for token in buffered_stream:
>   File "/usr/lib/python3/dist-packages/debian/_deb822_repro/_util.py", line 
> 142, in __next__
>     return next(self._stream)
>   File "/usr/lib/python3/dist-packages/debian/_deb822_repro/_util.py", line 
> 103, in _impl
>     for token in token_stream:
>   File "/usr/lib/python3/dist-packages/debian/_deb822_repro/parsing.py", line 
> 3027, in _abort_on_error_tokens
>     raise ValueError('Syntax or Parse error on the line: 
> "{error_as_text}"'.format(
> ValueError: Syntax or Parse error on the line: "This file is called 
> debian/copyright, but it doesn't follow the 1.0 format, on\n"
> 
> ----------------------------------------------------------------------
> Ran 72 tests in 11.935s
> 
> FAILED (errors=1)
> Test failed: <unittest.runner.TextTestResult run=72 errors=1 failures=0>
> error: Test failed: <unittest.runner.TextTestResult run=72 errors=1 
> failures=0>
> E: pybuild pybuild:369: test: plugin distutils failed with: exit code=1: 
> python3.9 setup.py test 
> I: pybuild base:239: python3.10 setup.py test 
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> running egg_info
> writing Decopy.egg-info/PKG-INFO
> writing dependency_links to Decopy.egg-info/dependency_links.txt
> writing entry points to Decopy.egg-info/entry_points.txt
> writing top-level names to Decopy.egg-info/top_level.txt
> reading manifest file 'Decopy.egg-info/SOURCES.txt'
> adding license file 'COPYING'
> writing manifest file 'Decopy.egg-info/SOURCES.txt'
> running build_ext
> WARNING:root:command exiftool not found, using generic parser as fallback
> testProcessComplex (tests.dep5_test.TestCopyright)
> Parses a debian/copyright with many entries (testdata/three). ... 
> WARNING:debian.copyright:Fixing Format URL
> ok
> testProcessEmpty (tests.dep5_test.TestCopyright)
> Parses a tree with no debian/copyright file. ... ok
> testProcessIncomplete (tests.dep5_test.TestCopyright)
> Parses a tree with an incomplete debian/copyright file. ... ok
> testProcessMalformed (tests.dep5_test.TestCopyright)
> Parses a tree with a malformed debian/copyright file. ... ERROR
> testProcessSimple (tests.dep5_test.TestCopyright)
> Parses a debian/copyright with two entries (testdata/four). ... 
> WARNING:debian.copyright:Fixing Format URL
> ok
> testRemoveMisplaced (tests.dep5_test.TestCopyright)
> Removes files from copyright if they were wrong (testdata/three). ... 
> WARNING:debian.copyright:Fixing Format URL
> ok
> testRemoveMisplacedCopyright (tests.dep5_test.TestCopyright)
> Removes files if they were wrong, grouping by copyright. ... 
> WARNING:debian.copyright:Fixing Format URL
> ok
> testRemoveMisplacedPartial (tests.dep5_test.TestCopyright)
> Removes files if they were wrong, grouping by copyright. ... 
> WARNING:debian.copyright:Fixing Format URL
> ok
> testUnknownLicense (tests.dep5_test.TestGroup) ... ok
> testAddTwoPeople (tests.tree_test.TestCopyrightGroup) ... ok
> testMergeEmails (tests.tree_test.TestCopyrightGroup) ... ok
> testMergeNames (tests.tree_test.TestCopyrightGroup) ... ok
> testMergeNamesWithYears (tests.tree_test.TestCopyrightGroup) ... ok
> testMergeYears (tests.tree_test.TestCopyrightGroup) ... ok
> testCommonPathEmpty (tests.tree_test.TestFileGroup) ... ok
> testCommonPathOneDirTwoFiles (tests.tree_test.TestFileGroup) ... ok
> testCommonPathOneFile (tests.tree_test.TestFileGroup) ... ok
> testGetPatternsEmptyGroup (tests.tree_test.TestFileGroup) ... ok
> testGetPatternsOneDirOneFile (tests.tree_test.TestFileGroup) ... ok
> testGetPatternsOneFile (tests.tree_test.TestFileGroup) ... ok
> testGetPatternsRoot (tests.tree_test.TestFileGroup) ... ok
> testGetPatternsSeparateGroups (tests.tree_test.TestFileGroup) ... ok
> testGetPatternsSeparateGroupsMoreFiles (tests.tree_test.TestFileGroup) ... ok
> testFullname (tests.tree_test.TestFileInfo) ... ok
> testGetLicenses (tests.tree_test.TestFileInfo) ... ok
> testIncluded (tests.tree_test.TestFileInfo) ... ok
> testSplittingPath (tests.tree_test.TestFileInfo) ... ok
> testTally (tests.tree_test.TestFileInfo) ... ok
> testCopyrightedTree (tests.tree_test.TestRootInfo)
> Parses a tree with licensed & copyrighted files (testdata/two). ... ok
> testDebianizedTree (tests.tree_test.TestRootInfo)
> Parses a tree that contains a debian/copyright (testdata/three). ... 
> WARNING:debian.copyright:Fixing Format URL
> ok
> testSimpleTree (tests.tree_test.TestRootInfo)
> Parses a tree with licensed files (testdata/one). ... ok
> testTreeExclude (tests.tree_test.TestRootInfo)
> Parse a tree with an exclusion expresion (testdata/three). ... ok
> testEmpty (tests.output_test.TestOutput) ... ok
> testEmptyPartial (tests.output_test.TestOutput) ... ok
> testCleanComments (tests.matchers_test.TestMatchers) ... ok
> testParseBsd (tests.matchers_test.TestMatchers) ... ok
> testParseCCBY (tests.matchers_test.TestMatchers) ... ok
> testParseCopyright (tests.matchers_test.TestMatchers) ... ok
> testParseGFDL (tests.matchers_test.TestMatchers) ... ok
> testParseGPL (tests.matchers_test.TestMatchers) ... ok
> testParseHolders (tests.matchers_test.TestMatchers) ... ok
> testParseHoldersMultiline (tests.matchers_test.TestMatchers) ... ok
> testParseHoldersMultilineYears (tests.matchers_test.TestMatchers) ... ok
> testParseLGPL (tests.matchers_test.TestMatchers) ... ok
> testParseLPPL (tests.matchers_test.TestMatchers) ... ok
> testParseMIT (tests.matchers_test.TestMatchers) ... ok
> testParseZPL (tests.matchers_test.TestMatchers) ... ok
> testSpdxA (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxB (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxC (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxD (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxE (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxF (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxG (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxH (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxI (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxJ (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxL (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxM (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxN (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxO (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxP (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxQ (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxR (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxS (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxT (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxU (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxV (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxW (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxX (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxY (tests.matchers_spdx_test.TestSpdx) ... ok
> testSpdxZ (tests.matchers_spdx_test.TestSpdx) ... ok
> 
> ======================================================================
> ERROR: testProcessMalformed (tests.dep5_test.TestCopyright)
> Parses a tree with a malformed debian/copyright file.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tests/dep5_test.py", line 49, in testProcessMalformed
>     copyright_, _ = self._processTree('tests/testdata/malformed')
>   File "/<<PKGBUILDDIR>>/tests/dep5_test.py", line 34, in _processTree
>     copyright_ = dep5.Copyright.build(filetree, options)
>   File "/<<PKGBUILDDIR>>/decopy/dep5.py", line 62, in build
>     copyright_ = Copyright(c, strict=False)
>   File "/usr/lib/python3/dist-packages/debian/copyright.py", line 165, in 
> __init__
>     self.__file = parse_deb822_file(sequence=sequence, encoding=encoding)
>   File "/usr/lib/python3/dist-packages/debian/_deb822_repro/parsing.py", line 
> 3091, in parse_deb822_file
>     deb822_file = Deb822FileElement(LinkedList(tokens))
>   File "/usr/lib/python3/dist-packages/debian/_util.py", line 159, in __init__
>     self.extend(values)
>   File "/usr/lib/python3/dist-packages/debian/_util.py", line 272, in extend
>     for v in values:
>   File "/usr/lib/python3/dist-packages/debian/_deb822_repro/_util.py", line 
> 103, in _impl
>     for token in token_stream:
>   File "/usr/lib/python3/dist-packages/debian/_deb822_repro/_util.py", line 
> 103, in _impl
>     for token in token_stream:
>   File "/usr/lib/python3/dist-packages/debian/_deb822_repro/parsing.py", line 
> 2968, in _build_field_with_value
>     for token_or_element in buffered_stream:
>   File "/usr/lib/python3/dist-packages/debian/_deb822_repro/_util.py", line 
> 142, in __next__
>     return next(self._stream)
>   File "/usr/lib/python3/dist-packages/debian/_deb822_repro/_util.py", line 
> 103, in _impl
>     for token in token_stream:
>   File "/usr/lib/python3/dist-packages/debian/_deb822_repro/parsing.py", line 
> 2904, in _build_value_line
>     for token in buffered_stream:
>   File "/usr/lib/python3/dist-packages/debian/_deb822_repro/_util.py", line 
> 142, in __next__
>     return next(self._stream)
>   File "/usr/lib/python3/dist-packages/debian/_deb822_repro/_util.py", line 
> 103, in _impl
>     for token in token_stream:
>   File "/usr/lib/python3/dist-packages/debian/_deb822_repro/parsing.py", line 
> 3027, in _abort_on_error_tokens
>     raise ValueError('Syntax or Parse error on the line: 
> "{error_as_text}"'.format(
> ValueError: Syntax or Parse error on the line: "This file is called 
> debian/copyright, but it doesn't follow the 1.0 format, on\n"
> 
> ----------------------------------------------------------------------
> Ran 72 tests in 10.933s
> 
> FAILED (errors=1)
> Test failed: <unittest.runner.TextTestResult run=72 errors=1 failures=0>
> error: Test failed: <unittest.runner.TextTestResult run=72 errors=1 
> failures=0>
> E: pybuild pybuild:369: test: plugin distutils failed with: exit code=1: 
> python3.10 setup.py test 
> dh_auto_test: error: pybuild --test -i python{version} -p "3.9 3.10" returned 
> exit code 13


The full build log is available from:
http://qa-logs.debian.net/2022/07/16/decopy_0.2.4.6-0.1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220716;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220716&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to