Package: src:calibre
Version: 7.22.0+ds-1
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary --with=python3 --buildsystem=makefile
dh_update_autotools_config -O--buildsystem=makefile
dh_autoreconf -O--buildsystem=makefile
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
blhc: ignore-line-regexp: \tCompiling form /.+\.ui
blhc: ignore-line-regexp: .+ -dM -E -o moc_predefs\.h
/usr/lib/[^/]+/qt6/mkspecs/features/data/dummy\.cpp
blhc: ignore-line-regexp: /usr/lib/qt6/libexec/moc .+\.cpp
python3.12 setup.py build
*
* Running build
*
[... snipped ...]
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'markup_chapter_headings': True,
'max_levels': 5,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'no_chapters_in_toc': False,
'no_default_epub_cover': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.OutputProfile object at
0x7ff52a3eade0>,
'page_breaks_before': "//*[name()='h1' or name()='h2']",
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': None,
'remove_fake_margins': True,
'remove_first_image': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': '',
'search_replace': None,
'series': None,
'series_index': None,
'smarten_punctuation': False,
'sr1_replace': '',
'sr1_search': '',
'sr2_replace': '',
'sr2_search': '',
'sr3_replace': '',
'sr3_search': '',
'start_reading_at': None,
'subset_embedded_fonts': False,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'transform_css_rules': None,
'transform_html_rules': None,
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
1% Converting input to HTML...
InputFormatPlugin: HTML Input running
on /<<PKGBUILDDIR>>/src/calibre/ebooks/oeb/polish/tests/index.html
Building file list...
Found files...
HTMLFile:0:a:'/<<PKGBUILDDIR>>/src/calibre/ebooks/oeb/polish/tests/index.html'
Normalizing filename cases
Rewriting HTML links
Parsing index.html ...
Forcing index.html into XHTML namespace
34% Running transforms on e-book...
Merging user specified metadata...
Detecting structure...
Auto generated TOC with 2 entries.
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Found 3 items of level: p_1
Found 1 items of level: div_1
Found 3 items of level: p_2
Ignoring level p_2
Ignoring level p_1
div_1 left margin stats: Counter()
div_1 right margin stats: Counter()
Cleaning up manifest...
Trimming unused files from manifest...
Creating EPUB Output...
67% Running EPUB Output plugin
Splitting markup on page breaks and flow limits, if any...
Looking for large trees in index.html...
No large trees found
Removing anchor from TOC href: index.html#page1
EPUB output written to
/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.cache/calibre/polish-test/split.epub
Output saved to
/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.cache/calibre/polish-test/split.epub
ok [0.0 s]
test_conversion_parser
(calibre.ebooks.oeb.polish.tests.parsing.ParsingTests.test_conversion_parser)
Test parsing with the HTML5 parser used for conversion ... ok [0.0 s]
test_lxml_tostring
(calibre.ebooks.oeb.polish.tests.parsing.ParsingTests.test_lxml_tostring)
Test for bug in some versions of lxml that causes incorrect serialization of
sub-trees ... ok [0.0 s]
test_polish_parser
(calibre.ebooks.oeb.polish.tests.parsing.ParsingTests.test_polish_parser)
Test parsing with the HTML5 parser used for polishing ... ok [0.0 s]
test_annotations (calibre.db.tests.writing.WritingTest.test_annotations)
Test handling of annotations ... ok [0.2 s]
test_backup (calibre.db.tests.writing.WritingTest.test_backup)
Test the automatic backup of changed metadata ... ok [2.9 s]
test_changed_events (calibre.db.tests.writing.WritingTest.test_changed_events)
... ok [0.5 s]
test_composite_cache (calibre.db.tests.writing.WritingTest.test_composite_cache)
Test that the composite field cache is properly invalidated on writes ... ok
[0.4 s]
test_conversion_options
(calibre.db.tests.writing.WritingTest.test_conversion_options)
Test saving of conversion options ... ok [0.2 s]
test_dirtied (calibre.db.tests.writing.WritingTest.test_dirtied)
Test the setting of the dirtied flag and the last_modified column ... ok [0.2 s]
test_dump_and_restore
(calibre.db.tests.writing.WritingTest.test_dump_and_restore)
Test roundtripping the db through SQL ... ok [0.3 s]
test_fix_case_duplicates
(calibre.db.tests.writing.WritingTest.test_fix_case_duplicates)
Test fixing of databases that have items in is_many fields that differ only by
case ... ok [0.3 s]
test_link_maps (calibre.db.tests.writing.WritingTest.test_link_maps) ... ok
[0.3 s]
test_many_many_basic (calibre.db.tests.writing.WritingTest.test_many_many_basic)
Test the different code paths for writing to a many-many field ... ok [1.0 s]
test_many_one_basic (calibre.db.tests.writing.WritingTest.test_many_one_basic)
Test the different code paths for writing to a many-one field ... ok [0.6 s]
test_one_one (calibre.db.tests.writing.WritingTest.test_one_one)
Test setting of values in one-one fields ... ok [2.1 s]
test_preferences (calibre.db.tests.writing.WritingTest.test_preferences)
Test getting and setting of preferences, especially with mutable objects ... ok
[0.2 s]
test_remove_items (calibre.db.tests.writing.WritingTest.test_remove_items)
Test removal of many-(many,one) items ... ok [0.4 s]
test_rename_items (calibre.db.tests.writing.WritingTest.test_rename_items)
Test renaming of many-(many,one) items ... ok [0.7 s]
test_set_author_data
(calibre.db.tests.writing.WritingTest.test_set_author_data) ... ok [0.3 s]
test_set_cover (calibre.db.tests.writing.WritingTest.test_set_cover)
Test setting of cover ... ok [0.2 s]
test_set_metadata (calibre.db.tests.writing.WritingTest.test_set_metadata)
Test setting of metadata ... ok [0.7 s]
test_acquire (calibre.db.tests.locking.TestLock.test_acquire) ... ok [2.2 s]
test_contention (calibre.db.tests.locking.TestLock.test_contention) ... ok [0.5
s]
test_downgrade (calibre.db.tests.locking.TestLock.test_downgrade) ... ok [0.1 s]
test_multithread_deadlock
(calibre.db.tests.locking.TestLock.test_multithread_deadlock) ... ok [0.3 s]
test_owns_locks (calibre.db.tests.locking.TestLock.test_owns_locks) ... ok [0.1
s]
test_recursive (calibre.db.tests.locking.TestLock.test_recursive) ... ok [0.2 s]
test_release (calibre.db.tests.locking.TestLock.test_release) ... ok [2.2 s]
test_upgrade (calibre.db.tests.locking.TestLock.test_upgrade) ... ok [0.2 s]
test_export_import
(calibre.db.tests.filesystem.FilesystemTest.test_export_import) ... ok [1.0 s]
test_find_books_in_directory
(calibre.db.tests.filesystem.FilesystemTest.test_find_books_in_directory) ...
ok [0.2 s]
test_fname_change (calibre.db.tests.filesystem.FilesystemTest.test_fname_change)
Test the changing of the filename but not the folder name ... ok [0.2 s]
test_library_move (calibre.db.tests.filesystem.FilesystemTest.test_library_move)
Test moving of library ... ok [0.2 s]
test_long_filenames
(calibre.db.tests.filesystem.FilesystemTest.test_long_filenames)
Test long file names ... ok [0.3 s]
test_metadata_move
(calibre.db.tests.filesystem.FilesystemTest.test_metadata_move)
Test the moving of files when title/author change ... ok [0.6 s]
test_rename_of_extra_files
(calibre.db.tests.filesystem.FilesystemTest.test_rename_of_extra_files) ... ok
[0.2 s]
test_reserved_names
(calibre.db.tests.filesystem.FilesystemTest.test_reserved_names)
Test that folders are not created with a windows reserve name ... ok [0.2 s]
test_windows_atomic_move
(calibre.db.tests.filesystem.FilesystemTest.test_windows_atomic_move)
Test book file open in another process when changing metadata ... skipped
'Windows only' [0.0 s]
test_author_sort_for_authors
(calibre.db.tests.reading.ReadingTest.test_author_sort_for_authors)
Test getting the author sort for authors from the db ... ok [0.2 s]
test_composites (calibre.db.tests.reading.ReadingTest.test_composites)
Test sorting and searching in composite columns ... ok [0.6 s]
test_datetime (calibre.db.tests.reading.ReadingTest.test_datetime)
Test the reading of datetimes stored in the db ... ok [0.2 s]
test_find_identical_books
(calibre.db.tests.reading.ReadingTest.test_find_identical_books)
Test find_identical_books ... ok [0.2 s]
test_get_categories (calibre.db.tests.reading.ReadingTest.test_get_categories)
Check that get_categories() returns the same data for both backends ... ok [0.2
s]
test_get_cover (calibre.db.tests.reading.ReadingTest.test_get_cover)
Test cover() returns the same data for both backends ... ok [0.2 s]
test_get_formats (calibre.db.tests.reading.ReadingTest.test_get_formats)
Test reading ebook formats using the format() method ... ok [0.2 s]
test_get_metadata (calibre.db.tests.reading.ReadingTest.test_get_metadata)
Test get_metadata() returns the same data for both backends ... ok [0.2 s]
test_get_next_series_num
(calibre.db.tests.reading.ReadingTest.test_get_next_series_num)
Test getting the next series number for a series ... ok [0.2 s]
test_has_book (calibre.db.tests.reading.ReadingTest.test_has_book)
Test detecting duplicates ... ok [0.2 s]
test_last_read_positions
(calibre.db.tests.reading.ReadingTest.test_last_read_positions) ... ok [0.2 s]
test_marked_field (calibre.db.tests.reading.ReadingTest.test_marked_field)
Test the marked field ... ok [0.2 s]
test_proxy_metadata (calibre.db.tests.reading.ReadingTest.test_proxy_metadata)
Test the ProxyMetadata object used for composite columns ... ok [0.3 s]
test_python_templates
(calibre.db.tests.reading.ReadingTest.test_python_templates) ... ok [0.2 s]
test_read (calibre.db.tests.reading.ReadingTest.test_read)
Test the reading of data from the database ... ok [0.2 s]
test_restrictions (calibre.db.tests.reading.ReadingTest.test_restrictions)
Test searching with and without restrictions ... ok [0.2 s]
test_search_caching (calibre.db.tests.reading.ReadingTest.test_search_caching)
Test caching of searches ... ok [0.3 s]
test_searching (calibre.db.tests.reading.ReadingTest.test_searching)
Test searching returns the same data for both backends ... ok [0.3 s]
test_serialize_metadata
(calibre.db.tests.reading.ReadingTest.test_serialize_metadata) ... ok [0.2 s]
test_sorting (calibre.db.tests.reading.ReadingTest.test_sorting)
Test sorting ... ok [1.0 s]
test_storing_conversion_options
(calibre.db.tests.reading.ReadingTest.test_storing_conversion_options) ... ok
[0.2 s]
test_template_db_functions
(calibre.db.tests.reading.ReadingTest.test_template_db_functions) ... ok [0.3 s]
test_notes (calibre.db.tests.notes.NotesTest.test_notes) ... ok [0.8 s]
test_add_books (calibre.db.tests.add_remove.AddRemoveTest.test_add_books)
Test the adding of new books ... ok [0.3 s]
test_add_format (calibre.db.tests.add_remove.AddRemoveTest.test_add_format)
Test adding formats to an existing book record ... ok [0.3 s]
test_copy_to_library
(calibre.db.tests.add_remove.AddRemoveTest.test_copy_to_library) ... ok [0.6 s]
test_create_book_entry
(calibre.db.tests.add_remove.AddRemoveTest.test_create_book_entry)
Test the creation of new book entries ... ok [0.5 s]
test_format_orphan
(calibre.db.tests.add_remove.AddRemoveTest.test_format_orphan)
Test that adding formats does not create orphans if the file name algorithm
changes ... ok [0.2 s]
test_merging_extra_files
(calibre.db.tests.add_remove.AddRemoveTest.test_merging_extra_files) ... ok
[0.2 s]
test_original_fmt (calibre.db.tests.add_remove.AddRemoveTest.test_original_fmt)
Test management of original fmt ... ok [0.2 s]
test_remove_books (calibre.db.tests.add_remove.AddRemoveTest.test_remove_books)
Test removal of books ... ok [0.9 s]
test_remove_formats
(calibre.db.tests.add_remove.AddRemoveTest.test_remove_formats)
Test removal of formats from book records ... ok [0.2 s]
test_get_property (calibre.db.tests.legacy.LegacyTest.test_get_property)
Test the get_property interface for reading data ... ok [0.2 s]
test_legacy_adding_books
(calibre.db.tests.legacy.LegacyTest.test_legacy_adding_books)
Test various adding/deleting books methods ... ok [1.1 s]
test_legacy_conversion_options
(calibre.db.tests.legacy.LegacyTest.test_legacy_conversion_options)
Test conversion options API ... ok [0.2 s]
test_legacy_coverage (calibre.db.tests.legacy.LegacyTest.test_legacy_coverage)
Check that the emulation of the legacy interface is (almost) total ... ok [0.2
s]
test_legacy_custom (calibre.db.tests.legacy.LegacyTest.test_legacy_custom)
Test the legacy API for custom columns ... ok [1.2 s]
test_legacy_custom_data
(calibre.db.tests.legacy.LegacyTest.test_legacy_custom_data)
Test the API for custom data storage ... ok [0.3 s]
test_legacy_delete_using
(calibre.db.tests.legacy.LegacyTest.test_legacy_delete_using)
Test delete_using() API ... ok [0.2 s]
test_legacy_direct (calibre.db.tests.legacy.LegacyTest.test_legacy_direct)
Test read-only methods that are directly equivalent in the old and new
interface ... ok [0.2 s]
test_legacy_getters (calibre.db.tests.legacy.LegacyTest.test_legacy_getters)
Test various functions to get individual bits of metadata ... ok [0.2 s]
test_legacy_saved_search
(calibre.db.tests.legacy.LegacyTest.test_legacy_saved_search)
Test legacy saved search API ... ok [0.2 s]
test_legacy_setters (calibre.db.tests.legacy.LegacyTest.test_legacy_setters)
Test methods that are directly equivalent in the old and new interface ... ok
[2.0 s]
test_library_wide_properties
(calibre.db.tests.legacy.LegacyTest.test_library_wide_properties)
Test library wide properties ... ok [0.2 s]
test_refresh (calibre.db.tests.legacy.LegacyTest.test_refresh)
Test refreshing the view after a change to metadata.db ... ok [1.2 s]
test_fts_basic (calibre.db.tests.fts.FTSTest.test_fts_basic) ... ok [0.0 s]
test_fts_query_syntax (calibre.db.tests.fts.FTSTest.test_fts_query_syntax) ...
ok [0.0 s]
test_fts_stemming (calibre.db.tests.fts.FTSTest.test_fts_stemming) ... ok [0.0
s]
test_fts_tokenize (calibre.db.tests.fts.FTSTest.test_fts_tokenize) ... ok [0.0
s]
test_pdftotext (calibre.db.tests.fts.FTSTest.test_pdftotext) ... ok [0.0 s]
test_thumbnail_cache (calibre.db.tests.utils.UtilsTest.test_thumbnail_cache)
Test the operation of the thumbnail cache ... ok [0.0 s]
test_fts_search (calibre.db.tests.fts_api.FTSAPITest.test_fts_search) ... ok
[1.6 s]
test_fts_to_text (calibre.db.tests.fts_api.FTSAPITest.test_fts_to_text) ... ok
[0.2 s]
test_fts_triggers (calibre.db.tests.fts_api.FTSAPITest.test_fts_triggers) ...
ok [0.4 s]
test_ajax_categories (calibre.srv.tests.ajax.ContentTest.test_ajax_categories)
Test /ajax/categories and /ajax/search ... get_categories: item Unknown is not
in authors list!
calibre server listening on [::1]:38569
ok [0.2 s]
test_srv_add_book (calibre.srv.tests.ajax.ContentTest.test_srv_add_book) ...
calibre server listening on [::1]:45139
ok [0.4 s]
test_srv_restrictions (calibre.srv.tests.ajax.ContentTest.test_srv_restrictions)
Test that virtual lib. + search restriction works on all end points ... calibre
server listening on [::1]:39277
ok [0.3 s]
test_websocket_basic
(calibre.srv.tests.web_sockets.WebSocketTest.test_websocket_basic)
Test basic interaction with the websocket server ... calibre server listening
on [::1]:44465
Too large control frame from client
RSV bits set in frame from client
RSV bits set in frame from client
RSV bits set in frame from client
RSV bits set in frame from client
RSV bits set in frame from client
RSV bits set in frame from client
Unknown OPCODE from client: 3
Unknown OPCODE from client: 4
Unknown OPCODE from client: 5
Unknown OPCODE from client: 6
Unknown OPCODE from client: 7
Unknown OPCODE from client: 11
Unknown OPCODE from client: 12
Unknown OPCODE from client: 13
Unknown OPCODE from client: 14
Unknown OPCODE from client: 15
Fragmented control frame from client
Fragmented control frame from client
Too large control frame from client
Client sent continuation frame with no message to continue
Client sent continuation frame with no message to continue
Client sent continuation frame with no message to continue
Client sent continuation frame with non-zero opcode
Client sent undecodeable UTF-8
Client sent undecodeable UTF-8
Client sent undecodeable UTF-8
Client sent undecodeable UTF-8
ok [0.1 s]
test_websocket_perf
(calibre.srv.tests.web_sockets.WebSocketTest.test_websocket_perf) ... calibre
server listening on [::1]:36701
ok [0.4 s]
test_char_count (calibre.srv.tests.content.ContentTest.test_char_count) ... ok
[0.2 s]
test_get (calibre.srv.tests.content.ContentTest.test_get)
Test /get ... calibre server listening on [::1]:40773
ok [0.4 s]
test_html_as_json (calibre.srv.tests.content.ContentTest.test_html_as_json) ...
ok [0.2 s]
test_last_read_cache
(calibre.srv.tests.content.ContentTest.test_last_read_cache) ... ok [0.2 s]
test_static (calibre.srv.tests.content.ContentTest.test_static)
Test serving of static content ... calibre server listening on [::1]:44787
ok [0.2 s]
test_bonjour (calibre.srv.tests.loop.LoopTest.test_bonjour)
Test advertising via BonJour ... skipped 'Disabled as it is failing on the
build server, need to investigate' [0.0 s]
test_dual_stack (calibre.srv.tests.loop.LoopTest.test_dual_stack) ... calibre
server listening on [::]:39669
ok [0.0 s]
test_fallback_interface
(calibre.srv.tests.loop.LoopTest.test_fallback_interface)
Test falling back to default interface ... Failed to bind to 1.1.1.1 with
error: No socket could be created -- (('1.1.1.1', 0): [Errno 99] Cannot assign
requested address). Trying to bind to the default interface: 10.84.234.246
instead
calibre server listening on 10.84.234.246:36529
ok [0.0 s]
test_jobs_manager (calibre.srv.tests.loop.LoopTest.test_jobs_manager)
Test the jobs manager ... ok [1.1 s]
test_log_rotation (calibre.srv.tests.loop.LoopTest.test_log_rotation)
Test log rotation ... ok [0.0 s]
test_monotonic (calibre.srv.tests.loop.LoopTest.test_monotonic)
Test the monotonic() clock ... ok [0.1 s]
test_plugins (calibre.srv.tests.loop.LoopTest.test_plugins)
Test plugin semantics ... calibre server listening on [::1]:39223
ok [0.0 s]
test_ring_buffer (calibre.srv.tests.loop.LoopTest.test_ring_buffer)
Test the ring buffer used for reads ... ok [0.0 s]
test_socket_activation (calibre.srv.tests.loop.LoopTest.test_socket_activation)
Test socket activation ... calibre server listening on 127.0.0.1:46291
ok [0.0 s]
test_ssl (calibre.srv.tests.loop.LoopTest.test_ssl)
Test serving over SSL ... calibre server listening on 127.0.0.1:46611
ok [0.1 s]
test_workers (calibre.srv.tests.loop.LoopTest.test_workers)
Test worker semantics ... calibre server listening on [::1]:38591
calibre server listening on [::1]:45777
ServerWorker failed to notify server on job completion
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/src/calibre/srv/pool.py", line 41, in run
self.notify_server()
File "/<<PKGBUILDDIR>>/src/calibre/srv/loop.py", line 697, in job_completed
self.write_to_control(JOB_DONE)
File "/<<PKGBUILDDIR>>/src/calibre/srv/loop.py", line 690, in write_to_control
self.control_in.write(what)
ValueError: write to closed file
ok [0.2 s]
test_android_auth_workaround
(calibre.srv.tests.auth.TestAuth.test_android_auth_workaround)
Test authentication workaround for Android ... calibre server listening on
[::1]:42443
ok [0.0 s]
test_basic_auth (calibre.srv.tests.auth.TestAuth.test_basic_auth)
Test HTTP Basic auth ... calibre server listening on [::1]:43595
ok [0.0 s]
test_digest_auth (calibre.srv.tests.auth.TestAuth.test_digest_auth)
Test HTTP Digest auth ... calibre server listening on [::1]:40357
ok [0.1 s]
test_fail_ban (calibre.srv.tests.auth.TestAuth.test_fail_ban) ... calibre
server listening on [::1]:43733
ok [0.5 s]
test_library_restrictions
(calibre.srv.tests.auth.TestAuth.test_library_restrictions) ... ok [0.2 s]
test_basic_css_transforms
(calibre.srv.tests.fast_css_transform.TestTransform.test_basic_css_transforms)
... ok [0.0 s]
test_counting_chars_in_elems
(calibre.srv.tests.fast_css_transform.TestTransform.test_counting_chars_in_elems)
... ok [0.0 s]
test_number_parsing
(calibre.srv.tests.fast_css_transform.TestTransform.test_number_parsing) ... ok
[0.0 s]
test_library_id_construction
(calibre.srv.tests.routes.TestRouter.test_library_id_construction) ... ok [0.0
s]
test_route_construction
(calibre.srv.tests.routes.TestRouter.test_route_construction)
Test route construction ... ok [0.0 s]
test_route_finding (calibre.srv.tests.routes.TestRouter.test_route_finding)
Test route finding ... ok [0.0 s]
test_accept_encoding (calibre.srv.tests.http.TestHTTP.test_accept_encoding)
Test parsing of Accept-Encoding ... ok [0.0 s]
test_accept_language (calibre.srv.tests.http.TestHTTP.test_accept_language)
Test parsing of Accept-Language ... calibre server listening on [::1]:40727
ok [0.0 s]
test_header_parsing (calibre.srv.tests.http.TestHTTP.test_header_parsing)
Test parsing of HTTP headers ... ok [0.0 s]
test_http_basic (calibre.srv.tests.http.TestHTTP.test_http_basic)
Test basic HTTP protocol conformance ... calibre server listening on [::1]:43153
Unhandled exception in state: State: _job_done Client: ::1:35386 Request: GET
/test/ HTTP/1.1
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/src/calibre/srv/loop.py", line 653, in tick
conn.handle_event(event)
File "/<<PKGBUILDDIR>>/src/calibre/srv/loop.py", line 366, in _job_done
self.job_done(*event)
File "/<<PKGBUILDDIR>>/src/calibre/srv/http_response.py", line 497, in
job_done
reraise(etype, e, tb)
File "/<<PKGBUILDDIR>>/src/polyglot/builtins.py", line 61, in reraise
raise value
File "/<<PKGBUILDDIR>>/src/calibre/srv/pool.py", line 33, in run
result = func()
^^^^^^
File "/<<PKGBUILDDIR>>/src/calibre/srv/http_response.py", line 454, in
run_request_handler
result = self.request_handler(data)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/src/calibre/srv/tests/http.py", line 203, in <lambda>
server.change_handler(lambda data:1/0)
~^~
ZeroDivisionError: division by zero
ok [60.1 s]
test_http_response (calibre.srv.tests.http.TestHTTP.test_http_response)
Test HTTP protocol responses ... calibre server listening on [::1]:44061
ok [0.1 s]
test_range_parsing (calibre.srv.tests.http.TestHTTP.test_range_parsing)
Test parsing of Range header ... ok [0.0 s]
test_static_generation (calibre.srv.tests.http.TestHTTP.test_static_generation)
Test static generation ... calibre server listening on [::1]:37927
ok [0.0 s]
test_7z (calibre.test_build.BuildTest.test_7z) ... ok [0.1 s]
test_apsw (calibre.test_build.BuildTest.test_apsw) ... ok [0.0 s]
test_bs4 (calibre.test_build.BuildTest.test_bs4) ... ok [0.0 s]
test_certgen (calibre.test_build.BuildTest.test_certgen) ... ok [0.0 s]
test_chardet (calibre.test_build.BuildTest.test_chardet) ... ok [0.0 s]
test_dlls (calibre.test_build.BuildTest.test_dlls) ... skipped 'DLL loading
needs testing only on windows (non-continuous integration)' [0.0 s]
test_executables (calibre.test_build.BuildTest.test_executables) ... skipped
'Only makes sense to test executables in frozen builds' [0.0 s]
test_feedparser (calibre.test_build.BuildTest.test_feedparser) ... ok [0.0 s]
test_ffmpeg (calibre.test_build.BuildTest.test_ffmpeg) ... ok [0.2 s]
test_file_dialog_helper (calibre.test_build.BuildTest.test_file_dialog_helper)
... skipped 'File dialog helper only used on windows
(non-continuous-integration)' [0.0 s]
test_fonttools (calibre.test_build.BuildTest.test_fonttools) ... ok [0.0 s]
test_fsevents (calibre.test_build.BuildTest.test_fsevents) ... skipped
'FSEvents only present on OS X' [0.0 s]
test_html2text (calibre.test_build.BuildTest.test_html2text) ... ok [0.0 s]
test_html5_parser (calibre.test_build.BuildTest.test_html5_parser) ... ok [0.0
s]
test_html5lib (calibre.test_build.BuildTest.test_html5lib) ... ok [0.0 s]
test_hunspell (calibre.test_build.BuildTest.test_hunspell) ... ok [0.0 s]
test_imaging (calibre.test_build.BuildTest.test_imaging) ... ok [0.0 s]
test_loaders (calibre.test_build.BuildTest.test_loaders) ... ok [0.0 s]
test_lxml (calibre.test_build.BuildTest.test_lxml) ... ok [0.0 s]
test_lzma (calibre.test_build.BuildTest.test_lzma) ... ok [0.0 s]
test_markdown (calibre.test_build.BuildTest.test_markdown) ... ok [0.0 s]
test_msgpack (calibre.test_build.BuildTest.test_msgpack) ... ok [0.2 s]
test_netifaces (calibre.test_build.BuildTest.test_netifaces) ... ok [0.0 s]
test_openssl (calibre.test_build.BuildTest.test_openssl) ... ok [0.0 s]
test_plugins (calibre.test_build.BuildTest.test_plugins) ... ok [0.0 s]
test_podofo (calibre.test_build.BuildTest.test_podofo) ... ok [0.0 s]
test_psutil (calibre.test_build.BuildTest.test_psutil) ... ok [0.0 s]
test_pychm (calibre.test_build.BuildTest.test_pychm) ... ok [0.0 s]
test_pycryptodome (calibre.test_build.BuildTest.test_pycryptodome) ... ok [0.0
s]
test_regex (calibre.test_build.BuildTest.test_regex) ... ok [0.0 s]
test_speech_dispatcher (calibre.test_build.BuildTest.test_speech_dispatcher)
... ok [0.0 s]
test_sqlite (calibre.test_build.BuildTest.test_sqlite) ... ok [0.0 s]
test_terminal (calibre.test_build.BuildTest.test_terminal) ... ok [0.0 s]
test_tinycss_tokenizer (calibre.test_build.BuildTest.test_tinycss_tokenizer)
... ok [0.0 s]
test_unrar (calibre.test_build.BuildTest.test_unrar) ... skipped 'Module
unrardll is missing' [0.0 s]
test_winutil (calibre.test_build.BuildTest.test_winutil) ... skipped 'winutil
is windows only' [0.0 s]
test_wpd (calibre.test_build.BuildTest.test_wpd) ... skipped 'WPD is windows
only' [0.0 s]
test_zeroconf (calibre.test_build.BuildTest.test_zeroconf) ... ok [0.0 s]
test_zstd (calibre.test_build.BuildTest.test_zstd) ... ok [0.0 s]
Slowest tests: calibre.srv.tests.http.TestHTTP.test_http_basic [60.1 s]
calibre.db.tests.writing.WritingTest.test_backup [2.9 s]
calibre.utils.run_tests.TestImports.test_import_of_all_python_modules [2.8 s]
----------------------------------------------------------------------
Ran 336 tests in 111.222s
OK (skipped=10)
env TZ=UTC CI=true python3.12 setup.py test --test-name=ajax_book
--exclude-test-name=fts_pool --exclude-test-name=piper --exclude-test-name=dbus
--exclude-test-name=recipe_browser_qt
--exclude-test-name=recipe_browser_webengine
::group::test
*
* Running test
*
test_ajax_book (calibre.srv.tests.ajax.ContentTest.test_ajax_book)
Test /ajax/book ... calibre server listening on [::1]:37093
ok [0.2 s]
----------------------------------------------------------------------
Ran 1 test in 0.172s
OK
env TZ=UTC CI=true python3.12 setup.py test --test-name=qt
--exclude-test-name=fts_pool --exclude-test-name=piper --exclude-test-name=dbus
--exclude-test-name=recipe_browser_qt
--exclude-test-name=recipe_browser_webengine
::group::test
*
* Running test
*
test_qt (calibre.test_build.BuildTest.test_qt) ... FAIL [0.0 s]
======================================================================
FAIL: test_qt (calibre.test_build.BuildTest.test_qt)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/src/calibre/test_build.py", line 353, in test_qt
self.assertEqual(testf.intersection(fmts), testf, "Qt doesn't seem to be
able to load some of its image plugins. Available plugins: %s" % fmts)
AssertionError: Items in the second set but not the first:
'svg' : Qt doesn't seem to be able to load some of its image plugins. Available
plugins: {'cur', 'xbm', 'xpm', 'webp', 'pbm', 'ico', 'mng', 'png', 'gif',
'ppm', 'icns', 'wbmp', 'tiff', 'tif', 'jpeg', 'bmp', 'pgm', 'jpg', 'tga'}
----------------------------------------------------------------------
Ran 1 test in 0.003s
FAILED (failures=1)
make[3]: *** [debian/rules:69: calibre_auto_test] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [debian/calibre-builder.mak:11: test] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j2 test -f debian/calibre-builder.mak test returned
exit code 2
make[1]: *** [debian/rules:64: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:42: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202412/
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 could not 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 affects, so that this is still visible in the BTS web
page for this package.
Thanks.