Hi Santiago, thank you for the bug report.

The upload of release 5.0.0-3 shoud fix this bug.

Best regards,                 Georges.

Santiago Vila a écrit :
> Package: src:python-reportlab
> Version: 5.0.0-2
> Severity: serious
> Tags: ftbfs forky sid
> 
> Dear maintainer:
> 
> During a rebuild of all packages in unstable, this package failed to build.
> 
> Below you will find the last part of the build log (probably the most
> relevant part, but not necessarily). If required, the full build log
> is available here:
> 
> https://people.debian.org/~sanvila/build-logs/202608/
> 
> About the archive rebuild: The build was made on virtual machines from AWS,
> using sbuild and a reduced chroot with only build-essential packages.
> 
> If you cannot reproduce the bug please contact me privately, as I
> am willing to provide ssh access to a virtual machine where the bug is
> fully reproducible.
> 
> If this is really a bug in one of the build-depends, please use
> reassign and add an affects on src:python-reportlab, so that this is still
> visible in the BTS web page for this package.
> 
> Thanks.
> 
> --------------------------------------------------------------------------------
> [...]
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    debian/rules override_dh_auto_test
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> cd tests && PYTHONPATH=/<<PKGBUILDDIR>>/src python3 -B runAll.py
> ................s...........sssssss....................................sssss.........E...........s...ss........s....................................................................................sss..ss............sss..s.......................................................................................s.s.........................................................................................
> ======================================================================
> ERROR: test1 (test_invariant.InvarTestCase.test1)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/src/reportlab/pdfbase/pdfmetrics.py", line 698, in 
> getFont
>     return _fonts[fontName]
>            ~~~~~~^^^^^^^^^^
> KeyError: 'DarkGardenMK'
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tests/test_invariant.py", line 45, in test1
>     c = Canvas(filename, invariant=1, pageCompression=0, 
> initialFontName='DarkGardenMK')
>   File "/<<PKGBUILDDIR>>/src/reportlab/pdfgen/canvas.py", line 368, in 
> __init__
>     self._make_preamble()
>     ~~~~~~~~~~~~~~~~~~~^^
>   File "/<<PKGBUILDDIR>>/src/reportlab/pdfgen/canvas.py", line 461, in 
> _make_preamble
>     font = pdfmetrics.getFont(self._fontname)
>   File "/<<PKGBUILDDIR>>/src/reportlab/pdfbase/pdfmetrics.py", line 700, in 
> getFont
>     return findFontAndRegister(fontName)
>   File "/<<PKGBUILDDIR>>/src/reportlab/pdfbase/pdfmetrics.py", line 682, in 
> findFontAndRegister
>     face = getTypeFace(fontName)
>   File "/<<PKGBUILDDIR>>/src/reportlab/pdfbase/pdfmetrics.py", line 639, in 
> getTypeFace
>     return _typefaces[faceName]
>            ~~~~~~~~~~^^^^^^^^^^
> KeyError: 'DarkGardenMK'
> 
> ----------------------------------------------------------------------
> Ran 400 tests in 8.864s
> 
> FAILED (errors=1, skipped=28)
> 
> ###################### the following tests could not be imported
> file: "/<<PKGBUILDDIR>>/tests/test_paragraphs.py"
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tests/runAll.py", line 69, in makeSuite
>     exec('import %s as module' % modname,ns)
>     ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "<string>", line 1, in <module>
>   File "/<<PKGBUILDDIR>>/tests/test_paragraphs.py", line 10, in <module>
>     from reportlab.platypus import Paragraph, SimpleDocTemplate, XBox, 
> Indenter, XPreformatted, PageBreak, Spacer, rlSkipIf
> ImportError: cannot import name 'rlSkipIf' from 'reportlab.platypus' 
> (/<<PKGBUILDDIR>>/src/reportlab/platypus/__init__.py)
> 
> 
> make[1]: *** [debian/rules:91: override_dh_auto_test] Error 1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> make: *** [debian/rules:10: binary] Error 2
> dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
> status 2
> --------------------------------------------------------------------------------

Attachment: signature.asc
Description: PGP signature

Reply via email to